新增 用户通知偏好设置
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user