瀏覽代碼

修改用户列表

anderx 2 年之前
父節點
當前提交
38ca0e548c
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml

+ 4 - 0
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml

@@ -124,6 +124,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 		</if>
 		<!-- 数据范围过滤 -->
 		${params.dataScope}
+		order by
+		<if test="projectQuantitySort ==null and durationSort ==null">
+			u.project_quantity
+		</if>
 		<if test="projectQuantitySort !=null and durationSort !=null">
 			u.project_quantity
 			<if test="projectQuantitySort==1">