luodangjia
2024-12-28 7dff38876f582644ae95daad8ac21d4f57088d56
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
package com.sinata.system.service;
 
import com.sinata.system.domain.MwWarningConfig;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sinata.system.domain.dto.MwWarningConfigDTO;
import com.sinata.system.domain.vo.MwWarningConfigVO;
 
/**
 * <p>
 * 预警配置 服务类
 * </p>
 *
 * @author mitao
 * @since 2024-12-02
 */
public interface MwWarningConfigService extends IService<MwWarningConfig> {
    /**
     * 保存设置
     *
     * @param dto
     * @return
     */
    void saveConfig(MwWarningConfigDTO dto);
 
    /**
     * 根据类型获取配置信息
     *
     * @param type
     * @return
     */
    MwWarningConfigVO getByType(Integer type);
}