zhaotx 9 месяцев назад
Родитель
Сommit
51701cb333

+ 3 - 0
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/ReportsAdPushMapper.xml

@@ -71,6 +71,7 @@
         <include refid="payAmount"/>,
         <include refid="shareIaaAmount"/>,
         <include refid="realProfit"/>,
+        <include refid="realRoi"/>,
         <include refid="endAmount"/>
         FROM
             (select sum(cost_amount) as cost_amount, sum(real_cost_amount) as real_cost_amount, max(update_time) as update_time
@@ -94,6 +95,7 @@
         <include refid="shareIaaAmount"/>,
         <include refid="realProfit"/>,
         <include refid="waterProfit"/>,
+        <include refid="realRoi"/>,
         <include refid="endAmount"/>
         from
         (select sum(cost_amount) as cost_amount, sum(real_cost_amount) as real_cost_amount
@@ -167,6 +169,7 @@
         <include refid="shareIaaAmount"/>,
         <include refid="realProfit"/>,
         <include refid="waterProfit"/>,
+        <include refid="realRoi"/>,
         <include refid="endAmount"/>,
         date_format(max(update_time), '%Y-%m-%d %H:%i:%s') as update_time
         from

+ 2 - 2
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/impl/DateReportsPushServiceImpl.java

@@ -34,7 +34,7 @@ public class DateReportsPushServiceImpl implements IDateReportsPushService {
     @Autowired
     ReportsAdPushMapper reportsPushMapper;
 
-    private static final String TEMPLATE_VERSION = "1.0.20";
+    private static final String TEMPLATE_VERSION = "1.0.22";
     private static final String TEMPLATE_ID = "AAqRhJzMBoO0E";
 
     /**
@@ -121,7 +121,7 @@ public class DateReportsPushServiceImpl implements IDateReportsPushService {
                 new Pair<>("pay_amount", "充值金额"),
                 new Pair<>("share_iaa_amount", "广告预估收入"),
 //                new Pair<>("water_roi", "流水ROI"),
-//                new Pair<>("real_roi", "真实ROI"),
+                new Pair<>("real_roi", "投流真实ROI"),
 //                new Pair<>("water_profit", "流水利润"),
                 new Pair<>("real_profit", "真实利润")
 //                new Pair<>("iaa_roi", "广告-ROI"),

+ 1 - 1
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/impl/ReportsAdPushServiceImpl.java

@@ -97,7 +97,7 @@ public class ReportsAdPushServiceImpl implements IReportsAdPushService {
                 new Pair<>("pay_amount", "充值金额"),
                 new Pair<>("share_iaa_amount", "广告预估收入"),
 //                new Pair<>("water_roi", "流水ROI"),
-//                new Pair<>("real_roi", "真实ROI"),
+                new Pair<>("real_roi", "投流真实ROI"),
 //                new Pair<>("water_profit", "流水利润"),
                 new Pair<>("real_profit", "真实利润")
         );