From 929c6698f4d7598997fc233e09c39c3bdce9fcf8 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 14 八月 2025 10:23:15 +0800
Subject: [PATCH] 判断合格绝对值的问题
---
inspect-server/src/main/java/com/yuanchu/mom/service/InsOrderPlanService.java | 57 ++++++++++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 46 insertions(+), 11 deletions(-)
diff --git a/inspect-server/src/main/java/com/yuanchu/mom/service/InsOrderPlanService.java b/inspect-server/src/main/java/com/yuanchu/mom/service/InsOrderPlanService.java
index 7b49e94..56b46f4 100644
--- a/inspect-server/src/main/java/com/yuanchu/mom/service/InsOrderPlanService.java
+++ b/inspect-server/src/main/java/com/yuanchu/mom/service/InsOrderPlanService.java
@@ -2,10 +2,18 @@
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuanchu.mom.dto.InsOrderPlanDTO;
+import com.yuanchu.mom.dto.InsProductResultDto;
+import com.yuanchu.mom.dto.InsProductResultDtos;
+import com.yuanchu.mom.dto.SubmitPlanDto;
import com.yuanchu.mom.pojo.InsOrderFile;
+import com.yuanchu.mom.pojo.InsOrderUser;
import com.yuanchu.mom.pojo.InsProduct;
+import com.yuanchu.mom.pojo.InsProductResult;
+import com.yuanchu.mom.vo.InsProductResultVo;
import org.springframework.web.multipart.MultipartFile;
+import javax.servlet.http.HttpServletRequest;
+import java.io.IOException;
import java.util.List;
import java.util.Map;
@@ -19,27 +27,54 @@
boolean claimInsOrderPlan(InsOrderPlanDTO entity);
- void saveInsContext(Map<String, Object> insContext);
+ //鏅�氱殑淇濆瓨妫�楠屽唴瀹�
+ void saveInsContext(Map<String, Object> insContext,Integer num);
- Map<String, Object> doInsOrder(Integer id, String laboratory);
+ //鐢佃矾璇曢獙鐨勪繚瀛樻楠屽唴瀹�
+ List<Integer> saveInsContext2(InsProductResultDto insProductResultDtos);
- int upPlanUser(Integer userId, Integer orderId,String sonLaboratory);
+ Map<String, Object> doInsOrder(Integer sampleId, String laboratory);
- int verifyPlan(Integer orderId, String laboratory, Integer type, String tell);
+ int upPlanUser(Integer userId, Integer sampleId,String sonLaboratory);
- int submitPlan(Integer orderId, String laboratory, Integer verifyUser, String entrustCode, String sampleCode);
+ int verifyPlan(Integer sampleId, String laboratory, Integer type, String tell) throws IOException;
- List<InsProduct> getInsProduct(Integer id, Integer type, String laboratory);
+ //绾犳澶嶆牳閿欒鐨勬儏鍐�
+ int verifyPlan2(Integer sampleId, String laboratory, Integer type, String tell) throws IOException;
- List<String> checkSubmitPlan(Integer orderId, String laboratory);
+ int submitPlan(SubmitPlanDto submitPlanDto);
+
+ //鎾ら攢鎻愪氦
+ int cancelSubmitPlan(Integer orderStateId);
+
+ List<InsProduct> getInsProduct(Integer id, Integer type, String laboratory, HttpServletRequest request);
+ List<InsProduct> getInsProduct2(Integer id, Integer type, String laboratory, HttpServletRequest request,Integer num);
+
+ List<String> checkSubmitPlan(Integer sampleId, String laboratory);
Map<String,Object> getFileList(Page page, InsOrderFile insOrderFile);
- int uploadFile(Integer orderId, MultipartFile file);
+ Object uploadFile(Integer orderId, MultipartFile file,String sonLaboratory,Integer sampleId);
- Map<String,Object> getReportModel(Integer sampleId);
+ List<String> upPlanUser2(Integer sampleId);
- Map<String,Object> temCycle(Integer sampleId, String inspectionItem, String inspectionItemSubclass);
+ int deleteInsContext(InsProductResultVo insProductResultVo);
- List<String> upPlanUser2(Integer orderId);
+ //鎵爜鎶ユ(鍏ュ簱)
+ int scanInsOrderState(String sonLaboratory, String sampleCode,String trees,String entrustCode);
+
+ //鎵爜鍑哄簱
+ int outInsOrderState(String sonLaboratory, String sampleCode,String entrustCode);
+
+ List<InsOrderUser> getInsOrderUserList(Integer insOrderStateId);
+
+ //棰勮鏂囦欢
+ Object preview(Integer id) throws Exception;
+
+ int saveInsContext3(InsProductResult insProductResult);
+
+ int saveInsContext2s(InsProductResultDtos insProductResultDtos);
+
+ //鏍峰搧缂栧彿鏇存敼
+ int changeSampleCode(Integer sampleId, String sampleCode);
}
--
Gitblit v1.9.3