zss
2023-07-26 f330903e12d38af89d61f16c96856924d241a0f2
inspection-server/src/main/java/com/yuanchu/limslaboratory/service/PlanService.java
@@ -4,8 +4,8 @@
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>
@@ -17,9 +17,41 @@
 */
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);
}