package com.yuanchu.mom.service; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.yuanchu.mom.dto.InsOrderPlanDTO; import com.yuanchu.mom.dto.InsProductResultDto; import com.yuanchu.mom.pojo.InsOrderFile; import com.yuanchu.mom.pojo.InsProduct; import com.yuanchu.mom.vo.InsProductResultVo; import org.springframework.web.multipart.MultipartFile; import javax.servlet.http.HttpServletRequest; import java.util.List; import java.util.Map; /** * 检验任务-业务层 */ public interface InsOrderPlanService { Map selectInsOrderPlanList(Page page, InsOrderPlanDTO insOrderPlanDTO); Map inspectionOrderDetailsTaskSwitching(Page page, InsOrderPlanDTO insOrderPlanDTO); boolean claimInsOrderPlan(InsOrderPlanDTO entity); //普通的保存检验内容 void saveInsContext(Map insContext); //电路试验的保存检验内容 List saveInsContext2(InsProductResultDto insProductResultDtos); Map doInsOrder(Integer id, String laboratory); int upPlanUser(Integer userId, Integer orderId,String sonLaboratory); int verifyPlan(Integer orderId, String laboratory, Integer type, String tell); int submitPlan(Integer orderId, String laboratory, Integer verifyUser, String entrustCode); List getInsProduct(Integer id, Integer type, String laboratory, HttpServletRequest request); List checkSubmitPlan(Integer orderId, String laboratory); Map getFileList(Page page, InsOrderFile insOrderFile); int uploadFile(Integer orderId, MultipartFile file); Map getReportModel(Integer sampleId); Map temCycle(Integer sampleId, String inspectionItem, String inspectionItemSubclass); List upPlanUser2(Integer orderId); int deleteInsContext(InsProductResultVo insProductResultVo); int deleteInsContext2(String frequency, Integer productId, String often); }