From cc2624d08e422c36a4f93cc15d0ca0f0b7b4951a Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 17 一月 2022 15:46:28 +0800 Subject: [PATCH] update 优化加载字典缓存数据 --- ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java index 4ede9bc..a6dbcbf 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java @@ -1,6 +1,6 @@ package com.ruoyi.system.service; -import com.ruoyi.common.core.page.IServicePlus; +import com.ruoyi.common.core.domain.PageQuery; import com.ruoyi.common.core.page.TableDataInfo; import com.ruoyi.system.domain.SysNotice; @@ -9,12 +9,12 @@ /** * 鍏憡 鏈嶅姟灞� * - * @author ruoyi + * @author Lion Li */ -public interface ISysNoticeService extends IServicePlus<SysNotice> { +public interface ISysNoticeService { - TableDataInfo<SysNotice> selectPageNoticeList(SysNotice notice); + TableDataInfo<SysNotice> selectPageNoticeList(SysNotice notice, PageQuery pageQuery); /** * 鏌ヨ鍏憡淇℃伅 @@ -22,7 +22,7 @@ * @param noticeId 鍏憡ID * @return 鍏憡淇℃伅 */ - public SysNotice selectNoticeById(Long noticeId); + SysNotice selectNoticeById(Long noticeId); /** * 鏌ヨ鍏憡鍒楄〃 @@ -30,7 +30,7 @@ * @param notice 鍏憡淇℃伅 * @return 鍏憡闆嗗悎 */ - public List<SysNotice> selectNoticeList(SysNotice notice); + List<SysNotice> selectNoticeList(SysNotice notice); /** * 鏂板鍏憡 @@ -38,7 +38,7 @@ * @param notice 鍏憡淇℃伅 * @return 缁撴灉 */ - public int insertNotice(SysNotice notice); + int insertNotice(SysNotice notice); /** * 淇敼鍏憡 @@ -46,7 +46,7 @@ * @param notice 鍏憡淇℃伅 * @return 缁撴灉 */ - public int updateNotice(SysNotice notice); + int updateNotice(SysNotice notice); /** * 鍒犻櫎鍏憡淇℃伅 @@ -54,7 +54,7 @@ * @param noticeId 鍏憡ID * @return 缁撴灉 */ - public int deleteNoticeById(Long noticeId); + int deleteNoticeById(Long noticeId); /** * 鎵归噺鍒犻櫎鍏憡淇℃伅 @@ -62,5 +62,5 @@ * @param noticeIds 闇�瑕佸垹闄ょ殑鍏憡ID * @return 缁撴灉 */ - public int deleteNoticeByIds(Long[] noticeIds); + int deleteNoticeByIds(Long[] noticeIds); } -- Gitblit v1.9.3