zss
2023-08-23 36488ef509030773381ea67de9d1aa00ce25caf6
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
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.ProductModel;
import com.yuanchu.limslaboratory.pojo.dto.ProductModelDto;
 
import java.util.List;
import java.util.Map;
 
/**
 * 基础项目模版表(ProductModel)表服务接口
 *
 * @author zss
 * @since 2023-08-19 11:00:39
 */
public interface ProductModelService extends IService<ProductModel> {
 
 
    /**
     * 选择样品
     * @return
     */
    List<String> selectmater();
 
    /**
     * 添加标准-->选择项目分组
     * @return
     */
    List<String> selectfather();
 
    /**
     * 添加标准
     * @param productModelDto
     */
    void addproductModel(ProductModelDto productModelDto);
 
 
    /**
     * 查询标准模版列表
     * @param name
     * @param father
     * @param material
     * @return
     */
    List<Map<String,Object>> selectproductModel(String name, String father, String material);
 
    /**
     * 根据id查询
     * @param id
     * @return
     */
    ProductModelDto selectproductModelById(Integer id);
 
    /**
     * 编辑
     * @param id
     * @param productModelDto
     */
    void writeproductModel(Integer id, ProductModelDto productModelDto);
 
    /**
     * 删除
     * @param id
     */
    void delproductModel(Integer id);
 
    /**
     * 批量删除
     * @param ids
     */
    void delAllproductModel(String ids);
 
 
 
}