fix: 自定义代码片段,按创建时间排序报错

--bug=1007365 --user=lyh 【项目设置】自定义代码片段,按创建时间排序报错
https://www.tapd.cn/55049933/s/1058007
This commit is contained in:
shiziyuan9527 2021-10-22 19:01:35 +08:00 committed by 刘瑞斌
parent e4f9df5822
commit f12706fab6
1 changed files with 3 additions and 1 deletions

View File

@ -35,8 +35,10 @@
custom_function.${order.name} ${order.type}
</foreach>
</if>
<if test="request.orders == null">
order by custom_function.create_time desc
</if>
</where>
order by custom_function.create_time desc
</select>