Browse Source

8月26日审核排序

lijianlin/feature-20250728171217-三期金豆消费相关
sunjiabei 1 month ago
parent
commit
916dbbc8a1
  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 == 'createTime'">a.create_time</when>
<when test="sortField == 'auditTime'">a.audit_time</when> <when test="sortField == 'auditTime'">a.audit_time</when>
<!-- 其他字段不支持排序,使用默认排序 --> <!-- 其他字段不支持排序,使用默认排序 -->
<otherwise>a.create_time</otherwise>
<otherwise>a.audit_time</otherwise>
</choose> </choose>
<!-- 排序方向处理 --> <!-- 排序方向处理 -->
<if test="sortOrder != null and sortOrder != ''"> <if test="sortOrder != null and sortOrder != ''">
@ -61,7 +61,7 @@
</when> </when>
<!-- 未指定排序字段时,使用默认的时间降序排序 --> <!-- 未指定排序字段时,使用默认的时间降序排序 -->
<otherwise> <otherwise>
a.create_time DESC
a.audit_time DESC
</otherwise> </otherwise>
</choose> </choose>
</trim> </trim>

Loading…
Cancel
Save