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