设计消息推送数据表、开发消息推送相关逻辑方法。

This commit is contained in:
gaoyutao
2025-11-11 18:03:50 +08:00
parent 5c3b6df591
commit 70e943269a
12 changed files with 812 additions and 84 deletions
@@ -0,0 +1,61 @@
package com.ruoyi.rocketmq.mapper;
import java.util.List;
import com.ruoyi.rocketmq.domain.RmAlarmPushConfig;
/**
* 告警推送配置Mapper接口
*
* @author gyt
* @date 2025-11-11
*/
public interface RmAlarmPushConfigMapper
{
/**
* 查询告警推送配置
*
* @param id 告警推送配置主键
* @return 告警推送配置
*/
public RmAlarmPushConfig selectRmAlarmPushConfigById(Long id);
/**
* 查询告警推送配置列表
*
* @param rmAlarmPushConfig 告警推送配置
* @return 告警推送配置集合
*/
public List<RmAlarmPushConfig> selectRmAlarmPushConfigList(RmAlarmPushConfig rmAlarmPushConfig);
/**
* 新增告警推送配置
*
* @param rmAlarmPushConfig 告警推送配置
* @return 结果
*/
public int insertRmAlarmPushConfig(RmAlarmPushConfig rmAlarmPushConfig);
/**
* 修改告警推送配置
*
* @param rmAlarmPushConfig 告警推送配置
* @return 结果
*/
public int updateRmAlarmPushConfig(RmAlarmPushConfig rmAlarmPushConfig);
/**
* 删除告警推送配置
*
* @param id 告警推送配置主键
* @return 结果
*/
public int deleteRmAlarmPushConfigById(Long id);
/**
* 批量删除告警推送配置
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteRmAlarmPushConfigByIds(Long[] ids);
}