admin
2024-02-21 2272213fea7ab9ea6250eefad55bb113ce2b1837
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
package com.ruoyi.system.mapper;
 
import com.ruoyi.system.domain.AiAlarmType;
import com.ruoyi.system.domain.SysUserPost;
 
import java.util.List;
 
public interface AiAlarmTypeMapper {
    /**
     * 通过报警类型大类删除大类和小类的关联
     *
     * @param bigType 报警类型大类
     * @return 结果
     */
    public int deleteAlarmTypeByBigType(Long bigType);
 
 
    /**
     * 通过ids批量删除删除大类和小类的关联
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int alarmTypeByBigType(Long[] ids);
 
    /**
     * 批量新增报警类型信息
     *
     * @param typeList 报警类型列表
     * @return 结果
     */
    public int AlarmTypeAdd(List<AiAlarmType> typeList);
    /**
     * 通过大类id 查询大类小类关联信息
     *
     * @param alarmBigType 大类id
     * @return 结果
     */
    public List<String> selectAlarmTypeByBigType(Long alarmBigType);
}