新增通知

This commit is contained in:
2025-11-01 22:04:33 +08:00
parent 47e97e2ecf
commit fafe304494
25 changed files with 1659 additions and 619 deletions

View File

@@ -0,0 +1,69 @@
package com.vetti.hotake.mapper;
import java.util.List;
import com.vetti.hotake.domain.HotakeSysNotice;
/**
* 通知Mapper接口
*
* @author ID
* @date 2025-11-01
*/
public interface HotakeSysNoticeMapper
{
/**
* 查询通知
*
* @param id 通知主键
* @return 通知
*/
public HotakeSysNotice selectHotakeSysNoticeById(Long id);
/**
* 查询通知列表
*
* @param hotakeSysNotice 通知
* @return 通知集合
*/
public List<HotakeSysNotice> selectHotakeSysNoticeList(HotakeSysNotice hotakeSysNotice);
/**
* 新增通知
*
* @param hotakeSysNotice 通知
* @return 结果
*/
public int insertHotakeSysNotice(HotakeSysNotice hotakeSysNotice);
/**
* 修改通知
*
* @param hotakeSysNotice 通知
* @return 结果
*/
public int updateHotakeSysNotice(HotakeSysNotice hotakeSysNotice);
/**
* 删除通知
*
* @param id 通知主键
* @return 结果
*/
public int deleteHotakeSysNoticeById(Long id);
/**
* 批量删除通知
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHotakeSysNoticeByIds(Long[] ids);
/**
* 批量新增通知
*
* @param hotakeSysNoticeList 通知列表
* @return 结果
*/
public int batchInsertHotakeSysNotice(List<HotakeSysNotice> hotakeSysNoticeList);
}

View File

@@ -1,69 +1,69 @@
package com.vetti.hotake.mapper;
import java.util.List;
import com.vetti.hotake.domain.HotakeSysNoticeType;
/**
* 通知类型Mapper接口
*
* @author ID
* @date 2025-11-01
*/
public interface HotakeSysNoticeTypeMapper
{
/**
* 查询通知类型
*
* @param id 通知类型主键
* @return 通知类型
*/
public HotakeSysNoticeType selectHotakeSysNoticeTypeById(Long id);
/**
* 查询通知类型列表
*
* @param hotakeSysNoticeType 通知类型
* @return 通知类型集合
*/
public List<HotakeSysNoticeType> selectHotakeSysNoticeTypeList(HotakeSysNoticeType hotakeSysNoticeType);
/**
* 新增通知类型
*
* @param hotakeSysNoticeType 通知类型
* @return 结果
*/
public int insertHotakeSysNoticeType(HotakeSysNoticeType hotakeSysNoticeType);
/**
* 修改通知类型
*
* @param hotakeSysNoticeType 通知类型
* @return 结果
*/
public int updateHotakeSysNoticeType(HotakeSysNoticeType hotakeSysNoticeType);
/**
* 删除通知类型
*
* @param id 通知类型主键
* @return 结果
*/
public int deleteHotakeSysNoticeTypeById(Long id);
/**
* 批量删除通知类型
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHotakeSysNoticeTypeByIds(Long[] ids);
/**
* 批量新增通知类型
*
* @param hotakeSysNoticeTypeList 通知类型列表
* @return 结果
*/
public int batchInsertHotakeSysNoticeType(List<HotakeSysNoticeType> hotakeSysNoticeTypeList);
}
//package com.vetti.hotake.mapper;
//
//import java.util.List;
//import com.vetti.hotake.domain.HotakeSysNoticeType;
//
///**
// * 通知类型Mapper接口
// *
// * @author ID
// * @date 2025-11-01
// */
//public interface HotakeSysNoticeTypeMapper
//{
// /**
// * 查询通知类型
// *
// * @param id 通知类型主键
// * @return 通知类型
// */
// public HotakeSysNoticeType selectHotakeSysNoticeTypeById(Long id);
//
// /**
// * 查询通知类型列表
// *
// * @param hotakeSysNoticeType 通知类型
// * @return 通知类型集合
// */
// public List<HotakeSysNoticeType> selectHotakeSysNoticeTypeList(HotakeSysNoticeType hotakeSysNoticeType);
//
// /**
// * 新增通知类型
// *
// * @param hotakeSysNoticeType 通知类型
// * @return 结果
// */
// public int insertHotakeSysNoticeType(HotakeSysNoticeType hotakeSysNoticeType);
//
// /**
// * 修改通知类型
// *
// * @param hotakeSysNoticeType 通知类型
// * @return 结果
// */
// public int updateHotakeSysNoticeType(HotakeSysNoticeType hotakeSysNoticeType);
//
// /**
// * 删除通知类型
// *
// * @param id 通知类型主键
// * @return 结果
// */
// public int deleteHotakeSysNoticeTypeById(Long id);
//
// /**
// * 批量删除通知类型
// *
// * @param ids 需要删除的数据主键集合
// * @return 结果
// */
// public int deleteHotakeSysNoticeTypeByIds(Long[] ids);
// /**
// * 批量新增通知类型
// *
// * @param hotakeSysNoticeTypeList 通知类型列表
// * @return 结果
// */
// public int batchInsertHotakeSysNoticeType(List<HotakeSysNoticeType> hotakeSysNoticeTypeList);
//
//}