Commit 155e370e by pansy

bug: [1024258] groupCount 计算错误

parent 3427c4d2
...@@ -1101,7 +1101,6 @@ ...@@ -1101,7 +1101,6 @@
book_group_classify a book_group_classify a
LEFT JOIN book_group_qrcode b ON a.id = b.classify_id AND b.is_delete = 0 AND a.is_delete = 0 LEFT JOIN book_group_qrcode b ON a.id = b.classify_id AND b.is_delete = 0 AND a.is_delete = 0
LEFT JOIN book_group c ON a.book_group_id = c. id LEFT JOIN book_group c ON a.book_group_id = c. id
LEFT JOIN pcloud_group_activity activity on activity.book_group_classify_id = a.id
<where> <where>
<if test="name!=null or list.size()>0"> <if test="name!=null or list.size()>0">
<trim prefix="(" suffix=")" prefixOverrides="OR"> <trim prefix="(" suffix=")" prefixOverrides="OR">
...@@ -1125,12 +1124,6 @@ ...@@ -1125,12 +1124,6 @@
<if test="purLabelId!=null"> <if test="purLabelId!=null">
AND c.pur_label_id = #{purLabelId} AND c.pur_label_id = #{purLabelId}
</if> </if>
<if test="firstClassifyId!=null">
AND activity.first_classify = #{firstClassifyId}
</if>
<if test="subjectLabelId!=null">
AND activity.subject_label_id = #{subjectLabelId}
</if>
<if test="agentId!=null"> <if test="agentId!=null">
AND c.agent_id = #{agentId} AND c.agent_id = #{agentId}
</if> </if>
......
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