fix(系统设置): 用户组列表查询问题
--bug=1019907 --user=李玉号 【系统设置】用户组和权限-项目管理员用户组有时候看不到 https://www.tapd.cn/55049933/s/1299507
This commit is contained in:
parent
2ca90f3136
commit
c768d8d3d5
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue