git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@7271 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
@@ -24,4 +24,13 @@ public interface ProductDao extends JpaSpecificationExecutor<Product>, JpaReposi
@QueryHints({ @QueryHint(name = "org.hibernate.cacheable", value = "true") })
public List<Product> findByEnUUAndCode(long enUU, String code);
+ /**
+ * 通过营业执照和器件型号判断是否存在
+ *
+ * @param enuu
+ * @param cmpUuId
+ * @return
+ */
+ public Product findByEnUUAndCmpUuId(Long enUU, String cmpUuId);
+
}