From f330903e12d38af89d61f16c96856924d241a0f2 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期三, 26 七月 2023 09:08:58 +0800
Subject: [PATCH] 查删检验计划

---
 inspection-server/src/main/java/com/yuanchu/limslaboratory/service/PlanService.java |   38 +++++++++++++++++++++++++++++++++++---
 1 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/inspection-server/src/main/java/com/yuanchu/limslaboratory/service/PlanService.java b/inspection-server/src/main/java/com/yuanchu/limslaboratory/service/PlanService.java
index 485acd4..264093d 100644
--- a/inspection-server/src/main/java/com/yuanchu/limslaboratory/service/PlanService.java
+++ b/inspection-server/src/main/java/com/yuanchu/limslaboratory/service/PlanService.java
@@ -4,8 +4,8 @@
 import com.yuanchu.limslaboratory.pojo.Plan;
 import com.baomidou.mybatisplus.extension.service.IService;
 import com.yuanchu.limslaboratory.pojo.dto.PlanDto;
-
 import java.util.List;
+import java.util.Map;
 
 /**
  * <p>
@@ -17,9 +17,41 @@
  */
 public interface PlanService extends IService<Plan> {
 
-    List<PlanDto> selectAllPlan(int pageSize, int countSize, Integer state);
+    /**
+     * 鍒嗛〉鏌ヨ鎵�鏈夋楠岃鍒�
+     * @param pageSize
+     * @param countSize
+     * @param state
+     * @return
+     */
+    Map selectAllPlan(int pageSize, int countSize, Integer state);
 
+    /**
+     * 鏍规嵁璁″垝id浣滃簾妫�楠岃鍒�
+     * @param id
+     * @return
+     */
     boolean delPlan(Integer id);
 
-    List<InspectionProductList> selectById(Integer id);
+    /**
+     * 鏍规嵁鏍峰搧id鏌ヨ妫�楠岃鍒掗噷闈㈡楠岄」鐩�
+     * @param id
+     * @return
+     */
+    List<InspectionProductList> selectProductById(Integer id);
+
+    /**
+     * 缁欐楠岃鍒掍腑鐨勬楠岄」鐩垎閰嶈瘯楠屽憳,璁惧,浠ュ強鏃ユ湡
+     * @param inspectionProductList
+     */
+    void upPlan(InspectionProductList inspectionProductList);
+
+    /**
+     * 鏌ヨ鎴愬搧妫�楠�
+     * @param pageSize
+     * @param countSize
+     * @param state
+     * @return
+     */
+    List<PlanDto> selectInspection(int pageSize, int countSize, Integer state);
 }

--
Gitblit v1.9.3