This commit is contained in:
dute7liang
2024-01-21 19:55:39 +08:00
parent e36ad030e4
commit 5c9218ea83
18 changed files with 222 additions and 76 deletions

View File

@@ -30,7 +30,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="query.type != null and query.type == 3">
and t1.city_id = #{query.cityId}
</if>
order by t1.create_time desc
<if test="query.type != null and query.type == 1">
order by t1.sort desc, t1.create_time desc
</if>
<if test="query.type == null or query.type != 1">
order by t1.create_time desc
</if>
</select>
<select id="selectDynamicImageList" resultType="java.lang.String">
select t2.url
@@ -54,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and t1.audit_status = #{bo.auditStatus}
</if>
</where>
order by t1.create_time desc
order by t1.sort desc, t1.create_time desc
</select>