diff --git a/pigx-upms/pigx-upms-biz/src/main/resources/mapper/SysDeptMapper.xml b/pigx-upms/pigx-upms-biz/src/main/resources/mapper/SysDeptMapper.xml index 10ddc04c0..0ea564cea 100644 --- a/pigx-upms/pigx-upms-biz/src/main/resources/mapper/SysDeptMapper.xml +++ b/pigx-upms/pigx-upms-biz/src/main/resources/mapper/SysDeptMapper.xml @@ -30,6 +30,5 @@ AND sys_dept.del_flag = '0' and sys_user_dept.user_id = #{userId} and sys_user_dept.tenant_id = #{tenantId} - ORDER BY sys_user_dept.is_primary DESC