From 375a7f7b4c5032f7545a7db872ecdfbbe3e42875 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 02 六月 2021 17:10:40 +0800 Subject: [PATCH] !45 【优化】为代码生成器生成的前端代码添加loading;删除方法回调函数变更为箭头表达式 Merge pull request !45 from 狂盗一枝梅/kdyzm --- ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysNoticeMapper.java | 73 ++++++------------------------------ 1 files changed, 13 insertions(+), 60 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysNoticeMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysNoticeMapper.java index cc267ac..0061170 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysNoticeMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysNoticeMapper.java @@ -1,60 +1,13 @@ -package com.ruoyi.system.mapper; - -import java.util.List; -import com.ruoyi.system.domain.SysNotice; - -/** - * 閫氱煡鍏憡琛� 鏁版嵁灞� - * - * @author ruoyi - */ -public interface SysNoticeMapper -{ - /** - * 鏌ヨ鍏憡淇℃伅 - * - * @param noticeId 鍏憡ID - * @return 鍏憡淇℃伅 - */ - public SysNotice selectNoticeById(Long noticeId); - - /** - * 鏌ヨ鍏憡鍒楄〃 - * - * @param notice 鍏憡淇℃伅 - * @return 鍏憡闆嗗悎 - */ - public List<SysNotice> selectNoticeList(SysNotice notice); - - /** - * 鏂板鍏憡 - * - * @param notice 鍏憡淇℃伅 - * @return 缁撴灉 - */ - public int insertNotice(SysNotice notice); - - /** - * 淇敼鍏憡 - * - * @param notice 鍏憡淇℃伅 - * @return 缁撴灉 - */ - public int updateNotice(SysNotice notice); - - /** - * 鎵归噺鍒犻櫎鍏憡 - * - * @param noticeId 鍏憡ID - * @return 缁撴灉 - */ - public int deleteNoticeById(Long noticeId); - - /** - * 鎵归噺鍒犻櫎鍏憡淇℃伅 - * - * @param noticeIds 闇�瑕佸垹闄ょ殑鍏憡ID - * @return 缁撴灉 - */ - public int deleteNoticeByIds(Long[] noticeIds); -} +package com.ruoyi.system.mapper; + +import com.ruoyi.common.core.page.BaseMapperPlus; +import com.ruoyi.system.domain.SysNotice; + +/** + * 閫氱煡鍏憡琛� 鏁版嵁灞� + * + * @author ruoyi + */ +public interface SysNoticeMapper extends BaseMapperPlus<SysNotice> { + +} -- Gitblit v1.9.3