1.修改返回创建时间为时间戳格式

2.修复排序功能 Bug
This commit is contained in:
2025-06-26 17:39:43 +08:00
parent 85c872ff07
commit c3c722e904
13 changed files with 412 additions and 61 deletions

View File

@@ -317,11 +317,11 @@
order by
<choose>
<!-- 传空和默认的情况下按照时间降序排序 -->
<when test="hostInfoDTO.sortName == '' and hostInfoDTO.sortName == null">
<when test="hostInfoDTO.sortName == '' or hostInfoDTO.sortName == null">
ns.create_time desc
</when>
<!-- sortNmae 有值的情况下排序 -->
<when test="hostInfoDTO.sortName != null and hostInfoDTO.sort != null ">
<when test="hostInfoDTO.sortName != null or hostInfoDTO.sort != null ">
<if test="hostInfoDTO.sortName == 'createTime' and hostInfoDTO.sort != null">
ns.create_time ${hostInfoDTO.sort}
</if>