This commit is contained in:
2025-11-05 20:32:22 +08:00
parent bbcf9bb7f4
commit 49d2229d1e
2 changed files with 20 additions and 2 deletions

View File

@@ -124,7 +124,7 @@
<if test="params.beginTime != null"> and order_time &gt;= #{params.beginTime}</if>
<if test="params.endTime != null"> and order_time &lt;= #{params.endTime}</if>
</where>
1 <choose>
<choose>
<when test="params.orderBy != null and params.orderBy != ''">
order by ${params.orderBy} ${params.isAsc}
</when>