@@ -691,6 +691,7 @@
#{item}
</foreach>
group by b.project_id
+ order by sum(a.charge) desc
) m
<if test="yn = 1">
where
@@ -776,6 +777,7 @@
</if>
group by a.campaign_id
@@ -864,6 +866,7 @@
group by unit_id
@@ -1048,6 +1051,7 @@
group by a.creative_id
)m
<if test="yn=1">
where m.charge != 0