Commit aa21a5bc by 吴博

bug :[10242001] 修改分类权益获取群sql

parent b9c58d63
...@@ -188,9 +188,11 @@ ...@@ -188,9 +188,11 @@
a.subject_label_id AS subjectLabelId a.subject_label_id AS subjectLabelId
FROM FROM
book_group_classify c book_group_classify c
LEFT JOIN pcloud_group_activity a ON a.book_group_classify_id = c.id LEFT JOIN pcloud_group_activity a ON a.book_group_classify_id = c.id AND c.is_delete = 0
LEFT JOIN book_group_qrcode b on b.classify_id = c.id AND b.is_delete = 0 LEFT JOIN book_group_qrcode b on b.classify_id = c.id AND b.is_delete = 0
where c.id IN where
a.is_delete = 0
and c.id IN
<foreach collection="list" item="item" open="(" close=")" separator=","> <foreach collection="list" item="item" open="(" close=")" separator=",">
${item} ${item}
</foreach> </foreach>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment