zss
2023-07-26 f330903e12d38af89d61f16c96856924d241a0f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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);
}