yumeng vor 3 Jahren
Ursprung
Commit
3ab24a39b2

+ 1 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/report/mapper/xml/KuaishouPlanCreateMapper.xml

@@ -28,7 +28,7 @@
     </select>
     <select id="getEffectiveUnit" resultType="java.lang.Integer">
         SELECT
-        count(1)
+        count(distinct t1.unit_id)
         FROM
         ctop_kuaishou_group t1
         LEFT JOIN ctop_kuaishou_report_daily_group t2 ON t1.unit_id = t2.unit_id