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