fix(测试跟踪): 测试计划功能用例列表用例等级排序报错

--bug=1019253 --user=宋昌昌 [测试跟踪]测试计划-功能用例-用例等级排序提示sql错误 https://www.tapd.cn/55049933/s/1285934
This commit is contained in:
song-cc-rock 2022-11-01 16:30:12 +08:00 committed by jianxing
parent 56876c9684
commit ec7cc21180
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@
order by order by
<foreach collection="request.orders" separator="," item="order"> <foreach collection="request.orders" separator="," item="order">
<choose> <choose>
<when test="order.name == 'custom_num' || order.name == 'num' || order.name == 'name'"> <when test="order.name == 'custom_num' || order.name == 'num' || order.name == 'name' || order.name == 'priority'">
test_case.${order.name} ${order.type} test_case.${order.name} ${order.type}
</when> </when>
<otherwise> <otherwise>