Browse Source

修改:SQL修改

GDW 2 months ago
parent
commit
22d98714c4

+ 2 - 1
jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml

@@ -405,7 +405,8 @@
 
 
 	<select id="userComplexConditionTwoMapper" resultType="org.jeecg.modules.system.entity.SysUser">
 	<select id="userComplexConditionTwoMapper" resultType="org.jeecg.modules.system.entity.SysUser">
 		SELECT
 		SELECT
-			*
+		DISTINCT
+			su.*
 		FROM
 		FROM
 			sys_user AS su
 			sys_user AS su
 				LEFT JOIN sys_user_depart AS sud ON su.id = sud.user_id
 				LEFT JOIN sys_user_depart AS sud ON su.id = sud.user_id