package com.yuanchu.limslaboratory.service;
|
|
import com.yuanchu.limslaboratory.pojo.InspectionProductList;
|
import com.yuanchu.limslaboratory.pojo.Plan;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.yuanchu.limslaboratory.pojo.dto.PlanDto;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* <p>
|
* 服务类
|
* </p>
|
*
|
* @author 江苏鵷雏网络科技有限公司
|
* @since 2023-07-17
|
*/
|
public interface PlanService extends IService<Plan> {
|
|
/**
|
* 分页查询所有检验计划
|
* @param pageSize
|
* @param countSize
|
* @param state
|
* @return
|
*/
|
Map selectAllPlan(int pageSize, int countSize, Integer state);
|
|
/**
|
* 根据计划id作废检验计划
|
* @param id
|
* @return
|
*/
|
boolean delPlan(Integer id);
|
|
/**
|
* 根据样品id查询检验计划里面检验项目
|
* @param id
|
* @return
|
*/
|
List<InspectionProductList> selectProductById(Integer id);
|
|
/**
|
* 给检验计划中的检验项目分配试验员,设备,以及日期
|
* @param inspectionProductList
|
*/
|
void upPlan(InspectionProductList inspectionProductList);
|
|
/**
|
* 查询成品检验
|
* @param pageSize
|
* @param countSize
|
* @param state
|
* @return
|
*/
|
List<PlanDto> selectInspection(int pageSize, int countSize, Integer state);
|
}
|