视频圈

This commit is contained in:
曹磊 2024-07-22 20:48:35 +08:00
parent b28fd0fbbb
commit 1111c9b2cf
1 changed files with 12 additions and 2 deletions

View File

@ -21,8 +21,18 @@
</select>
<select id="findPage" resultType="com.sqx.modules.shipinquan.entity.BlShipinquan">
select *
from bl_shipinquan
SELECT
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
</select>