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/ISysOssConfigService.java | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOssConfigService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOssConfigService.java index 759ec5b..80d874f 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOssConfigService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOssConfigService.java @@ -1,8 +1,7 @@ package com.ruoyi.system.service; -import com.ruoyi.common.core.mybatisplus.core.IServicePlus; +import com.ruoyi.common.core.domain.PageQuery; import com.ruoyi.common.core.page.TableDataInfo; -import com.ruoyi.system.domain.SysOssConfig; import com.ruoyi.system.domain.bo.SysOssConfigBo; import com.ruoyi.system.domain.vo.SysOssConfigVo; @@ -15,17 +14,22 @@ * @author 瀛よ垷鐑熼洦 * @date 2021-08-13 */ -public interface ISysOssConfigService extends IServicePlus<SysOssConfig, SysOssConfigVo> { +public interface ISysOssConfigService { + + /** + * 鍒濆鍖朞SS閰嶇疆 + */ + void init(); /** * 鏌ヨ鍗曚釜 */ - SysOssConfigVo queryById(Integer ossConfigId); + SysOssConfigVo queryById(Long ossConfigId); /** * 鏌ヨ鍒楄〃 */ - TableDataInfo<SysOssConfigVo> queryPageList(SysOssConfigBo bo); + TableDataInfo<SysOssConfigVo> queryPageList(SysOssConfigBo bo, PageQuery pageQuery); /** -- Gitblit v1.9.3