EquipmentMaintainStandardMapper.java
2.1 KB
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.skua.modules.equipment.mapper;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.skua.modules.equipment.entity.EquipmentMaintainStandard;
import com.skua.modules.equipment.vo.EquipmentMaintainStandardVO;
import com.skua.modules.equipment.vo.SysDictItemVO;
@Mapper
public interface EquipmentMaintainStandardMapper extends BaseMapper<EquipmentMaintainStandard> {
List<EquipmentMaintainStandardVO>getFactory(String userId);
List<EquipmentMaintainStandardVO>getCompany(String userId);
EquipmentMaintainStandard queryById(@Param("id") String id);
/**
* 获取主字典id
*
* @param name
* @return
*/
String getDictId(@Param("name") String name);
/**
* 根据字典id和名称查询
*
* @param
* @return
*/
SysDictItemVO getDictItem(@Param("dictId") String dictId, @Param("itemText") String itemText);
/**
* 新增字典项
*
* @param map
* @return
*/
Integer addDictItem(Map<String, Object> map);
/**
* 新增字典
*
* @param map
* @return
*/
Integer addDict(Map<String, Object> map);
/**
* 保养标准库列表
*
* @param pageList
* @param equipmentMaintainStandard
* @return
*/
List<EquipmentMaintainStandardVO> queryCustomPageList(Page<EquipmentMaintainStandardVO> pageList, @Param("equipmentMaintainStandard") EquipmentMaintainStandard equipmentMaintainStandard);
/**
* 通过id删除逻辑删除
* @param id
* @return
*/
Integer deleteById(@Param("id") String id);
/**
* <pre>
* 获取机构列表
* </pre>
* @param projectType【factory单厂/group集团】
* @return
* @author Li Yuanyuan, 2023年4月11日 下午1:43:09
* @Description: TODO(这里描述这个方法的需求变更情况)
*/
List<Map<String, Object>> getDepartList(@Param("projectType")String projectType);
}