zss
2025-02-18 bcc80a6833abe9f24abdb978f7c7f01b664a574f
inspect-server/src/main/java/com/yuanchu/mom/service/InsOrderPlanService.java
@@ -3,6 +3,7 @@
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;
@@ -32,32 +33,38 @@
    //电路试验的保存检验内容
    List<Integer> saveInsContext2(InsProductResultDto insProductResultDtos);
    Map<String, Object> doInsOrder(Integer id, String laboratory);
    Map<String, Object> doInsOrder(Integer sampleId, String laboratory);
    int upPlanUser(Integer userId, Integer orderId,String sonLaboratory);
    int upPlanUser(Integer userId, Integer sampleId,String sonLaboratory);
    int verifyPlan(Integer orderId, String laboratory, Integer type, String tell) throws IOException;
    int verifyPlan(Integer sampleId, String laboratory, Integer type, String tell) throws IOException;
    //纠正复核错误的情况
    int verifyPlan2(Integer sampleId, String laboratory, Integer type, String tell) throws IOException;
    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 orderId, String laboratory);
    List<String> checkSubmitPlan(Integer sampleId, String laboratory);
    Map<String,Object> getFileList(Page page, InsOrderFile insOrderFile);
    int uploadFile(Integer orderId, MultipartFile file,String sonLaboratory);
    Object uploadFile(Integer orderId, MultipartFile file,String sonLaboratory,Integer sampleId);
    List<String> upPlanUser2(Integer orderId);
    List<String> upPlanUser2(Integer sampleId);
    int deleteInsContext(InsProductResultVo insProductResultVo);
    //扫码报检(入库)
    int scanInsOrderState(String sonLaboratory, String sampleCode,String trees);
    int scanInsOrderState(String sonLaboratory, String sampleCode,String trees,String entrustCode);
    //扫码出库
    int outInsOrderState(String sonLaboratory, String sampleCode);
    int outInsOrderState(String sonLaboratory, String sampleCode,String entrustCode);
    List<InsOrderUser> getInsOrderUserList(Integer insOrderStateId);
@@ -66,4 +73,7 @@
    int saveInsContext3(InsProductResult insProductResult);
    int saveInsContext2s(InsProductResultDtos insProductResultDtos);
}