fix(性能测试): 修复创建人排序的bug

This commit is contained in:
Captain.B 2021-03-16 19:29:03 +08:00
parent e21f3c8d40
commit ae08bd2e42
1 changed files with 6 additions and 1 deletions

View File

@ -102,7 +102,12 @@
<if test="request.orders != null and request.orders.size() > 0">
ORDER BY
<foreach collection="request.orders" separator="," item="order">
load_test.${order.name} ${order.type}
<if test="order.name == 'user_name'">
user_name ${order.type}
</if>
<if test="order.name != 'user_name'">
load_test.${order.name} ${order.type}
</if>
</foreach>
</if>
</select>