|
@@ -24,4 +24,13 @@ public interface ProductDao extends JpaSpecificationExecutor<Product>, JpaReposi
|
|
|
@QueryHints({ @QueryHint(name = "org.hibernate.cacheable", value = "true") })
|
|
@QueryHints({ @QueryHint(name = "org.hibernate.cacheable", value = "true") })
|
|
|
public List<Product> findByEnUUAndCode(long enUU, String code);
|
|
public List<Product> findByEnUUAndCode(long enUU, String code);
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 通过营业执照和器件型号判断是否存在
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param enuu
|
|
|
|
|
+ * @param cmpUuId
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ public Product findByEnUUAndCmpUuId(Long enUU, String cmpUuId);
|
|
|
|
|
+
|
|
|
}
|
|
}
|