zss
2025-02-18 bcc80a6833abe9f24abdb978f7c7f01b664a574f
inspect-server/src/main/java/com/yuanchu/mom/service/InsOrderPlanService.java
@@ -3,9 +3,12 @@
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;
@@ -30,29 +33,47 @@
    //电路试验的保存检验内容
    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 submitPlan(Integer orderId, String laboratory, Integer verifyUser, String entrustCode, String note,String term);
    //纠正复核错误的情况
    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);
    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);
    //扫码报检(入库)
    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);
}