Fixiaobai
2023-09-08 d2ce4553e18131b9a60d7be53c496f0cbce699ca
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
package com.yuanchu.limslaboratory.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.limslaboratory.pojo.Inspection;
import com.yuanchu.limslaboratory.pojo.Material;
import com.yuanchu.limslaboratory.pojo.vo.InspectDetailVo;
import com.yuanchu.limslaboratory.pojo.vo.InspectionVo;
 
import java.util.List;
import java.util.Map;
 
/**
 * 申请表(Inspection)表服务接口
 *
 * @author zss
 * @since 2023-08-03 13:03:36
 */
public interface InspectionService extends IService<Inspection> {
 
 
    /**
     *查询检验申请单列表
     * @param page
     * @param message
     * @return
     */
    IPage<Map<String, Object>> selectInspectsList(Page<Object> page, String message);
 
    /**
     * 新增检验单-->选择检验项目版本
     * @param name
     * @param mcode
     * @param specifications
     * @return
     */
    List<Integer> chooseVer(String name, String mcode, String specifications);
 
    /**
     * 新增检验单-->选择检验项目版本-->查看该版本下我们要做的项目要求
     * @param name
     * @param mcode
     * @param specifications
     * @param version
     * @return
     */
    List<Map<String,Object>> lookProByVer(String name, String mcode, String specifications, Integer version,String experiment);
 
    /**
     * 新增检验申请表
     * @param id
     * @param
     * @return
     */
    Integer addInspect(Integer id, InspectionVo inspectionVo);
 
 
    /**
     *根据检验单id查询原材料检验单详情
     * @param id
     * @return
     */
    InspectDetailVo selectInspectsListById(Integer id);
 
 
    /**
     * 作废检验单
     * @param id
     * @return
     */
    String delInspect(Integer id);
 
    /**
     * 保存检验项目责任人
     * @param id
     * @param userProId
     * @return
     */
    String chooseUseProId(Integer id, Integer userProId);
 
    /**
     * 保存设备
     * @param id
     * @param equipmentId
     * @return
     */
    boolean chooseEquipment(Integer id, Integer equipmentId);
 
    List<Material> getMaterielTypeIsOne();
 
    Map<String, Object> getSpecification(Integer id);
}