zss
2023-07-27 0e1722e96e5483d560eda8f1cf96282955d4f224
inspection-server/src/main/java/com/yuanchu/limslaboratory/service/PlanService.java
@@ -1,9 +1,10 @@
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 com.yuanchu.limslaboratory.pojo.dto.InspectionProductListDto;
import com.yuanchu.limslaboratory.pojo.vo.FinPlanVo;
import com.yuanchu.limslaboratory.pojo.vo.PlanVo;
import java.util.List;
@@ -17,9 +18,36 @@
 */
public interface PlanService extends IService<Plan> {
    List<PlanDto> selectAllPlan(int pageSize, int countSize, Integer state);
    /**
     * 分页查询所有检验计划
     * @param pageSize
     * @param countSize
     * @param state
     * @return
     */
    List<PlanVo> selectAllPlan(int pageSize, int countSize, Integer state);
    boolean delPlan(Integer id);
    /**
     * 根据计划id作废检验计划
     * @param id
     * @return
     */
    void delPlan(Integer id);
    List<InspectionProductList> selectById(Integer id);
    /**
     * 给检验计划中的检验项目分配试验员,设备,以及日期
     * @param inspectionProductListDto
     */
    void upPlan(Integer id ,InspectionProductListDto inspectionProductListDto);
    /**
     * 查询成品检验
     * @param pageSize
     * @param countSize
     * @param state
     * @return
     */
    List<FinPlanVo> selectInspection(int pageSize, int countSize, Integer state);
}