|
@@ -78,6 +78,15 @@ public interface ProductDao extends JpaSpecificationExecutor<Product>, JpaReposi
|
|
|
*/
|
|
*/
|
|
|
public List<Product> findByEnUU(Long enuu);
|
|
public List<Product> findByEnUU(Long enuu);
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 通过品牌和enuu查询所有信息
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param enuu
|
|
|
|
|
+ * @param brand
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ public List<Product> findByEnUUAndBrandAndIsSale(Long enuu, String brand, Short isSale);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 通过品牌和enuu查询所有信息
|
|
* 通过品牌和enuu查询所有信息
|
|
|
*
|
|
*
|
|
@@ -86,5 +95,34 @@ public interface ProductDao extends JpaSpecificationExecutor<Product>, JpaReposi
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
public List<Product> findByEnUUAndBrand(Long enuu, String brand);
|
|
public List<Product> findByEnUUAndBrand(Long enuu, String brand);
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 通过品牌和enuu查询所有信息
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param enuu
|
|
|
|
|
+ * @param brand
|
|
|
|
|
+ * @param isPurc
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ public List<Product> findByEnUUAndBrandAndIsPurchase(Long enuu, String brand, Short isPurc);
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 通过名称查询物料信息
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param enUU
|
|
|
|
|
+ * @param title
|
|
|
|
|
+ * @param isSale
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ public List<Product> findByEnUUAndTitleAndIsSale(Long enUU, String title, Short isSale);
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 通过名称查询物料信息
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param enUU
|
|
|
|
|
+ * @param title
|
|
|
|
|
+ * @param isPurc
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ public List<Product> findByEnUUAndTitleAndIsPurchase(Long enUU, String title, Short isPurc);
|
|
|
|
|
|
|
|
}
|
|
}
|