1.修改主播查询 xml,添加 logback 日志配置

This commit is contained in:
2025-07-01 21:03:12 +08:00
parent bcb3157faa
commit 01b880e90c
2 changed files with 74 additions and 3 deletions

View File

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