Browse Source

Merge remote-tracking branch 'origin/milestone-20250727-金币重构三期' into milestone-20250727-金币重构三期

lijianlin/feature-20250728171217-三期金豆消费相关
lijianlin 1 month ago
parent
commit
ccf133fae0
  1. 4
      src/main/resources/mapper/BeanAuditMapper.xml

4
src/main/resources/mapper/BeanAuditMapper.xml

@ -45,7 +45,7 @@
<when test="sortField == 'createTime'">a.create_time</when>
<when test="sortField == 'auditTime'">a.audit_time</when>
<!-- 其他字段不支持排序,使用默认排序 -->
<otherwise>a.create_time</otherwise>
<otherwise>a.audit_time</otherwise>
</choose>
<!-- 排序方向处理 -->
<if test="sortOrder != null and sortOrder != ''">
@ -61,7 +61,7 @@
</when>
<!-- 未指定排序字段时,使用默认的时间降序排序 -->
<otherwise>
a.create_time DESC
a.audit_time DESC
</otherwise>
</choose>
</trim>

Loading…
Cancel
Save