| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.basic.pojo.StandardProductList; |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.inspect.pojo.InsOrder; |
| | | import com.ruoyi.inspect.pojo.InsSample; |
| | | import com.ruoyi.inspect.pojo.InsUnqualifiedRetestProduct; |
| | | import com.ruoyi.inspect.dto.*; |
| | | import com.ruoyi.inspect.vo.InsOrderPrintingVo; |
| | | |
| | | import javax.servlet.ServletException; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | public interface InsOrderService extends IService<InsOrder> { |
| | | |
| | | //获取单位检验下单数据 |
| | | Map<String, Object> selectInsOrderParameter(IPage<InsOrder> page, SampleOrderDto sampleOrderDto); |
| | | IPage<SampleOrderDto> selectInsOrderParameter(IPage<InsOrder> page, SampleOrderDto sampleOrderDto); |
| | | |
| | | |
| | | //修改检验下单数据 |
| | | int upInsOrder(Integer orderId,Integer sampleId, String appointed, Integer userId,String sonLaboratory); |
| | | |
| | | int addInsOrder(List<SampleProductDto> list, InsOrder insOrder, List<List<Integer>> pairing); |
| | | int addInsOrder(List<SampleProductDto> list, InsOrder insOrder); |
| | | |
| | | Map<String, Object> getInsOrder(Integer id); |
| | | |
| | |
| | | |
| | | Map<String, Object> getInsOrderAndSample(Integer id, String laboratory); |
| | | |
| | | Map<String, Object> selectSampleAndProductByOrderId(IPage<SampleProductDto2> page, SampleProductDto2 sampleProductDto); |
| | | IPage<SampleProductDto2> selectSampleAndProductByOrderId(IPage<SampleProductDto2> page, SampleProductDto2 sampleProductDto); |
| | | |
| | | Map<String, Object> costStatistics(IPage<CostStatisticsDto> page, CostStatisticsDto costStatisticsDto); |
| | | |
| | | Map<String, Object> costStatistics2(CostStatisticsDto costStatisticsDto); |
| | | |
| | | Map<String, Object> selectSampleDefects(Page page, String inspectionItems, String orderNumber); |
| | | |
| | | int updateStatus(Integer id); |
| | | |
| | | |
| | | void export(CostStatisticsDto costStatisticsDto,HttpServletResponse response)throws IOException, ServletException; |
| | | |
| | | // 获取ifs库存信息 |
| | | void getIfsOrder(); |
| | |
| | | * @param response |
| | | */ |
| | | void rawAllInsOrderExport(SampleOrderDto sampleOrderDto, HttpServletResponse response); |
| | | |
| | | /** |
| | | * 修改样品型号 |
| | | * @param insSample |
| | | */ |
| | | void updateSampleModel(InsSample insSample); |
| | | |
| | | /** |
| | | * 查询当前时间是否没有该检测项的抽样计划 |
| | | * @param sampleList |
| | | * @param insOrder |
| | | * @return |
| | | */ |
| | | Result judgeNotSpotCheckOrder(List<SampleProductDto> sampleList, InsOrder insOrder); |
| | | } |