zss
2023-07-27 0e1722e96e5483d560eda8f1cf96282955d4f224
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
package com.yuanchu.limslaboratory.service;
 
import com.yuanchu.limslaboratory.pojo.Inspection;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.limslaboratory.pojo.dto.InspectionDto;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2023-07-17
 */
public interface InspectionService extends IService<Inspection> {
 
    /**
     * 添加检验单
     * @param userName
     * @param type
     * @return
     */
    Inspection addInspection(String userName,int type);
 
    /**
     * 分页查询所有检验单
     * @param pageSize
     * @param countSize
     * @param state
     * @return
     */
    List<InspectionDto> selectAllInspection(int pageSize, int countSize, Integer state);
 
    /**
     *根据检验单id作废检验单申请
     * @param inspectionId
     * @return
     */
    void delInspectionByInsId(String inspectionId);
 
    /**
     * 根据检验单id提交检验申请
     * @param inspectionId
     * @return
     */
    void subInspectionByInsId(String inspectionId);
 
}