From 15e31c6e6550f9e8bf6fb1df5ca5ad4cc726b64f Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期六, 26 八月 2023 13:30:13 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 standard-server/src/main/java/com/yuanchu/limslaboratory/service/ProductService.java |   43 ++++++++++++++++++++++++++++++++++++-------
 1 files changed, 36 insertions(+), 7 deletions(-)

diff --git a/standard-server/src/main/java/com/yuanchu/limslaboratory/service/ProductService.java b/standard-server/src/main/java/com/yuanchu/limslaboratory/service/ProductService.java
index 7733f7f..a81e74a 100644
--- a/standard-server/src/main/java/com/yuanchu/limslaboratory/service/ProductService.java
+++ b/standard-server/src/main/java/com/yuanchu/limslaboratory/service/ProductService.java
@@ -16,17 +16,46 @@
  * @since 2023-07-17
  */
 public interface ProductService extends IService<Product> {
+    void deleteProductInformation(List<Integer> SpecificationsId);
 
-    /*閫氳繃鐗╂枡id鑾峰彇鐗╂枡淇″強涓嬪睘鐨勯」鐩垪琛�*/
-    List<Product> selectProductByMaterialId(String materialId);
+    /**
+     * 灞曠ず璇ュ瀷鍙蜂笅鐨勬楠岄」鐩姹�-->閫夋嫨鐗堟湰
+     * @param specificationsId
+     * @return
+     */
+    List<Integer> chooseVersion(Integer specificationsId);
 
-    Integer addProductInformation(Product product);
 
-    List<Map<String, Object>> getListProductInformation(Integer materialId);
+    /**
+     * 灞曠ず璇ュ瀷鍙蜂笅鐨勬楠岄」鐩姹�
+     * @param specificationsId
+     * @return
+     */
+    List<Map<String,Object>> pageProductInformation(Integer specificationsId,Integer version);
 
-    Map<String, Object> getProductInformation(Integer productId);
+    /**
+     * 濉啓鏍囧噯鍊间笌鍐呮帶鍊�,榧犳爣绉诲紑淇濆瓨
+     * @param id
+     * @param required
+     * @param internal
+     * @return
+     */
+    Integer write(Integer id, String required, String internal);
 
-    Integer deleteProductInformation(Integer productId);
+    void deleteList(String ids);
 
-    void deleteProductEqMaterialId(List<String> materialListId);
+    /**
+     * 娣诲姞鍚屼竴涓瀷鍙风殑鍏朵粬鐗堟湰
+     * @param specificationsId
+     * @return
+     */
+    Integer addVersion(Integer specificationsId);
+
+
+    /**
+     * 鏌ヨ璇ュ瀷鍙蜂笅鐨勬墍鏈夎瘯楠岄」鐩�(鐖剁被)
+     * @param modelId
+     * @return
+     */
+    List<Map<String,Object>> chooseProject(Integer modelId);
 }

--
Gitblit v1.9.3