Ver Fonte

修改:SQL修改

GDW há 2 meses atrás
pai
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
-			*
+		DISTINCT
+			su.*
 		FROM
 			sys_user AS su
 				LEFT JOIN sys_user_depart AS sud ON su.id = sud.user_id