fix(系统设置): 用户组列表查询问题

--bug=1019907 --user=李玉号 【系统设置】用户组和权限-项目管理员用户组有时候看不到
https://www.tapd.cn/55049933/s/1299507
This commit is contained in:
shiziyuan9527 2022-11-21 15:28:01 +08:00 committed by lyh
parent 2ca90f3136
commit c768d8d3d5
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@
WHERE temp.name LIKE CONCAT('%', #{request.name},'%') WHERE temp.name LIKE CONCAT('%', #{request.name},'%')
</if> </if>
<if test="request.orders == null or request.orders.size() == 0"> <if test="request.orders == null or request.orders.size() == 0">
ORDER BY field(temp.type, 'SYSTEM', 'ORGANIZATION', 'WORKSPACE', 'PROJECT'), temp.update_time ORDER BY field(temp.type, 'SYSTEM', 'ORGANIZATION', 'WORKSPACE', 'PROJECT'), temp.update_time, temp.name
</if> </if>
<if test="request.orders != null and request.orders.size() > 0"> <if test="request.orders != null and request.orders.size() > 0">
ORDER BY ORDER BY

View File

@ -63,7 +63,7 @@
WHERE temp.name LIKE CONCAT('%', #{request.name},'%') WHERE temp.name LIKE CONCAT('%', #{request.name},'%')
</if> </if>
<if test="request.orders == null or request.orders.size() == 0"> <if test="request.orders == null or request.orders.size() == 0">
ORDER BY field(temp.type, 'SYSTEM', 'ORGANIZATION', 'WORKSPACE', 'PROJECT'), temp.update_time ORDER BY field(temp.type, 'SYSTEM', 'ORGANIZATION', 'WORKSPACE', 'PROJECT'), temp.update_time, temp.name
</if> </if>
<if test="request.orders != null and request.orders.size() > 0"> <if test="request.orders != null and request.orders.size() > 0">
ORDER BY ORDER BY