cl
2024-01-22 314bc7a1733856bd82c9d99bdfa27b34a4a762c3
提交 | 用户 | 时间
71e81e 1 package cn.stylefeng.guns.modular.em.equipmentAlarm.mapper;
2
3 import cn.stylefeng.guns.modular.em.equipmentAlarm.entity.EquipmentAlarm;
4 import cn.stylefeng.guns.modular.em.equipmentAlarm.model.params.EquipmentAlarmParam;
5 import cn.stylefeng.guns.modular.em.equipmentAlarm.model.result.EquipmentAlarmResult;
6 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
7 import com.baomidou.mybatisplus.core.metadata.IPage;
8 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
9 import org.apache.ibatis.annotations.Param;
10
11 import java.util.List;
12 import java.util.Map;
13
14 /**
15  * <p>
16  * 设备报警 Mapper 接口
17  * </p>
18  *
19  * @author cl
20  * @since 2022-10-28
21  */
22 public interface EquipmentAlarmMapper extends BaseMapper<EquipmentAlarm> {
23
24     /**
25      * 获取列表
26      *
27      * @author cl
28      * @Date 2022-10-28
29      */
30     List<EquipmentAlarmResult> customList(@Param("paramCondition") EquipmentAlarmParam paramCondition);
31
32     /**
33      * 获取map列表
34      *
35      * @author cl
36      * @Date 2022-10-28
37      */
38     List<Map<String, Object>> customMapList(@Param("paramCondition") EquipmentAlarmParam paramCondition);
39
40     /**
41      * 获取分页实体列表
42      *
43      * @author cl
44      * @Date 2022-10-28
45      */
46     Page<EquipmentAlarmResult> customPageList(@Param("page") Page page, @Param("paramCondition") EquipmentAlarmParam paramCondition);
47
48     /**
49      * 获取分页map列表
50      *
51      * @author cl
52      * @Date 2022-10-28
53      */
54     Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") EquipmentAlarmParam paramCondition);
55
56 }