新增 用户通知偏好设置

This commit is contained in:
2026-02-01 19:08:16 +08:00
parent 86b683aafd
commit 01291e61a6
6 changed files with 559 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
package com.vetti.hotake.mapper;
import java.util.List;
import com.vetti.hotake.domain.HotakeNotificationPreferences;
/**
* 用户通知偏好设置Mapper接口
*
* @author vetti
* @date 2026-02-01
*/
public interface HotakeNotificationPreferencesMapper
{
/**
* 查询用户通知偏好设置
*
* @param id 用户通知偏好设置主键
* @return 用户通知偏好设置
*/
public HotakeNotificationPreferences selectHotakeNotificationPreferencesById(Long id);
/**
* 查询用户通知偏好设置列表
*
* @param hotakeNotificationPreferences 用户通知偏好设置
* @return 用户通知偏好设置集合
*/
public List<HotakeNotificationPreferences> selectHotakeNotificationPreferencesList(HotakeNotificationPreferences hotakeNotificationPreferences);
/**
* 新增用户通知偏好设置
*
* @param hotakeNotificationPreferences 用户通知偏好设置
* @return 结果
*/
public int insertHotakeNotificationPreferences(HotakeNotificationPreferences hotakeNotificationPreferences);
/**
* 修改用户通知偏好设置
*
* @param hotakeNotificationPreferences 用户通知偏好设置
* @return 结果
*/
public int updateHotakeNotificationPreferences(HotakeNotificationPreferences hotakeNotificationPreferences);
/**
* 删除用户通知偏好设置
*
* @param id 用户通知偏好设置主键
* @return 结果
*/
public int deleteHotakeNotificationPreferencesById(Long id);
/**
* 批量删除用户通知偏好设置
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHotakeNotificationPreferencesByIds(Long[] ids);
}