123
This commit is contained in:
@@ -5,7 +5,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<mapper namespace="com.ruoyi.cai.mapper.AnchorTopMapper">
|
||||
<!--// 1-生效 2-过期 3-待生效-->
|
||||
<select id="pageAdmin" resultType="com.ruoyi.cai.dto.admin.vo.AnchorTopAdminVo">
|
||||
select t1.*,
|
||||
select t1.*,t2.price,
|
||||
t3.usercode,t3.nickname,t3.mobile,t3.avatar,t3.gender,t3.age,t3.status,
|
||||
t4.status as online_status,
|
||||
<![CDATA[
|
||||
@@ -30,6 +30,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="bo.onlineStatus != null">
|
||||
and t4.status = #{bo.onlineStatus}
|
||||
</if>
|
||||
<if test="bo.startPrice != null and bo.startPrice > 0">
|
||||
<![CDATA[
|
||||
and t2.price >= #{bo.startPrice}
|
||||
]]>
|
||||
</if>
|
||||
<if test="bo.endPrice != null and bo.endPrice > 0">
|
||||
<![CDATA[
|
||||
and t2.price <= #{bo.endPrice}
|
||||
]]>
|
||||
</if>
|
||||
<if test="bo.topStatus != null">
|
||||
<if test="bo.topStatus == 1">
|
||||
<![CDATA[
|
||||
|
||||
Reference in New Issue
Block a user