feat(system): 用户选择列表按sortno升序排序

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
wsm
2026-06-18 15:29:12 +08:00
co-authored by Claude Opus 4.7
parent b9eb8cd99f
commit b64f38f3b8
2 changed files with 2 additions and 0 deletions
@@ -56,6 +56,7 @@
<if test="realname!=null and realname!=''"> <if test="realname!=null and realname!=''">
and a.realname like concat('%',#{realname},'%') and a.realname like concat('%',#{realname},'%')
</if> </if>
order by a.sortno ASC
</select> </select>
<!--获取用户信息(聊天专用)--> <!--获取用户信息(聊天专用)-->
<select id="getUserInformation" resultType="org.jeecg.modules.system.entity.SysUser"> <select id="getUserInformation" resultType="org.jeecg.modules.system.entity.SysUser">
@@ -319,6 +319,7 @@ public class SysUserDepartServiceImpl extends ServiceImpl<SysUserDepartMapper, S
//update-end---author:wangshuai ---date:20221223 for[QQYUN-3371]租户逻辑改造,改成关系表------------ //update-end---author:wangshuai ---date:20221223 for[QQYUN-3371]租户逻辑改造,改成关系表------------
} }
//------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------
query.orderByAsc("sortno");
pageList = sysUserMapper.selectPage(page, query); pageList = sysUserMapper.selectPage(page, query);
}else{ }else{
// 有部门ID 需要走自定义sql // 有部门ID 需要走自定义sql