This commit is contained in:
2025-11-05 20:19:10 +08:00
parent 0c1c19170d
commit bbcf9bb7f4
2 changed files with 74 additions and 12 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>
<choose>
1 <choose>
<when test="params.orderBy != null and params.orderBy != ''">
order by ${params.orderBy} ${params.isAsc}
</when>