From 4f3a98f19143865cdc1de4791e8a95d96bd40c65 Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期五, 01 八月 2025 13:27:59 +0800 Subject: [PATCH] yys 密码已重置 --- inspect-server/src/main/java/com/ruoyi/inspect/service/InsOrderPlanService.java | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 114 insertions(+), 0 deletions(-) diff --git a/inspect-server/src/main/java/com/ruoyi/inspect/service/InsOrderPlanService.java b/inspect-server/src/main/java/com/ruoyi/inspect/service/InsOrderPlanService.java new file mode 100644 index 0000000..1caa282 --- /dev/null +++ b/inspect-server/src/main/java/com/ruoyi/inspect/service/InsOrderPlanService.java @@ -0,0 +1,114 @@ +package com.ruoyi.inspect.service; + +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.ruoyi.inspect.dto.InsOrderPlanDTO; +import com.ruoyi.inspect.dto.InsOrderPlanProductDto; +import com.ruoyi.inspect.dto.SaveInsContextDto; +import com.ruoyi.inspect.pojo.InsOrderFactoryVerify; +import com.ruoyi.inspect.pojo.InsOrderFile; +import com.ruoyi.inspect.pojo.InsProduct; +import com.ruoyi.inspect.vo.InsOrderPlanTaskSwitchVo; +import com.ruoyi.inspect.vo.InsOrderPlanVO; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.multipart.MultipartFile; + +import java.util.List; +import java.util.Map; + +/** + * 妫�楠屼换鍔�-涓氬姟灞� + */ +public interface InsOrderPlanService { + IPage<InsOrderPlanVO> selectInsOrderPlanList(Page page, InsOrderPlanDTO insOrderPlanDTO); + + IPage<InsOrderPlanTaskSwitchVo> inspectionOrderDetailsTaskSwitching(Page page, InsOrderPlanDTO insOrderPlanDTO); + + boolean claimInsOrderPlan(InsOrderPlanDTO entity); + + void saveInsContext(SaveInsContextDto saveInsContextDto); + + Map<String, Object> doInsOrder(Integer id, String laboratory); + + int upPlanUser(Integer userId, Integer orderId,String sonLaboratory); + + int submitPlan(Integer orderId, String laboratory, Integer verifyUser, String entrustCode); + + List<InsProduct> getInsProduct(InsOrderPlanProductDto insOrderPlanProductDto); + + List<String> checkSubmitPlan(Integer orderId, String laboratory); + + IPage<InsOrderFile> getFileList(Page page, InsOrderFile insOrderFile); + + int uploadFile(Integer orderId, MultipartFile file); + + + List<String> upPlanUser2(Integer orderId); + + int rawMaterialVerifyPlan(Integer orderId, String laboratory, Integer type, String tell, Integer userId); + + /** + * 鐢电紗閰嶇疆. 鏌ョ湅鏍囪瘑 + * @param id + * @param laboratory + * @return + */ + List<Map<String, Object>> getCableTag(Integer id, String laboratory); + + /** + * 鍘熸潗鏂欐煡鐪嬫爣璇� + * @param id + * @param laboratory + * @return + */ + List<Map<String, Object>> getRawMaterialTag(Integer id, String laboratory); + + /** + * 鏌ョ湅閲嶅鏍囪瘑 + * @param id + * @param laboratory + * @return + */ + List<Map<String, Object>> getRepetitionTag(Integer id, String laboratory, String cableTag); + + + /** + * 鏂板涓嶅悎鏍煎娴嬪唴瀹圭粰 + * @param ids + * @return + */ + boolean addDisqualificationRetest(List<InsProduct> insProductsList); + + /** + * 鑾峰彇涓嶅悎鏍煎娴嬫暟鎹� + * @return + */ + List<InsProduct> getInsProductUnqualifiedRetest(InsOrderPlanProductDto insOrderPlanProductDto); + + /** + * 淇濆瓨涓嶅悎鏍煎娴嬫楠屽唴瀹� + */ + void saveUnqualifiedContext(Map<String, Object> insContext,Integer currentTable,Integer currentSampleId,Integer orderId,String sonLaboratory); + + /** + * 鏌ヨ鍘熸潗鏂欒繘璐ч獙璇� + * @param insOrderId + * @return + */ + InsOrderFactoryVerify getFactoryVerify(Integer insOrderId); + + /** + * 淇濆瓨鍘熸潗鏂欒繘璐ч獙璇� + * @param factoryVerify + * @return + */ + boolean addFactoryVerify(InsOrderFactoryVerify factoryVerify); + + + /** + * 鐢熸垚pd涓存椂 + * @param path + * @return + */ + String wordToPdfTemp(String path); +} -- Gitblit v1.9.3