anderx 1 год назад
Родитель
Сommit
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">