@ -481,6 +481,7 @@
WHERE del_flag = '0'
AND article_id = a.id
AND agency_id = #{publishRangeId}
and PUBLISH_STATUS='published'
)
</when>
<otherwise>
@ -489,6 +490,7 @@
AND grid_id = #{publishRangeId}
</otherwise>
</choose>