XiaoRuby
2023-09-08 9f87ca56f82c2352adbb7201a190ac944e6deeeb
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
package com.yuanchu.mom.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.mom.pojo.InspectionItem;
import com.yuanchu.mom.pojo.dto.InspectionItemDto;
import com.yuanchu.mom.pojo.dto.UpdateInspectionItemDto;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2023-08-01
 */
public interface InspectionItemService extends IService<InspectionItem> {
 
 
    /**
     * 新增按钮-->2、查询所有检验项目
     * @param id
     * @return
     */
    List<InspectionItemDto> selectInspectionItem(Integer id, Integer type);
 
    /**
     * 新增按钮-->2、检验项目-->失去焦点发起该请求
     * @param username
     * @param updateInspectionItemDto
     * @return
     */
    Integer addProcessInspectionSheet(String username, UpdateInspectionItemDto updateInspectionItemDto);
 
    /**
     * 新增按钮-->选择设备
     * @param technologyId
     * @param father
     * @param name
     * @return
     */
    List<Map<String, Object>> chooseDev(Integer technologyId, String father, String name);
}