fix(测试跟踪): 功能用例导出乱序问题
--bug=1018268 --user=宋昌昌 【测试跟踪】github#18375,功能用例导出为excel用例,导出后乱序不是按照id排序 https://www.tapd.cn/55049933/s/1265608
This commit is contained in:
parent
567b1de109
commit
0e754aa3a1
|
@ -354,10 +354,10 @@
|
|||
and test_case.project_id=#{request.projectId}
|
||||
</if>
|
||||
</where>
|
||||
<if test="request.orders != null and request.orders.size() > 0">
|
||||
<if test="request.condition.orders != null and request.condition.orders.size() > 0">
|
||||
order by
|
||||
<foreach collection="request.orders" separator="," item="order">
|
||||
`${order.name}` ${order.type}
|
||||
<foreach collection="request.condition.orders" separator="," item="order">
|
||||
test_case.`${order.name}` ${order.type}
|
||||
</foreach>
|
||||
</if>
|
||||
</select>
|
||||
|
|
Loading…
Reference in New Issue