This commit is contained in:
77
2024-05-13 01:04:47 +08:00
parent ae0143d7bc
commit 84cbbefdec
4 changed files with 27 additions and 2 deletions

View File

@@ -43,6 +43,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="bo.onlineStatus != null">
and t3.status = #{bo.onlineStatus}
</if>
<if test="bo.startPrice != null and bo.startPrice > 0">
<![CDATA[
and t1.price >= #{bo.startPrice}
]]>
</if>
<if test="bo.endPrice != null and bo.endPrice > 0">
<![CDATA[
and t1.price <= #{bo.endPrice}
]]>
</if>
</where>
order by t1.create_time desc
</select>