用户查询逻辑

This commit is contained in:
韩国东 2023-03-23 10:17:07 +08:00
parent 88f536a0e3
commit 4d9ea3716b

View File

@ -948,7 +948,7 @@
LEFT JOIN ListPerform sp ON sp.`ListPerformId` = lf.`SupClassId`
WHERE su.`UserType` = '政府用户'
and FIND_IN_SET(#{areaCode},su.area_code)
and FIND_IN_SET(#{areaCode},su.area_path)
<if test="State!=null and State!=''">
and su.State = #{State}
</if>
@ -1250,8 +1250,6 @@
<if test="State!=null and State!=''">
and su.State = #{State}
</if>
AND (su.`ChinaName` LIKE #{condition} OR su.`SysUserName` LIKE #{condition})
AND su.SysUnitOrEntId = #{unitId}
ORDER BY lf.SysLevel asc,lf.SortId asc