| | |
| | | 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> |
| | |
| | | */ |
| | | public interface PlanService extends IService<Plan> { |
| | | |
| | | List<PlanDto> selectAllPlan(int pageSize, int countSize, Integer state); |
| | | /** |
| | | * 分页查询所有检验计划 |
| | | * @param pageSize |
| | | * @param countSize |
| | | * @param state |
| | | * @return |
| | | */ |
| | | Map selectAllPlan(int pageSize, int countSize, Integer state); |
| | | |
| | | /** |
| | | * 根据计划id作废检验计划 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | boolean delPlan(Integer id); |
| | | |
| | | List<InspectionProductList> selectById(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); |
| | | } |