From 693a33f660891c98b8b95490d020c428c5da9871 Mon Sep 17 00:00:00 2001 From: 抓蛙师 <770492966@qq.com> Date: 星期一, 19 九月 2022 21:46:32 +0800 Subject: [PATCH] 完善功能:前端可以配置多排序参数支持依次排序 如:{isAsc:"asc",orderByColumn:"id"} {isAsc:"asc",orderByColumn:"id,createTime"} {isAsc:"asc,desc",orderByColumn:"id,createTime"} 共三种配置方式 --- ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java index d315322..9c3b78c 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java @@ -1,6 +1,6 @@ package com.ruoyi.system.service; -import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.common.core.domain.PageQuery; import com.ruoyi.common.core.page.TableDataInfo; import com.ruoyi.system.domain.SysPost; @@ -11,10 +11,10 @@ * * @author Lion Li */ -public interface ISysPostService extends IService<SysPost> { +public interface ISysPostService { - TableDataInfo<SysPost> selectPagePostList(SysPost post); + TableDataInfo<SysPost> selectPagePostList(SysPost post, PageQuery pageQuery); /** * 鏌ヨ宀椾綅淇℃伅闆嗗悎 @@ -84,7 +84,6 @@ * * @param postIds 闇�瑕佸垹闄ょ殑宀椾綅ID * @return 缁撴灉 - * @throws Exception 寮傚父 */ int deletePostByIds(Long[] postIds); -- Gitblit v1.9.3