Fixiaobai
2023-09-06 8abe275e36823f1065300af45e1f7a9a68f549a7
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
package com.yuanchu.limslaboratory.service;
 
import com.yuanchu.limslaboratory.pojo.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.limslaboratory.pojo.dto.StandardProductAddDto;
 
import java.util.List;
import java.util.Map;
 
 
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2023-07-17
 */
public interface ProductService extends IService<Product> {
    void deleteProductInformation(List<Integer> SpecificationsId);
 
    /**
     * 展示该型号下的检验项目要求-->选择版本
     * @param specificationsId
     * @return
     */
    List<Integer> chooseVersion(Integer specificationsId);
 
 
    /**
     * 展示该型号下的检验项目要求
     * @param specificationsId
     * @return
     */
    List<Map<String,Object>> pageProductInformation(Integer specificationsId,Integer version);
 
    /**
     * 填写标准值与内控值,鼠标移开保存
     * @param id
     * @param required
     * @param internal
     * @return
     */
    Integer write(Integer id, String required, String internal);
 
    void deleteList(String ids);
 
    /**
     * 添加同一个型号的其他版本
     * @param specificationsId
     * @return
     */
    Integer addVersion(Integer specificationsId,Integer version);
 
 
    /**
     * 查询该型号下的所有试验项目(父类)
     * @param modelId
     * @return
     */
    List<Map<String,Object>> chooseProject(Integer modelId);
 
    String addProduct(StandardProductAddDto dto);
}