EquipmentInspectionPlanMapper.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
package com.skua.modules.equipment.mapper;
import java.util.List;
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.dto.EquipmentInspectionPlanDTO;
import com.skua.modules.equipment.entity.EquipmentInspectionPlan;
import com.skua.modules.equipment.vo.EquipmentInformationVO;
import com.skua.modules.equipment.vo.EquipmentInspectionPlanVO;
@Mapper
public interface EquipmentInspectionPlanMapper extends BaseMapper<EquipmentInspectionPlan> {
/**
* 新增设备检验计划
* @param equipmentInspectionPlanDTO
* @return
*/
Integer addEquipmentInspection(EquipmentInspectionPlanDTO equipmentInspectionPlanDTO);
Integer updateEquipmentInspection(EquipmentInspectionPlanDTO equipmentInspectionPlanDTO);
/**
* 新增计划和设备关联
* @param equipmentInspectionPlanDTO
* @return
*/
Integer addEquipInfoInspection(EquipmentInspectionPlanDTO equipmentInspectionPlanDTO);
Integer deleteEquipInfoInspection(@Param("inspectionId") String inspectionId);
/**
* 设备检验计划列表
* @param pageList
* @param equipmentInspectionPlanDTO
* @return
*/
List<EquipmentInspectionPlanVO> queryCustomPageList(Page<EquipmentInspectionPlanVO> pageList, @Param("equipmentInspectionPlanDTO") EquipmentInspectionPlanDTO equipmentInspectionPlanDTO);
/**
* 通过id查询公司
* @param id
* @return
*/
String selectDepartById(@Param("id") String id);
/**
* 查询设备名称
* @param equipmentIds
* @return
*/
String selectEquipmentName(@Param("inspectionId") String inspectionId);
EquipmentInspectionPlanVO queryById(@Param("id") String id);
List<EquipmentInformationVO> equipmentInfos(@Param("inspectionId") String inspectionId);
Integer deleteInspectionRecord(@Param("time") String time,@Param("inspectionId") String inspectionId);
String getEquipmentType(@Param("typeId") String typeId);
}