视频圈
This commit is contained in:
parent
b28fd0fbbb
commit
1111c9b2cf
|
@ -21,8 +21,18 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="findPage" resultType="com.sqx.modules.shipinquan.entity.BlShipinquan">
|
<select id="findPage" resultType="com.sqx.modules.shipinquan.entity.BlShipinquan">
|
||||||
select *
|
SELECT
|
||||||
from bl_shipinquan
|
a.*,
|
||||||
|
b.artificer_img AS artificerImg,
|
||||||
|
if(c.id is null,0,1) as sfdz
|
||||||
|
FROM bl_shipinquan a
|
||||||
|
left join artificer b on a.create_by = b.user_id
|
||||||
|
left join bl_shipinquan_dianzan c on a.id = b.user_id
|
||||||
|
<where>
|
||||||
|
<if test="createBy!=null and createBy!=''">
|
||||||
|
and a.create_by = #{createBy}
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
order by create_time desc
|
order by create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue