|
@@ -89,8 +89,8 @@
|
|
|
|
|
|
<select id="selectCollectById" resultType="com.ruoyi.generator.vo.CommunityCollectionVo">
|
|
|
select a.id,a.collection_name,a.collection_profile,a.images,a.collection_tag
|
|
|
- from `ruoyi-community`.community_collection a
|
|
|
- left join `ruoyi-community`.community_collection_article b on a.id = b.collection_id
|
|
|
+ from community_collection a
|
|
|
+ left join community_collection_article b on a.id = b.collection_id
|
|
|
where b.article_id = #{articleId} and (b.is_delete is null or b.is_delete != '1')
|
|
|
</select>
|
|
|
</mapper>
|