From f01bb5966a55bd35754476c11d9c8afa6bc7f659 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 13 五月 2021 21:25:51 +0800 Subject: [PATCH] update 使用 MP 分页工具 重构业务 --- ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDictTypeService.java | 32 +++++++++++++++++++------------- 1 files changed, 19 insertions(+), 13 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDictTypeService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDictTypeService.java index 310809e..87b3c88 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDictTypeService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDictTypeService.java @@ -1,19 +1,25 @@ package com.ruoyi.system.service; -import java.util.List; import com.ruoyi.common.core.domain.entity.SysDictData; import com.ruoyi.common.core.domain.entity.SysDictType; +import com.ruoyi.common.core.page.IServicePlus; +import com.ruoyi.common.core.page.TableDataInfo; + +import java.util.List; /** * 瀛楀吀 涓氬姟灞� - * + * * @author ruoyi */ -public interface ISysDictTypeService -{ +public interface ISysDictTypeService extends IServicePlus<SysDictType> { + + + TableDataInfo<SysDictType> selectPageDictTypeList(SysDictType dictType); + /** * 鏍规嵁鏉′欢鍒嗛〉鏌ヨ瀛楀吀绫诲瀷 - * + * * @param dictType 瀛楀吀绫诲瀷淇℃伅 * @return 瀛楀吀绫诲瀷闆嗗悎淇℃伅 */ @@ -21,14 +27,14 @@ /** * 鏍规嵁鎵�鏈夊瓧鍏哥被鍨� - * + * * @return 瀛楀吀绫诲瀷闆嗗悎淇℃伅 */ public List<SysDictType> selectDictTypeAll(); /** * 鏍规嵁瀛楀吀绫诲瀷鏌ヨ瀛楀吀鏁版嵁 - * + * * @param dictType 瀛楀吀绫诲瀷 * @return 瀛楀吀鏁版嵁闆嗗悎淇℃伅 */ @@ -36,7 +42,7 @@ /** * 鏍规嵁瀛楀吀绫诲瀷ID鏌ヨ淇℃伅 - * + * * @param dictId 瀛楀吀绫诲瀷ID * @return 瀛楀吀绫诲瀷 */ @@ -44,7 +50,7 @@ /** * 鏍规嵁瀛楀吀绫诲瀷鏌ヨ淇℃伅 - * + * * @param dictType 瀛楀吀绫诲瀷 * @return 瀛楀吀绫诲瀷 */ @@ -52,7 +58,7 @@ /** * 鎵归噺鍒犻櫎瀛楀吀淇℃伅 - * + * * @param dictIds 闇�瑕佸垹闄ょ殑瀛楀吀ID * @return 缁撴灉 */ @@ -65,7 +71,7 @@ /** * 鏂板淇濆瓨瀛楀吀绫诲瀷淇℃伅 - * + * * @param dictType 瀛楀吀绫诲瀷淇℃伅 * @return 缁撴灉 */ @@ -73,7 +79,7 @@ /** * 淇敼淇濆瓨瀛楀吀绫诲瀷淇℃伅 - * + * * @param dictType 瀛楀吀绫诲瀷淇℃伅 * @return 缁撴灉 */ @@ -81,7 +87,7 @@ /** * 鏍¢獙瀛楀吀绫诲瀷绉版槸鍚﹀敮涓� - * + * * @param dictType 瀛楀吀绫诲瀷 * @return 缁撴灉 */ -- Gitblit v1.9.3