Commit ed9c08ce by 吴博

bug: [1024236] 书刊权益添加编辑社群点击下一步刷新之后空白

parent 4ece1861
...@@ -172,32 +172,31 @@ ...@@ -172,32 +172,31 @@
<!-- 立享权益加入 编辑端群 add by pansy 2020/7/2 --> <!-- 立享权益加入 编辑端群 add by pansy 2020/7/2 -->
<select id="getGroupClassifyByIds" resultType="com.pcloud.book.skill.dto.GroupActivity4AppletDTO"> <select id="getGroupClassifyByIds" resultType="com.pcloud.book.skill.dto.GroupActivity4AppletDTO">
SELECT SELECT
c.id, c.id,
a.id groupActivityId, a.id groupActivityId,
a.`name`, a.`name`,
c.classify_introduce AS `desc`, c.classify_introduce AS `desc`,
a.join_type AS joinType, a.join_type AS joinType,
c.classify AS groupName, c.classify AS groupName,
b.user_number userNumber, b.user_number userNumber,
b.classify_id classifyId, b.classify_id classifyId,
c.book_group_id bookGroupId, c.book_group_id bookGroupId,
a.first_classify AS firstClassify, a.first_classify AS firstClassify,
a.second_classify AS secondClassify, a.second_classify AS secondClassify,
a.grade_label_id AS gradeLabelId, a.grade_label_id AS gradeLabelId,
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 AND c.is_delete = 0 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 where
a.is_delete = 0 c.id IN
and c.id IN <foreach collection="list" item="item" open="(" close=")" separator=",">
<foreach collection="list" item="item" open="(" close=")" separator=","> ${item}
${item} </foreach>
</foreach> GROUP BY c.id
GROUP BY a.id ORDER BY c.id DESC
ORDER BY a.id DESC
</select> </select>
<select id="getByIds" resultType="com.pcloud.book.skill.dto.GroupActivity4AppletDTO"> <select id="getByIds" resultType="com.pcloud.book.skill.dto.GroupActivity4AppletDTO">
......
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