Browse Source

初始化项目

yumeng 1 year ago
parent
commit
2e5cbce81d
100 changed files with 2 additions and 17769 deletions
  1. 2 247
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/controller/BytedanceController.java
  2. 0 41
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/constant/BytedanceConstant.java
  3. 0 99
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/constant/CtopAdConstant.java
  4. 0 17
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/constant/KuaishouConstant.java
  5. 0 198
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/ByteDanceAdvertiserReportDTO.java
  6. 0 203
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/ByteDanceNewMaterialReport.java
  7. 0 373
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/ByteDanceV3AdvertiserReportDTO.java
  8. 0 105
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAdGet.java
  9. 0 329
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAdReportDaily.java
  10. 0 332
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAdReportHourly.java
  11. 0 338
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAdvertiserReportDaily.java
  12. 0 337
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAdvertiserReportHourly.java
  13. 0 83
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAgentReportDaily.java
  14. 0 120
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAgentReportHourly.java
  15. 0 27
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAudiencePackageGet.java
  16. 0 34
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCampaignGet.java
  17. 0 325
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCampaignReportDaily.java
  18. 0 328
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCampaignReportHourly.java
  19. 0 202
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCdpProject.java
  20. 0 37
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCreativeGet.java
  21. 0 330
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCreativeReportDaily.java
  22. 0 333
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCreativeReportHourly.java
  23. 0 32
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceFileImageGet.java
  24. 0 41
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceFileVideoGet.java
  25. 0 15
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceMaterialAttributes.java
  26. 0 363
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceMaterialReportDaily.java
  27. 0 41
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedancePromotionList.java
  28. 0 1427
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceV3ProjectReportDaily.java
  29. 0 1433
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceV3ProjectReportHourly.java
  30. 0 1437
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceV3PromotionProjectReportDaily.java
  31. 0 46
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/MediaSendAlarmRecord.java
  32. 0 99
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/OauthToken.java
  33. 0 153
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/Project.java
  34. 0 172
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/UserAllocation.java
  35. 0 53
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/enums/InventoryEnum.java
  36. 0 108
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/enums/MaterialEnum.java
  37. 0 14
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/ByteDanceAdvertisePlanHourlyMapper.java
  38. 0 15
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAdGetMapper.java
  39. 0 15
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAdReportDailyMapper.java
  40. 0 14
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAdReportHourlyMapper.java
  41. 0 18
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAdvertiserHourlyReportMapper.java
  42. 0 28
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAdvertiserReportDailyMapper.java
  43. 0 15
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAdvertiserReportHourlyMapper.java
  44. 0 13
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAgentReportDailyMapper.java
  45. 0 15
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAgentReportHourlyMapper.java
  46. 0 13
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAudiencePackageGetMapper.java
  47. 0 14
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceCampaignGetMapper.java
  48. 0 14
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceCampaignReportDailyMapper.java
  49. 0 13
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceCampaignReportHourlyMapper.java
  50. 0 14
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceCreativeGetMapper.java
  51. 0 14
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceCreativeReportDailyMapper.java
  52. 0 14
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceCreativeReportHourlyMapper.java
  53. 0 14
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceFileImageGetMapper.java
  54. 0 16
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceFileVideoGetMapper.java
  55. 0 14
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceFundMapper.java
  56. 0 14
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceMaterialReportDailyMapper.java
  57. 0 20
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceNewMaterialReportMapper.java
  58. 0 28
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceProjectMapper.java
  59. 0 14
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedancePromotionListMapper.java
  60. 0 32
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/OauthTokenMapper.java
  61. 0 72
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/UserAllocationMapper.java
  62. 0 18
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/WexinConfigMapper.java
  63. 0 98
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceAdGetMapper.xml
  64. 0 337
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceAdReportDailyMapper.xml
  65. 0 364
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceAdReportHourlyMapper.xml
  66. 0 20
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceAdvertiserHourlyReportMapper.xml
  67. 0 2300
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceAdvertiserReportDailyMapper.xml
  68. 0 849
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceAdvertiserReportHourlyMapper.xml
  69. 0 84
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceAgentReportDailyMapper.xml
  70. 0 139
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceAgentReportHourlyMapper.xml
  71. 0 32
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceAudiencePackageGetMapper.xml
  72. 0 45
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceCampaignGetMapper.xml
  73. 0 361
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceCampaignReportDailyMapper.xml
  74. 0 336
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceCampaignReportHourlyMapper.xml
  75. 0 47
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceCreativeGetMapper.xml
  76. 0 366
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceCreativeReportDailyMapper.xml
  77. 0 368
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceCreativeReportHourlyMapper.xml
  78. 0 38
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceFileImageGetMapper.xml
  79. 0 68
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceFileVideoGetMapper.xml
  80. 0 72
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceFundMapper.xml
  81. 0 440
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceMaterialReportDailyMapper.xml
  82. 0 300
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceNewMaterialReportMapper.xml
  83. 0 163
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceProjectMapper.xml
  84. 0 47
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedancePromotionListMapper.xml
  85. 0 74
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/OauthTokenMapper.xml
  86. 0 269
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/UserAllocationMapper.xml
  87. 0 10
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/WexinConfigMapper.xml
  88. 0 37
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IByteDanceAdvertiserDataService.java
  89. 0 6
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IByteDanceHourlyAccountWarningService.java
  90. 0 14
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceAgentReportDailyService.java
  91. 0 12
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceAgentReportHourlyService.java
  92. 0 16
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceAudiencePackageGetService.java
  93. 0 18
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceCampaignGetService.java
  94. 0 15
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceCampaignReportDailyService.java
  95. 0 17
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceCampaignReportHourlyService.java
  96. 0 16
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceCreativeGetService.java
  97. 0 16
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceCreativeReportDailyService.java
  98. 0 16
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceCreativeReportHourlyService.java
  99. 0 16
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceFileImageGetService.java
  100. 0 0
      job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceFileVideoGetService.java

+ 2 - 247
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/controller/BytedanceController.java

@@ -1,40 +1,11 @@
 package cn.com.ctop.job.bytedance.controller;
-
-import cn.com.ctop.job.bytedance.data.constant.CtopAdConstant;
-import cn.com.ctop.job.bytedance.data.entity.OauthToken;
-import cn.com.ctop.job.bytedance.data.service.IByteDanceAdvertiserDataService;
-import cn.com.ctop.job.bytedance.data.service.IByteDanceHourlyAccountWarningService;
-import cn.com.ctop.job.bytedance.data.service.IBytedanceCampaignReportDailyService;
-import cn.com.ctop.job.bytedance.data.service.IBytedanceCampaignReportHourlyService;
-import cn.com.ctop.job.bytedance.data.service.IBytedanceCreativeReportDailyService;
-import cn.com.ctop.job.bytedance.data.service.IBytedanceCreativeReportHourlyService;
-import cn.com.ctop.job.bytedance.data.service.IBytedanceFileVideoGetService;
-import cn.com.ctop.job.bytedance.data.service.IBytedanceFundService;
-import cn.com.ctop.job.bytedance.data.service.IBytedanceMaterialReportDailyService;
-import cn.com.ctop.job.bytedance.data.service.IBytedanceProjectService;
-import cn.com.ctop.job.bytedance.data.service.IOauthTokenService;
-import cn.com.ctop.job.bytedance.data.utils.Check;
-import cn.com.ctop.job.bytedance.data.utils.DateUtils;
-import com.alibaba.fastjson.JSONArray;
-import com.alibaba.fastjson.JSONObject;
-import com.xxl.job.core.context.XxlJobHelper;
 import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
 import lombok.extern.slf4j.Slf4j;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
+
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
-import java.text.SimpleDateFormat;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-import java.util.Map;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
+
 
 /**
  * zian Y
@@ -46,223 +17,7 @@ import java.util.concurrent.Executors;
 @Api(tags = "头条")
 @Slf4j
 public class BytedanceController {
-    @Autowired
-    private IOauthTokenService tokenService;
-
-    @Autowired
-    private IBytedanceFileVideoGetService fileVideoService;
-
-
-    @ApiOperation(value = "根据账户获取视频素材-账户/素材id 下全部视频素材", notes = "根据账户获取视频素材-账户/素材id 下全部视频素材")
-    @PostMapping(value = "/getBytedanceVideoByAccountId")
-    public Map<String, String> getBytedanceVideoByAccountId(@RequestBody JSONObject jsonObject) {
-        Long accountId = jsonObject.getLong("accountId");
-        JSONArray dataList = jsonObject.getJSONArray("materialIds");
-        List<Long> materialIds = Check.isNull(dataList) ? null : JSONArray.parseObject(dataList.toJSONString(), List.class);
-
-        String token = tokenService.getByAccountId(accountId);
-        OauthToken oauthToken = new OauthToken();
-        oauthToken.setAccessToken(token);
-        oauthToken.setAccountId(accountId);
-        return fileVideoService.getBytedanceVideoByAccountId(oauthToken, materialIds, 1, 100);
-    }
-
-    @GetMapping(value = "/testC")
-    public void testC(Long accountId) {
-        String token = tokenService.getByAccountId(accountId);
-        OauthToken oauthToken = new OauthToken();
-        oauthToken.setAccessToken(token);
-        oauthToken.setAccountId(accountId);
-        String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
-        listService.checkAdvertiserProject(oauthToken, nowDate, 1);
-    }
-
-    @Autowired
-    private IByteDanceHourlyAccountWarningService byteDanceHourlyAccountWarningService;
-    static ExecutorService executorService = Executors.newFixedThreadPool(3);
-
-    @GetMapping(value = "/testD")
-    public void testD() {
-        List<Long> tokens = tokenService.getAllToutiaoAccountIds();
-        String nowDateStr = DateUtils.getNowDate("yyyy-MM-dd");
-        Integer nowDateInt = DateUtils.getIntegerDate(nowDateStr);
-        Integer yesterdaInt = DateUtils.getIntegerDate(DateUtils.getAnotherDay("yyyy-MM-dd", nowDateStr, -1));
-        tokens.forEach(accountId -> byteDanceHourlyAccountWarningService.byteDanceAccountWarning(accountId, nowDateInt, yesterdaInt));
-
-
-    }
-
-
-    private static ExecutorService dailyExecutorService = Executors.newFixedThreadPool(10);
-    @Autowired
-    private IByteDanceAdvertiserDataService advertiserDataService;
-
-    @Autowired
-    IBytedanceCreativeReportDailyService creativeReportDailyService;
-    @Autowired
-    IBytedanceCreativeReportHourlyService creativeReportHourlyService;
-    @Autowired
-    IBytedanceCampaignReportHourlyService campaignReportHourlyService;
-    @Autowired
-    IBytedanceCampaignReportDailyService campaignReportDailyService;
-    @Autowired
-    private IBytedanceMaterialReportDailyService materialReportDailyService;
-    @Autowired
-    private IByteDanceAdvertiserDataService advertiserDataServices;
-    @Autowired
-    private IBytedanceProjectService listService;
-
-    @GetMapping(value = "/testReport")
-    public String testReport() {
-        String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
-        //昨天
-        String yesterda = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -1);
-
-//        List<Long> accountIds = tokenService.getAllToutiaoAccountIds();
-        List<JSONObject> accountIds = tokenService.getByProjectId(18450885L);
-
-    /*    for (JSONObject obj : accountIds) {
-//            String token = tokenService.getByAccountId(id);
-            OauthToken oauthToken = new OauthToken();
-            oauthToken.setAccessToken(obj.getString("accessToken"));
-            oauthToken.setAccountId(obj.getLong("accountId"));
-            dailyExecutorService.submit(
-                    new Runnable() {
-                        @Override
-                        public void run() {
-                            try {
-                                Thread.sleep(500);
-//                                fileVideoService.getFileVideoData(oauthToken, null, null, 1, 100);
-
-                                advertiserDataService.getAdvertiserReport(oauthToken, yesterda, yesterda, CtopAdConstant.BYTEDANCE_REPORT_TYPE_DAILY);
-                            } catch (Exception e) {
-                                e.printStackTrace();
-                            }
-                        }
-                    });
-
-        }*/
-        return "ok";
-    }
-
-
-    @GetMapping(value = "/testReportHour")
-    public String testReportHour() {
-        String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
-        String yesterda = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -1);
-
-        //获取 两个日期之间的所有 日期
-        List<String> dates = DateUtils.getAllDatesOfTwoTimes("2024-05-29", "2024-06-11");
-
-//                tokenService.getAllToutiaoAccountIds();
-        List<Long> accountIds = new ArrayList<>();
-        accountIds.add(1799928973572105l);
-        accountIds.add(1800189297615018l);
-        for (String date : dates) {
-            for (Long id : accountIds) {
-                String token = tokenService.getByAccountId(id);
-                OauthToken oauthToken = new OauthToken();
-                oauthToken.setAccessToken(token);
-                oauthToken.setAccountId(id);
-                dailyExecutorService.submit(
-                        new Runnable() {
-                            @Override
-                            public void run() {
-                                try {
-                                    Thread.sleep(500);
-//                                    materialReportDailyService.bytedanceDailyMaterialReportJobV3Video(oauthToken, yesterda2, yesterda, 1, 100);
-//                                    listService.getProjectList(oauthToken, start, yesterda, 1);
-//                                    advertiserDataService.getV3AdvertiserReport(oauthToken, start, yesterda, CtopAdConstant.BYTEDAN1CE_REPORT_V3_TYPE_DAILY);
-//                                    materialReportDailyService.bytedanceDailyMaterialReportJobV3Video(oauthToken, "2024-01-01", "2024-01-10", 1, 100);
-//                                    materialReportDailyService.bytedanceDailyMaterialReportJobV3Image(oauthToken, yesterda2, yesterda, 1, 100);
-//                                    advertiserDataService.getV3PromotionProjectReport(oauthToken, date, date, CtopAdConstant.BYTEDANCE_REPORT_V3_TYPE_HOURLY);
-                                    advertiserDataService.getAdvertiserReport(oauthToken, date, date, CtopAdConstant.BYTEDANCE_REPORT_TYPE_DAILY);
-
-//                                    advertiserDataService.getV3PromotionProjectReport(oauthToken, date, date, CtopAdConstant.BYTEDANCE_REPORT_V3_TYPE_DAILY);
-//                                    advertiserDataService.getV3PromotionMaterialReport(oauthToken, "2023-05-01", "2023-05-31", CtopAdConstant.BYTEDANCE_REPORT_V3_TYPE_DAILY);
-//                                    advertiserDataServices.getPositionAdvertiserReport(oauthToken, "2023-07-01", "2023-07-18", CtopAdConstant.BYTEDANCE_REPORT_TYPE_DAILY);
-                                } catch (Exception e) {
-                                    e.printStackTrace();
-                                }
-                            }
-                        });
-            }
-        }
-        return "ok";
-    }
-
-    @GetMapping(value = "/testOneReport")
-    public String testOneReport(Long accountId) {
-        String token = tokenService.getByAccountId(accountId);
-//        String token = tokenService.getAgentToken(accountId);
-        if (Check.isNull(token)) {
-            log.error("此账户未获取到相关token,accountId:{}", accountId);
-            return "no";
-        }
-        OauthToken oauthToken = new OauthToken();
-        oauthToken.setAccessToken(token);
-        oauthToken.setAccountId(accountId);
-        String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
-        String yesterda = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -1);
-        String start = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -2);
-
-
-        Date getDate = new Date();
-        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("HH");
-        String hour = simpleDateFormat.format(getDate);
-        dailyExecutorService.submit(
-                new Runnable() {
-                    @Override
-                    public void run() {
-                        try {
-                            Thread.sleep(500);
-                            advertiserDataService.getAdvertiserReport(oauthToken, yesterda, yesterda, CtopAdConstant.BYTEDANCE_REPORT_TYPE_HOURLY);
-
-//                            materialReportDailyService.bytedanceDailyMaterialReportJobV3Video(oauthToken, start, yesterda, 1, 100);
-//                            advertiserDataService.getV3AdvertiserConfig(oauthToken);
-//                            advertiserDataService.getV3PromotionMaterialReport(oauthToken, yesterda, yesterda, CtopAdConstant.BYTEDANCE_REPORT_V3_TYPE_DAILY);
-//                            advertiserDataService.getV3AdvertiserReport(oauthToken, nowDate, nowDate, CtopAdConstant.BYTEDANCE_REPORT_V3_TYPE_HOURLY);
-//                            listService.getProjectList(oauthToken, start, yesterda, 1);
-//                            materialReportDailyService.bytedanceDailyMaterialReportJobV3Image(oauthToken, yesterda2, yesterda, 1, 100);
-//                            advertiserDataServices.getPositionAdvertiserReport(oauthToken, yesterda, yesterda, CtopAdConstant.BYTEDANCE_REPORT_TYPE_DAILY);
-//                            advertiserDataService.getAgentReport(oauthToken, yesterda, yesterda, CtopAdConstant.BYTEDANCE_REPORT_TYPE_DAILY);
-
-                        } catch (Exception e) {
-                            e.printStackTrace();
-                        }
-                    }
-                });
-        return "ok";
-    }
-
-    @GetMapping(value = "/test1")
-    public void test1(Long accountId) {
-        String token = tokenService.getByAccountId(accountId);
-        OauthToken oauthToken = new OauthToken();
-        oauthToken.setAccessToken(token);
-        oauthToken.setAccountId(accountId);
-        log.info("获取头条视频全量素材---账户--{}======》》》", oauthToken.getAccountId());
-        fileVideoService.getFileVideoData(oauthToken, null, null, 1, 100);
-    }
-
-    @Autowired
-    private IBytedanceFundService bytedanceFundService;
-
-    @GetMapping(value = "/getReports")
-    public void getReports() {
-        List<JSONObject> tokens = tokenService.getAgentTokens();
-        String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
-        String yesterda = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -1);
-      /*  String yesterda2 = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -2);
-        String yesterda3 = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -3);*/
-        for (JSONObject obj : tokens) {
-            advertiserDataService.getAgentReport(obj, yesterda, yesterda);
-          /*  advertiserDataService.getAgentReport(obj, yesterda2, yesterda2);
-            advertiserDataService.getAgentReport(obj, yesterda3, yesterda3);*/
-
-        }
 
-    }
 
 
 }

+ 0 - 41
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/constant/BytedanceConstant.java

@@ -1,41 +0,0 @@
-package cn.com.ctop.job.bytedance.data.constant;
-
-public class BytedanceConstant {
-    /**
-     * 报表
-     */
-    public static final String BYTEDANCE_V2_AD_GET = "/2/ad/get/";
-
-    public static final String BYTEDANCE_V2_REPORT_AD_GET = "/2/report/ad/get/";
-
-    public static final String BYTEDANCE_V2_REPORT_advertiser_GET = "/2/report/advertiser/get/";
-
-    public static final String BYTEDANCE_V2_REPORT_AGENT_GET_V2 = "/2/report/agent/get_v2/";
-
-    public static final String BYTEDANCE_V2_AUDIENCE_PACKAGE_GET = "/2/audience_package/get/";
-
-    public static final String BYTEDANCE_V2_CAMPAIGN_GET = "/2/campaign/get/";
-
-    public static final String BYTEDANCE_V2_REPORT_CAMPAIGN_GET = "/2/report/campaign/get/";
-
-    public static final String BYTEDANCE_V2_CREATIVE_GET = "/2/creative/get/";
-
-    public static final String BYTEDANCE_V2_REPORT_CREATIVE_GET = "/2/report/creative/get/";
-
-    public static final String BYTEDANCE_V2_FILE_IMAGE_GET = "/2/file/image/get/";
-
-    public static final String BYTEDANCE_V2_FILE_VIDEO_GET = "/2/file/video/get/";
-
-    public static final String BYTEDANCE_V2_MATERIAL_ATTRIBUTES = "/2/file/material_attributes/list/";
-
-    public static final String BYTEDANCE_V2_REPORT_INTEGRATED_GET = "/2/report/integrated/get/";
-
-    public static final String BYTEDANCE_V3_REPORT_INTEGRATED_GET = "/v3.0/report/custom/get/";
-
-    public static final String BYTEDANCE_V3_CONFIG_ADVERTISER_GET = "/v3.0/report/custom/config/get/";
-
-    public static final String BYTEDANCE_V3_PROMOTION_LIST_GET = "/v3.0/promotion/list/";
-
-    public static final String BYTEDANCE_V3_PROJECT_LIST_GET = "/v3.0/project/list/";
-    public static final String BYTEDANCE_FUND_GET = "https://ad.oceanengine.com/open_api/2/advertiser/fund/get/";
-}

+ 0 - 99
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/constant/CtopAdConstant.java

@@ -1,99 +0,0 @@
-package cn.com.ctop.job.bytedance.data.constant;
-
-import java.math.BigDecimal;
-
-/**
- * 广告相关常量数据
- */
-public class CtopAdConstant {
-    //头条
-    public static final String PLATFORM_TYPE_BYTEDANCE = "1";
-    public static final  int PLATFORM_TYPE_BYTEDANCE_INT = 1;
-    //快手
-    public static final String PLATFORM_TYPE_KUAISHOU = "2";
-    public static final  int   PLATFORM_TYPE_KUAISHOU_INT = 2;
-    //头条内广
-    public static final String PLATFORM_TYPE_BYTEDANCE_INSIDE = "3";
-    public static final  int PLATFORM_TYPE_BYTEDANCE_INSIDE_INT = 3;
-    //头条内广
-    public static final String PLATFORM_TYPE_KUAISHOU_INSIDE = "4";
-    public static final  int PLATFORM_TYPE_KUAISHOU_INSIDE_INT = 4;
-
-    public static final String PLATFORM_TYPE_PANGOLIN = "5";
-
-    public static final String PLATFORM_TYPE_BYTEDANCE_PY = "bytedance";
-    public static final String PLATFORM_TYPE_KUAISHOU_PY = "kuaishou";
-    public static final String PLATFORM_TYPE_PANGOLIN_PY = "pangolin";
-
-    public static final String BYTEDANCE_REPORT_TYPE_DAILY = "STAT_TIME_GRANULARITY_DAILY";
-    public static final String BYTEDANCE_REPORT_TYPE_HOURLY = "STAT_TIME_GRANULARITY_HOURLY";
-
-    public static final String BYTEDANCE_REPORT_V3_TYPE_DAILY = "stat_time_day";
-    public static final String BYTEDANCE_REPORT_V3_TYPE_HOURLY = "stat_time_hour";
-
-    public static final String UREPORT_PREVIEW_URL_PREFIX = "/jeecg-boot/ureport/designer?_u=mysql:";
-
-
-    public static final String CTOP_ORGCODE_NORTH_CHINA_PREFIX = "A01";
-    public static final String CTOP_ORGCODE_EAST_CHINA_PREFIX = "A02";
-
-    public static final String KUAISHOU_LOAD_JOB_TYPE_HISTORY = "history";
-    public static final String KUAISHOU_LOAD_JOB_TYPE_DAILY = "daily";
-
-    public static final String BYTEDANCE_LOAD_JOB_TYPE_ASYNC = "async";
-    public static final String BYTEDANCE_LOAD_JOB_TYPE_DAILY = "daily";
-
-    /**
-     * 销售角色Id
-     */
-    public static final String SYSTEM_SALE_CODE = "75ee837e6f3de29c0e3ed75d4629438e";
-
-    /**
-     * 销售AM角色Id
-     */
-    public static final String SYSTEM_SALE_AM_CODE = "f5a68aa2acf86e842100f0fa4b050d28";
-
-    /**
-     * 头条销售媒体季度任务
-     */
-    public static final BigDecimal BYTEDANCE_MEDIA_TASK_COST = new BigDecimal("150000000");
-    /**
-     * 快手销售媒体季度任务
-     */
-    public static final BigDecimal KUAISHOU_MEDIA_TASK_COST = new BigDecimal("147000000");
-    /**
-     * 头条销售季度个人任务
-     */
-    public static final BigDecimal BYTEDANCE_PERSONAL_TASK_COST = new BigDecimal("2400000");
-    /**
-     * 快手销售季度个人任务
-     */
-    public static final BigDecimal KUAISHOU_PERSONAL_TASK_COST = new BigDecimal("2400000");
-
-    /**
-     * 华北快手销售机构号
-     */
-    public static final String HB_KUAISHOU_SALE_ORG_CODE = "A01A11A01";
-    /**
-     * 华北头条销售机构号
-     */
-    public static final String HB_BYTEDANCE_SALE_ORG_CODE = "A01A11A02";
-
-    public static final String BYTEDANCE_GENDER_TYPE_NONE = "NONE";
-    public static final String BYTEDANCE_GENDER_TYPE_GENDER_MALE = "GENDER_MALE";
-    public static final String BYTEDANCE_GENDER_TYPE_GENDER_FEMALE = "GENDER_FEMALE";
-
-
-    public static final Integer COMMON_STATUS_ENABLED = 1;
-
-    public static final Integer COMMON_STATUS_NOT_ENABLED = 0;
-
-    public static final String COMMON_ORDER_TYPE_ASC = "asc";
-    public static final String COMMON_ORDER_TYPE_DESC = "desc";
-
-    /**
-     * 视频类型
-     */
-    public static final String VIDEO_TYPR_ZR = "真人";
-    public static final String VIDEO_TYPR_ZZ = "制作";
-}

+ 0 - 17
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/constant/KuaishouConstant.java

@@ -1,17 +0,0 @@
-package cn.com.ctop.job.bytedance.data.constant;
-
-public class KuaishouConstant {
-
-    /**
-     * 报表
-     */
-    public static final String ACCOUNT_REPORT = "/rest/openapi/v1/report/account_report";
-    public static final String CAMPAIGN_REPORT = "/rest/openapi/v1/report/campaign_report";
-    public static final String UNIT_REPORT = "/rest/openapi/v1/report/unit_report";
-    public static final String CREATIVE_REPORT = "/rest/openapi/v1/report/creative_report";
-    public static final String PROGRAM_CREATIVE_REPORT = "/rest/openapi/v1/report/program_creative_report";
-    public static final String MATERIAL_REPORT = "/rest/openapi/v1/report/material_report";
-    public static final String SEND_URL = "http://192.168.0.85:8765/webhook/account_report";
-    public static final String VIDEO_LIST = "/rest/openapi/v1/file/ad/video/list";
-
-}

+ 0 - 198
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/ByteDanceAdvertiserReportDTO.java

@@ -1,198 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.io.Serializable;
-import java.util.ArrayList;
-import java.util.List;
-
-@Data
-public class ByteDanceAdvertiserReportDTO implements Serializable {
-    private Long advertiserId;
-    private String startDate;
-    private String endDate;
-    private Integer pageSize;
-    private Integer page;
-    private String timeGranularity;
-
-    private List<String> fields;
-
-
-
-    public List<String> getFieldsList(){
-        List<String> fields = new ArrayList<>();
-        fields.add("cost");
-        fields.add("show");
-        fields.add("avg_show_cost");
-        fields.add("avg_click_cost");
-        fields.add("click");
-        fields.add("ctr");
-        fields.add("convert");
-        fields.add("convert_cost");
-        fields.add("convert_rate");
-        fields.add("deep_convert");
-        fields.add("deep_convert_cost");
-        fields.add("deep_convert_rate");
-        fields.add("attribution_convert");
-        fields.add("attribution_convert_cost");
-        fields.add("attribution_deep_convert");
-        fields.add("attribution_deep_convert_cost");
-        fields.add("download_start");
-        fields.add("download_start_cost");
-        fields.add("download_start_rate");
-        fields.add("download_finish");
-        fields.add("download_finish_cost");
-        fields.add("download_finish_rate");
-        fields.add("install_finish");
-        fields.add("install_finish_cost");
-        fields.add("install_finish_rate");
-        fields.add("active");
-        fields.add("active_cost");
-        fields.add("active_rate");
-        fields.add("register");
-        fields.add("active_register_cost");
-        fields.add("active_register_rate");
-        fields.add("attribution_next_day_open_cnt");
-        fields.add("attribution_next_day_open_cost");
-        fields.add("attribution_next_day_open_rate");
-        fields.add("next_day_open");
-        fields.add("game_addiction");
-        fields.add("game_addiction_cost");
-        fields.add("game_addiction_rate");
-        fields.add("pay_count");
-        fields.add("active_pay_cost");
-        fields.add("active_pay_rate");
-        fields.add("game_pay_count");
-        fields.add("game_pay_cost");
-        fields.add("attribution_game_pay_7d_count");
-        fields.add("attribution_game_pay_7d_cost");
-        fields.add("attribution_active_pay_7d_per_count");
-        fields.add("loan_completion");
-        fields.add("loan_completion_cost");
-        fields.add("loan_completion_rate");
-        fields.add("pre_loan_credit");
-        fields.add("pre_loan_credit_cost");
-        fields.add("loan_credit");
-        fields.add("loan_credit_cost");
-        fields.add("loan_credit_rate");
-        fields.add("in_app_uv");
-        fields.add("in_app_detail_uv");
-        fields.add("in_app_cart");
-        fields.add("in_app_pay");
-        fields.add("in_app_order");
-        fields.add("phone");
-        fields.add("form");
-        fields.add("map_search");
-        fields.add("button");
-        fields.add("view");
-        fields.add("download");
-        fields.add("qq");
-        fields.add("lottery");
-        fields.add("vote");
-        fields.add("message");
-        fields.add("redirect");
-        fields.add("shopping");
-        fields.add("consult");
-        fields.add("wechat");
-        fields.add("wechat_login_count");
-        fields.add("attribution_wechat_login_30d_count");
-        fields.add("wechat_login_cost");
-        fields.add("attribution_wechat_login_30d_cost");
-        fields.add("wechat_first_pay_count");
-        fields.add("attribution_wechat_first_pay_30d_count");
-        fields.add("wechat_first_pay_cost");
-        fields.add("attribution_wechat_first_pay_30d_cost");
-        fields.add("wechat_first_pay_rate");
-        fields.add("attribution_wechat_first_pay_30d_rate");
-        fields.add("wechat_pay_amount");
-        fields.add("attribution_wechat_pay_30d_amount");
-        fields.add("attribution_wechat_pay_30d_roi");
-        fields.add("phone_connect");
-        fields.add("phone_confirm");
-        fields.add("phone_effective");
-        fields.add("consult_effective");
-        fields.add("coupon");
-        fields.add("coupon_single_page");
-        fields.add("redirect_to_shop");
-        fields.add("poi_address_click");
-        fields.add("poi_collect");
-        fields.add("luban_order_cnt");
-        fields.add("luban_order_stat_amount");
-        fields.add("luban_order_roi");
-        fields.add("luban_live_enter_cnt");
-        fields.add("live_watch_one_minute_count");
-        fields.add("luban_live_follow_cnt");
-        fields.add("live_fans_club_join_cnt");
-        fields.add("luban_live_comment_cnt");
-        fields.add("luban_live_share_cnt");
-        fields.add("luban_live_gift_cnt");
-        fields.add("luban_live_gift_amount");
-        fields.add("luban_live_slidecart_click_cnt");
-        fields.add("luban_live_click_product_cnt");
-        fields.add("luban_live_pay_order_count");
-        fields.add("luban_live_pay_order_stat_cost");
-        //fields.add("live_pay_order_cost_per_order");
-        fields.add("total_play");
-        fields.add("valid_play");
-        fields.add("valid_play_cost");
-        fields.add("valid_play_rate");
-        fields.add("play_25_feed_break");
-        fields.add("play_50_feed_break");
-        fields.add("play_100_feed_break");
-        //fields.add("play_25_feed_break_rate");
-        //fields.add("play_50_feed_break_rate");
-        //fields.add("play_100_feed_break_rate");
-        //fields.add("play_75_feed_break_rate");
-        fields.add("average_play_time_per_play");
-        //fields.add("play_over");
-        fields.add("play_over_rate");
-        fields.add("wifi_play_rate");
-        fields.add("wifi_play");
-        fields.add("card_show");
-        //fields.add("play_duration_2s_rate");
-        //fields.add("play_duration_3s_rate");
-        //fields.add("play_duration_5s_rate");
-        //fields.add("play_duration_10s_rate");
-        fields.add("advanced_creative_phone_click");
-        fields.add("advanced_creative_counsel_click");
-        fields.add("advanced_creative_form_click");
-        fields.add("advanced_creative_coupon_addition");
-        fields.add("advanced_creative_form_submit");
-        fields.add("share");
-        fields.add("comment");
-        fields.add("like");
-        fields.add("follow");
-        //fields.add("dislike");
-        //fields.add("report");
-        fields.add("message_action");
-        fields.add("home_visited");
-        fields.add("ies_challenge_click");
-        fields.add("ies_music_click");
-        fields.add("location_click");
-        fields.add("click_download");
-        fields.add("click_call_dy");
-        fields.add("click_shopwindow");
-        fields.add("click_website");
-        fields.add("click_landing_page");
-        //fields.add("interact_per_cost");
-        //fields.add("convert_show_rate");
-        //fields.add("cpc");
-        //fields.add("cpm");
-        //fields.add("cpa");
-        fields.add("submit_certification_count");
-        fields.add("approval_count");
-        fields.add("first_order_count");
-        fields.add("first_rental_order_count");
-        fields.add("commute_first_pay_count");
-        fields.add("live_component_click_count");
-        fields.add("live_component_click_cost");
-        fields.add("live_component_click_rate");
-        fields.add("stat_pay_amount");
-        return fields;
-
-    }
-
-
-
-
-}

+ 0 - 203
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/ByteDanceNewMaterialReport.java

@@ -1,203 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.io.Serializable;
-import java.math.BigDecimal;
-
-@Data
-public class ByteDanceNewMaterialReport implements Serializable {
-    private Long advertiserId;
-    /**
-     * 项目ID
-     */
-
-    private Long cdpProjectId;
-    /**
-     * 项目名称
-     */
-
-    private String cdpProjectName;
-    /**
-     * 广告ID
-     */
-
-    private Long promotionId;
-    /**
-     * 广告名称
-     */
-    private String promotionName;
-    private String adPlatformMaterialName;
-    private BigDecimal statCost;
-    private String materialId;
-    private Integer statDatetime;
-    //private Integer promotionId;
-    //private Integer projectId;
-    private Integer showCnt;
-    private BigDecimal cpmPlatform;
-    private Integer clickCnt;
-    private BigDecimal ctr;
-    private BigDecimal cpcPlatform;
-    private Integer convertCnt;
-    private BigDecimal conversionCost;
-    private BigDecimal conversionRate;
-    private Integer deepConvertCnt;
-    private BigDecimal deepConvertCost;
-    private BigDecimal deepConvertRate;
-    private Integer clickStartCnt;
-    private BigDecimal clickStartCost;
-    private BigDecimal clickStartRate;
-    private Integer downloadFinishCnt;
-    private BigDecimal downloadFinishCost;
-    private BigDecimal downloadFinishRate;
-    private Integer installFinishCnt;
-    private BigDecimal installFinishCost;
-    private BigDecimal installFinishRate;
-    private Integer active;
-    private BigDecimal activeCost;
-    private BigDecimal activeRate;
-    private Integer activeRegister;
-    private BigDecimal activeRegisterCost;
-    private BigDecimal activeRegisterRate;
-    private Integer gameAddiction;
-    private BigDecimal gameAddictionCost;
-    private BigDecimal gameAddictionRate;
-    private Integer attributionNextDayOpenCnt;
-    private BigDecimal attributionNextDayOpenCost;
-    private BigDecimal attributionNextDayOpenRate;
-    private Integer nextDayOpen;
-    private Integer activePay;
-    private BigDecimal activePayCost;
-    private BigDecimal activePayRate;
-    private Integer gamePayCount;
-    private BigDecimal gamePayCost;
-    private Integer attributionGamePay7dCount;
-    private BigDecimal attributionGamePay7dCost;
-    //private Integer attributionGamePay7dPerCount;
-    private Integer inAppUv;
-    private Integer inAppDetailUv;
-    private Integer inAppCart;
-    private Integer inAppPay;
-    private Integer inAppOrder;
-    private BigDecimal attributionGameInAppLtv1day;
-    private BigDecimal attributionGameInAppLtv2days;
-    private BigDecimal attributionGameInAppLtv3days;
-    private BigDecimal attributionGameInAppLtv4days;
-    private BigDecimal attributionGameInAppLtv5days;
-    private BigDecimal attributionGameInAppLtv6days;
-    private BigDecimal attributionGameInAppLtv7days;
-    private BigDecimal attributionGameInAppLtv8days;
-    private BigDecimal attributionGameInAppRoi1day;
-    private BigDecimal attributionGameInAppRoi2days;
-    private BigDecimal attributionGameInAppRoi3days;
-    private BigDecimal attributionGameInAppRoi4days;
-    private BigDecimal attributionGameInAppRoi5days;
-    private BigDecimal attributionGameInAppRoi6days;
-    private BigDecimal attributionGameInAppRoi7days;
-    private BigDecimal attributionGameInAppRoi8days;
-    //private Integer attributionDayActivePayCount;
-    //private Integer attributionDayActivePayCost;
-    //private Integer attributionDayActivePayRate;
-    private Integer activePayIntraDayCount;
-    private BigDecimal activePayIntraDayCost;
-    private BigDecimal activePayIntraDayRate;
-    private String deliveryMode;
-
-
-    public static String getParamsFields() {
-        StringBuilder stringBuilder = new StringBuilder();
-        stringBuilder.append("[");
-        stringBuilder.append("\"stat_cost\"").append(",");
-//        stringBuilder.append("\"material_id\"").append(",");
-//        stringBuilder.append("\"stat_datetime\"").append(",");
-//        stringBuilder.append("\"promotion_id\"");
-//        stringBuilder.append("\"project_id\"");
-        stringBuilder.append("\"show_cnt\"").append(",");
-        stringBuilder.append("\"cpm_platform\"").append(",");
-        stringBuilder.append("\"click_cnt\"").append(",");
-        stringBuilder.append("\"ctr\"").append(",");
-        stringBuilder.append("\"cpc_platform\"").append(",");
-        stringBuilder.append("\"convert_cnt\"").append(",");
-        stringBuilder.append("\"conversion_cost\"").append(",");
-        stringBuilder.append("\"conversion_rate\"").append(",");
-        stringBuilder.append("\"deep_convert_cnt\"").append(",");
-
-        stringBuilder.append("\"deep_convert_cost\"").append(",");
-        stringBuilder.append("\"deep_convert_rate\"").append(",");
-        stringBuilder.append("\"click_start_cnt\"").append(",");
-
-        stringBuilder.append("\"click_start_cost\"").append(",");
-        stringBuilder.append("\"click_start_rate\"").append(",");
-        stringBuilder.append("\"download_finish_cnt\"").append(",");
-        stringBuilder.append("\"download_finish_cost\"").append(",");
-        stringBuilder.append("\"download_finish_rate\"").append(",");
-
-        stringBuilder.append("\"install_finish_cnt\"").append(",");
-        stringBuilder.append("\"install_finish_cost\"").append(",");
-        stringBuilder.append("\"install_finish_rate\"").append(",");
-        stringBuilder.append("\"active\"").append(",");
-        stringBuilder.append("\"active_cost\"").append(",");
-        stringBuilder.append("\"active_rate\"").append(",");
-
-
-        stringBuilder.append("\"active_register\"").append(",");
-        stringBuilder.append("\"active_register_cost\"").append(",");
-        stringBuilder.append("\"active_register_rate\"").append(",");
-        stringBuilder.append("\"game_addiction\"").append(",");
-        stringBuilder.append("\"game_addiction_cost\"").append(",");
-        stringBuilder.append("\"game_addiction_rate\"").append(",");
-
-        stringBuilder.append("\"attribution_next_day_open_cnt\"").append(",");
-        stringBuilder.append("\"attribution_next_day_open_cost\"").append(",");
-        stringBuilder.append("\"attribution_next_day_open_rate\"").append(",");
-        stringBuilder.append("\"next_day_open\"").append(",");
-        stringBuilder.append("\"active_pay\"").append(",");
-        stringBuilder.append("\"active_pay_cost\"").append(",");
-
-        stringBuilder.append("\"active_pay_rate\"").append(",");
-        stringBuilder.append("\"game_pay_count\"").append(",");
-        stringBuilder.append("\"game_pay_cost\"").append(",");
-
-        stringBuilder.append("\"attribution_game_pay_7d_count\"").append(",");
-        stringBuilder.append("\"attribution_game_pay_7d_cost\"").append(",");
-
-//         stringBuilder.append("\"attribution_game_pay_7d_per_count\"").append(",");
-
-        stringBuilder.append("\"in_app_uv\"").append(",");
-        stringBuilder.append("\"in_app_detail_uv\"").append(",");
-        stringBuilder.append("\"in_app_cart\"").append(",");
-        stringBuilder.append("\"in_app_pay\"").append(",");
-        stringBuilder.append("\"in_app_order\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_ltv_1day\"").append(",");
-
-        stringBuilder.append("\"attribution_game_in_app_ltv_2days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_ltv_3days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_ltv_4days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_ltv_5days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_ltv_6days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_ltv_7days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_ltv_8days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_roi_1day\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_roi_2days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_roi_3days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_roi_4days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_roi_5days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_roi_6days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_roi_7days\"").append(",");
-        stringBuilder.append("\"attribution_game_in_app_roi_8days\"").append(",");
-
-//        stringBuilder.append("\"attribution_day_active_pay_count\"").append(",");
-//        stringBuilder.append("\"attribution_day_active_pay_cost\"").append(",");
-//        stringBuilder.append("\"attribution_day_active_pay_rate\"").append(",");
-
-        stringBuilder.append("\"active_pay_intra_day_count\"").append(",");
-        stringBuilder.append("\"active_pay_intra_day_cost\"").append(",");
-        stringBuilder.append("\"active_pay_intra_day_rate\"");
-//        stringBuilder.append("\"delivery_mode\"");
-
-        stringBuilder.append("]");
-        return stringBuilder.toString();
-    }
-
-
-}

+ 0 - 373
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/ByteDanceV3AdvertiserReportDTO.java

@@ -1,373 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import com.alibaba.fastjson.JSONObject;
-import com.fasterxml.jackson.core.JsonProcessingException;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import lombok.Data;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
-@Data
-public class ByteDanceV3AdvertiserReportDTO {
-
-    private static final long serialVersionUID = 3674054148513217865L;
-
-    private Long advertiserId;
-    private String dimensions;
-    private String metrics;
-    private String startTime;
-    private String endTime;
-    private Integer pageSize;
-    private Integer page;
-    private String orderBy;
-    private String filters;
-    private String dataTopic;
-
-    public ByteDanceV3AdvertiserReportDTO() {
-    }
-
-    private static final ObjectMapper mapper = new ObjectMapper();
-
-    public ByteDanceV3AdvertiserReportDTO(Long advertiserId, List<String> dimensions, String dataTopic, String startTime, String endTime, Integer pageSize) {
-        try {
-            this.advertiserId = advertiserId;
-            this.dimensions = mapper.writeValueAsString(dimensions);
-
-            this.dataTopic = dataTopic;
-            if ("MATERIAL_DATA".equals(dataTopic)) {
-                this.metrics = mapper.writeValueAsString(getParamsMaterialFields());
-            }else{
-                this.metrics = mapper.writeValueAsString(getParamsFields());
-            }
-
-            this.startTime = startTime;
-            this.endTime = endTime;
-            this.pageSize = pageSize;
-            List<JSONObject> orderBy = new ArrayList<>();
-            JSONObject ord = new JSONObject();
-            ord.put("field", "stat_cost");
-            ord.put("type", "ASC");
-            orderBy.add(ord);
-            this.orderBy = mapper.writeValueAsString(orderBy);
-
-            List<JSONObject> filters = new ArrayList<>();
-            JSONObject filter = new JSONObject();
-            filter.put("field", "stat_cost");
-            filter.put("type", 3);
-            filter.put("operator", 4);
-            filter.put("values", Arrays.asList("0"));
-            filters.add(filter);
-            this.filters = mapper.writeValueAsString(filters);
-        } catch (JsonProcessingException e) {
-            e.printStackTrace();
-        }
-    }
-
-    public static List<String> getParamsFields() {
-        List<String> fields = new ArrayList<>();
-        fields.add("stat_cost");
-        fields.add("show_cnt");
-        fields.add("cpm_platform");
-        fields.add("click_cnt");
-        fields.add("ctr");
-        fields.add("cpc_platform");
-        fields.add("attribution_convert_cnt");
-        fields.add("attribution_convert_cost");
-        fields.add("attribution_conversion_rate");
-        fields.add("attribution_deep_convert_cnt");
-        fields.add("attribution_deep_convert_cost");
-        fields.add("attribution_deep_convert_rate");
-        fields.add("convert_cnt");
-        fields.add("conversion_cost");
-        fields.add("conversion_rate");
-        fields.add("deep_convert_cnt");
-        fields.add("deep_convert_cost");
-        fields.add("deep_convert_rate");
-        fields.add("click_start_cnt");
-        fields.add("click_start_cost");
-        fields.add("click_start_rate");
-        fields.add("download_finish_cnt");
-        fields.add("download_finish_cost");
-        fields.add("download_finish_rate");
-        fields.add("install_finish_cnt");
-        fields.add("install_finish_cost");
-        fields.add("install_finish_rate");
-        fields.add("active");
-        fields.add("active_cost");
-        fields.add("active_rate");
-        fields.add("active_register");
-        fields.add("active_register_cost");
-        fields.add("active_register_rate");
-        fields.add("game_addiction");
-        fields.add("game_addiction_cost");
-        fields.add("game_addiction_rate");
-        fields.add("attribution_next_day_open_cnt");
-        fields.add("attribution_next_day_open_cost");
-        fields.add("attribution_next_day_open_rate");
-        fields.add("next_day_open");
-        fields.add("active_pay");
-        fields.add("active_pay_cost");
-        fields.add("active_pay_rate");
-        fields.add("game_pay_count");
-        fields.add("game_pay_cost");
-        fields.add("attribution_game_pay_7d_count");
-        fields.add("attribution_game_pay_7d_cost");
-        fields.add("attribution_active_pay_7d_per_count");
-        fields.add("in_app_uv");
-        fields.add("in_app_detail_uv");
-        fields.add("in_app_cart");
-        fields.add("in_app_pay");
-        fields.add("in_app_order");
-        fields.add("attribution_retention_2d_cnt");
-        fields.add("attribution_retention_2d_cost");
-        fields.add("attribution_retention_2d_rate");
-        fields.add("attribution_retention_3d_cnt");
-        fields.add("attribution_retention_3d_cost");
-        fields.add("attribution_retention_3d_rate");
-        fields.add("attribution_retention_4d_cnt");
-        fields.add("attribution_retention_4d_cost");
-        fields.add("attribution_retention_4d_rate");
-        fields.add("attribution_retention_5d_cnt");
-        fields.add("attribution_retention_5d_cost");
-        fields.add("attribution_retention_5d_rate");
-        fields.add("attribution_retention_6d_cnt");
-        fields.add("attribution_retention_6d_cost");
-        fields.add("attribution_retention_6d_rate");
-        fields.add("attribution_retention_7d_cnt");
-        fields.add("attribution_retention_7d_cost");
-        fields.add("attribution_retention_7d_rate");
-        fields.add("attribution_retention_7d_sum_cnt");
-        fields.add("attribution_retention_7d_total_cost");
-        fields.add("attribution_billing_game_pay_7d_count");
-        fields.add("attribution_billing_game_pay_7d_cost");
-        fields.add("attribution_billing_game_in_app_ltv_1day");
-        fields.add("attribution_billing_game_in_app_ltv_2days");
-        fields.add("attribution_billing_game_in_app_ltv_3days");
-        fields.add("attribution_billing_game_in_app_ltv_4days");
-        fields.add("attribution_billing_game_in_app_ltv_5days");
-        fields.add("attribution_billing_game_in_app_ltv_6days");
-        fields.add("attribution_billing_game_in_app_ltv_7days");
-        fields.add("attribution_billing_game_in_app_roi_1day");
-        fields.add("attribution_billing_game_in_app_roi_2days");
-        fields.add("attribution_billing_game_in_app_roi_3days");
-        fields.add("attribution_billing_game_in_app_roi_4days");
-        fields.add("attribution_billing_game_in_app_roi_5days");
-        fields.add("attribution_billing_game_in_app_roi_6days");
-        fields.add("attribution_billing_game_in_app_roi_7days");
-        fields.add("attribution_active_pay");
-        fields.add("attribution_active_pay_cost");
-        fields.add("attribution_active_pay_rate");
-        fields.add("stat_pay_amount");
-        fields.add("pay_amount_roi");
-        fields.add("phone");
-        fields.add("form");
-        fields.add("form_submit");
-        fields.add("map");
-        fields.add("button");
-        fields.add("view");
-        fields.add("download_start");
-        fields.add("qq");
-        fields.add("lottery");
-        fields.add("vote");
-        fields.add("message");
-        fields.add("redirect");
-        fields.add("shopping");
-        fields.add("consult");
-        fields.add("consult_effective");
-        fields.add("phone_confirm");
-        fields.add("phone_connect");
-        fields.add("phone_effective");
-        fields.add("coupon");
-        fields.add("coupon_single_page");
-        fields.add("redirect_to_shop");
-        fields.add("poi_address_click");
-        fields.add("poi_collect");
-        fields.add("customer_effective");
-        fields.add("attribution_customer_effective");
-        fields.add("attribution_customer_effective_cost");
-        fields.add("attribution_clue_pay_succeed");
-        fields.add("attribution_clue_pay_succeed_cost");
-        fields.add("attribution_clue_interflow");
-        fields.add("attribution_clue_interflow_cost");
-        fields.add("attribution_clue_high_intention");
-        fields.add("attribution_clue_high_intention_cost");
-        fields.add("attribution_clue_confirm");
-        fields.add("attribution_clue_confirm_cost");
-        fields.add("consult_clue");
-        fields.add("attribution_work_wechat_added_count");
-        fields.add("attribution_work_wechat_unfriend_count");
-        fields.add("attribution_game_in_app_ltv_1day");
-        fields.add("attribution_game_in_app_ltv_2days");
-        fields.add("attribution_game_in_app_ltv_3days");
-        fields.add("attribution_game_in_app_ltv_4days");
-        fields.add("attribution_game_in_app_ltv_5days");
-        fields.add("attribution_game_in_app_ltv_6days");
-        fields.add("attribution_game_in_app_ltv_7days");
-        fields.add("attribution_game_in_app_ltv_8days");
-        fields.add("attribution_game_in_app_roi_1day");
-        fields.add("attribution_game_in_app_roi_2days");
-        fields.add("attribution_game_in_app_roi_3days");
-        fields.add("attribution_game_in_app_roi_4days");
-        fields.add("attribution_game_in_app_roi_5days");
-        fields.add("attribution_game_in_app_roi_6days");
-        fields.add("attribution_game_in_app_roi_7days");
-        fields.add("attribution_game_in_app_roi_8days");
-        fields.add("attribution_day_active_pay_count");
-        fields.add("attribution_day_active_pay_cost");
-        fields.add("attribution_day_active_pay_rate");
-        fields.add("active_pay_intra_day_count");
-        fields.add("active_pay_intra_day_cost");
-        fields.add("active_pay_intra_day_rate");
-        fields.add("attribution_micro_game_0d_ltv");
-        fields.add("attribution_micro_game_3d_ltv");
-        fields.add("attribution_micro_game_7d_ltv");
-        fields.add("attribution_micro_game_0d_roi");
-        fields.add("attribution_micro_game_3d_roi");
-        fields.add("attribution_micro_game_7d_roi");
-        fields.add("loan_completion");
-        fields.add("loan_completion_cost");
-        fields.add("loan_completion_rate");
-        fields.add("pre_loan_credit");
-        fields.add("pre_loan_credit_cost");
-        fields.add("loan_credit");
-        fields.add("loan_credit_cost");
-        fields.add("loan_credit_rate");
-        fields.add("loan");
-        fields.add("loan_cost");
-        fields.add("loan_rate");
-        fields.add("premium_payment_count");
-        fields.add("premium_payment_cost");
-        fields.add("insurance_lt_roi");
-        fields.add("bankcard_information_count");
-        fields.add("personal_information_count");
-        fields.add("certification_information_count");
-        fields.add("open_account_count");
-        fields.add("first_class_count");
-        fields.add("second_class_count");
-        fields.add("unfollow_in_wechat_count");
-        fields.add("in_wechat_pay_count");
-        fields.add("attribution_work_wechat_dialog_count");
-        fields.add("low_loan_credit_count");
-        fields.add("high_loan_credit_count");
-        fields.add("withdraw_m2_count");
-        fields.add("attribution_conversion_class_count");
-        fields.add("in_app_order_gmv");
-        fields.add("in_app_order_roi");
-        fields.add("in_app_pay_gmv");
-        fields.add("in_app_pay_roi");
-        fields.add("total_play");
-        fields.add("play_duration_3s");
-        fields.add("valid_play");
-        fields.add("valid_play_cost");
-        fields.add("valid_play_rate");
-        fields.add("valid_play_of_mille");
-        fields.add("valid_play_cost_of_mille");
-        fields.add("play_25_feed_break");
-        fields.add("play_50_feed_break");
-        fields.add("play_75_feed_break");
-        fields.add("play_99_feed_break");
-        fields.add("average_play_time_per_play");
-        fields.add("play_over_rate");
-        fields.add("wifi_play_rate");
-        fields.add("card_show");
-        fields.add("dy_like");
-        fields.add("dy_comment");
-        fields.add("dy_share");
-        fields.add("ad_dislike_cnt");
-        fields.add("ad_report_cnt");
-        fields.add("ies_challenge_click");
-        fields.add("ies_music_click");
-        fields.add("location_click");
-        fields.add("dy_home_visited");
-        fields.add("dy_follow");
-        fields.add("message_action");
-        fields.add("click_landing_page");
-        fields.add("click_shopwindow");
-        fields.add("click_website");
-        fields.add("click_call_dy");
-        fields.add("click_download");
-        fields.add("luban_live_enter_cnt");
-        fields.add("live_watch_one_minute_count");
-        fields.add("luban_live_follow_cnt");
-        fields.add("luban_live_share_cnt");
-        fields.add("luban_live_comment_cnt");
-        fields.add("live_component_click_count");
-        fields.add("live_component_click_cost");
-        fields.add("live_component_click_rate");
-        return fields;
-    }
-
-
-    public static List<String> getParamsMaterialFields() {
-        List<String> fields = new ArrayList<>();
-        fields.add("stat_cost");
-        fields.add("cpm_platform");
-        fields.add("show_cnt");
-        fields.add("click_cnt");
-        fields.add("ctr");
-        fields.add("cpc_platform");
-        fields.add("convert_cnt");
-        fields.add("conversion_cost");
-        fields.add("conversion_rate");
-        fields.add("deep_convert_cnt");
-        fields.add("deep_convert_cost");
-        fields.add("deep_convert_rate");
-        fields.add("click_start_cnt");
-        fields.add("click_start_cost");
-        fields.add("click_start_rate");
-        fields.add("download_finish_cnt");
-        fields.add("download_finish_cost");
-        fields.add("download_finish_rate");
-        fields.add("install_finish_cnt");
-        fields.add("install_finish_cost");
-        fields.add("install_finish_rate");
-        fields.add("active");
-        fields.add("active_cost");
-        fields.add("active_rate");
-        fields.add("active_register");
-        fields.add("active_register_cost");
-        fields.add("active_register_rate");
-        fields.add("game_addiction");
-        fields.add("game_addiction_cost");
-        fields.add("game_addiction_rate");
-        fields.add("attribution_next_day_open_cnt");
-        fields.add("attribution_next_day_open_cost");
-        fields.add("attribution_next_day_open_rate");
-        fields.add("next_day_open");
-        fields.add("active_pay");
-        fields.add("active_pay_cost");
-        fields.add("active_pay_rate");
-        fields.add("game_pay_count");
-        fields.add("game_pay_cost");
-        fields.add("attribution_game_pay_7d_count");
-        fields.add("attribution_game_pay_7d_cost");
-        fields.add("in_app_uv");
-        fields.add("in_app_detail_uv");
-        fields.add("in_app_cart");
-        fields.add("in_app_pay");
-        fields.add("in_app_order");
-        fields.add("attribution_game_in_app_ltv_1day");
-        fields.add("attribution_game_in_app_ltv_2days");
-        fields.add("attribution_game_in_app_ltv_3days");
-        fields.add("attribution_game_in_app_ltv_4days");
-        fields.add("attribution_game_in_app_ltv_5days");
-        fields.add("attribution_game_in_app_ltv_6days");
-        fields.add("attribution_game_in_app_ltv_7days");
-        fields.add("attribution_game_in_app_ltv_8days");
-        fields.add("attribution_game_in_app_roi_1day");
-        fields.add("attribution_game_in_app_roi_2days");
-        fields.add("attribution_game_in_app_roi_3days");
-        fields.add("attribution_game_in_app_roi_4days");
-        fields.add("attribution_game_in_app_roi_5days");
-        fields.add("attribution_game_in_app_roi_6days");
-        fields.add("attribution_game_in_app_roi_7days");
-        fields.add("attribution_game_in_app_roi_8days");
-        fields.add("active_pay_intra_day_count");
-        fields.add("active_pay_intra_day_cost");
-        fields.add("active_pay_intra_day_rate");
-        return fields;
-    }
-
-}

+ 0 - 105
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAdGet.java

@@ -1,105 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-import java.util.Date;
-
-@Data
-public class BytedanceAdGet {
-    private Long id;
-
-    private Long accountId;
-
-    private String name;
-
-    private Long campaignId;
-
-    private String operation;
-
-    private String planModifyTime;
-
-    private String deliveryRange;
-
-    private String unionVideoType;
-
-    private String deepBidType;
-
-    private BigDecimal deepCpaBid;
-
-    private String adModifyTime;
-
-    private String adCreateTime;
-
-    private String budgetMode;
-
-    private BigDecimal budget;
-
-    private String toutiaoStatus;
-
-    private String optStatus;
-
-    private String startTime;
-
-    private String endTime;
-
-    private BigDecimal bid;
-
-    private String pricing;
-
-    private String scheduleType;
-
-    private String scheduleTime;
-
-    private String flowControlMode;
-
-    private String downloadType;
-
-    private String externalUrl;
-
-    private String appType;
-
-    private String auditRejectReason;
-
-    private BigDecimal cpaBid;
-
-    private Integer cpaSkipFirstPhrase;
-
-    private Long convertId;
-
-    private String hideIfConverted;
-
-    private Integer hideIfExists;
-
-    private String modifyTime;
-
-    private String gender;
-
-    private String platform;
-
-    private Date createTime;
-
-    private Date updateTime;
-
-    private Integer planStatus;
-
-    private String convertedTimeDuration;
-
-    private BigDecimal lubanRoiGoal;
-
-    private BigDecimal roiGoal;
-
-    private String inventoryType;
-
-    private Long audiencePackageId;
-
-    private String openUrl;
-
-    private String toutiaoPackage;
-
-    private String audience;
-
-    private String downloadUrl;
-
-
-}

+ 0 - 329
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAdReportDaily.java

@@ -1,329 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-
-@Data
-public class BytedanceAdReportDaily {
-    private Long advertiserId;
-
-    private Long campaignId;
-
-    private Long adId;
-
-    private String statDatetime;
-
-    private String campaignName;
-
-    private String adName;
-
-    private BigDecimal cost;
-
-    private Long show;
-
-    private BigDecimal avgShowCost;
-
-    private Long click;
-
-    private BigDecimal avgClickCost;
-
-    private BigDecimal ctr;
-
-    private Long convert;
-
-    private BigDecimal convertCost;
-
-    private BigDecimal convertRate;
-
-    private Long deepConvert;
-
-    private BigDecimal deepConvertCost;
-
-    private BigDecimal deepConvertRate;
-
-    private Long attributionConvert;
-
-    private BigDecimal attributionConvertCost;
-
-    private Long attributionDeepConvert;
-
-    private BigDecimal attributionDeepConvertCost;
-
-    private Long downloadStart;
-
-    private BigDecimal downloadStartCost;
-
-    private BigDecimal downloadStartRate;
-
-    private Long downloadFinish;
-
-    private BigDecimal downloadFinishCost;
-
-    private BigDecimal downloadFinishRate;
-
-    private Long clickInstall;
-
-    private Long installFinish;
-
-    private BigDecimal installFinishCost;
-
-    private BigDecimal installFinishRate;
-
-    private Long active;
-
-    private BigDecimal activeCost;
-
-    private BigDecimal activeRate;
-
-    private BigDecimal register;
-
-    private BigDecimal activeRegisterCost;
-
-    private Float activeRegisterRate;
-
-    private Long nextDayOpen;
-
-    private BigDecimal nextDayOpenCost;
-
-    private BigDecimal nextDayOpenRate;
-
-    private Long attributionNextDayOpenCnt;
-
-    private BigDecimal attributionNextDayOpenCost;
-
-    private BigDecimal attributionNextDayOpenRate;
-
-    private Long gameAddiction;
-
-    private BigDecimal gameAddictionCost;
-
-    private BigDecimal gameAddictionRate;
-
-    private Long payCount;
-
-    private BigDecimal activePayCost;
-
-    private BigDecimal activePayRate;
-
-    private Long loanCompletion;
-
-    private BigDecimal loanCompletionCost;
-
-    private BigDecimal loanCompletionRate;
-
-    private Long preLoanCredit;
-
-    private BigDecimal preLoanCreditCost;
-
-    private Long loanCredit;
-
-    private BigDecimal loanCreditCost;
-
-    private BigDecimal loanCreditRate;
-
-    private Long inAppUv;
-
-    private Long inAppDetailUv;
-
-    private Long inAppCart;
-
-    private Long inAppPay;
-
-    private Long inAppOrder;
-
-    private Long attributionGamePay7dCount;
-
-    private BigDecimal attributionGamePay7dCost;
-
-    private Long attributionActivePay7dPerCount;
-
-    private BigDecimal gamePayCost;
-
-    private Long gamePayCount;
-
-    private Long phone;
-
-    private Long form;
-
-    private Long mapSearch;
-
-    private Long button;
-
-    private Long view;
-
-    private Long download;
-
-    private Long qq;
-
-    private Long lottery;
-
-    private Long vote;
-
-    private Long message;
-
-    private Long redirect;
-
-    private Long shopping;
-
-    private Long consult;
-
-    private Long wechat;
-
-    private Long phoneConfirm;
-
-    private Long phoneConnect;
-
-    private Long consultEffective;
-
-    private Long coupon;
-
-    private Long couponSinglePage;
-
-    private Long redirectToShop;
-
-    private Long poiCollect;
-
-    private Long poiAddressClick;
-
-    private Long lubanOrderCnt;
-
-    private BigDecimal lubanOrderStatAmount;
-
-    private BigDecimal lubanOrderRoi;
-
-    private Long lubanLiveEnterCnt;
-
-    private Long liveWatchOneMinuteCount;
-
-    private Long lubanLiveFollowCnt;
-
-    private Long liveFansClubJoinCnt;
-
-    private Long lubanLiveCommentCnt;
-
-    private Long lubanLiveShareCnt;
-
-    private Long lubanLiveGiftCnt;
-
-    private BigDecimal lubanLiveGiftAmount;
-
-    private Long lubanLiveSlidecartClickCnt;
-
-    private Long lubanLiveClickProductCnt;
-
-    private Long lubanLivePayOrderCount;
-
-    private BigDecimal lubanLivePayOrderStatCost;
-
-    private Long liveComponentClickCount;
-
-    private BigDecimal liveComponentClickCost;
-
-    private BigDecimal liveComponentClickRate;
-
-    private Long wechatLoginCount;
-
-    private Long attributionWechatLogin30dCount;
-
-    private BigDecimal wechatLoginCost;
-
-    private BigDecimal attributionWechatLogin30dCost;
-
-    private Long wechatFirstPayCount;
-
-    private Long attributionWechatFirstPay30dCount;
-
-    private BigDecimal wechatFirstPayCost;
-
-    private BigDecimal attributionWechatFirstPay30dCost;
-
-    private BigDecimal wechatFirstPayRate;
-
-    private BigDecimal attributionWechatFirstPay30dRate;
-
-    private BigDecimal wechatPayAmount;
-
-    private BigDecimal attributionWechatPay30dAmount;
-
-    private BigDecimal attributionWechatPay30dRoi;
-
-    private Long phoneEffective;
-
-    private Long totalPlay;
-
-    private Long validPlay;
-
-    private BigDecimal validPlayCost;
-
-    private BigDecimal validPlayRate;
-
-    private Long play25FeedBreak;
-
-    private Long play50FeedBreak;
-
-    private Long play75FeedBreak;
-
-    private Long play100FeedBreak;
-
-    private BigDecimal averagePlayTimePerPlay;
-
-    private BigDecimal playOverRate;
-
-    private BigDecimal wifiPlayRate;
-
-    private Long wifiPlay;
-
-    private Long playDurationSum;
-
-    private Long advancedCreativePhoneClick;
-
-    private Long advancedCreativeCounselClick;
-
-    private Long advancedCreativeFormClick;
-
-    private Long advancedCreativeCouponAddition;
-
-    private Long advancedCreativeFormSubmit;
-
-    private Long cardShow;
-
-    private Long share;
-
-    private Long comment;
-
-    private Long like;
-
-    private Long follow;
-
-    private Long homeVisited;
-
-    private Long iesChallengeClick;
-
-    private Long iesMusicClick;
-
-    private Long locationClick;
-
-    private Long messageAction;
-
-    private Long clickLandingPage;
-
-    private Long clickShopwindow;
-
-    private Long clickWebsite;
-
-    private Long clickDownload;
-
-    private Long clickCallDy;
-
-    private Long submitCertificationCount;
-
-    private Long approvalCount;
-
-    private Long firstRentalOrderCount;
-
-    private Long firstOrderCount;
-
-    private Long commuteFirstPayCount;
-
-}

+ 0 - 332
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAdReportHourly.java

@@ -1,332 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-
-@Data
-public class BytedanceAdReportHourly {
-    private Long advertiserId;
-
-    private Long campaignId;
-
-    private Long adId;
-
-    private String statDatetime;
-
-    private Integer hour;
-
-    private String campaignName;
-
-    private String adName;
-
-    private BigDecimal cost;
-
-    private Long show;
-
-    private BigDecimal avgShowCost;
-
-    private Long click;
-
-    private BigDecimal avgClickCost;
-
-    private BigDecimal ctr;
-
-    private Long convert;
-
-    private BigDecimal convertCost;
-
-    private BigDecimal convertRate;
-
-    private Long deepConvert;
-
-    private BigDecimal deepConvertCost;
-
-    private BigDecimal deepConvertRate;
-
-    private Long attributionConvert;
-
-    private BigDecimal attributionConvertCost;
-
-    private Long attributionDeepConvert;
-
-    private BigDecimal attributionDeepConvertCost;
-
-    private Long downloadStart;
-
-    private BigDecimal downloadStartCost;
-
-    private BigDecimal downloadStartRate;
-
-    private Long downloadFinish;
-
-    private BigDecimal downloadFinishCost;
-
-    private BigDecimal downloadFinishRate;
-
-    private Long clickInstall;
-
-    private Long installFinish;
-
-    private BigDecimal installFinishCost;
-
-    private BigDecimal installFinishRate;
-
-    private Long active;
-
-    private BigDecimal activeCost;
-
-    private BigDecimal activeRate;
-
-    private BigDecimal register;
-
-    private BigDecimal activeRegisterCost;
-
-    private Float activeRegisterRate;
-
-    private Long nextDayOpen;
-
-    private BigDecimal nextDayOpenCost;
-
-    private BigDecimal nextDayOpenRate;
-
-    private Long attributionNextDayOpenCnt;
-
-    private BigDecimal attributionNextDayOpenCost;
-
-    private BigDecimal attributionNextDayOpenRate;
-
-    private Long gameAddiction;
-
-    private BigDecimal gameAddictionCost;
-
-    private BigDecimal gameAddictionRate;
-
-    private Long payCount;
-
-    private BigDecimal activePayCost;
-
-    private BigDecimal activePayRate;
-
-    private Long loanCompletion;
-
-    private BigDecimal loanCompletionCost;
-
-    private BigDecimal loanCompletionRate;
-
-    private Long preLoanCredit;
-
-    private BigDecimal preLoanCreditCost;
-
-    private Long loanCredit;
-
-    private BigDecimal loanCreditCost;
-
-    private BigDecimal loanCreditRate;
-
-    private Long inAppUv;
-
-    private Long inAppDetailUv;
-
-    private Long inAppCart;
-
-    private Long inAppPay;
-
-    private Long inAppOrder;
-
-    private Long attributionGamePay7dCount;
-
-    private BigDecimal attributionGamePay7dCost;
-
-    private Long attributionActivePay7dPerCount;
-
-    private BigDecimal gamePayCost;
-
-    private Long gamePayCount;
-
-    private Long phone;
-
-    private Long form;
-
-    private Long mapSearch;
-
-    private Long button;
-
-    private Long view;
-
-    private Long download;
-
-    private Long qq;
-
-    private Long lottery;
-
-    private Long vote;
-
-    private Long message;
-
-    private Long redirect;
-
-    private Long shopping;
-
-    private Long consult;
-
-    private Long wechat;
-
-    private Long phoneConfirm;
-
-    private Long phoneConnect;
-
-    private Long consultEffective;
-
-    private Long coupon;
-
-    private Long couponSinglePage;
-
-    private Long redirectToShop;
-
-    private Long poiCollect;
-
-    private Long poiAddressClick;
-
-    private Long lubanOrderCnt;
-
-    private BigDecimal lubanOrderStatAmount;
-
-    private BigDecimal lubanOrderRoi;
-
-    private Long lubanLiveEnterCnt;
-
-    private Long liveWatchOneMinuteCount;
-
-    private Long lubanLiveFollowCnt;
-
-    private Long liveFansClubJoinCnt;
-
-    private Long lubanLiveCommentCnt;
-
-    private Long lubanLiveShareCnt;
-
-    private Long lubanLiveGiftCnt;
-
-    private BigDecimal lubanLiveGiftAmount;
-
-    private Long lubanLiveSlidecartClickCnt;
-
-    private Long lubanLiveClickProductCnt;
-
-    private Long lubanLivePayOrderCount;
-
-    private BigDecimal lubanLivePayOrderStatCost;
-
-    private Long liveComponentClickCount;
-
-    private BigDecimal liveComponentClickCost;
-
-    private BigDecimal liveComponentClickRate;
-
-    private Long wechatLoginCount;
-
-    private Long attributionWechatLogin30dCount;
-
-    private BigDecimal wechatLoginCost;
-
-    private BigDecimal attributionWechatLogin30dCost;
-
-    private Long wechatFirstPayCount;
-
-    private Long attributionWechatFirstPay30dCount;
-
-    private BigDecimal wechatFirstPayCost;
-
-    private BigDecimal attributionWechatFirstPay30dCost;
-
-    private BigDecimal wechatFirstPayRate;
-
-    private BigDecimal attributionWechatFirstPay30dRate;
-
-    private BigDecimal wechatPayAmount;
-
-    private BigDecimal attributionWechatPay30dAmount;
-
-    private BigDecimal attributionWechatPay30dRoi;
-
-    private Long phoneEffective;
-
-    private Long totalPlay;
-
-    private Long validPlay;
-
-    private BigDecimal validPlayCost;
-
-    private BigDecimal validPlayRate;
-
-    private Long play25FeedBreak;
-
-    private Long play50FeedBreak;
-
-    private Long play75FeedBreak;
-
-    private Long play100FeedBreak;
-
-    private BigDecimal averagePlayTimePerPlay;
-
-    private BigDecimal playOverRate;
-
-    private BigDecimal wifiPlayRate;
-
-    private Long wifiPlay;
-
-    private Long playDurationSum;
-
-    private Long advancedCreativePhoneClick;
-
-    private Long advancedCreativeCounselClick;
-
-    private Long advancedCreativeFormClick;
-
-    private Long advancedCreativeCouponAddition;
-
-    private Long advancedCreativeFormSubmit;
-
-    private Long cardShow;
-
-    private Long share;
-
-    private Long comment;
-
-    private Long like;
-
-    private Long follow;
-
-    private Long homeVisited;
-
-    private Long iesChallengeClick;
-
-    private Long iesMusicClick;
-
-    private Long locationClick;
-
-    private Long messageAction;
-
-    private Long clickLandingPage;
-
-    private Long clickShopwindow;
-
-    private Long clickWebsite;
-
-    private Long clickDownload;
-
-    private Long clickCallDy;
-
-    private Long submitCertificationCount;
-
-    private Long approvalCount;
-
-    private Long firstRentalOrderCount;
-
-    private Long firstOrderCount;
-
-    private Long commuteFirstPayCount;
-
-
-}

+ 0 - 338
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAdvertiserReportDaily.java

@@ -1,338 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-
-@Data
-public class BytedanceAdvertiserReportDaily {
-    private Long advertiserId;
-
-    private String statDatetime;
-
-    private BigDecimal cost;
-
-    private Long show;
-
-    private BigDecimal avgShowCost;
-
-    private Long click;
-
-    private BigDecimal avgClickCost;
-
-    private BigDecimal ctr;
-
-    private Long convert;
-
-    private BigDecimal convertCost;
-
-    private BigDecimal convertRate;
-
-    private Long deepConvert;
-
-    private BigDecimal deepConvertCost;
-
-    private BigDecimal deepConvertRate;
-
-    private Long attributionConvert;
-
-    private BigDecimal attributionConvertCost;
-
-    private Long attributionDeepConvert;
-
-    private BigDecimal attributionDeepConvertCost;
-
-    private Long downloadStart;
-
-    private BigDecimal downloadStartCost;
-
-    private BigDecimal downloadStartRate;
-
-    private Long downloadFinish;
-
-    private BigDecimal downloadFinishCost;
-
-    private BigDecimal downloadFinishRate;
-
-    private Long clickInstall;
-
-    private Long installFinish;
-
-    private BigDecimal installFinishCost;
-
-    private BigDecimal installFinishRate;
-
-    private Long active;
-
-    private BigDecimal activeCost;
-
-    private BigDecimal activeRate;
-
-    private BigDecimal register;
-
-    private BigDecimal activeRegisterCost;
-
-    private Float activeRegisterRate;
-
-    private Long nextDayOpen;
-
-    private BigDecimal nextDayOpenCost;
-
-    private BigDecimal nextDayOpenRate;
-
-    private Long attributionNextDayOpenCnt;
-
-    private BigDecimal attributionNextDayOpenCost;
-
-    private BigDecimal attributionNextDayOpenRate;
-
-    private Long gameAddiction;
-
-    private BigDecimal gameAddictionCost;
-
-    private BigDecimal gameAddictionRate;
-
-    private Long payCount;
-
-    private BigDecimal activePayCost;
-
-    private BigDecimal activePayRate;
-
-    private Long loanCompletion;
-
-    private BigDecimal loanCompletionCost;
-
-    private BigDecimal loanCompletionRate;
-
-    private Long preLoanCredit;
-
-    private BigDecimal preLoanCreditCost;
-
-    private Long loanCredit;
-
-    private BigDecimal loanCreditCost;
-
-    private BigDecimal loanCreditRate;
-
-    private Long inAppUv;
-
-    private Long inAppDetailUv;
-
-    private Long inAppCart;
-
-    private Long inAppPay;
-
-    private Long inAppOrder;
-
-    private Long attributionGamePay7dCount;
-
-    private BigDecimal attributionGamePay7dCost;
-
-    private Long attributionActivePay7dPerCount;
-
-    private BigDecimal gamePayCost;
-
-    private Long gamePayCount;
-
-    private Long phone;
-
-    private Long form;
-
-    private Long mapSearch;
-
-    private Long button;
-
-    private Long view;
-
-    private Long download;
-
-    private Long qq;
-
-    private Long lottery;
-
-    private Long vote;
-
-    private Long message;
-
-    private Long redirect;
-
-    private Long shopping;
-
-    private Long consult;
-
-    private Long wechat;
-
-    private Long phoneConfirm;
-
-    private Long phoneConnect;
-
-    private Long consultEffective;
-
-    private Long coupon;
-
-    private Long couponSinglePage;
-
-    private Long redirectToShop;
-
-    private Long poiCollect;
-
-    private Long poiAddressClick;
-
-    private Long lubanOrderCnt;
-
-    private BigDecimal lubanOrderStatAmount;
-
-    private BigDecimal lubanOrderRoi;
-
-    private Long lubanLiveEnterCnt;
-
-    private Long liveWatchOneMinuteCount;
-
-    private Long lubanLiveFollowCnt;
-
-    private Long liveFansClubJoinCnt;
-
-    private Long lubanLiveCommentCnt;
-
-    private Long lubanLiveShareCnt;
-
-    private Long lubanLiveGiftCnt;
-
-    private BigDecimal lubanLiveGiftAmount;
-
-    private Long lubanLiveSlidecartClickCnt;
-
-    private Long lubanLiveClickProductCnt;
-
-    private Long lubanLivePayOrderCount;
-
-    private BigDecimal lubanLivePayOrderStatCost;
-
-    private Long liveComponentClickCount;
-
-    private BigDecimal liveComponentClickCost;
-
-    private BigDecimal liveComponentClickRate;
-
-    private Long wechatLoginCount;
-
-    private Long attributionWechatLogin30dCount;
-
-    private BigDecimal wechatLoginCost;
-
-    private BigDecimal attributionWechatLogin30dCost;
-
-    private Long wechatFirstPayCount;
-
-    private Long attributionWechatFirstPay30dCount;
-
-    private BigDecimal wechatFirstPayCost;
-
-    private BigDecimal attributionWechatFirstPay30dCost;
-
-    private BigDecimal wechatFirstPayRate;
-
-    private BigDecimal attributionWechatFirstPay30dRate;
-
-    private BigDecimal wechatPayAmount;
-
-    private BigDecimal attributionWechatPay30dAmount;
-
-    private BigDecimal attributionWechatPay30dRoi;
-
-    private Long phoneEffective;
-
-    private Long totalPlay;
-
-    private Long validPlay;
-
-    private BigDecimal validPlayCost;
-
-    private BigDecimal validPlayRate;
-
-    private Long play25FeedBreak;
-
-    private Long play50FeedBreak;
-
-    private Long play75FeedBreak;
-
-    private Long play100FeedBreak;
-
-    private BigDecimal averagePlayTimePerPlay;
-
-    private BigDecimal playOverRate;
-
-    private BigDecimal wifiPlayRate;
-
-    private Long wifiPlay;
-
-    private Long playDurationSum;
-
-    private Long advancedCreativePhoneClick;
-
-    private Long advancedCreativeCounselClick;
-
-    private Long advancedCreativeFormClick;
-
-    private Long advancedCreativeCouponAddition;
-
-    private Long advancedCreativeFormSubmit;
-
-    private Long cardShow;
-
-    private Long share;
-
-    private Long comment;
-
-    private Long like;
-
-    private Long follow;
-
-    private Long homeVisited;
-
-    private Long iesChallengeClick;
-
-    private Long iesMusicClick;
-
-    private Long locationClick;
-
-    private Long messageAction;
-
-    private Long clickLandingPage;
-
-    private Long clickShopwindow;
-
-    private Long clickWebsite;
-
-    private Long clickDownload;
-
-    private Long clickCallDy;
-
-    private Long submitCertificationCount;
-
-    private Long approvalCount;
-
-    private Long firstRentalOrderCount;
-
-    private Long firstOrderCount;
-
-    private Long commuteFirstPayCount;
-
-
-    /*** 游戏行业-激活后24h首次付费数激活后24h首次付费数,归因到激活时间*/
-    private Long attributionActivePayIntraOneDayCount;
-    /*** 游戏行业-激活后24h首次付费成本所选日期的消耗/激活后24h首次付费数*/
-    private BigDecimal attributionActivePayIntraOneDayCost;
-    /*** 游戏行业-激活后24h首次付费率激活后24h首次付费数/激活数*/
-    private BigDecimal attributionActivePayIntraOneDayRate;
-    /*** 游戏行业-激活后24h付费金额激活后24h,APP内产生的付费金额*/
-    private BigDecimal attributionActivePayIntraOneDayAmount;
-    /*** 游戏行业-激活后24小时付费roi激活后24h付费金额/所选日期的消耗*/
-    private BigDecimal attributionActivePayIntraOneDayRoi;
-    /*** 付费金额(回传时间)*/
-    private BigDecimal statPayAmount;
-
-    private String inventory;
-    private String inventoryName;
-
-}

+ 0 - 337
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAdvertiserReportHourly.java

@@ -1,337 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-
-@Data
-public class BytedanceAdvertiserReportHourly {
-    private Long advertiserId;
-
-    private String statDatetime;
-
-    private Integer hour;
-
-    private BigDecimal cost;
-
-    private Long show;
-
-    private BigDecimal avgShowCost;
-
-    private Long click;
-
-    private BigDecimal avgClickCost;
-
-    private BigDecimal ctr;
-
-    private Long convert;
-
-    private BigDecimal convertCost;
-
-    private BigDecimal convertRate;
-
-    private Long deepConvert;
-
-    private BigDecimal deepConvertCost;
-
-    private BigDecimal deepConvertRate;
-
-    private Long attributionConvert;
-
-    private BigDecimal attributionConvertCost;
-
-    private Long attributionDeepConvert;
-
-    private BigDecimal attributionDeepConvertCost;
-
-    private Long downloadStart;
-
-    private BigDecimal downloadStartCost;
-
-    private BigDecimal downloadStartRate;
-
-    private Long downloadFinish;
-
-    private BigDecimal downloadFinishCost;
-
-    private BigDecimal downloadFinishRate;
-
-    private Long clickInstall;
-
-    private Long installFinish;
-
-    private BigDecimal installFinishCost;
-
-    private BigDecimal installFinishRate;
-
-    private Long active;
-
-    private BigDecimal activeCost;
-
-    private BigDecimal activeRate;
-
-    private BigDecimal register;
-
-    private BigDecimal activeRegisterCost;
-
-    private Float activeRegisterRate;
-
-    private Long nextDayOpen;
-
-    private BigDecimal nextDayOpenCost;
-
-    private BigDecimal nextDayOpenRate;
-
-    private Long attributionNextDayOpenCnt;
-
-    private BigDecimal attributionNextDayOpenCost;
-
-    private BigDecimal attributionNextDayOpenRate;
-
-    private Long gameAddiction;
-
-    private BigDecimal gameAddictionCost;
-
-    private BigDecimal gameAddictionRate;
-
-    private Long payCount;
-
-    private BigDecimal activePayCost;
-
-    private BigDecimal activePayRate;
-
-    private Long loanCompletion;
-
-    private BigDecimal loanCompletionCost;
-
-    private BigDecimal loanCompletionRate;
-
-    private Long preLoanCredit;
-
-    private BigDecimal preLoanCreditCost;
-
-    private Long loanCredit;
-
-    private BigDecimal loanCreditCost;
-
-    private BigDecimal loanCreditRate;
-
-    private Long inAppUv;
-
-    private Long inAppDetailUv;
-
-    private Long inAppCart;
-
-    private Long inAppPay;
-
-    private Long inAppOrder;
-
-    private Long attributionGamePay7dCount;
-
-    private BigDecimal attributionGamePay7dCost;
-
-    private Long attributionActivePay7dPerCount;
-
-    private BigDecimal gamePayCost;
-
-    private Long gamePayCount;
-
-    private Long phone;
-
-    private Long form;
-
-    private Long mapSearch;
-
-    private Long button;
-
-    private Long view;
-
-    private Long download;
-
-    private Long qq;
-
-    private Long lottery;
-
-    private Long vote;
-
-    private Long message;
-
-    private Long redirect;
-
-    private Long shopping;
-
-    private Long consult;
-
-    private Long wechat;
-
-    private Long phoneConfirm;
-
-    private Long phoneConnect;
-
-    private Long consultEffective;
-
-    private Long coupon;
-
-    private Long couponSinglePage;
-
-    private Long redirectToShop;
-
-    private Long poiCollect;
-
-    private Long poiAddressClick;
-
-    private Long lubanOrderCnt;
-
-    private BigDecimal lubanOrderStatAmount;
-
-    private BigDecimal lubanOrderRoi;
-
-    private Long lubanLiveEnterCnt;
-
-    private Long liveWatchOneMinuteCount;
-
-    private Long lubanLiveFollowCnt;
-
-    private Long liveFansClubJoinCnt;
-
-    private Long lubanLiveCommentCnt;
-
-    private Long lubanLiveShareCnt;
-
-    private Long lubanLiveGiftCnt;
-
-    private BigDecimal lubanLiveGiftAmount;
-
-    private Long lubanLiveSlidecartClickCnt;
-
-    private Long lubanLiveClickProductCnt;
-
-    private Long lubanLivePayOrderCount;
-
-    private BigDecimal lubanLivePayOrderStatCost;
-
-    private Long liveComponentClickCount;
-
-    private BigDecimal liveComponentClickCost;
-
-    private BigDecimal liveComponentClickRate;
-
-    private Long wechatLoginCount;
-
-    private Long attributionWechatLogin30dCount;
-
-    private BigDecimal wechatLoginCost;
-
-    private BigDecimal attributionWechatLogin30dCost;
-
-    private Long wechatFirstPayCount;
-
-    private Long attributionWechatFirstPay30dCount;
-
-    private BigDecimal wechatFirstPayCost;
-
-    private BigDecimal attributionWechatFirstPay30dCost;
-
-    private BigDecimal wechatFirstPayRate;
-
-    private BigDecimal attributionWechatFirstPay30dRate;
-
-    private BigDecimal wechatPayAmount;
-
-    private BigDecimal attributionWechatPay30dAmount;
-
-    private BigDecimal attributionWechatPay30dRoi;
-
-    private Long phoneEffective;
-
-    private Long totalPlay;
-
-    private Long validPlay;
-
-    private BigDecimal validPlayCost;
-
-    private BigDecimal validPlayRate;
-
-    private Long play25FeedBreak;
-
-    private Long play50FeedBreak;
-
-    private Long play75FeedBreak;
-
-    private Long play100FeedBreak;
-
-    private BigDecimal averagePlayTimePerPlay;
-
-    private BigDecimal playOverRate;
-
-    private BigDecimal wifiPlayRate;
-
-    private Long wifiPlay;
-
-    private Long playDurationSum;
-
-    private Long advancedCreativePhoneClick;
-
-    private Long advancedCreativeCounselClick;
-
-    private Long advancedCreativeFormClick;
-
-    private Long advancedCreativeCouponAddition;
-
-    private Long advancedCreativeFormSubmit;
-
-    private Long cardShow;
-
-    private Long share;
-
-    private Long comment;
-
-    private Long like;
-
-    private Long follow;
-
-    private Long homeVisited;
-
-    private Long iesChallengeClick;
-
-    private Long iesMusicClick;
-
-    private Long locationClick;
-
-    private Long messageAction;
-
-    private Long clickLandingPage;
-
-    private Long clickShopwindow;
-
-    private Long clickWebsite;
-
-    private Long clickDownload;
-
-    private Long clickCallDy;
-
-    private Long submitCertificationCount;
-
-    private Long approvalCount;
-
-    private Long firstRentalOrderCount;
-
-    private Long firstOrderCount;
-
-    private Long commuteFirstPayCount;
-
-    /*** 游戏行业-激活后24h首次付费数激活后24h首次付费数,归因到激活时间*/
-    private Long attributionActivePayIntraOneDayCount;
-    /*** 游戏行业-激活后24h首次付费成本所选日期的消耗/激活后24h首次付费数*/
-    private BigDecimal attributionActivePayIntraOneDayCost;
-    /*** 游戏行业-激活后24h首次付费率激活后24h首次付费数/激活数*/
-    private BigDecimal attributionActivePayIntraOneDayRate;
-    /*** 游戏行业-激活后24h付费金额激活后24h,APP内产生的付费金额*/
-    private BigDecimal attributionActivePayIntraOneDayAmount;
-    /*** 游戏行业-激活后24小时付费roi激活后24h付费金额/所选日期的消耗*/
-    private BigDecimal attributionActivePayIntraOneDayRoi;
-    /*** 付费金额(回传时间)*/
-    private BigDecimal statPayAmount;
-
-
-}

+ 0 - 83
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAgentReportDaily.java

@@ -1,83 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-
-@Data
-public class BytedanceAgentReportDaily {
-    private Long advertiserId;
-
-    private Long agentId;
-
-    private String statDatetime;
-
-    private String agentName;
-
-    private String advertiserName;
-
-    private String secondIndustry;
-
-    private String firstIndustry;
-
-    private String accountSource;
-
-    private String auditPassTime;
-
-    private String accountStatus;
-
-    private Long companyId;
-
-    private String companyName;
-
-    private String registerTime;
-
-    private BigDecimal cost;
-
-    private BigDecimal cashCost;
-
-    private BigDecimal bidCost;
-
-    private BigDecimal brandCost;
-
-    private BigDecimal grantsCost;
-
-    private BigDecimal cpcCost;
-
-    private BigDecimal cpmCost;
-
-    private BigDecimal ocpcCost;
-
-    private BigDecimal cpaCost;
-
-    private BigDecimal ocpmCost;
-
-    private BigDecimal cpvCost;
-
-    private BigDecimal cptCost;
-
-    private BigDecimal gdCost;
-
-    private Long show;
-
-    private String cpm;
-
-    private Long click;
-
-    private BigDecimal ctr;
-
-    private BigDecimal cpc;
-
-    private Long transferCount;
-
-    private BigDecimal todayCost;
-
-    private BigDecimal transferAmount;
-
-    private BigDecimal historyCost;
-
-    private BigDecimal registerDays;
-
-    private String firstCostTime;
-
-}

+ 0 - 120
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAgentReportHourly.java

@@ -1,120 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-@Data
-public class BytedanceAgentReportHourly {
-    private Long advertiserId;
-
-    private Long agentId;
-
-    private String statDatetime;
-
-    private Integer hour;
-
-    private String agentName;
-
-    private String advertiserName;
-
-    private String firstIndustry;
-
-    private String secondIndustry;
-
-    private String auditPassTime;
-
-    private String accountStatus;
-
-    private Long companyId;
-
-    private String companyName;
-
-    private String registerTime;
-
-    private String accountSource;
-
-    private BigDecimal todayCost;
-
-    private BigDecimal yesterdayCost;
-
-    private Long queryEndTime;
-
-    private BigDecimal todayXHourCost;
-
-    private BigDecimal yesterdayXHourCost;
-
-    private BigDecimal xHourCostDiff;
-
-    private BigDecimal todayXHourConvert;
-
-    private BigDecimal yesterdayXHourConvert;
-
-    private BigDecimal xHourConvertDiff;
-
-    private BigDecimal todayXHourCpa;
-
-    private BigDecimal yesterdayXHourCpa;
-
-    private BigDecimal xHourCpaDiff;
-
-    private Long todayXHourClick;
-
-    private Long yesterdayXHourClick;
-
-    private Long xHourClickDiff;
-
-    private BigDecimal todayXHourCpc;
-
-    private BigDecimal yesterdayXHourCpc;
-
-    private BigDecimal xHourCpcDiff;
-
-    private BigDecimal yesterdayCashCost;
-
-    private BigDecimal yesterdayBidCashCost;
-
-    private BigDecimal yesterdayBrandCashCost;
-
-    private BigDecimal yesterdayGrantsCost;
-
-    private BigDecimal yesterdayMomCost;
-
-    private BigDecimal yesterdayCostDiff;
-
-    private BigDecimal historyCost;
-
-    private BigDecimal historyCashCost;
-
-    private BigDecimal yesterdayAdNumber;
-
-    private BigDecimal registerDays;
-
-    private BigDecimal firstRechargeAmount;
-
-    private String firstRechargeTime;
-
-    private String lastRenewTime;
-
-    private BigDecimal totalRenewAmount;
-
-    private BigDecimal totalRenewNumber;
-
-    private BigDecimal cashBalance;
-
-    private BigDecimal rantBalance;
-
-    private String lastRechargeTime;
-
-    private BigDecimal lastRenewAmount;
-
-    private BigDecimal arpu3cd;
-
-    private BigDecimal totalBalance;
-
-    private BigDecimal validBalance;
-
-    private String customerType;
-
-    private String firstCostTime;
-
-}

+ 0 - 27
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceAudiencePackageGet.java

@@ -1,27 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-@Data
-public class BytedanceAudiencePackageGet {
-    private Long advertiserId;
-
-    private Long audiencePackageId;
-
-    private String name;
-
-    private String description;
-
-    private String landingType;
-
-    private String hideIfConverted;
-
-    private String convertedTimeDuration;
-
-    private String deliveryRange;
-
-    private Long hideIfExists;
-
-    private String audience;
-
-}

+ 0 - 34
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCampaignGet.java

@@ -1,34 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-@Data
-public class BytedanceCampaignGet {
-    private Long advertiserId;
-
-    private Long campaignId;
-
-    private String campaignName;
-
-    private Integer budget;
-
-    private String budgetMode;
-
-    private String modifyTime;
-
-    private String status;
-
-    private String campaignCreateTime;
-
-    private String campaignModifyTime;
-
-    private String marketingPurpose;
-
-    private String deliveryRelatedNum;
-
-    private String deliveryMode;
-
-    private String landingType;
-
-
-}

+ 0 - 325
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCampaignReportDaily.java

@@ -1,325 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-@Data
-public class BytedanceCampaignReportDaily {
-    private Long advertiserId;
-
-    private Long campaignId;
-
-    private String statDatetime;
-
-    private String campaignName;
-
-    private BigDecimal cost;
-
-    private Long show;
-
-    private BigDecimal avgShowCost;
-
-    private Long click;
-
-    private BigDecimal avgClickCost;
-
-    private BigDecimal ctr;
-
-    private Long convert;
-
-    private BigDecimal convertCost;
-
-    private BigDecimal convertRate;
-
-    private Long deepConvert;
-
-    private BigDecimal deepConvertCost;
-
-    private BigDecimal deepConvertRate;
-
-    private Long attributionConvert;
-
-    private BigDecimal attributionConvertCost;
-
-    private Long attributionDeepConvert;
-
-    private BigDecimal attributionDeepConvertCost;
-
-    private Long downloadStart;
-
-    private BigDecimal downloadStartCost;
-
-    private BigDecimal downloadStartRate;
-
-    private Long downloadFinish;
-
-    private BigDecimal downloadFinishCost;
-
-    private BigDecimal downloadFinishRate;
-
-    private Long clickInstall;
-
-    private Long installFinish;
-
-    private BigDecimal installFinishCost;
-
-    private BigDecimal installFinishRate;
-
-    private Long active;
-
-    private BigDecimal activeCost;
-
-    private BigDecimal activeRate;
-
-    private BigDecimal register;
-
-    private BigDecimal activeRegisterCost;
-
-    private Float activeRegisterRate;
-
-    private Long nextDayOpen;
-
-    private BigDecimal nextDayOpenCost;
-
-    private BigDecimal nextDayOpenRate;
-
-    private Long attributionNextDayOpenCnt;
-
-    private BigDecimal attributionNextDayOpenCost;
-
-    private BigDecimal attributionNextDayOpenRate;
-
-    private Long gameAddiction;
-
-    private BigDecimal gameAddictionCost;
-
-    private BigDecimal gameAddictionRate;
-
-    private Long payCount;
-
-    private BigDecimal activePayCost;
-
-    private BigDecimal activePayRate;
-
-    private Long loanCompletion;
-
-    private BigDecimal loanCompletionCost;
-
-    private BigDecimal loanCompletionRate;
-
-    private Long preLoanCredit;
-
-    private BigDecimal preLoanCreditCost;
-
-    private Long loanCredit;
-
-    private BigDecimal loanCreditCost;
-
-    private BigDecimal loanCreditRate;
-
-    private Long inAppUv;
-
-    private Long inAppDetailUv;
-
-    private Long inAppCart;
-
-    private Long inAppPay;
-
-    private Long inAppOrder;
-
-    private Long attributionGamePay7dCount;
-
-    private BigDecimal attributionGamePay7dCost;
-
-    private Long attributionActivePay7dPerCount;
-
-    private BigDecimal gamePayCost;
-
-    private Long gamePayCount;
-
-    private Long phone;
-
-    private Long form;
-
-    private Long mapSearch;
-
-    private Long button;
-
-    private Long view;
-
-    private Long download;
-
-    private Long qq;
-
-    private Long lottery;
-
-    private Long vote;
-
-    private Long message;
-
-    private Long redirect;
-
-    private Long shopping;
-
-    private Long consult;
-
-    private Long wechat;
-
-    private Long phoneConfirm;
-
-    private Long phoneConnect;
-
-    private Long consultEffective;
-
-    private Long coupon;
-
-    private Long couponSinglePage;
-
-    private Long redirectToShop;
-
-    private Long poiCollect;
-
-    private Long poiAddressClick;
-
-    private Long lubanOrderCnt;
-
-    private BigDecimal lubanOrderStatAmount;
-
-    private BigDecimal lubanOrderRoi;
-
-    private Long lubanLiveEnterCnt;
-
-    private Long liveWatchOneMinuteCount;
-
-    private Long lubanLiveFollowCnt;
-
-    private Long liveFansClubJoinCnt;
-
-    private Long lubanLiveCommentCnt;
-
-    private Long lubanLiveShareCnt;
-
-    private Long lubanLiveGiftCnt;
-
-    private BigDecimal lubanLiveGiftAmount;
-
-    private Long lubanLiveSlidecartClickCnt;
-
-    private Long lubanLiveClickProductCnt;
-
-    private Long lubanLivePayOrderCount;
-
-    private BigDecimal lubanLivePayOrderStatCost;
-
-    private Long liveComponentClickCount;
-
-    private BigDecimal liveComponentClickCost;
-
-    private BigDecimal liveComponentClickRate;
-
-    private Long wechatLoginCount;
-
-    private Long attributionWechatLogin30dCount;
-
-    private BigDecimal wechatLoginCost;
-
-    private BigDecimal attributionWechatLogin30dCost;
-
-    private Long wechatFirstPayCount;
-
-    private Long attributionWechatFirstPay30dCount;
-
-    private BigDecimal wechatFirstPayCost;
-
-    private BigDecimal attributionWechatFirstPay30dCost;
-
-    private BigDecimal wechatFirstPayRate;
-
-    private BigDecimal attributionWechatFirstPay30dRate;
-
-    private BigDecimal wechatPayAmount;
-
-    private BigDecimal attributionWechatPay30dAmount;
-
-    private BigDecimal attributionWechatPay30dRoi;
-
-    private Long phoneEffective;
-
-    private Long totalPlay;
-
-    private Long validPlay;
-
-    private BigDecimal validPlayCost;
-
-    private BigDecimal validPlayRate;
-
-    private Long play25FeedBreak;
-
-    private Long play50FeedBreak;
-
-    private Long play75FeedBreak;
-
-    private Long play100FeedBreak;
-
-    private BigDecimal averagePlayTimePerPlay;
-
-    private BigDecimal playOverRate;
-
-    private BigDecimal wifiPlayRate;
-
-    private Long wifiPlay;
-
-    private Long playDurationSum;
-
-    private Long advancedCreativePhoneClick;
-
-    private Long advancedCreativeCounselClick;
-
-    private Long advancedCreativeFormClick;
-
-    private Long advancedCreativeCouponAddition;
-
-    private Long advancedCreativeFormSubmit;
-
-    private Long cardShow;
-
-    private Long share;
-
-    private Long comment;
-
-    private Long like;
-
-    private Long follow;
-
-    private Long homeVisited;
-
-    private Long iesChallengeClick;
-
-    private Long iesMusicClick;
-
-    private Long locationClick;
-
-    private Long messageAction;
-
-    private Long clickLandingPage;
-
-    private Long clickShopwindow;
-
-    private Long clickWebsite;
-
-    private Long clickDownload;
-
-    private Long clickCallDy;
-
-    private Long submitCertificationCount;
-
-    private Long approvalCount;
-
-    private Long firstRentalOrderCount;
-
-    private Long firstOrderCount;
-
-    private Long commuteFirstPayCount;
-
-
-}

+ 0 - 328
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCampaignReportHourly.java

@@ -1,328 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-
-@Data
-public class BytedanceCampaignReportHourly {
-    private Long advertiserId;
-
-    private Long campaignId;
-
-    private String statDatetime;
-
-    private Integer hour;
-
-    private String campaignName;
-
-    private BigDecimal cost;
-
-    private Long show;
-
-    private BigDecimal avgShowCost;
-
-    private Long click;
-
-    private BigDecimal avgClickCost;
-
-    private BigDecimal ctr;
-
-    private Long convert;
-
-    private BigDecimal convertCost;
-
-    private BigDecimal convertRate;
-
-    private Long deepConvert;
-
-    private BigDecimal deepConvertCost;
-
-    private BigDecimal deepConvertRate;
-
-    private Long attributionConvert;
-
-    private BigDecimal attributionConvertCost;
-
-    private Long attributionDeepConvert;
-
-    private BigDecimal attributionDeepConvertCost;
-
-    private Long downloadStart;
-
-    private BigDecimal downloadStartCost;
-
-    private BigDecimal downloadStartRate;
-
-    private Long downloadFinish;
-
-    private BigDecimal downloadFinishCost;
-
-    private BigDecimal downloadFinishRate;
-
-    private Long clickInstall;
-
-    private Long installFinish;
-
-    private BigDecimal installFinishCost;
-
-    private BigDecimal installFinishRate;
-
-    private Long active;
-
-    private BigDecimal activeCost;
-
-    private BigDecimal activeRate;
-
-    private BigDecimal register;
-
-    private BigDecimal activeRegisterCost;
-
-    private Float activeRegisterRate;
-
-    private Long nextDayOpen;
-
-    private BigDecimal nextDayOpenCost;
-
-    private BigDecimal nextDayOpenRate;
-
-    private Long attributionNextDayOpenCnt;
-
-    private BigDecimal attributionNextDayOpenCost;
-
-    private BigDecimal attributionNextDayOpenRate;
-
-    private Long gameAddiction;
-
-    private BigDecimal gameAddictionCost;
-
-    private BigDecimal gameAddictionRate;
-
-    private Long payCount;
-
-    private BigDecimal activePayCost;
-
-    private BigDecimal activePayRate;
-
-    private Long loanCompletion;
-
-    private BigDecimal loanCompletionCost;
-
-    private BigDecimal loanCompletionRate;
-
-    private Long preLoanCredit;
-
-    private BigDecimal preLoanCreditCost;
-
-    private Long loanCredit;
-
-    private BigDecimal loanCreditCost;
-
-    private BigDecimal loanCreditRate;
-
-    private Long inAppUv;
-
-    private Long inAppDetailUv;
-
-    private Long inAppCart;
-
-    private Long inAppPay;
-
-    private Long inAppOrder;
-
-    private Long attributionGamePay7dCount;
-
-    private BigDecimal attributionGamePay7dCost;
-
-    private Long attributionActivePay7dPerCount;
-
-    private BigDecimal gamePayCost;
-
-    private Long gamePayCount;
-
-    private Long phone;
-
-    private Long form;
-
-    private Long mapSearch;
-
-    private Long button;
-
-    private Long view;
-
-    private Long download;
-
-    private Long qq;
-
-    private Long lottery;
-
-    private Long vote;
-
-    private Long message;
-
-    private Long redirect;
-
-    private Long shopping;
-
-    private Long consult;
-
-    private Long wechat;
-
-    private Long phoneConfirm;
-
-    private Long phoneConnect;
-
-    private Long consultEffective;
-
-    private Long coupon;
-
-    private Long couponSinglePage;
-
-    private Long redirectToShop;
-
-    private Long poiCollect;
-
-    private Long poiAddressClick;
-
-    private Long lubanOrderCnt;
-
-    private BigDecimal lubanOrderStatAmount;
-
-    private BigDecimal lubanOrderRoi;
-
-    private Long lubanLiveEnterCnt;
-
-    private Long liveWatchOneMinuteCount;
-
-    private Long lubanLiveFollowCnt;
-
-    private Long liveFansClubJoinCnt;
-
-    private Long lubanLiveCommentCnt;
-
-    private Long lubanLiveShareCnt;
-
-    private Long lubanLiveGiftCnt;
-
-    private BigDecimal lubanLiveGiftAmount;
-
-    private Long lubanLiveSlidecartClickCnt;
-
-    private Long lubanLiveClickProductCnt;
-
-    private Long lubanLivePayOrderCount;
-
-    private BigDecimal lubanLivePayOrderStatCost;
-
-    private Long liveComponentClickCount;
-
-    private BigDecimal liveComponentClickCost;
-
-    private BigDecimal liveComponentClickRate;
-
-    private Long wechatLoginCount;
-
-    private Long attributionWechatLogin30dCount;
-
-    private BigDecimal wechatLoginCost;
-
-    private BigDecimal attributionWechatLogin30dCost;
-
-    private Long wechatFirstPayCount;
-
-    private Long attributionWechatFirstPay30dCount;
-
-    private BigDecimal wechatFirstPayCost;
-
-    private BigDecimal attributionWechatFirstPay30dCost;
-
-    private BigDecimal wechatFirstPayRate;
-
-    private BigDecimal attributionWechatFirstPay30dRate;
-
-    private BigDecimal wechatPayAmount;
-
-    private BigDecimal attributionWechatPay30dAmount;
-
-    private BigDecimal attributionWechatPay30dRoi;
-
-    private Long phoneEffective;
-
-    private Long totalPlay;
-
-    private Long validPlay;
-
-    private BigDecimal validPlayCost;
-
-    private BigDecimal validPlayRate;
-
-    private Long play25FeedBreak;
-
-    private Long play50FeedBreak;
-
-    private Long play75FeedBreak;
-
-    private Long play100FeedBreak;
-
-    private BigDecimal averagePlayTimePerPlay;
-
-    private BigDecimal playOverRate;
-
-    private BigDecimal wifiPlayRate;
-
-    private Long wifiPlay;
-
-    private Long playDurationSum;
-
-    private Long advancedCreativePhoneClick;
-
-    private Long advancedCreativeCounselClick;
-
-    private Long advancedCreativeFormClick;
-
-    private Long advancedCreativeCouponAddition;
-
-    private Long advancedCreativeFormSubmit;
-
-    private Long cardShow;
-
-    private Long share;
-
-    private Long comment;
-
-    private Long like;
-
-    private Long follow;
-
-    private Long homeVisited;
-
-    private Long iesChallengeClick;
-
-    private Long iesMusicClick;
-
-    private Long locationClick;
-
-    private Long messageAction;
-
-    private Long clickLandingPage;
-
-    private Long clickShopwindow;
-
-    private Long clickWebsite;
-
-    private Long clickDownload;
-
-    private Long clickCallDy;
-
-    private Long submitCertificationCount;
-
-    private Long approvalCount;
-
-    private Long firstRentalOrderCount;
-
-    private Long firstOrderCount;
-
-    private Long commuteFirstPayCount;
-
-
-}

+ 0 - 202
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCdpProject.java

@@ -1,202 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import com.baomidou.mybatisplus.annotation.TableName;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-import lombok.EqualsAndHashCode;
-import lombok.experimental.Accessors;
-import org.jeecgframework.poi.excel.annotation.Excel;
-
-/**
- * 项目信息
- * @date 2023-04-19
- */
-@Data
-@TableName("bytedance_cdp_project")
-@EqualsAndHashCode(callSuper = false)
-@Accessors(chain = true)
-@ApiModel(value = "bytedance_cdp_project对象", description = "项目信息")
-public class BytedanceCdpProject {
-
-    /**
-     * 项目id
-     */
-    @Excel(name = "项目id", width = 15)
-    @ApiModelProperty(value = "项目id")
-    private Long projectId;
-    /**
-     * 项目名称
-     */
-    @Excel(name = "项目名称", width = 15)
-    @ApiModelProperty(value = "项目名称")
-    private String name;
-    /**
-     * 账户id
-     */
-    @Excel(name = "账户id", width = 15)
-    @ApiModelProperty(value = "账户id")
-    private Long advertiserId;
-    /**
-     * 项目状态
-     */
-    @Excel(name = "项目状态", width = 15)
-    @ApiModelProperty(value = "项目状态")
-    private String status;
-    /**
-     * 应用包名
-     */
-    @Excel(name = "应用包名", width = 15)
-    @ApiModelProperty(value = "应用包名")
-    private String packageName;
-    /**
-     * 项目创建时间,格式yyyy-MM-dd HH:mm:ss
-     */
-    @Excel(name = "项目创建时间,格式yyyy-MM-dd HH:mm:ss", width = 15)
-    @ApiModelProperty(value = "项目创建时间,格式yyyy-MM-dd HH:mm:ss")
-    private String projectCreateTime;
-    /**
-     * 项目更新时间,格式yyyy-MM-dd HH:mm:ss
-     */
-    @Excel(name = "项目更新时间,格式yyyy-MM-dd HH:mm:ss", width = 15)
-    @ApiModelProperty(value = "项目更新时间,格式yyyy-MM-dd HH:mm:ss")
-    private String projectModifyTime;
-    /**
-     * 出价方式
-     */
-    @Excel(name = "出价方式", width = 15)
-    @ApiModelProperty(value = "出价方式")
-    private String pricing;
-    /**
-     * 推广目的,枚举值:APP 应用推广、LINK 销售线索推广、MICRO_GAME小程序、QUICK_APP快应用
-     */
-    @Excel(name = "推广目的,枚举值:APP 应用推广、LINK 销售线索推广、MICRO_GAME小程序、QUICK_APP快应用", width = 15)
-    @ApiModelProperty(value = "推广目的,枚举值:APP 应用推广、LINK 销售线索推广、MICRO_GAME小程序、QUICK_APP快应用")
-    private String landingType;
-    /**
-     * 广告类型,枚举值:ALL所有广告,SEARCH 搜索广告
-     */
-    @Excel(name = "广告类型,枚举值:ALL所有广告,SEARCH 搜索广告", width = 15)
-    @ApiModelProperty(value = "广告类型,枚举值:ALL所有广告,SEARCH 搜索广告")
-    private String adType;
-    /**
-     * 定向拓展
-     */
-    @Excel(name = "定向拓展", width = 15)
-    @ApiModelProperty(value = "定向拓展")
-    private String audienceExtend;
-    /**
-     * 目标操作,枚举值:ENABLE 启用项目、DISABLE暂停项目
-     */
-    @Excel(name = "目标操作,枚举值:ENABLE 启用项目、DISABLE暂停项目", width = 15)
-    @ApiModelProperty(value = "目标操作,枚举值:ENABLE 启用项目、DISABLE暂停项目")
-    private String optStatus;
-    /**
-     * 子目标,枚举值:DOWNLOAD 应用下载、LAUNCH 应用调用、RESERVE 预约下载
-     */
-    @Excel(name = "子目标,枚举值:DOWNLOAD 应用下载、LAUNCH 应用调用、RESERVE 预约下载", width = 15)
-    @ApiModelProperty(value = "子目标,枚举值:DOWNLOAD 应用下载、LAUNCH 应用调用、RESERVE 预约下载")
-    private String appPromotionType;
-    /**
-     * 投放模式,允许值:MANUAL手动投放、PROCEDURAL自动投放
-     */
-    @Excel(name = "投放模式,允许值:MANUAL手动投放、PROCEDURAL自动投放", width = 15)
-    @ApiModelProperty(value = "投放模式,允许值:MANUAL手动投放、PROCEDURAL自动投放")
-    private String deliveryMode;
-    /**
-     * 出价系数
-     */
-    @Excel(name = " 出价系数", width = 15)
-    @ApiModelProperty(value = " 出价系数")
-    private java.math.BigDecimal searchBidRatio;
-    /**
-     * 下载链接
-     */
-    @Excel(name = " 下载链接", width = 15)
-    @ApiModelProperty(value = " 下载链接")
-    private String downloadUrl;
-    /**
-     * 优先从系统应用商店下载(下载模式),枚举值:APP_STORE_DELIVERY 优先商店下载、DEFAULT 默认下载
-     */
-    @Excel(name = "优先从系统应用商店下载(下载模式),枚举值:APP_STORE_DELIVERY 优先商店下载、DEFAULT 默认下载", width = 15)
-    @ApiModelProperty(value = "优先从系统应用商店下载(下载模式),枚举值:APP_STORE_DELIVERY 优先商店下载、DEFAULT 默认下载")
-    private String downloadMode;
-    /**
-     * 下载方式,枚举值:DOWNLOAD_URL 直接下载、EXTERNAL_URL 落地页下载
-     */
-    @Excel(name = "下载方式,枚举值:DOWNLOAD_URL 直接下载、EXTERNAL_URL 落地页下载", width = 15)
-    @ApiModelProperty(value = "下载方式,枚举值:DOWNLOAD_URL 直接下载、EXTERNAL_URL 落地页下载")
-    private String downloadType;
-    /**
-     * 应用名
-     */
-    @Excel(name = "应用名", width = 15)
-    @ApiModelProperty(value = "应用名")
-    private String appName;
-    /**
-     * 搜索快投关键词功能,HAS_OPEN:启用,DISABLED:未启用
-     */
-    @Excel(name = "搜索快投关键词功能,HAS_OPEN:启用,DISABLED:未启用", width = 15)
-    @ApiModelProperty(value = "搜索快投关键词功能,HAS_OPEN:启用,DISABLED:未启用")
-    private String feedDeliverySearch;
-    /**
-     * 营销场景,枚举值:VIDEO_AND_IMAGE 短视频/图片、LIVE直播
-     */
-    @Excel(name = "营销场景,枚举值:VIDEO_AND_IMAGE 短视频/图片、LIVE直播", width = 15)
-    @ApiModelProperty(value = "营销场景,枚举值:VIDEO_AND_IMAGE 短视频/图片、LIVE直播")
-    private String marketingGoal;
-    /**
-     * 搜索关键词列表
-     */
-    @Excel(name = "搜索关键词列表", width = 15)
-    @ApiModelProperty(value = "搜索关键词列表")
-    private String keywords;
-    /**
-     * 投放设置
-     */
-    @Excel(name = " 投放设置", width = 15)
-    @ApiModelProperty(value = " 投放设置")
-    private String deliverySetting;
-    /**
-     * 自定义筛选条件(商品投放条件)
-     */
-    @Excel(name = "自定义筛选条件(商品投放条件)", width = 15)
-    @ApiModelProperty(value = "自定义筛选条件(商品投放条件)")
-    private String dpaProductTarget;
-    /**
-     * 优化目标
-     */
-    @Excel(name = "优化目标", width = 15)
-    @ApiModelProperty(value = "优化目标")
-    private String optimizeGoal;
-    /**
-     * 定向设置
-     */
-    @Excel(name = "定向设置", width = 15)
-    @ApiModelProperty(value = "定向设置")
-    private String audience;
-    /**
-     * 关联产品投放相关
-     */
-    @Excel(name = "关联产品投放相关", width = 15)
-    @ApiModelProperty(value = "关联产品投放相关")
-    private String relatedProduct;
-    /**
-     * 广告版位
-     */
-    @Excel(name = "广告版位", width = 15)
-    @ApiModelProperty(value = "广告版位")
-    private String deliveryRange;
-    /**
-     * 监测链接设置
-     */
-    @Excel(name = "监测链接设置", width = 15)
-    @ApiModelProperty(value = "监测链接设置")
-    private String trackUrlSetting;
-    /**
-     * internalAdvertiserInfo
-     */
-    @Excel(name = "internalAdvertiserInfo", width = 15)
-    @ApiModelProperty(value = "internalAdvertiserInfo")
-    private String internalAdvertiserInfo;
-}

+ 0 - 37
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCreativeGet.java

@@ -1,37 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-@Data
-public class BytedanceCreativeGet {
-    private String advertiserId;
-
-    private Long adId;
-
-    private Long creativeId;
-
-    private String title;
-
-    private String creativeWordIds;
-
-    private String status;
-
-    private String optStatus;
-
-    private String imageMode;
-
-    private String imageIds;
-
-    private String imageId;
-
-    private String videoId;
-
-    private String thirdPartyId;
-
-    private String metarials;
-
-    private String creativeCreateTime;
-
-    private String creativeModifyTime;
-
-}

+ 0 - 330
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCreativeReportDaily.java

@@ -1,330 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-@Data
-public class BytedanceCreativeReportDaily {
-    private Long advertiserId;
-
-    private Long campaignId;
-
-    private Long adId;
-
-    private Long creativeId;
-
-    private String statDatetime;
-
-    private String campaignName;
-
-    private String adName;
-
-    private BigDecimal cost;
-
-    private Long show;
-
-    private BigDecimal avgShowCost;
-
-    private Long click;
-
-    private BigDecimal avgClickCost;
-
-    private BigDecimal ctr;
-
-    private Long convert;
-
-    private BigDecimal convertCost;
-
-    private BigDecimal convertRate;
-
-    private Long deepConvert;
-
-    private BigDecimal deepConvertCost;
-
-    private BigDecimal deepConvertRate;
-
-    private Long attributionConvert;
-
-    private BigDecimal attributionConvertCost;
-
-    private Long attributionDeepConvert;
-
-    private BigDecimal attributionDeepConvertCost;
-
-    private Long downloadStart;
-
-    private BigDecimal downloadStartCost;
-
-    private BigDecimal downloadStartRate;
-
-    private Long downloadFinish;
-
-    private BigDecimal downloadFinishCost;
-
-    private BigDecimal downloadFinishRate;
-
-    private Long clickInstall;
-
-    private Long installFinish;
-
-    private BigDecimal installFinishCost;
-
-    private BigDecimal installFinishRate;
-
-    private Long active;
-
-    private BigDecimal activeCost;
-
-    private BigDecimal activeRate;
-
-    private BigDecimal register;
-
-    private BigDecimal activeRegisterCost;
-
-    private Float activeRegisterRate;
-
-    private Long nextDayOpen;
-
-    private BigDecimal nextDayOpenCost;
-
-    private BigDecimal nextDayOpenRate;
-
-    private Long attributionNextDayOpenCnt;
-
-    private BigDecimal attributionNextDayOpenCost;
-
-    private BigDecimal attributionNextDayOpenRate;
-
-    private Long gameAddiction;
-
-    private BigDecimal gameAddictionCost;
-
-    private BigDecimal gameAddictionRate;
-
-    private Long payCount;
-
-    private BigDecimal activePayCost;
-
-    private BigDecimal activePayRate;
-
-    private Long loanCompletion;
-
-    private BigDecimal loanCompletionCost;
-
-    private BigDecimal loanCompletionRate;
-
-    private Long preLoanCredit;
-
-    private BigDecimal preLoanCreditCost;
-
-    private Long loanCredit;
-
-    private BigDecimal loanCreditCost;
-
-    private BigDecimal loanCreditRate;
-
-    private Long inAppUv;
-
-    private Long inAppDetailUv;
-
-    private Long inAppCart;
-
-    private Long inAppPay;
-
-    private Long inAppOrder;
-
-    private Long attributionGamePay7dCount;
-
-    private BigDecimal attributionGamePay7dCost;
-
-    private Long attributionActivePay7dPerCount;
-
-    private BigDecimal gamePayCost;
-
-    private Long gamePayCount;
-
-    private Long phone;
-
-    private Long form;
-
-    private Long mapSearch;
-
-    private Long button;
-
-    private Long view;
-
-    private Long download;
-
-    private Long qq;
-
-    private Long lottery;
-
-    private Long vote;
-
-    private Long message;
-
-    private Long redirect;
-
-    private Long shopping;
-
-    private Long consult;
-
-    private Long wechat;
-
-    private Long phoneConfirm;
-
-    private Long phoneConnect;
-
-    private Long consultEffective;
-
-    private Long coupon;
-
-    private Long couponSinglePage;
-
-    private Long redirectToShop;
-
-    private Long poiCollect;
-
-    private Long poiAddressClick;
-
-    private Long lubanOrderCnt;
-
-    private BigDecimal lubanOrderStatAmount;
-
-    private BigDecimal lubanOrderRoi;
-
-    private Long lubanLiveEnterCnt;
-
-    private Long liveWatchOneMinuteCount;
-
-    private Long lubanLiveFollowCnt;
-
-    private Long liveFansClubJoinCnt;
-
-    private Long lubanLiveCommentCnt;
-
-    private Long lubanLiveShareCnt;
-
-    private Long lubanLiveGiftCnt;
-
-    private BigDecimal lubanLiveGiftAmount;
-
-    private Long lubanLiveSlidecartClickCnt;
-
-    private Long lubanLiveClickProductCnt;
-
-    private Long lubanLivePayOrderCount;
-
-    private BigDecimal lubanLivePayOrderStatCost;
-
-    private Long liveComponentClickCount;
-
-    private BigDecimal liveComponentClickCost;
-
-    private BigDecimal liveComponentClickRate;
-
-    private Long wechatLoginCount;
-
-    private Long attributionWechatLogin30dCount;
-
-    private BigDecimal wechatLoginCost;
-
-    private BigDecimal attributionWechatLogin30dCost;
-
-    private Long wechatFirstPayCount;
-
-    private Long attributionWechatFirstPay30dCount;
-
-    private BigDecimal wechatFirstPayCost;
-
-    private BigDecimal attributionWechatFirstPay30dCost;
-
-    private BigDecimal wechatFirstPayRate;
-
-    private BigDecimal attributionWechatFirstPay30dRate;
-
-    private BigDecimal wechatPayAmount;
-
-    private BigDecimal attributionWechatPay30dAmount;
-
-    private BigDecimal attributionWechatPay30dRoi;
-
-    private Long phoneEffective;
-
-    private Long totalPlay;
-
-    private Long validPlay;
-
-    private BigDecimal validPlayCost;
-
-    private BigDecimal validPlayRate;
-
-    private Long play25FeedBreak;
-
-    private Long play50FeedBreak;
-
-    private Long play75FeedBreak;
-
-    private Long play100FeedBreak;
-
-    private BigDecimal averagePlayTimePerPlay;
-
-    private BigDecimal playOverRate;
-
-    private BigDecimal wifiPlayRate;
-
-    private Long wifiPlay;
-
-    private Long playDurationSum;
-
-    private Long advancedCreativePhoneClick;
-
-    private Long advancedCreativeCounselClick;
-
-    private Long advancedCreativeFormClick;
-
-    private Long advancedCreativeCouponAddition;
-
-    private Long advancedCreativeFormSubmit;
-
-    private Long cardShow;
-
-    private Long share;
-
-    private Long comment;
-
-    private Long like;
-
-    private Long follow;
-
-    private Long homeVisited;
-
-    private Long iesChallengeClick;
-
-    private Long iesMusicClick;
-
-    private Long locationClick;
-
-    private Long messageAction;
-
-    private Long clickLandingPage;
-
-    private Long clickShopwindow;
-
-    private Long clickWebsite;
-
-    private Long clickDownload;
-
-    private Long clickCallDy;
-
-    private Long submitCertificationCount;
-
-    private Long approvalCount;
-
-    private Long firstRentalOrderCount;
-
-    private Long firstOrderCount;
-
-    private Long commuteFirstPayCount;
-
-}

+ 0 - 333
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCreativeReportHourly.java

@@ -1,333 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-
-@Data
-public class BytedanceCreativeReportHourly {
-    private Long advertiserId;
-
-    private Long campaignId;
-
-    private Long adId;
-
-    private Long creativeId;
-
-    private String statDatetime;
-
-    private Integer hour;
-
-    private String campaignName;
-
-    private String adName;
-
-    private BigDecimal cost;
-
-    private Long show;
-
-    private BigDecimal avgShowCost;
-
-    private Long click;
-
-    private BigDecimal avgClickCost;
-
-    private BigDecimal ctr;
-
-    private Long convert;
-
-    private BigDecimal convertCost;
-
-    private BigDecimal convertRate;
-
-    private Long deepConvert;
-
-    private BigDecimal deepConvertCost;
-
-    private BigDecimal deepConvertRate;
-
-    private Long attributionConvert;
-
-    private BigDecimal attributionConvertCost;
-
-    private Long attributionDeepConvert;
-
-    private BigDecimal attributionDeepConvertCost;
-
-    private Long downloadStart;
-
-    private BigDecimal downloadStartCost;
-
-    private BigDecimal downloadStartRate;
-
-    private Long downloadFinish;
-
-    private BigDecimal downloadFinishCost;
-
-    private BigDecimal downloadFinishRate;
-
-    private Long clickInstall;
-
-    private Long installFinish;
-
-    private BigDecimal installFinishCost;
-
-    private BigDecimal installFinishRate;
-
-    private Long active;
-
-    private BigDecimal activeCost;
-
-    private BigDecimal activeRate;
-
-    private BigDecimal register;
-
-    private BigDecimal activeRegisterCost;
-
-    private Float activeRegisterRate;
-
-    private Long nextDayOpen;
-
-    private BigDecimal nextDayOpenCost;
-
-    private BigDecimal nextDayOpenRate;
-
-    private Long attributionNextDayOpenCnt;
-
-    private BigDecimal attributionNextDayOpenCost;
-
-    private BigDecimal attributionNextDayOpenRate;
-
-    private Long gameAddiction;
-
-    private BigDecimal gameAddictionCost;
-
-    private BigDecimal gameAddictionRate;
-
-    private Long payCount;
-
-    private BigDecimal activePayCost;
-
-    private BigDecimal activePayRate;
-
-    private Long loanCompletion;
-
-    private BigDecimal loanCompletionCost;
-
-    private BigDecimal loanCompletionRate;
-
-    private Long preLoanCredit;
-
-    private BigDecimal preLoanCreditCost;
-
-    private Long loanCredit;
-
-    private BigDecimal loanCreditCost;
-
-    private BigDecimal loanCreditRate;
-
-    private Long inAppUv;
-
-    private Long inAppDetailUv;
-
-    private Long inAppCart;
-
-    private Long inAppPay;
-
-    private Long inAppOrder;
-
-    private Long attributionGamePay7dCount;
-
-    private BigDecimal attributionGamePay7dCost;
-
-    private Long attributionActivePay7dPerCount;
-
-    private BigDecimal gamePayCost;
-
-    private Long gamePayCount;
-
-    private Long phone;
-
-    private Long form;
-
-    private Long mapSearch;
-
-    private Long button;
-
-    private Long view;
-
-    private Long download;
-
-    private Long qq;
-
-    private Long lottery;
-
-    private Long vote;
-
-    private Long message;
-
-    private Long redirect;
-
-    private Long shopping;
-
-    private Long consult;
-
-    private Long wechat;
-
-    private Long phoneConfirm;
-
-    private Long phoneConnect;
-
-    private Long consultEffective;
-
-    private Long coupon;
-
-    private Long couponSinglePage;
-
-    private Long redirectToShop;
-
-    private Long poiCollect;
-
-    private Long poiAddressClick;
-
-    private Long lubanOrderCnt;
-
-    private BigDecimal lubanOrderStatAmount;
-
-    private BigDecimal lubanOrderRoi;
-
-    private Long lubanLiveEnterCnt;
-
-    private Long liveWatchOneMinuteCount;
-
-    private Long lubanLiveFollowCnt;
-
-    private Long liveFansClubJoinCnt;
-
-    private Long lubanLiveCommentCnt;
-
-    private Long lubanLiveShareCnt;
-
-    private Long lubanLiveGiftCnt;
-
-    private BigDecimal lubanLiveGiftAmount;
-
-    private Long lubanLiveSlidecartClickCnt;
-
-    private Long lubanLiveClickProductCnt;
-
-    private Long lubanLivePayOrderCount;
-
-    private BigDecimal lubanLivePayOrderStatCost;
-
-    private Long liveComponentClickCount;
-
-    private BigDecimal liveComponentClickCost;
-
-    private BigDecimal liveComponentClickRate;
-
-    private Long wechatLoginCount;
-
-    private Long attributionWechatLogin30dCount;
-
-    private BigDecimal wechatLoginCost;
-
-    private BigDecimal attributionWechatLogin30dCost;
-
-    private Long wechatFirstPayCount;
-
-    private Long attributionWechatFirstPay30dCount;
-
-    private BigDecimal wechatFirstPayCost;
-
-    private BigDecimal attributionWechatFirstPay30dCost;
-
-    private BigDecimal wechatFirstPayRate;
-
-    private BigDecimal attributionWechatFirstPay30dRate;
-
-    private BigDecimal wechatPayAmount;
-
-    private BigDecimal attributionWechatPay30dAmount;
-
-    private BigDecimal attributionWechatPay30dRoi;
-
-    private Long phoneEffective;
-
-    private Long totalPlay;
-
-    private Long validPlay;
-
-    private BigDecimal validPlayCost;
-
-    private BigDecimal validPlayRate;
-
-    private Long play25FeedBreak;
-
-    private Long play50FeedBreak;
-
-    private Long play75FeedBreak;
-
-    private Long play100FeedBreak;
-
-    private BigDecimal averagePlayTimePerPlay;
-
-    private BigDecimal playOverRate;
-
-    private BigDecimal wifiPlayRate;
-
-    private Long wifiPlay;
-
-    private Long playDurationSum;
-
-    private Long advancedCreativePhoneClick;
-
-    private Long advancedCreativeCounselClick;
-
-    private Long advancedCreativeFormClick;
-
-    private Long advancedCreativeCouponAddition;
-
-    private Long advancedCreativeFormSubmit;
-
-    private Long cardShow;
-
-    private Long share;
-
-    private Long comment;
-
-    private Long like;
-
-    private Long follow;
-
-    private Long homeVisited;
-
-    private Long iesChallengeClick;
-
-    private Long iesMusicClick;
-
-    private Long locationClick;
-
-    private Long messageAction;
-
-    private Long clickLandingPage;
-
-    private Long clickShopwindow;
-
-    private Long clickWebsite;
-
-    private Long clickDownload;
-
-    private Long clickCallDy;
-
-    private Long submitCertificationCount;
-
-    private Long approvalCount;
-
-    private Long firstRentalOrderCount;
-
-    private Long firstOrderCount;
-
-    private Long commuteFirstPayCount;
-
-}

+ 0 - 32
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceFileImageGet.java

@@ -1,32 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-@Data
-public class BytedanceFileImageGet {
-    private Long advertiserId;
-
-    private String id;
-
-    private Long materialId;
-
-    private Long size;
-
-    private Long width;
-
-    private Long height;
-
-    private String url;
-
-    private String format;
-
-    private String signature;
-
-    private String createTime;
-
-    private String filename;
-
-    private String imageUrl;
-
-
-}

+ 0 - 41
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceFileVideoGet.java

@@ -1,41 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-@Data
-public class BytedanceFileVideoGet {
-    private Long advertiserId;
-
-    private String id;
-
-    private Long size;
-
-    private Long width;
-
-    private Long height;
-
-    private String url;
-
-    private String format;
-
-    private String signature;
-
-    private String posterUrl;
-
-    private Long bitRate;
-
-    private Long duration;
-
-    private Long materialId;
-
-    private String source;
-
-    private String createTime;
-
-    private String filename;
-
-    private String labels;
-
-    private String videoUrl;
-
-}

+ 0 - 15
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceMaterialAttributes.java

@@ -1,15 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-@Data
-public class BytedanceMaterialAttributes {
-    private Long materialId;
-
-    private String isAdHighQualityMaterial;
-
-    private String isFirstPublishMaterial;
-
-    private String isInefficientMaterial;
-
-}

+ 0 - 363
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceMaterialReportDaily.java

@@ -1,363 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-
-@Data
-public class BytedanceMaterialReportDaily {
-    private Long advertiserId;
-
-    private Long materialId;
-
-    private String imageMode;
-
-    private String inventory;
-
-    private String statDatetime;
-
-    private BigDecimal cost;
-
-    private Integer show;
-
-    private BigDecimal avgShowCost;
-
-    private Integer click;
-
-    private BigDecimal avgClickCost;
-
-    private BigDecimal ctr;
-
-    private Integer convert;
-
-    private BigDecimal convertCost;
-
-    private BigDecimal convertRate;
-
-    private Integer deepConvert;
-
-    private BigDecimal deepConvertCost;
-
-    private BigDecimal deepConvertRate;
-
-    private Integer attributionConvert;
-
-    private BigDecimal attributionConvertCost;
-
-    private Integer attributionDeepConvert;
-
-    private BigDecimal attributionDeepConvertCost;
-
-    private Integer downloadStart;
-
-    private BigDecimal downloadStartCost;
-
-    private BigDecimal downloadStartRate;
-
-    private Integer downloadFinish;
-
-    private BigDecimal downloadFinishCost;
-
-    private BigDecimal downloadFinishRate;
-
-    private Integer clickInstall;
-
-    private Integer installFinish;
-
-    private BigDecimal installFinishCost;
-
-    private BigDecimal installFinishRate;
-
-    private Integer active;
-
-    private BigDecimal activeCost;
-
-    private BigDecimal activeRate;
-
-    private Integer register;
-
-    private BigDecimal activeRegisterCost;
-
-    private BigDecimal activeRegisterRate;
-
-    private BigDecimal activePayAmount;
-
-    private Integer nextDayOpen;
-
-    private BigDecimal nextDayOpenCost;
-
-    private BigDecimal nextDayOpenRate;
-
-    private Integer attributionNextDayOpenCnt;
-
-    private BigDecimal attributionNextDayOpenCost;
-
-    private BigDecimal attributionNextDayOpenRate;
-
-    private Integer gameAddiction;
-
-    private BigDecimal gameAddictionCost;
-
-    private BigDecimal gameAddictionRate;
-
-    private Integer payCount;
-
-    private BigDecimal activePayCost;
-
-    private BigDecimal activePayRate;
-
-    private Integer loanCompletion;
-
-    private BigDecimal loanCompletionCost;
-
-    private BigDecimal loanCompletionRate;
-
-    private Integer preLoanCredit;
-
-    private BigDecimal preLoanCreditCost;
-
-    private Integer loanCredit;
-
-    private BigDecimal loanCreditCost;
-
-    private BigDecimal loanCreditRate;
-
-    private Integer inAppUv;
-
-    private Integer inAppDetailUv;
-
-    private Integer inAppCart;
-
-    private Integer inAppPay;
-
-    private Integer inAppOrder;
-
-    private Integer attributionGamePay7dCount;
-
-    private BigDecimal attributionGamePay7dCost;
-
-    private Integer attributionActivePay7dPerCount;
-
-    private Integer gamePayCost;
-
-    private Integer gamePayCount;
-
-    private Integer phone;
-
-    private Integer form;
-
-    private Integer mapSearch;
-
-    private Integer button;
-
-    private Integer view;
-
-    private Integer download;
-
-    private Integer qq;
-
-    private Integer lottery;
-
-    private Integer vote;
-
-    private Integer message;
-
-    private Integer redirect;
-
-    private Integer shopping;
-
-    private Integer consult;
-
-    private Integer wechat;
-
-    private Integer phoneConfirm;
-
-    private Integer phoneConnect;
-
-    private Integer consultEffective;
-
-    private Integer coupon;
-
-    private Integer couponSinglePage;
-
-    private Integer redirectToShop;
-
-    private Integer poiCollect;
-
-    private Integer poiAddressClick;
-
-    private Integer lubanOrderCnt;
-
-    private BigDecimal lubanOrderStatAmount;
-
-    private BigDecimal lubanOrderRoi;
-
-    private Integer lubanLiveEnterCnt;
-
-    private Integer liveWatchOneMinuteCount;
-
-    private Integer lubanLiveFollowCnt;
-
-    private Integer liveFansClubJoinCnt;
-
-    private Integer lubanLiveCommentCnt;
-
-    private Integer lubanLiveShareCnt;
-
-    private Integer lubanLiveGiftCnt;
-
-    private BigDecimal lubanLiveGiftAmount;
-
-    private Integer lubanLiveSlidecartClickCnt;
-
-    private Integer lubanLiveClickProductCnt;
-
-    private Integer lubanLivePayOrderCount;
-
-    private BigDecimal lubanLivePayOrderStatCost;
-
-    private Integer wechatLoginCount;
-
-    private Integer attributionWechatLogin30dCount;
-
-    private BigDecimal wechatLoginCost;
-
-    private BigDecimal attributionWechatLogin30dCost;
-
-    private Integer wechatFirstPayCount;
-
-    private Integer attributionWechatFirstPay30dCount;
-
-    private BigDecimal wechatFirstPayCost;
-
-    private BigDecimal attributionWechatFirstPay30dCost;
-
-    private BigDecimal wechatFirstPayRate;
-
-    private BigDecimal attributionWechatFirstPay30dRate;
-
-    private BigDecimal wechatPayAmount;
-
-    private BigDecimal attributionWechatPay30dAmount;
-
-    private BigDecimal attributionWechatPay30dRoi;
-
-    private Integer phoneEffective;
-
-    private Integer totalPlay;
-
-    private Integer validPlay;
-
-    private BigDecimal validPlayCost;
-
-    private BigDecimal validPlayRate;
-
-    private Integer play25FeedBreak;
-
-    private Integer play50FeedBreak;
-
-    private Integer play75FeedBreak;
-
-    private Integer play100FeedBreak;
-
-    private BigDecimal averagePlayTimePerPlay;
-
-    private BigDecimal playOverRate;
-
-    private BigDecimal wifiPlayRate;
-
-    private Integer wifiPlay;
-
-    private Long playDurationSum;
-
-    private Integer advancedCreativePhoneClick;
-
-    private Integer advancedCreativeCounselClick;
-
-    private Integer advancedCreativeFormClick;
-
-    private Integer advancedCreativeCouponAddition;
-
-    private Integer advancedCreativeFormSubmit;
-
-    private Integer cardShow;
-
-    private Integer share;
-
-    private Integer comment;
-
-    private Integer like;
-
-    private Integer follow;
-
-    private Integer homeVisited;
-
-    private Integer iesChallengeClick;
-
-    private Integer iesMusicClick;
-
-    private Integer locationClick;
-
-    private Integer messageAction;
-
-    private Integer clickLandingPage;
-
-    private Integer clickShopwindow;
-
-    private Integer clickWebsite;
-
-    private Integer clickDownload;
-
-    private Integer clickCallDy;
-
-    private BigDecimal cpc;
-
-    private BigDecimal cpm;
-
-    private BigDecimal cpa;
-
-    private BigDecimal interactPerCost;
-
-    private BigDecimal convertShowRate;
-
-    private BigDecimal playDuration10sRate;
-
-    private BigDecimal play50FeedBreakRate;
-
-    private BigDecimal play25FeedBreakRate;
-
-    private BigDecimal playDuration5sRate;
-
-    private BigDecimal playDuration2sRate;
-
-    private BigDecimal averagePlayProgress;
-
-    private BigDecimal play100FeedBreakRate;
-
-    private BigDecimal playDuration3sRate;
-
-    private BigDecimal play75FeedBreakRate;
-
-    private BigDecimal playDuration;
-
-    private BigDecimal playDuration3s;
-
-    private BigDecimal playDuration2s;
-
-    private BigDecimal playDuration10s;
-
-    private BigDecimal averageVideoPlay;
-
-    private BigDecimal avgRank;
-
-    private Integer submitCertificationCount;
-
-    private Integer approvalCount;
-
-    private Integer firstOrderCount;
-
-    private Integer firstRentalOrderCount;
-
-    private Integer commuteFirstPayCount;
-
-}

+ 0 - 41
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedancePromotionList.java

@@ -1,41 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import lombok.Data;
-
-import java.math.BigDecimal;
-
-@Data
-public class BytedancePromotionList {
-
-    private Long advertiserId;
-
-    private Long projectId;
-
-    private Long promotionId;
-
-    private String promotionName;
-
-    private String promotionCreateTime;
-
-    private String promotionModifyTime;
-
-    private String status;
-
-    private String optStatus;
-
-    private String promotionMaterials;
-
-    private String source;
-
-    private String materialScoreInfo;
-
-    private BigDecimal deepCpabid;
-
-    private String roiGoal;
-
-    private BigDecimal cpaBid;
-
-    private BigDecimal budget;
-
-
-}

File diff suppressed because it is too large
+ 0 - 1427
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceV3ProjectReportDaily.java


File diff suppressed because it is too large
+ 0 - 1433
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceV3ProjectReportHourly.java


File diff suppressed because it is too large
+ 0 - 1437
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceV3PromotionProjectReportDaily.java


+ 0 - 46
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/MediaSendAlarmRecord.java

@@ -1,46 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import io.swagger.annotations.ApiModel;
-import lombok.Data;
-import lombok.experimental.Accessors;
-
-import java.util.Date;
-
-/**
- * @Description: 媒体预警发送表
- */
-@Data
-@TableName("ctop_media_send_alarm_record")
-@Accessors(chain = true)
-@ApiModel(value = "ctop_media_send_alarm_record对象", description = "媒体预警发送表")
-public class MediaSendAlarmRecord {
-
-    @TableId(type = IdType.AUTO)
-    private Long id;
-    private Long accountId;
-    private Long planId;
-    private Long projectId;
-    private String userId;
-    private String alarmDetail;
-    private String mediaType;
-    /**
-     * createTime
-     */
-    private Date createTime;
-    /**
-     * updateTime
-     */
-    private Date updateTime;
-
-    public MediaSendAlarmRecord(Long accountId, String mediaType, String alarmDetail) {
-        this.accountId = accountId;
-        this.mediaType = mediaType;
-        this.alarmDetail = alarmDetail;
-    }
-
-    public MediaSendAlarmRecord() {
-    }
-}

+ 0 - 99
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/OauthToken.java

@@ -1,99 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-import lombok.EqualsAndHashCode;
-import lombok.experimental.Accessors;
-import org.springframework.format.annotation.DateTimeFormat;
-
-import java.util.Date;
-
-/**
- * token信息
- *
- * @author jeecg-boot
- * @version V1.0
- * @date 2021-09-07
- */
-@Data
-@TableName("ctop_oauth_token")
-@EqualsAndHashCode(callSuper = false)
-@Accessors(chain = true)
-@ApiModel(value = "ctop_oauth_token对象", description = "token信息")
-public class OauthToken {
-
-    /**
-     * 主键ID
-     */
-    @TableId(type = IdType.UUID)
-    @ApiModelProperty(value = "主键ID")
-    private String id;
-    /**
-     * 媒体ID(外部广告平台类型,快手/头条/抖音等)
-     */
-    @ApiModelProperty(value = "媒体ID(外部广告平台类型,快手/头条/抖音等)")
-    private String mediaId;
-    /**
-     * 广告主ID(自己平台用户内部id)
-     */
-    @ApiModelProperty(value = "广告主ID(自己平台用户内部id)")
-    private String advertiserId;
-    /**
-     * 广告账户ID(相当于头条返回的access_token数据中的advertiser_id)
-     */
-    @ApiModelProperty(value = "广告账户ID(相当于头条返回的access_token数据中的advertiser_id)")
-    private Long accountId;
-    /**
-     * 访问令牌
-     */
-    @ApiModelProperty(value = "访问令牌")
-    private String accessToken;
-    /**
-     * 访问令牌有效期
-     */
-    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
-    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-    @ApiModelProperty(value = "访问令牌有效期")
-    private Date accessTokenExpiresIn;
-    /**
-     * 刷新令牌
-     */
-    @ApiModelProperty(value = "刷新令牌")
-    private String refreshToken;
-    /**
-     * 刷新令牌有效期
-     */
-    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
-    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-    @ApiModelProperty(value = "刷新令牌有效期")
-    private Date refreshTokenExpiresIn;
-    /**
-     * 代理商类型 0:三方代理商 1:本代理商
-     */
-    @ApiModelProperty(value = "代理商类型 0:三方代理商 1:本代理商")
-    private Integer agentType;
-    /**
-     * appid
-     */
-    @ApiModelProperty(value = "appid")
-    private Integer appId;
-    /**
-     * 创建时间
-     */
-    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
-    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-    @ApiModelProperty(value = "创建时间")
-    private Date createTime;
-    /**
-     * 修改时间
-     */
-    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
-    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-    @ApiModelProperty(value = "修改时间")
-    private Date updateTime;
-}

+ 0 - 153
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/Project.java

@@ -1,153 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import com.alibaba.fastjson.JSONArray;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableField;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-import lombok.EqualsAndHashCode;
-import lombok.experimental.Accessors;
-import org.jeecgframework.poi.excel.annotation.Excel;
-import org.springframework.format.annotation.DateTimeFormat;
-
-import java.math.BigDecimal;
-import java.util.Date;
-
-/**
- * 项目
- *
- * @author jeecg-boot
- * @version V1.0
- * @date 2019-11-19
- */
-@Data
-@TableName("ctop_project")
-@EqualsAndHashCode(callSuper = false)
-@Accessors(chain = true)
-@ApiModel(value = "ctop_project对象", description = "项目")
-public class Project {
-    /**
-     * id
-     */
-    @TableId(type = IdType.AUTO)
-    @ApiModelProperty(value = "id")
-    private Long id;
-    /**
-     * 项目名称
-     */
-    @Excel(name = "项目名称", width = 15)
-    @ApiModelProperty(value = "项目名称")
-    private String projectName;
-    /**
-     * 广告主id
-     */
-    @Excel(name = "广告主id", width = 15)
-    @ApiModelProperty(value = "广告主id")
-    private String advertiserId;
-
-
-    @Excel(name = "产品id", width = 15)
-    @ApiModelProperty(value = "广告主id")
-    private Long productId;
-
-    /**
-     * 创建人
-     */
-    @Excel(name = "创建人", width = 15)
-    @ApiModelProperty(value = "创建人")
-    private String userId;
-    /**
-     * 负责人id
-     */
-    @Excel(name = "负责人id", width = 15)
-    @ApiModelProperty(value = "负责人id")
-    private String responsibleId;
-
-
-    @Excel(name = "设计负责人", width = 15)
-    @ApiModelProperty(value = "设计负责人")
-    private String designResponsibleId;
-
-
-    @Excel(name = "公司id", width = 15)
-    @ApiModelProperty(value = "公司id")
-    private String companyId;
-    /**
-     * 媒体类型
-     */
-    @Excel(name = "媒体类型", width = 15)
-    @ApiModelProperty(value = "媒体类型")
-    private String mediaId;
-
-    /**
-     * 最高出价
-     */
-    private Long maxBid;
-
-    private String supplierCode;
-
-
-    // 销售
-    private String saleId;
-    /**
-     * 最高深度转化出价
-     */
-    private BigDecimal maxDeepCpaBid;
-    private Integer checkLink;
-    private Integer materialShare;
-    /**
-     * 创建时间
-     */
-    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
-    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
-    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-    @ApiModelProperty(value = "创建时间")
-    private Date createTime;
-    /**
-     * 修改时间
-     */
-    @Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
-    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
-    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-    @ApiModelProperty(value = "修改时间")
-    private Date updateTime;
-
-
-    //优化目标出价类型
-    private String bidType;
-
-    //转化目标
-    private String ocpxActionType;
-
-    //深度转化目标
-    private String deepConversionType;
-
-    @TableField(exist = false)
-    private String responsibleId_dictText; // 运营负责人
-
-    @TableField(exist = false)
-    private String saleId_dictText; // 销售
-
-    @TableField(exist = false)
-    private String designResponsibleId_dictText; // 设计负责人
-    @TableField(exist = false)
-    private String advertiserId_dictText; // 广告主名称
-    @TableField(exist = false)
-    private String productId_dictText; // 产品名称
-    @TableField(exist = false)
-    private Integer needExamine;
-    @TableField(exist = false)
-    private String supplierCode_dictText;
-
-    //转化目标
-    @TableField(exist = false)
-    private JSONArray ocpxActionTypeArray;
-
-    //深度转化目标
-    @TableField(exist = false)
-    private JSONArray deepConversionTypeArray;
-}

+ 0 - 172
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/UserAllocation.java

@@ -1,172 +0,0 @@
-package cn.com.ctop.job.bytedance.data.entity;
-
-import cn.com.ctop.job.bytedance.data.annotation.Dict;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-import lombok.EqualsAndHashCode;
-import lombok.experimental.Accessors;
-import org.jeecgframework.poi.excel.annotation.Excel;
-import org.springframework.format.annotation.DateTimeFormat;
-
-import java.math.BigDecimal;
-import java.util.Date;
-
-/**
- * 用户分配
- *
- * @author jeecg-boot
- * @version V1.0
- * @date 2019-08-08
- */
-@Data
-@TableName("ctop_user_allocation")
-@EqualsAndHashCode(callSuper = false)
-@Accessors(chain = true)
-@ApiModel(value = "ctop_user_allocation对象", description = "用户分配")
-public class UserAllocation {
-
-    /**
-     * 主键ID
-     */
-    @TableId(type = IdType.AUTO)
-    @ApiModelProperty(value = "主键ID")
-    private Long id;
-    /**
-     * 登陆人id
-     */
-    @Excel(name = "登陆人id", width = 15)
-    @ApiModelProperty(value = "登陆人id")
-    private String userId;
-
-
-    @Excel(name = "登陆人名称", width = 15)
-    @ApiModelProperty(value = "登陆人名称")
-    private String userName;
-
-    /**
-     * 账户id --授权
-     */
-    @Excel(name = "账户id --授权", width = 15)
-    @ApiModelProperty(value = "账户id --授权")
-    private Long accountId;
-    /**
-     * 广告主ID
-     */
-    @Excel(name = "广告主ID", width = 15)
-    @ApiModelProperty(value = "广告主ID")
-    private String advertiserId;
-
-    private String systemType;
-
-    /**
-     * 项目id
-     */
-    @Dict(dicCode = "id", dictTable = "ctop_project", dicText = "project_name")
-    private Long projectId;
-
-    /**
-     * 输入账号  --登陆
-     */
-    @Excel(name = "输入账号  --登陆", width = 15)
-    @ApiModelProperty(value = "输入账号  --登陆")
-    private String accountName;
-
-    /**
-     * 预警 金额
-     */
-    private BigDecimal warningAmount;
-
-    /**
-     * 预警 比例
-     */
-    private BigDecimal warningProportion;
-
-    /**
-     * 创建时间
-     */
-    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
-    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
-    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-    @ApiModelProperty(value = "创建时间")
-    private Date createTime;
-
-    /**
-     * 授权名称
-     */
-    @Excel(name = "授权名称", width = 15)
-    @ApiModelProperty(value = "授权名称")
-    private String authName;
-
-    /**
-     * 授权开始时间
-     */
-    @Excel(name = "授权开始时间", width = 15)
-    @ApiModelProperty(value = "授权开始时间")
-    private String authBeginTime;
-
-
-    /**
-     * 0 启动
-     * 1 禁用
-     */
-    private Integer accountStatus;
-
-    /**
-     * 检测链接预警
-     * 0 启动
-     * 1 禁用
-     */
-    private Integer monitoringLink;
-
-    /**
-     * 检测链接预警
-     * 0 启动
-     * 1 禁用
-     */
-    private Integer landingPage;
-
-    /**
-     * 是否开启删评论
-     * 0 启动
-     * 1 禁用
-     */
-    private Integer deleteComment;
-    /**
-     * 自动投放,0关闭,1开启
-     */
-    private Integer autoDelivery;
-    /**
-     * 物料类型 0-不同步,1应用包,(2人群包,3定向包)
-     */
-    private String materialType;
-
-    /**
-     * 修改时间
-     */
-    @Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
-    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
-    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-    @ApiModelProperty(value = "修改时间")
-    private Date updateTime;
-    /**
-     * 平台类型 1 头条 2快手
-     */
-    @Excel(name = "平台类型 1 头条 2快手", width = 15)
-    @ApiModelProperty(value = "平台类型 1 头条 2快手")
-    private String mediaId;
-
-
-
-
-   /* @TableField(exist = false)
-    private String advertiserName;
-
-    @TableField(exist = false)
-    private String projectName;*/
-
-}

+ 0 - 53
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/enums/InventoryEnum.java

@@ -1,53 +0,0 @@
-package cn.com.ctop.job.bytedance.data.enums;
-
-/**
- * 素材类型
- */
-public enum InventoryEnum {
-
-
-    String1("INVENTORY_FEED", "头条信息流"),
-    String2("INVENTORY_TEXT_LINK", "头条文章详情页"),
-    String3("INVENTORY_VIDEO_FEED", "西瓜信息流"),
-    String4("INVENTORY_HOTSOON_FEED", "火山信息流"),
-    String5("INVENTORY_AWEME_FEED", "抖音信息流"),
-    String6("INVENTORY_UNION_SLOT", "穿山甲"),
-    String7("UNION_BOUTIQUE_GAME", "ohayoo精品游戏"),
-    String8("INVENTORY_UNION_SPLASH_SLOT", "穿山甲开屏广告"),
-    String9("INVENTORY_SEARCH", "搜索广告"),
-    String10("INVENTORY_UNIVERSAL", "通投智选"),
-    String11("INVENTORY_BEAUTY", "轻颜相机"),
-    String12("INVENTORY_PIPIXIA", "皮皮虾"),
-    String13("INVENTORY_AUTOMOBILE", "懂车帝"),
-    String14("INVENTORY_STUDY", "好好学习"),
-    String15("INVENTORY_FACE_U", "faceu"),
-    String16("INVENTORY_TOMATO_NOVEL", "番茄小说"),
-    String17("INVENTORY_HOMED_AGGREGATE", "住小帮");
-
-    private String code;
-    private String name;
-
-
-    public String getCode() {
-        return code;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    private InventoryEnum(String code, String name) {
-        this.code = code;
-        this.name = name;
-    }
-
-    public static String getNameByCode(String code) {
-        for (InventoryEnum material : InventoryEnum.values()) {
-            if (material.getCode().equals(code)) {
-                return material.getName();
-            }
-        }
-        return "-";
-    }
-
-}

+ 0 - 108
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/enums/MaterialEnum.java

@@ -1,108 +0,0 @@
-package cn.com.ctop.job.bytedance.data.enums;
-
-/**
- * 素材类型
- */
-public enum MaterialEnum {
-
-
-    VerticalVideoSmall(1, 720, 1280),
-    VerticalVideo787Small(1, 787, 1280),
-    VerticalVideo846Small(1, 846, 1536),
-    VerticalVideo1080mall(1, 1080, 2200),
-    VerticalVideoBig(1, 1080, 1920),
-    VerticalVideo360(1, 360, 640),
-    VerticalVideo362(1, 362, 640),
-    VerticalVideo368(1, 368, 490),
-    VerticalVideo363(1, 363, 640),
-    VerticalVideo438(1, 438, 640),
-    VerticalVideo480(1, 480, 640),
-    VerticalVideo525(1, 525, 640),
-    VerticalVideo540(1, 540, 960),
-    VerticalVideo544(1, 544, 726),
-    VerticalVideo590(1, 590, 1280),
-    VerticalVideo694(1, 694, 1236),
-    VerticalVideo704(1, 704, 1252),
-    VerticalVideo710(1, 710, 1264),
-    VerticalVideo714(1, 714, 1270),
-    VerticalVideo716(1, 716, 1276),
-    VerticalVideo718(1, 718, 1278),
-    VerticalVideo719(1, 719, 1170),
-    VerticalVideo720(1, 720, 960),
-    VerticalVideo750(1, 750, 1334),
-    VerticalVideo787(1, 787, 1280),
-    VerticalVideo864(1, 864, 1536),
-    VerticalVideo1088(1, 1088, 1920),
-    VerticalVideo1181(1, 1181, 1920),
-    VerticalVideo1216(1, 1216, 2160),
-    VerticalVideo1296(1, 1296, 2304),
-    VerticalVideo1440(1, 1440, 2560),
-    VerticalVideo2160(1, 2160, 3840),
-    HorizontalVideoSmall(2, 1280, 720),
-    HorizontalVideoBig(2, 1920, 1080),
-    HorizontalVideo640(2, 640, 368),
-    HorizontalVideo1281(2, 1281, 720),
-    HorizontalVideo1400(2, 1400, 720),
-    HorizontalVideo1700(2, 1700, 1080),
-    HorizontalVideo1902(2, 1902, 1080),
-    HorizontalVideo1920(2, 1920, 1080),
-    BianlitieImageBig(4, 540, 540),
-    BianLitieImageSmall(4, 450, 450);
-
-    private Integer type;
-    private Integer width;
-    private Integer height;
-
-
-    private MaterialEnum(Integer type, Integer width, Integer height) {
-        this.type = type;
-        this.width = width;
-        this.height = height;
-    }
-
-    public static Integer getTypeBySize(Integer widthStr, Integer heightStr) {
-        for (MaterialEnum material : MaterialEnum.values()) {
-            Integer width = material.getWidth();
-            Integer height = material.getHeight();
-            if (widthStr.equals(width) && heightStr.equals(height)) {
-                return material.getType();
-            }
-        }
-
-        return 1;
-    }
-
-
-    public Integer getType() {
-        return type;
-    }
-
-    public void setType(Integer type) {
-        this.type = type;
-    }
-
-    public Integer getWidth() {
-        return width;
-    }
-
-    public void setWidth(Integer width) {
-        this.width = width;
-    }
-
-    public Integer getHeight() {
-        return height;
-    }
-
-    public void setHeight(Integer height) {
-        this.height = height;
-    }
-
-    @Override
-    public String toString() {
-        return "MaterialEnum{" +
-                "type=" + type +
-                ", width=" + width +
-                ", height=" + height +
-                '}';
-    }
-}

+ 0 - 14
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/ByteDanceAdvertisePlanHourlyMapper.java

@@ -1,14 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-
-/**
- * @Description: 今日头条广告计划信息
- * @Author: jeecg-boot
- * @Date: 2019-07-22
- * @Version: V1.0
- */
-public interface ByteDanceAdvertisePlanHourlyMapper  {
-
-
-}

+ 0 - 15
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAdGetMapper.java

@@ -1,15 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceAdGet;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceAdGetMapper {
-
-
-    int insert(@Param("list") List<BytedanceAdGet> list);
-
-
-}

+ 0 - 15
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAdReportDailyMapper.java

@@ -1,15 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceAdReportDaily;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceAdReportDailyMapper {
-
-    int insert(@Param("list") List<BytedanceAdReportDaily> list);
-
-
-}

+ 0 - 14
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAdReportHourlyMapper.java

@@ -1,14 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceAdReportHourly;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceAdReportHourlyMapper {
-
-    int insert(@Param("list") List<BytedanceAdReportHourly> list);
-
-
-}

+ 0 - 18
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAdvertiserHourlyReportMapper.java

@@ -1,18 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-import org.apache.ibatis.annotations.Param;
-
-import java.math.BigDecimal;
-
-/**
- * @Description: 广告主小时级别报表信息
- * @Author: jeecg-boot
- * @Date: 2019-09-10
- * @Version: V1.0
- */
-public interface BytedanceAdvertiserHourlyReportMapper {
-
-    Integer selectMaxHour(@Param("accountId") Long accountId, @Param("statDate") Integer statDate);
-
-    BigDecimal getCost(@Param("accountId") Long accountId, @Param("statHour") Integer statHour, @Param("statDate") Integer statDate);
-}

+ 0 - 28
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAdvertiserReportDailyMapper.java

@@ -1,28 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.ByteDanceNewMaterialReport;
-import cn.com.ctop.job.bytedance.data.entity.BytedanceAdvertiserReportDaily;
-import cn.com.ctop.job.bytedance.data.entity.BytedanceV3ProjectReportDaily;
-import cn.com.ctop.job.bytedance.data.entity.BytedanceV3PromotionProjectReportDaily;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceAdvertiserReportDailyMapper {
-
-
-    int insert(@Param("list") List<BytedanceAdvertiserReportDaily> list);
-
-    void insertV3Project(@Param("list") List<BytedanceV3ProjectReportDaily> dailyList);
-
-    void insertV3PromotionProject(@Param("list") List<BytedanceV3PromotionProjectReportDaily> dailyList);
-
-    void insertV3PromotionProjectVideo(@Param("list") List<ByteDanceNewMaterialReport> videolist);
-
-    void insertV3PromotionProjectImage(@Param("list") List<ByteDanceNewMaterialReport> imageList);
-
-    void insertPosition(@Param("list") List<BytedanceAdvertiserReportDaily> list);
-
-    void insertV3PromotionProjectHour(@Param("list") List<BytedanceV3PromotionProjectReportDaily> hourlyList);
-}

+ 0 - 15
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAdvertiserReportHourlyMapper.java

@@ -1,15 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceAdvertiserReportHourly;
-import cn.com.ctop.job.bytedance.data.entity.BytedanceV3ProjectReportHourly;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceAdvertiserReportHourlyMapper {
-
-    int insert(@Param("list") List<BytedanceAdvertiserReportHourly> list);
-
-    int insertV3Project(@Param("list") List<BytedanceV3ProjectReportHourly> hourlyList);
-}

+ 0 - 13
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAgentReportDailyMapper.java

@@ -1,13 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceAgentReportDaily;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceAgentReportDailyMapper {
-
-    int insert(@Param("list") List<BytedanceAgentReportDaily> list);
-
-}

+ 0 - 15
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAgentReportHourlyMapper.java

@@ -1,15 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceAgentReportHourly;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceAgentReportHourlyMapper {
-
-    int insert(@Param("list") List<BytedanceAgentReportHourly> list);
-
-
-}

+ 0 - 13
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceAudiencePackageGetMapper.java

@@ -1,13 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceAudiencePackageGet;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceAudiencePackageGetMapper {
-
-    int insert(@Param("list") List<BytedanceAudiencePackageGet> list);
-
-}

+ 0 - 14
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceCampaignGetMapper.java

@@ -1,14 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceCampaignGet;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceCampaignGetMapper {
-
-    int insert(@Param("list")List<BytedanceCampaignGet> list);
-
-
-}

+ 0 - 14
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceCampaignReportDailyMapper.java

@@ -1,14 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceCampaignReportDaily;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceCampaignReportDailyMapper {
-
-    int insert(@Param("list")List<BytedanceCampaignReportDaily> list);
-
-
-}

+ 0 - 13
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceCampaignReportHourlyMapper.java

@@ -1,13 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceCampaignReportHourly;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceCampaignReportHourlyMapper {
-
-    int insert(@Param("list") List<BytedanceCampaignReportHourly> list);
-
-}

+ 0 - 14
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceCreativeGetMapper.java

@@ -1,14 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceCreativeGet;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceCreativeGetMapper {
-
-    int insert(@Param("list") List<BytedanceCreativeGet> list);
-
-
-}

+ 0 - 14
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceCreativeReportDailyMapper.java

@@ -1,14 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceCreativeReportDaily;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceCreativeReportDailyMapper {
-
-    int insert(@Param("list") List<BytedanceCreativeReportDaily> list);
-
-
-}

+ 0 - 14
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceCreativeReportHourlyMapper.java

@@ -1,14 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceCreativeReportHourly;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceCreativeReportHourlyMapper {
-
-    int insert(@Param("list") List<BytedanceCreativeReportHourly> list);
-
-
-}

+ 0 - 14
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceFileImageGetMapper.java

@@ -1,14 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceFileImageGet;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceFileImageGetMapper {
-
-    int insert(@Param("list") List<BytedanceFileImageGet> list);
-
-
-}

+ 0 - 16
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceFileVideoGetMapper.java

@@ -1,16 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceFileVideoGet;
-import cn.com.ctop.job.bytedance.data.entity.BytedanceMaterialAttributes;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceFileVideoGetMapper {
-
-
-    int insert(@Param("list") List<BytedanceFileVideoGet> list);
-
-    void insertMaterialAttributesData(@Param("list") List<BytedanceMaterialAttributes> list);
-}

+ 0 - 14
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceFundMapper.java

@@ -1,14 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-import com.alibaba.fastjson.JSONObject;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceFundMapper {
-    void replaceFundGet(@Param("data") JSONObject data);
-
-    void updateFundGet(@Param("accountId") Long accountId, @Param("requestDesc") String requestDesc);
-
-    List<Long> getAccountList();
-}

+ 0 - 14
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceMaterialReportDailyMapper.java

@@ -1,14 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceMaterialReportDaily;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceMaterialReportDailyMapper {
-
-    int insert(@Param("list") List<BytedanceMaterialReportDaily> list);
-
-
-}

+ 0 - 20
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceNewMaterialReportMapper.java

@@ -1,20 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.ByteDanceNewMaterialReport;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceNewMaterialReportMapper {
-
-    /**
-     * 头条-新增体验版素材日报 -视频和图片
-     * @param list
-     * @return
-     */
-    int replaceBytedanceNewMaterialVideoDaily(@Param("list") List<ByteDanceNewMaterialReport> list);
-    int replaceBytedanceNewMaterialImageDaily(@Param("list") List<ByteDanceNewMaterialReport> list);
-
-
-}

+ 0 - 28
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedanceProjectMapper.java

@@ -1,28 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceCdpProject;
-import cn.com.ctop.job.bytedance.data.entity.MediaSendAlarmRecord;
-import com.alibaba.fastjson.JSONObject;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedanceProjectMapper {
-
-    Long getProjectId(@Param("accountId") Long accountId);
-
-    int replaceProjectList(@Param("list") List<BytedanceCdpProject> list);
-
-    List<JSONObject> getWChatIdsByAccountId(@Param("accountId") Long accountId);
-
-    void insertSendRecord(MediaSendAlarmRecord record);
-
-    List<Long> getBytedanceRefusalSend(@Param("accountId") Long accountId);
-
-    List<Long> getSpecialProject();
-
-    void insertSendAccountId(@Param("accountId") Long accountId, @Param("adId") Long adId, @Param("counts") Integer counts);
-
-    Integer getrefusalAccountCounts(@Param("accountId") Long accountId, @Param("adId") Long adId);
-}

+ 0 - 14
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/BytedancePromotionListMapper.java

@@ -1,14 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-
-import cn.com.ctop.job.bytedance.data.entity.BytedancePromotionList;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-public interface BytedancePromotionListMapper {
-
-    int replacePromotionList(@Param("list")List<BytedancePromotionList> list);
-
-
-}

+ 0 - 32
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/OauthTokenMapper.java

@@ -1,32 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-import cn.com.ctop.job.bytedance.data.entity.OauthToken;
-import com.alibaba.fastjson.JSONObject;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-/**
- * token信息
- *
- * @author jeecg-boot 2021-09-07
- * @version V1.0
- */
-public interface OauthTokenMapper extends BaseMapper<OauthToken> {
-    String getByAccountId(@Param("accountId") Long accountId);
-
-    List<Long> getAgentByTouTiao();
-
-    List<Long> getAllToutiaoAccountIds();
-
-    String getAgentToken(@Param("agentId") Long agentId);
-
-    List<JSONObject> getAgentTokens();
-
-    List<JSONObject> getByProjectId(@Param("projectId") Long projectId);
-
-    JSONObject getProjectByAccountId(@Param("accountId") Long accountId);
-
-    List<JSONObject> getBytedanceOcpxTypeList();
-}

+ 0 - 72
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/UserAllocationMapper.java

@@ -1,72 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-import cn.com.ctop.job.bytedance.data.entity.Project;
-import cn.com.ctop.job.bytedance.data.entity.UserAllocation;
-import com.alibaba.fastjson.JSONArray;
-import com.alibaba.fastjson.JSONObject;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-/**
- * @Description: 用户分配
- * @Author: jeecg-boot
- * @Date: 2019-08-08
- * @Version: V1.0
- */
-public interface UserAllocationMapper extends BaseMapper<UserAllocation> {
-    List<UserAllocation> selectAccountListByProjectId(@Param("projectId") Long projectId);
-
-    String queryAdvertiserId(@Param("accountId") Long accountId);
-
-    String queryUserIdByAccountId(@Param("accountId") Long accountId);
-
-    List<JSONObject> getAccountListByProject(@Param("projectId") Long projectId);
-
-    List<JSONObject> getUserIdListByProjectId(@Param("projectId") Long projectId);
-
-    List<JSONObject> getAccountIdListByUserId(@Param("userId") String userId);
-
-    List<JSONObject> getAccountIdsByUserId(@Param("userId") String userId);
-
-    List<JSONObject> getAllAccountIdsByMediaId(@Param("mediaId") String mediaId);
-
-    Long getProjectIdByAccountId(@Param("accountId") Long accountId);
-
-    UserAllocation getUserAllocation(@Param("accountId") Long accountId);
-
-    JSONObject getSwitchStatusByAccount(@Param("accountId") Long accountId);
-
-    List<Long> queryAccountsByDeleteComment();
-
-    String getCompanyNameByUserId(@Param("planId") String planId);
-
-    List<UserAllocation> listByMediaId(@Param("mediaId") String mediaId, @Param("accountStatus") Integer accountStatus);
-
-    List<JSONObject> getAccountListByProjectList(@Param("list") List list);
-
-    List<Long> getValidProjectIds(@Param("mediaId") Integer mediaId);
-
-    List<UserAllocation> getAccountListByUserIdAndProductId(@Param("userId") String userId, @Param("projectId") Long projectId, @Param("productId") Long productId);
-
-    List<JSONObject> getUserIdListByProductId(@Param("productId") Long productId);
-
-    List<JSONObject> getByAccountIds(@Param("accountIds") JSONArray accountIds);
-
-    List<Long> getKuaiShouUserIdListByProjectId(@Param("projectId") Long projectId);
-
-    List<JSONObject> selectAccountsByKuaishouUserId(@Param("userId") Long userId);
-
-    int updateProjectStrategyStatus(@Param("accountId") Long accountId, @Param("projectStrategy") Integer projectStrategy);
-
-    List<Long> queryAutomaticAccounts(@Param("projectId") Long projectId);
-
-    List<Long> getIdList();
-
-    JSONObject getProjectByAccountId(Long accountId);
-
-    Project getProjectEntity(Long projectId);
-
-    UserAllocation getOneByAccountId(Long accountId);
-}

+ 0 - 18
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/WexinConfigMapper.java

@@ -1,18 +0,0 @@
-package cn.com.ctop.job.bytedance.data.mapper;
-
-import cn.com.ctop.job.bytedance.data.utils.weixin.WexinConfig;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-
-import java.util.List;
-
-/**
- * 企业微信配置信息
- *
- * @author jeecg-boot
- * 2021-06-17
- * @version V1.0
- */
-public interface WexinConfigMapper extends BaseMapper<WexinConfig> {
-
-    List<WexinConfig> getAll();
-}

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

@@ -1,98 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceAdGetMapper" >
-  <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceAdGet" >
-    <id column="id" property="id" jdbcType="BIGINT" />
-    <result column="account_id" property="accountId" jdbcType="BIGINT" />
-    <result column="name" property="name" jdbcType="VARCHAR" />
-    <result column="campaign_id" property="campaignId" jdbcType="BIGINT" />
-    <result column="operation" property="operation" jdbcType="VARCHAR" />
-    <result column="plan_modify_time" property="planModifyTime" jdbcType="VARCHAR" />
-    <result column="delivery_range" property="deliveryRange" jdbcType="VARCHAR" />
-    <result column="union_video_type" property="unionVideoType" jdbcType="VARCHAR" />
-    <result column="deep_bid_type" property="deepBidType" jdbcType="VARCHAR" />
-    <result column="deep_cpa_bid" property="deepCpaBid" jdbcType="DECIMAL" />
-    <result column="ad_modify_time" property="adModifyTime" jdbcType="VARCHAR" />
-    <result column="ad_create_time" property="adCreateTime" jdbcType="VARCHAR" />
-    <result column="budget_mode" property="budgetMode" jdbcType="VARCHAR" />
-    <result column="budget" property="budget" jdbcType="DECIMAL" />
-    <result column="toutiao_status" property="toutiaoStatus" jdbcType="VARCHAR" />
-    <result column="opt_status" property="optStatus" jdbcType="VARCHAR" />
-    <result column="start_time" property="startTime" jdbcType="VARCHAR" />
-    <result column="end_time" property="endTime" jdbcType="VARCHAR" />
-    <result column="bid" property="bid" jdbcType="DECIMAL" />
-    <result column="pricing" property="pricing" jdbcType="VARCHAR" />
-    <result column="schedule_type" property="scheduleType" jdbcType="VARCHAR" />
-    <result column="schedule_time" property="scheduleTime" jdbcType="VARCHAR" />
-    <result column="flow_control_mode" property="flowControlMode" jdbcType="VARCHAR" />
-    <result column="download_type" property="downloadType" jdbcType="VARCHAR" />
-    <result column="external_url" property="externalUrl" jdbcType="VARCHAR" />
-    <result column="app_type" property="appType" jdbcType="VARCHAR" />
-    <result column="audit_reject_reason" property="auditRejectReason" jdbcType="VARCHAR" />
-    <result column="cpa_bid" property="cpaBid" jdbcType="DECIMAL" />
-    <result column="cpa_skip_first_phrase" property="cpaSkipFirstPhrase" jdbcType="INTEGER" />
-    <result column="convert_id" property="convertId" jdbcType="BIGINT" />
-    <result column="hide_if_converted" property="hideIfConverted" jdbcType="VARCHAR" />
-    <result column="hide_if_exists" property="hideIfExists" jdbcType="INTEGER" />
-    <result column="modify_time" property="modifyTime" jdbcType="VARCHAR" />
-    <result column="gender" property="gender" jdbcType="VARCHAR" />
-    <result column="platform" property="platform" jdbcType="VARCHAR" />
-    <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
-    <result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
-    <result column="plan_status" property="planStatus" jdbcType="INTEGER" />
-    <result column="converted_time_duration" property="convertedTimeDuration" jdbcType="VARCHAR" />
-    <result column="luban_roi_goal" property="lubanRoiGoal" jdbcType="DECIMAL" />
-    <result column="roi_goal" property="roiGoal" jdbcType="DECIMAL" />
-    <result column="inventory_type" property="inventoryType" jdbcType="VARCHAR" />
-    <result column="audience_package_id" property="audiencePackageId" jdbcType="VARCHAR" />
-  </resultMap>
-
-  <sql id="Base_Column_List" >
-    id, account_id, name, campaign_id, operation, plan_modify_time, delivery_range, union_video_type, 
-    deep_bid_type, deep_cpa_bid, ad_modify_time, ad_create_time, budget_mode, budget, 
-    toutiao_status, opt_status, start_time, end_time, bid, pricing, schedule_type, schedule_time, 
-    flow_control_mode, download_type, external_url, app_type, audit_reject_reason, cpa_bid, 
-    cpa_skip_first_phrase, convert_id, hide_if_converted, hide_if_exists, modify_time, 
-    gender, platform, create_time, update_time, plan_status, converted_time_duration, 
-    luban_roi_goal, roi_goal, inventory_type, audience_package_id
-  </sql>
-
-  <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceAdGet" >
-    replace into bytedance_ad_get (id, account_id, name,
-      campaign_id, operation, plan_modify_time, 
-      delivery_range, union_video_type, deep_bid_type, 
-      deep_cpa_bid, ad_modify_time, ad_create_time, 
-      budget_mode, budget, toutiao_status, 
-      opt_status, start_time, end_time, 
-      bid, pricing, schedule_type, 
-      schedule_time, flow_control_mode, download_type, 
-      external_url, app_type, audit_reject_reason, 
-      cpa_bid, cpa_skip_first_phrase, convert_id, 
-      hide_if_converted, hide_if_exists, modify_time, 
-      gender, platform, create_time, 
-      update_time, plan_status, converted_time_duration, 
-      luban_roi_goal, roi_goal, inventory_type, 
-      audience_package_id, open_url, toutiao_package, 
-      audience, download_url)
-    values
-    <foreach collection="list" item="item" separator=",">
-        (#{item.id,jdbcType=BIGINT}, #{item.accountId,jdbcType=BIGINT}, #{item.name,jdbcType=VARCHAR},
-      #{item.campaignId,jdbcType=BIGINT}, #{item.operation,jdbcType=VARCHAR}, #{item.planModifyTime,jdbcType=VARCHAR}, 
-      #{item.deliveryRange,jdbcType=VARCHAR}, #{item.unionVideoType,jdbcType=VARCHAR}, #{item.deepBidType,jdbcType=VARCHAR}, 
-      #{item.deepCpaBid,jdbcType=DECIMAL}, #{item.adModifyTime,jdbcType=VARCHAR}, #{item.adCreateTime,jdbcType=VARCHAR}, 
-      #{item.budgetMode,jdbcType=VARCHAR}, #{item.budget,jdbcType=DECIMAL}, #{item.toutiaoStatus,jdbcType=VARCHAR}, 
-      #{item.optStatus,jdbcType=VARCHAR}, #{item.startTime,jdbcType=VARCHAR}, #{item.endTime,jdbcType=VARCHAR}, 
-      #{item.bid,jdbcType=DECIMAL}, #{item.pricing,jdbcType=VARCHAR}, #{item.scheduleType,jdbcType=VARCHAR}, 
-      #{item.scheduleTime,jdbcType=VARCHAR}, #{item.flowControlMode,jdbcType=VARCHAR}, #{item.downloadType,jdbcType=VARCHAR}, 
-      #{item.externalUrl,jdbcType=VARCHAR}, #{item.appType,jdbcType=VARCHAR}, #{item.auditRejectReason,jdbcType=VARCHAR}, 
-      #{item.cpaBid,jdbcType=DECIMAL}, #{item.cpaSkipFirstPhrase,jdbcType=INTEGER}, #{item.convertId,jdbcType=BIGINT}, 
-      #{item.hideIfConverted,jdbcType=VARCHAR}, #{item.hideIfExists,jdbcType=INTEGER}, #{item.modifyTime,jdbcType=VARCHAR}, 
-      #{item.gender,jdbcType=VARCHAR}, #{item.platform,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, 
-      #{item.updateTime,jdbcType=TIMESTAMP}, #{item.planStatus,jdbcType=INTEGER}, #{item.convertedTimeDuration,jdbcType=VARCHAR}, 
-      #{item.lubanRoiGoal,jdbcType=DECIMAL}, #{item.roiGoal,jdbcType=DECIMAL}, #{item.inventoryType,jdbcType=VARCHAR}, 
-      #{item.audiencePackageId,jdbcType=BIGINT}, #{item.openUrl,jdbcType=LONGVARCHAR}, #{item.toutiaoPackage,jdbcType=LONGVARCHAR},
-      #{item.audience,jdbcType=LONGVARCHAR}, #{item.downloadUrl,jdbcType=LONGVARCHAR})
-    </foreach>
-  </insert>
-
-</mapper>

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

@@ -1,337 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceAdReportDailyMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceAdReportDaily">
-        <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
-        <id column="campaign_id" property="campaignId" jdbcType="BIGINT"/>
-        <id column="ad_id" property="adId" jdbcType="BIGINT"/>
-        <id column="stat_datetime" property="statDatetime" jdbcType="INTEGER"/>
-        <result column="campaign_name" property="campaignName" jdbcType="VARCHAR"/>
-        <result column="ad_name" property="adName" jdbcType="VARCHAR"/>
-        <result column="cost" property="cost" jdbcType="DECIMAL"/>
-        <result column="show" property="show" jdbcType="BIGINT"/>
-        <result column="avg_show_cost" property="avgShowCost" jdbcType="DECIMAL"/>
-        <result column="click" property="click" jdbcType="BIGINT"/>
-        <result column="avg_click_cost" property="avgClickCost" jdbcType="DECIMAL"/>
-        <result column="ctr" property="ctr" jdbcType="DECIMAL"/>
-        <result column="convert" property="convert" jdbcType="BIGINT"/>
-        <result column="convert_cost" property="convertCost" jdbcType="DECIMAL"/>
-        <result column="convert_rate" property="convertRate" jdbcType="DECIMAL"/>
-        <result column="deep_convert" property="deepConvert" jdbcType="BIGINT"/>
-        <result column="deep_convert_cost" property="deepConvertCost" jdbcType="DECIMAL"/>
-        <result column="deep_convert_rate" property="deepConvertRate" jdbcType="DECIMAL"/>
-        <result column="attribution_convert" property="attributionConvert" jdbcType="BIGINT"/>
-        <result column="attribution_convert_cost" property="attributionConvertCost" jdbcType="DECIMAL"/>
-        <result column="attribution_deep_convert" property="attributionDeepConvert" jdbcType="BIGINT"/>
-        <result column="attribution_deep_convert_cost" property="attributionDeepConvertCost" jdbcType="DECIMAL"/>
-        <result column="download_start" property="downloadStart" jdbcType="BIGINT"/>
-        <result column="download_start_cost" property="downloadStartCost" jdbcType="DECIMAL"/>
-        <result column="download_start_rate" property="downloadStartRate" jdbcType="DECIMAL"/>
-        <result column="download_finish" property="downloadFinish" jdbcType="BIGINT"/>
-        <result column="download_finish_cost" property="downloadFinishCost" jdbcType="DECIMAL"/>
-        <result column="download_finish_rate" property="downloadFinishRate" jdbcType="DECIMAL"/>
-        <result column="click_install" property="clickInstall" jdbcType="BIGINT"/>
-        <result column="install_finish" property="installFinish" jdbcType="BIGINT"/>
-        <result column="install_finish_cost" property="installFinishCost" jdbcType="DECIMAL"/>
-        <result column="install_finish_rate" property="installFinishRate" jdbcType="DECIMAL"/>
-        <result column="active" property="active" jdbcType="BIGINT"/>
-        <result column="active_cost" property="activeCost" jdbcType="DECIMAL"/>
-        <result column="active_rate" property="activeRate" jdbcType="DECIMAL"/>
-        <result column="register" property="register" jdbcType="DECIMAL"/>
-        <result column="active_register_cost" property="activeRegisterCost" jdbcType="DECIMAL"/>
-        <result column="active_register_rate" property="activeRegisterRate" jdbcType="REAL"/>
-        <result column="next_day_open" property="nextDayOpen" jdbcType="BIGINT"/>
-        <result column="next_day_open_cost" property="nextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="next_day_open_rate" property="nextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_cnt" property="attributionNextDayOpenCnt" jdbcType="BIGINT"/>
-        <result column="attribution_next_day_open_cost" property="attributionNextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_rate" property="attributionNextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="game_addiction" property="gameAddiction" jdbcType="BIGINT"/>
-        <result column="game_addiction_cost" property="gameAddictionCost" jdbcType="DECIMAL"/>
-        <result column="game_addiction_rate" property="gameAddictionRate" jdbcType="DECIMAL"/>
-        <result column="pay_count" property="payCount" jdbcType="BIGINT"/>
-        <result column="active_pay_cost" property="activePayCost" jdbcType="DECIMAL"/>
-        <result column="active_pay_rate" property="activePayRate" jdbcType="DECIMAL"/>
-        <result column="loan_completion" property="loanCompletion" jdbcType="BIGINT"/>
-        <result column="loan_completion_cost" property="loanCompletionCost" jdbcType="DECIMAL"/>
-        <result column="loan_completion_rate" property="loanCompletionRate" jdbcType="DECIMAL"/>
-        <result column="pre_loan_credit" property="preLoanCredit" jdbcType="BIGINT"/>
-        <result column="pre_loan_credit_cost" property="preLoanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit" property="loanCredit" jdbcType="BIGINT"/>
-        <result column="loan_credit_cost" property="loanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit_rate" property="loanCreditRate" jdbcType="DECIMAL"/>
-        <result column="in_app_uv" property="inAppUv" jdbcType="BIGINT"/>
-        <result column="in_app_detail_uv" property="inAppDetailUv" jdbcType="BIGINT"/>
-        <result column="in_app_cart" property="inAppCart" jdbcType="BIGINT"/>
-        <result column="in_app_pay" property="inAppPay" jdbcType="BIGINT"/>
-        <result column="in_app_order" property="inAppOrder" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_count" property="attributionGamePay7dCount" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_cost" property="attributionGamePay7dCost" jdbcType="DECIMAL"/>
-        <result column="attribution_active_pay_7d_per_count" property="attributionActivePay7dPerCount"
-                jdbcType="BIGINT"/>
-        <result column="game_pay_cost" property="gamePayCost" jdbcType="DECIMAL"/>
-        <result column="game_pay_count" property="gamePayCount" jdbcType="BIGINT"/>
-        <result column="phone" property="phone" jdbcType="BIGINT"/>
-        <result column="form" property="form" jdbcType="BIGINT"/>
-        <result column="map_search" property="mapSearch" jdbcType="BIGINT"/>
-        <result column="button" property="button" jdbcType="BIGINT"/>
-        <result column="view" property="view" jdbcType="BIGINT"/>
-        <result column="download" property="download" jdbcType="BIGINT"/>
-        <result column="qq" property="qq" jdbcType="BIGINT"/>
-        <result column="lottery" property="lottery" jdbcType="BIGINT"/>
-        <result column="vote" property="vote" jdbcType="BIGINT"/>
-        <result column="message" property="message" jdbcType="BIGINT"/>
-        <result column="redirect" property="redirect" jdbcType="BIGINT"/>
-        <result column="shopping" property="shopping" jdbcType="BIGINT"/>
-        <result column="consult" property="consult" jdbcType="BIGINT"/>
-        <result column="wechat" property="wechat" jdbcType="BIGINT"/>
-        <result column="phone_confirm" property="phoneConfirm" jdbcType="BIGINT"/>
-        <result column="phone_connect" property="phoneConnect" jdbcType="BIGINT"/>
-        <result column="consult_effective" property="consultEffective" jdbcType="BIGINT"/>
-        <result column="coupon" property="coupon" jdbcType="BIGINT"/>
-        <result column="coupon_single_page" property="couponSinglePage" jdbcType="BIGINT"/>
-        <result column="redirect_to_shop" property="redirectToShop" jdbcType="BIGINT"/>
-        <result column="poi_collect" property="poiCollect" jdbcType="BIGINT"/>
-        <result column="poi_address_click" property="poiAddressClick" jdbcType="BIGINT"/>
-        <result column="luban_order_cnt" property="lubanOrderCnt" jdbcType="BIGINT"/>
-        <result column="luban_order_stat_amount" property="lubanOrderStatAmount" jdbcType="DECIMAL"/>
-        <result column="luban_order_roi" property="lubanOrderRoi" jdbcType="DECIMAL"/>
-        <result column="luban_live_enter_cnt" property="lubanLiveEnterCnt" jdbcType="BIGINT"/>
-        <result column="live_watch_one_minute_count" property="liveWatchOneMinuteCount" jdbcType="BIGINT"/>
-        <result column="luban_live_follow_cnt" property="lubanLiveFollowCnt" jdbcType="BIGINT"/>
-        <result column="live_fans_club_join_cnt" property="liveFansClubJoinCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_comment_cnt" property="lubanLiveCommentCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_share_cnt" property="lubanLiveShareCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_cnt" property="lubanLiveGiftCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_amount" property="lubanLiveGiftAmount" jdbcType="DECIMAL"/>
-        <result column="luban_live_slidecart_click_cnt" property="lubanLiveSlidecartClickCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_click_product_cnt" property="lubanLiveClickProductCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_count" property="lubanLivePayOrderCount" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_stat_cost" property="lubanLivePayOrderStatCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_count" property="liveComponentClickCount" jdbcType="BIGINT"/>
-        <result column="live_component_click_cost" property="liveComponentClickCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_rate" property="liveComponentClickRate" jdbcType="DECIMAL"/>
-        <result column="wechat_login_count" property="wechatLoginCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_login_30d_count" property="attributionWechatLogin30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_login_cost" property="wechatLoginCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_login_30d_cost" property="attributionWechatLogin30dCost" jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_count" property="wechatFirstPayCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_first_pay_30d_count" property="attributionWechatFirstPay30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_first_pay_cost" property="wechatFirstPayCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_cost" property="attributionWechatFirstPay30dCost"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_rate" property="wechatFirstPayRate" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_rate" property="attributionWechatFirstPay30dRate"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_pay_amount" property="wechatPayAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_amount" property="attributionWechatPay30dAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_roi" property="attributionWechatPay30dRoi" jdbcType="DECIMAL"/>
-        <result column="phone_effective" property="phoneEffective" jdbcType="BIGINT"/>
-        <result column="total_play" property="totalPlay" jdbcType="BIGINT"/>
-        <result column="valid_play" property="validPlay" jdbcType="BIGINT"/>
-        <result column="valid_play_cost" property="validPlayCost" jdbcType="DECIMAL"/>
-        <result column="valid_play_rate" property="validPlayRate" jdbcType="DECIMAL"/>
-        <result column="play_25_feed_break" property="play25FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_50_feed_break" property="play50FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_75_feed_break" property="play75FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_100_feed_break" property="play100FeedBreak" jdbcType="BIGINT"/>
-        <result column="average_play_time_per_play" property="averagePlayTimePerPlay" jdbcType="DECIMAL"/>
-        <result column="play_over_rate" property="playOverRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play_rate" property="wifiPlayRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play" property="wifiPlay" jdbcType="BIGINT"/>
-        <result column="play_duration_sum" property="playDurationSum" jdbcType="BIGINT"/>
-        <result column="advanced_creative_phone_click" property="advancedCreativePhoneClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_counsel_click" property="advancedCreativeCounselClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_click" property="advancedCreativeFormClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_coupon_addition" property="advancedCreativeCouponAddition" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_submit" property="advancedCreativeFormSubmit" jdbcType="BIGINT"/>
-        <result column="card_show" property="cardShow" jdbcType="BIGINT"/>
-        <result column="share" property="share" jdbcType="BIGINT"/>
-        <result column="comment" property="comment" jdbcType="BIGINT"/>
-        <result column="like" property="like" jdbcType="BIGINT"/>
-        <result column="follow" property="follow" jdbcType="BIGINT"/>
-        <result column="home_visited" property="homeVisited" jdbcType="BIGINT"/>
-        <result column="ies_challenge_click" property="iesChallengeClick" jdbcType="BIGINT"/>
-        <result column="ies_music_click" property="iesMusicClick" jdbcType="BIGINT"/>
-        <result column="location_click" property="locationClick" jdbcType="BIGINT"/>
-        <result column="message_action" property="messageAction" jdbcType="BIGINT"/>
-        <result column="click_landing_page" property="clickLandingPage" jdbcType="BIGINT"/>
-        <result column="click_shopwindow" property="clickShopwindow" jdbcType="BIGINT"/>
-        <result column="click_website" property="clickWebsite" jdbcType="BIGINT"/>
-        <result column="click_download" property="clickDownload" jdbcType="BIGINT"/>
-        <result column="click_call_dy" property="clickCallDy" jdbcType="BIGINT"/>
-        <result column="submit_certification_count" property="submitCertificationCount" jdbcType="BIGINT"/>
-        <result column="approval_count" property="approvalCount" jdbcType="BIGINT"/>
-        <result column="first_rental_order_count" property="firstRentalOrderCount" jdbcType="BIGINT"/>
-        <result column="first_order_count" property="firstOrderCount" jdbcType="BIGINT"/>
-        <result column="commute_first_pay_count" property="commuteFirstPayCount" jdbcType="BIGINT"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-    advertiser_id, campaign_id, ad_id, stat_datetime, campaign_name, ad_name, cost, `show`,
-    avg_show_cost, click, avg_click_cost, ctr, convert, convert_cost, convert_rate, deep_convert, 
-    deep_convert_cost, deep_convert_rate, attribution_convert, attribution_convert_cost, 
-    attribution_deep_convert, attribution_deep_convert_cost, download_start, download_start_cost, 
-    download_start_rate, download_finish, download_finish_cost, download_finish_rate, 
-    click_install, install_finish, install_finish_cost, install_finish_rate, active, 
-    active_cost, active_rate, register, active_register_cost, active_register_rate, next_day_open, 
-    next_day_open_cost, next_day_open_rate, attribution_next_day_open_cnt, attribution_next_day_open_cost, 
-    attribution_next_day_open_rate, game_addiction, game_addiction_cost, game_addiction_rate, 
-    pay_count, active_pay_cost, active_pay_rate, loan_completion, loan_completion_cost, 
-    loan_completion_rate, pre_loan_credit, pre_loan_credit_cost, loan_credit, loan_credit_cost, 
-    loan_credit_rate, in_app_uv, in_app_detail_uv, in_app_cart, in_app_pay, in_app_order, 
-    attribution_game_pay_7d_count, attribution_game_pay_7d_cost, attribution_active_pay_7d_per_count, 
-    game_pay_cost, game_pay_count, phone, form, map_search, button, view, download, qq, 
-    lottery, vote, message, redirect, shopping, consult, wechat, phone_confirm, phone_connect, 
-    consult_effective, coupon, coupon_single_page, redirect_to_shop, poi_collect, poi_address_click, 
-    luban_order_cnt, luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt, 
-    live_watch_one_minute_count, luban_live_follow_cnt, live_fans_club_join_cnt, luban_live_comment_cnt, 
-    luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount, luban_live_slidecart_click_cnt, 
-    luban_live_click_product_cnt, luban_live_pay_order_count, luban_live_pay_order_stat_cost, 
-    live_component_click_count, live_component_click_cost, live_component_click_rate, 
-    wechat_login_count, attribution_wechat_login_30d_count, wechat_login_cost, attribution_wechat_login_30d_cost, 
-    wechat_first_pay_count, attribution_wechat_first_pay_30d_count, wechat_first_pay_cost, 
-    attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate, attribution_wechat_first_pay_30d_rate, 
-    wechat_pay_amount, attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi, 
-    phone_effective, total_play, valid_play, valid_play_cost, valid_play_rate, play_25_feed_break, 
-    play_50_feed_break, play_75_feed_break, play_100_feed_break, average_play_time_per_play, 
-    play_over_rate, wifi_play_rate, wifi_play, play_duration_sum, advanced_creative_phone_click, 
-    advanced_creative_counsel_click, advanced_creative_form_click, advanced_creative_coupon_addition, 
-    advanced_creative_form_submit, card_show, share, comment, like, follow, home_visited, 
-    ies_challenge_click, ies_music_click, location_click, message_action, click_landing_page, 
-    click_shopwindow, click_website, click_download, click_call_dy, submit_certification_count, 
-    approval_count, first_rental_order_count, first_order_count, commute_first_pay_count
-  </sql>
-
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceAdReportDaily">
-        replace into bytedance_ad_report_daily (advertiser_id, campaign_id, ad_id,
-      stat_datetime, campaign_name, ad_name, 
-      cost, `show`, avg_show_cost,
-      click, avg_click_cost, ctr, 
-      `convert`, convert_cost, convert_rate,
-      deep_convert, deep_convert_cost, deep_convert_rate, 
-      attribution_convert, attribution_convert_cost, 
-      attribution_deep_convert, attribution_deep_convert_cost, 
-      download_start, download_start_cost, download_start_rate, 
-      download_finish, download_finish_cost, download_finish_rate, 
-      click_install, install_finish, install_finish_cost, 
-      install_finish_rate, active, active_cost, 
-      active_rate, register, active_register_cost, 
-      active_register_rate, next_day_open, next_day_open_cost, 
-      next_day_open_rate, attribution_next_day_open_cnt, 
-      attribution_next_day_open_cost, attribution_next_day_open_rate, 
-      game_addiction, game_addiction_cost, game_addiction_rate, 
-      pay_count, active_pay_cost, active_pay_rate, 
-      loan_completion, loan_completion_cost, loan_completion_rate, 
-      pre_loan_credit, pre_loan_credit_cost, loan_credit, 
-      loan_credit_cost, loan_credit_rate, in_app_uv, 
-      in_app_detail_uv, in_app_cart, in_app_pay, 
-      in_app_order, attribution_game_pay_7d_count, attribution_game_pay_7d_cost, 
-      attribution_active_pay_7d_per_count, game_pay_cost, 
-      game_pay_count, phone, form, 
-      map_search, button, `view`,
-      download, qq, lottery, 
-      vote, message, redirect, 
-      shopping, consult, wechat, 
-      phone_confirm, phone_connect, consult_effective, 
-      coupon, coupon_single_page, redirect_to_shop, 
-      poi_collect, poi_address_click, luban_order_cnt, 
-      luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt, 
-      live_watch_one_minute_count, luban_live_follow_cnt, 
-      live_fans_club_join_cnt, luban_live_comment_cnt, 
-      luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount, 
-      luban_live_slidecart_click_cnt, luban_live_click_product_cnt, 
-      luban_live_pay_order_count, luban_live_pay_order_stat_cost, 
-      live_component_click_count, live_component_click_cost, 
-      live_component_click_rate, wechat_login_count, 
-      attribution_wechat_login_30d_count, wechat_login_cost, 
-      attribution_wechat_login_30d_cost, wechat_first_pay_count, 
-      attribution_wechat_first_pay_30d_count, wechat_first_pay_cost, 
-      attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate, 
-      attribution_wechat_first_pay_30d_rate, wechat_pay_amount, 
-      attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi, 
-      phone_effective, total_play, valid_play, 
-      valid_play_cost, valid_play_rate, play_25_feed_break, 
-      play_50_feed_break, play_75_feed_break, play_100_feed_break, 
-      average_play_time_per_play, play_over_rate, wifi_play_rate, 
-      wifi_play, play_duration_sum, advanced_creative_phone_click, 
-      advanced_creative_counsel_click, advanced_creative_form_click, 
-      advanced_creative_coupon_addition, advanced_creative_form_submit, 
-      card_show, `share`, comment,
-      `like`, follow, home_visited,
-      ies_challenge_click, ies_music_click, location_click, 
-      message_action, click_landing_page, click_shopwindow, 
-      click_website, click_download, click_call_dy, 
-      submit_certification_count, approval_count, 
-      first_rental_order_count, first_order_count, commute_first_pay_count
-      )
-    values
-      <foreach collection="list" item="item" separator=",">
-        (#{item.advertiserId,jdbcType=BIGINT}, #{item.campaignId,jdbcType=BIGINT}, #{item.adId,jdbcType=BIGINT},
-        #{item.statDatetime,jdbcType=INTEGER}, #{item.campaignName,jdbcType=VARCHAR}, #{item.adName,jdbcType=VARCHAR},
-        #{item.cost,jdbcType=DECIMAL}, #{item.show,jdbcType=BIGINT}, #{item.avgShowCost,jdbcType=DECIMAL},
-        #{item.click,jdbcType=BIGINT}, #{item.avgClickCost,jdbcType=DECIMAL}, #{item.ctr,jdbcType=DECIMAL},
-        #{item.convert,jdbcType=BIGINT}, #{item.convertCost,jdbcType=DECIMAL}, #{item.convertRate,jdbcType=DECIMAL},
-        #{item.deepConvert,jdbcType=BIGINT}, #{item.deepConvertCost,jdbcType=DECIMAL}, #{item.deepConvertRate,jdbcType=DECIMAL},
-        #{item.attributionConvert,jdbcType=BIGINT}, #{item.attributionConvertCost,jdbcType=DECIMAL},
-        #{item.attributionDeepConvert,jdbcType=BIGINT}, #{item.attributionDeepConvertCost,jdbcType=DECIMAL},
-        #{item.downloadStart,jdbcType=BIGINT}, #{item.downloadStartCost,jdbcType=DECIMAL}, #{item.downloadStartRate,jdbcType=DECIMAL},
-        #{item.downloadFinish,jdbcType=BIGINT}, #{item.downloadFinishCost,jdbcType=DECIMAL}, #{item.downloadFinishRate,jdbcType=DECIMAL},
-        #{item.clickInstall,jdbcType=BIGINT}, #{item.installFinish,jdbcType=BIGINT}, #{item.installFinishCost,jdbcType=DECIMAL},
-        #{item.installFinishRate,jdbcType=DECIMAL}, #{item.active,jdbcType=BIGINT}, #{item.activeCost,jdbcType=DECIMAL},
-        #{item.activeRate,jdbcType=DECIMAL}, #{item.register,jdbcType=DECIMAL}, #{item.activeRegisterCost,jdbcType=DECIMAL},
-        #{item.activeRegisterRate,jdbcType=REAL}, #{item.nextDayOpen,jdbcType=BIGINT}, #{item.nextDayOpenCost,jdbcType=DECIMAL},
-        #{item.nextDayOpenRate,jdbcType=DECIMAL}, #{item.attributionNextDayOpenCnt,jdbcType=BIGINT},
-        #{item.attributionNextDayOpenCost,jdbcType=DECIMAL}, #{item.attributionNextDayOpenRate,jdbcType=DECIMAL},
-        #{item.gameAddiction,jdbcType=BIGINT}, #{item.gameAddictionCost,jdbcType=DECIMAL}, #{item.gameAddictionRate,jdbcType=DECIMAL},
-        #{item.payCount,jdbcType=BIGINT}, #{item.activePayCost,jdbcType=DECIMAL}, #{item.activePayRate,jdbcType=DECIMAL},
-        #{item.loanCompletion,jdbcType=BIGINT}, #{item.loanCompletionCost,jdbcType=DECIMAL}, #{item.loanCompletionRate,jdbcType=DECIMAL},
-        #{item.preLoanCredit,jdbcType=BIGINT}, #{item.preLoanCreditCost,jdbcType=DECIMAL}, #{item.loanCredit,jdbcType=BIGINT},
-        #{item.loanCreditCost,jdbcType=DECIMAL}, #{item.loanCreditRate,jdbcType=DECIMAL}, #{item.inAppUv,jdbcType=BIGINT},
-        #{item.inAppDetailUv,jdbcType=BIGINT}, #{item.inAppCart,jdbcType=BIGINT}, #{item.inAppPay,jdbcType=BIGINT},
-        #{item.inAppOrder,jdbcType=BIGINT}, #{item.attributionGamePay7dCount,jdbcType=BIGINT}, #{item.attributionGamePay7dCost,jdbcType=DECIMAL},
-        #{item.attributionActivePay7dPerCount,jdbcType=BIGINT}, #{item.gamePayCost,jdbcType=DECIMAL},
-        #{item.gamePayCount,jdbcType=BIGINT}, #{item.phone,jdbcType=BIGINT}, #{item.form,jdbcType=BIGINT},
-        #{item.mapSearch,jdbcType=BIGINT}, #{item.button,jdbcType=BIGINT}, #{item.view,jdbcType=BIGINT},
-        #{item.download,jdbcType=BIGINT}, #{item.qq,jdbcType=BIGINT}, #{item.lottery,jdbcType=BIGINT},
-        #{item.vote,jdbcType=BIGINT}, #{item.message,jdbcType=BIGINT}, #{item.redirect,jdbcType=BIGINT},
-        #{item.shopping,jdbcType=BIGINT}, #{item.consult,jdbcType=BIGINT}, #{item.wechat,jdbcType=BIGINT},
-        #{item.phoneConfirm,jdbcType=BIGINT}, #{item.phoneConnect,jdbcType=BIGINT}, #{item.consultEffective,jdbcType=BIGINT},
-        #{item.coupon,jdbcType=BIGINT}, #{item.couponSinglePage,jdbcType=BIGINT}, #{item.redirectToShop,jdbcType=BIGINT},
-        #{item.poiCollect,jdbcType=BIGINT}, #{item.poiAddressClick,jdbcType=BIGINT}, #{item.lubanOrderCnt,jdbcType=BIGINT},
-        #{item.lubanOrderStatAmount,jdbcType=DECIMAL}, #{item.lubanOrderRoi,jdbcType=DECIMAL}, #{item.lubanLiveEnterCnt,jdbcType=BIGINT},
-        #{item.liveWatchOneMinuteCount,jdbcType=BIGINT}, #{item.lubanLiveFollowCnt,jdbcType=BIGINT},
-        #{item.liveFansClubJoinCnt,jdbcType=BIGINT}, #{item.lubanLiveCommentCnt,jdbcType=BIGINT},
-        #{item.lubanLiveShareCnt,jdbcType=BIGINT}, #{item.lubanLiveGiftCnt,jdbcType=BIGINT}, #{item.lubanLiveGiftAmount,jdbcType=DECIMAL},
-        #{item.lubanLiveSlidecartClickCnt,jdbcType=BIGINT}, #{item.lubanLiveClickProductCnt,jdbcType=BIGINT},
-        #{item.lubanLivePayOrderCount,jdbcType=BIGINT}, #{item.lubanLivePayOrderStatCost,jdbcType=DECIMAL},
-        #{item.liveComponentClickCount,jdbcType=BIGINT}, #{item.liveComponentClickCost,jdbcType=DECIMAL},
-        #{item.liveComponentClickRate,jdbcType=DECIMAL}, #{item.wechatLoginCount,jdbcType=BIGINT},
-        #{item.attributionWechatLogin30dCount,jdbcType=BIGINT}, #{item.wechatLoginCost,jdbcType=DECIMAL},
-        #{item.attributionWechatLogin30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayCount,jdbcType=BIGINT},
-        #{item.attributionWechatFirstPay30dCount,jdbcType=BIGINT}, #{item.wechatFirstPayCost,jdbcType=DECIMAL},
-        #{item.attributionWechatFirstPay30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayRate,jdbcType=DECIMAL},
-        #{item.attributionWechatFirstPay30dRate,jdbcType=DECIMAL}, #{item.wechatPayAmount,jdbcType=DECIMAL},
-        #{item.attributionWechatPay30dAmount,jdbcType=DECIMAL}, #{item.attributionWechatPay30dRoi,jdbcType=DECIMAL},
-        #{item.phoneEffective,jdbcType=BIGINT}, #{item.totalPlay,jdbcType=BIGINT}, #{item.validPlay,jdbcType=BIGINT},
-        #{item.validPlayCost,jdbcType=DECIMAL}, #{item.validPlayRate,jdbcType=DECIMAL}, #{item.play25FeedBreak,jdbcType=BIGINT},
-        #{item.play50FeedBreak,jdbcType=BIGINT}, #{item.play75FeedBreak,jdbcType=BIGINT}, #{item.play100FeedBreak,jdbcType=BIGINT},
-        #{item.averagePlayTimePerPlay,jdbcType=DECIMAL}, #{item.playOverRate,jdbcType=DECIMAL}, #{item.wifiPlayRate,jdbcType=DECIMAL},
-        #{item.wifiPlay,jdbcType=BIGINT}, #{item.playDurationSum,jdbcType=BIGINT}, #{item.advancedCreativePhoneClick,jdbcType=BIGINT},
-        #{item.advancedCreativeCounselClick,jdbcType=BIGINT}, #{item.advancedCreativeFormClick,jdbcType=BIGINT},
-        #{item.advancedCreativeCouponAddition,jdbcType=BIGINT}, #{item.advancedCreativeFormSubmit,jdbcType=BIGINT},
-        #{item.cardShow,jdbcType=BIGINT}, #{item.share,jdbcType=BIGINT}, #{item.comment,jdbcType=BIGINT},
-        #{item.like,jdbcType=BIGINT}, #{item.follow,jdbcType=BIGINT}, #{item.homeVisited,jdbcType=BIGINT},
-        #{item.iesChallengeClick,jdbcType=BIGINT}, #{item.iesMusicClick,jdbcType=BIGINT}, #{item.locationClick,jdbcType=BIGINT},
-        #{item.messageAction,jdbcType=BIGINT}, #{item.clickLandingPage,jdbcType=BIGINT}, #{item.clickShopwindow,jdbcType=BIGINT},
-        #{item.clickWebsite,jdbcType=BIGINT}, #{item.clickDownload,jdbcType=BIGINT}, #{item.clickCallDy,jdbcType=BIGINT},
-        #{item.submitCertificationCount,jdbcType=BIGINT}, #{item.approvalCount,jdbcType=BIGINT},
-        #{item.firstRentalOrderCount,jdbcType=BIGINT}, #{item.firstOrderCount,jdbcType=BIGINT}, #{item.commuteFirstPayCount,jdbcType=BIGINT}
-        )
-      </foreach>
- 
-  </insert>
-
-</mapper>

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

@@ -1,364 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceAdReportHourlyMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceAdReportHourly">
-        <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
-        <id column="campaign_id" property="campaignId" jdbcType="BIGINT"/>
-        <id column="ad_id" property="adId" jdbcType="BIGINT"/>
-        <id column="stat_datetime" property="statDatetime" jdbcType="INTEGER"/>
-        <id column="hour" property="hour" jdbcType="INTEGER"/>
-        <result column="campaign_name" property="campaignName" jdbcType="VARCHAR"/>
-        <result column="ad_name" property="adName" jdbcType="VARCHAR"/>
-        <result column="cost" property="cost" jdbcType="DECIMAL"/>
-        <result column="show" property="show" jdbcType="BIGINT"/>
-        <result column="avg_show_cost" property="avgShowCost" jdbcType="DECIMAL"/>
-        <result column="click" property="click" jdbcType="BIGINT"/>
-        <result column="avg_click_cost" property="avgClickCost" jdbcType="DECIMAL"/>
-        <result column="ctr" property="ctr" jdbcType="DECIMAL"/>
-        <result column="convert" property="convert" jdbcType="BIGINT"/>
-        <result column="convert_cost" property="convertCost" jdbcType="DECIMAL"/>
-        <result column="convert_rate" property="convertRate" jdbcType="DECIMAL"/>
-        <result column="deep_convert" property="deepConvert" jdbcType="BIGINT"/>
-        <result column="deep_convert_cost" property="deepConvertCost" jdbcType="DECIMAL"/>
-        <result column="deep_convert_rate" property="deepConvertRate" jdbcType="DECIMAL"/>
-        <result column="attribution_convert" property="attributionConvert" jdbcType="BIGINT"/>
-        <result column="attribution_convert_cost" property="attributionConvertCost" jdbcType="DECIMAL"/>
-        <result column="attribution_deep_convert" property="attributionDeepConvert" jdbcType="BIGINT"/>
-        <result column="attribution_deep_convert_cost" property="attributionDeepConvertCost" jdbcType="DECIMAL"/>
-        <result column="download_start" property="downloadStart" jdbcType="BIGINT"/>
-        <result column="download_start_cost" property="downloadStartCost" jdbcType="DECIMAL"/>
-        <result column="download_start_rate" property="downloadStartRate" jdbcType="DECIMAL"/>
-        <result column="download_finish" property="downloadFinish" jdbcType="BIGINT"/>
-        <result column="download_finish_cost" property="downloadFinishCost" jdbcType="DECIMAL"/>
-        <result column="download_finish_rate" property="downloadFinishRate" jdbcType="DECIMAL"/>
-        <result column="click_install" property="clickInstall" jdbcType="BIGINT"/>
-        <result column="install_finish" property="installFinish" jdbcType="BIGINT"/>
-        <result column="install_finish_cost" property="installFinishCost" jdbcType="DECIMAL"/>
-        <result column="install_finish_rate" property="installFinishRate" jdbcType="DECIMAL"/>
-        <result column="active" property="active" jdbcType="BIGINT"/>
-        <result column="active_cost" property="activeCost" jdbcType="DECIMAL"/>
-        <result column="active_rate" property="activeRate" jdbcType="DECIMAL"/>
-        <result column="register" property="register" jdbcType="DECIMAL"/>
-        <result column="active_register_cost" property="activeRegisterCost" jdbcType="DECIMAL"/>
-        <result column="active_register_rate" property="activeRegisterRate" jdbcType="REAL"/>
-        <result column="next_day_open" property="nextDayOpen" jdbcType="BIGINT"/>
-        <result column="next_day_open_cost" property="nextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="next_day_open_rate" property="nextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_cnt" property="attributionNextDayOpenCnt" jdbcType="BIGINT"/>
-        <result column="attribution_next_day_open_cost" property="attributionNextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_rate" property="attributionNextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="game_addiction" property="gameAddiction" jdbcType="BIGINT"/>
-        <result column="game_addiction_cost" property="gameAddictionCost" jdbcType="DECIMAL"/>
-        <result column="game_addiction_rate" property="gameAddictionRate" jdbcType="DECIMAL"/>
-        <result column="pay_count" property="payCount" jdbcType="BIGINT"/>
-        <result column="active_pay_cost" property="activePayCost" jdbcType="DECIMAL"/>
-        <result column="active_pay_rate" property="activePayRate" jdbcType="DECIMAL"/>
-        <result column="loan_completion" property="loanCompletion" jdbcType="BIGINT"/>
-        <result column="loan_completion_cost" property="loanCompletionCost" jdbcType="DECIMAL"/>
-        <result column="loan_completion_rate" property="loanCompletionRate" jdbcType="DECIMAL"/>
-        <result column="pre_loan_credit" property="preLoanCredit" jdbcType="BIGINT"/>
-        <result column="pre_loan_credit_cost" property="preLoanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit" property="loanCredit" jdbcType="BIGINT"/>
-        <result column="loan_credit_cost" property="loanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit_rate" property="loanCreditRate" jdbcType="DECIMAL"/>
-        <result column="in_app_uv" property="inAppUv" jdbcType="BIGINT"/>
-        <result column="in_app_detail_uv" property="inAppDetailUv" jdbcType="BIGINT"/>
-        <result column="in_app_cart" property="inAppCart" jdbcType="BIGINT"/>
-        <result column="in_app_pay" property="inAppPay" jdbcType="BIGINT"/>
-        <result column="in_app_order" property="inAppOrder" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_count" property="attributionGamePay7dCount" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_cost" property="attributionGamePay7dCost" jdbcType="DECIMAL"/>
-        <result column="attribution_active_pay_7d_per_count" property="attributionActivePay7dPerCount"
-                jdbcType="BIGINT"/>
-        <result column="game_pay_cost" property="gamePayCost" jdbcType="DECIMAL"/>
-        <result column="game_pay_count" property="gamePayCount" jdbcType="BIGINT"/>
-        <result column="phone" property="phone" jdbcType="BIGINT"/>
-        <result column="form" property="form" jdbcType="BIGINT"/>
-        <result column="map_search" property="mapSearch" jdbcType="BIGINT"/>
-        <result column="button" property="button" jdbcType="BIGINT"/>
-        <result column="view" property="view" jdbcType="BIGINT"/>
-        <result column="download" property="download" jdbcType="BIGINT"/>
-        <result column="qq" property="qq" jdbcType="BIGINT"/>
-        <result column="lottery" property="lottery" jdbcType="BIGINT"/>
-        <result column="vote" property="vote" jdbcType="BIGINT"/>
-        <result column="message" property="message" jdbcType="BIGINT"/>
-        <result column="redirect" property="redirect" jdbcType="BIGINT"/>
-        <result column="shopping" property="shopping" jdbcType="BIGINT"/>
-        <result column="consult" property="consult" jdbcType="BIGINT"/>
-        <result column="wechat" property="wechat" jdbcType="BIGINT"/>
-        <result column="phone_confirm" property="phoneConfirm" jdbcType="BIGINT"/>
-        <result column="phone_connect" property="phoneConnect" jdbcType="BIGINT"/>
-        <result column="consult_effective" property="consultEffective" jdbcType="BIGINT"/>
-        <result column="coupon" property="coupon" jdbcType="BIGINT"/>
-        <result column="coupon_single_page" property="couponSinglePage" jdbcType="BIGINT"/>
-        <result column="redirect_to_shop" property="redirectToShop" jdbcType="BIGINT"/>
-        <result column="poi_collect" property="poiCollect" jdbcType="BIGINT"/>
-        <result column="poi_address_click" property="poiAddressClick" jdbcType="BIGINT"/>
-        <result column="luban_order_cnt" property="lubanOrderCnt" jdbcType="BIGINT"/>
-        <result column="luban_order_stat_amount" property="lubanOrderStatAmount" jdbcType="DECIMAL"/>
-        <result column="luban_order_roi" property="lubanOrderRoi" jdbcType="DECIMAL"/>
-        <result column="luban_live_enter_cnt" property="lubanLiveEnterCnt" jdbcType="BIGINT"/>
-        <result column="live_watch_one_minute_count" property="liveWatchOneMinuteCount" jdbcType="BIGINT"/>
-        <result column="luban_live_follow_cnt" property="lubanLiveFollowCnt" jdbcType="BIGINT"/>
-        <result column="live_fans_club_join_cnt" property="liveFansClubJoinCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_comment_cnt" property="lubanLiveCommentCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_share_cnt" property="lubanLiveShareCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_cnt" property="lubanLiveGiftCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_amount" property="lubanLiveGiftAmount" jdbcType="DECIMAL"/>
-        <result column="luban_live_slidecart_click_cnt" property="lubanLiveSlidecartClickCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_click_product_cnt" property="lubanLiveClickProductCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_count" property="lubanLivePayOrderCount" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_stat_cost" property="lubanLivePayOrderStatCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_count" property="liveComponentClickCount" jdbcType="BIGINT"/>
-        <result column="live_component_click_cost" property="liveComponentClickCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_rate" property="liveComponentClickRate" jdbcType="DECIMAL"/>
-        <result column="wechat_login_count" property="wechatLoginCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_login_30d_count" property="attributionWechatLogin30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_login_cost" property="wechatLoginCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_login_30d_cost" property="attributionWechatLogin30dCost" jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_count" property="wechatFirstPayCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_first_pay_30d_count" property="attributionWechatFirstPay30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_first_pay_cost" property="wechatFirstPayCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_cost" property="attributionWechatFirstPay30dCost"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_rate" property="wechatFirstPayRate" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_rate" property="attributionWechatFirstPay30dRate"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_pay_amount" property="wechatPayAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_amount" property="attributionWechatPay30dAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_roi" property="attributionWechatPay30dRoi" jdbcType="DECIMAL"/>
-        <result column="phone_effective" property="phoneEffective" jdbcType="BIGINT"/>
-        <result column="total_play" property="totalPlay" jdbcType="BIGINT"/>
-        <result column="valid_play" property="validPlay" jdbcType="BIGINT"/>
-        <result column="valid_play_cost" property="validPlayCost" jdbcType="DECIMAL"/>
-        <result column="valid_play_rate" property="validPlayRate" jdbcType="DECIMAL"/>
-        <result column="play_25_feed_break" property="play25FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_50_feed_break" property="play50FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_75_feed_break" property="play75FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_100_feed_break" property="play100FeedBreak" jdbcType="BIGINT"/>
-        <result column="average_play_time_per_play" property="averagePlayTimePerPlay" jdbcType="DECIMAL"/>
-        <result column="play_over_rate" property="playOverRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play_rate" property="wifiPlayRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play" property="wifiPlay" jdbcType="BIGINT"/>
-        <result column="play_duration_sum" property="playDurationSum" jdbcType="BIGINT"/>
-        <result column="advanced_creative_phone_click" property="advancedCreativePhoneClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_counsel_click" property="advancedCreativeCounselClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_click" property="advancedCreativeFormClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_coupon_addition" property="advancedCreativeCouponAddition" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_submit" property="advancedCreativeFormSubmit" jdbcType="BIGINT"/>
-        <result column="card_show" property="cardShow" jdbcType="BIGINT"/>
-        <result column="share" property="share" jdbcType="BIGINT"/>
-        <result column="comment" property="comment" jdbcType="BIGINT"/>
-        <result column="like" property="like" jdbcType="BIGINT"/>
-        <result column="follow" property="follow" jdbcType="BIGINT"/>
-        <result column="home_visited" property="homeVisited" jdbcType="BIGINT"/>
-        <result column="ies_challenge_click" property="iesChallengeClick" jdbcType="BIGINT"/>
-        <result column="ies_music_click" property="iesMusicClick" jdbcType="BIGINT"/>
-        <result column="location_click" property="locationClick" jdbcType="BIGINT"/>
-        <result column="message_action" property="messageAction" jdbcType="BIGINT"/>
-        <result column="click_landing_page" property="clickLandingPage" jdbcType="BIGINT"/>
-        <result column="click_shopwindow" property="clickShopwindow" jdbcType="BIGINT"/>
-        <result column="click_website" property="clickWebsite" jdbcType="BIGINT"/>
-        <result column="click_download" property="clickDownload" jdbcType="BIGINT"/>
-        <result column="click_call_dy" property="clickCallDy" jdbcType="BIGINT"/>
-        <result column="submit_certification_count" property="submitCertificationCount" jdbcType="BIGINT"/>
-        <result column="approval_count" property="approvalCount" jdbcType="BIGINT"/>
-        <result column="first_rental_order_count" property="firstRentalOrderCount" jdbcType="BIGINT"/>
-        <result column="first_order_count" property="firstOrderCount" jdbcType="BIGINT"/>
-        <result column="commute_first_pay_count" property="commuteFirstPayCount" jdbcType="BIGINT"/>
-    </resultMap>
-    <sql id="Base_Column_List">
-    advertiser_id, campaign_id, ad_id, stat_datetime, hour, campaign_name, ad_name, cost, 
-    show, avg_show_cost, click, avg_click_cost, ctr, convert, convert_cost, convert_rate, 
-    deep_convert, deep_convert_cost, deep_convert_rate, attribution_convert, attribution_convert_cost, 
-    attribution_deep_convert, attribution_deep_convert_cost, download_start, download_start_cost, 
-    download_start_rate, download_finish, download_finish_cost, download_finish_rate, 
-    click_install, install_finish, install_finish_cost, install_finish_rate, active, 
-    active_cost, active_rate, register, active_register_cost, active_register_rate, next_day_open, 
-    next_day_open_cost, next_day_open_rate, attribution_next_day_open_cnt, attribution_next_day_open_cost, 
-    attribution_next_day_open_rate, game_addiction, game_addiction_cost, game_addiction_rate, 
-    pay_count, active_pay_cost, active_pay_rate, loan_completion, loan_completion_cost, 
-    loan_completion_rate, pre_loan_credit, pre_loan_credit_cost, loan_credit, loan_credit_cost, 
-    loan_credit_rate, in_app_uv, in_app_detail_uv, in_app_cart, in_app_pay, in_app_order, 
-    attribution_game_pay_7d_count, attribution_game_pay_7d_cost, attribution_active_pay_7d_per_count, 
-    game_pay_cost, game_pay_count, phone, form, map_search, button, view, download, qq, 
-    lottery, vote, message, redirect, shopping, consult, wechat, phone_confirm, phone_connect, 
-    consult_effective, coupon, coupon_single_page, redirect_to_shop, poi_collect, poi_address_click, 
-    luban_order_cnt, luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt, 
-    live_watch_one_minute_count, luban_live_follow_cnt, live_fans_club_join_cnt, luban_live_comment_cnt, 
-    luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount, luban_live_slidecart_click_cnt, 
-    luban_live_click_product_cnt, luban_live_pay_order_count, luban_live_pay_order_stat_cost, 
-    live_component_click_count, live_component_click_cost, live_component_click_rate, 
-    wechat_login_count, attribution_wechat_login_30d_count, wechat_login_cost, attribution_wechat_login_30d_cost, 
-    wechat_first_pay_count, attribution_wechat_first_pay_30d_count, wechat_first_pay_cost, 
-    attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate, attribution_wechat_first_pay_30d_rate, 
-    wechat_pay_amount, attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi, 
-    phone_effective, total_play, valid_play, valid_play_cost, valid_play_rate, play_25_feed_break, 
-    play_50_feed_break, play_75_feed_break, play_100_feed_break, average_play_time_per_play, 
-    play_over_rate, wifi_play_rate, wifi_play, play_duration_sum, advanced_creative_phone_click, 
-    advanced_creative_counsel_click, advanced_creative_form_click, advanced_creative_coupon_addition, 
-    advanced_creative_form_submit, card_show, share, comment, like, follow, home_visited, 
-    ies_challenge_click, ies_music_click, location_click, message_action, click_landing_page, 
-    click_shopwindow, click_website, click_download, click_call_dy, submit_certification_count, 
-    approval_count, first_rental_order_count, first_order_count, commute_first_pay_count
-  </sql>
-
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceAdReportHourly">
-        replace into bytedance_ad_report_hourly (advertiser_id, campaign_id, ad_id,
-        stat_datetime, `hour`, campaign_name,
-        ad_name, cost, `show`,
-        avg_show_cost, click, avg_click_cost,
-        ctr, `convert`, convert_cost,
-        convert_rate, deep_convert, deep_convert_cost,
-        deep_convert_rate, attribution_convert, attribution_convert_cost,
-        attribution_deep_convert, attribution_deep_convert_cost,
-        download_start, download_start_cost, download_start_rate,
-        download_finish, download_finish_cost, download_finish_rate,
-        click_install, install_finish, install_finish_cost,
-        install_finish_rate, active, active_cost,
-        active_rate, register, active_register_cost,
-        active_register_rate, next_day_open, next_day_open_cost,
-        next_day_open_rate, attribution_next_day_open_cnt,
-        attribution_next_day_open_cost, attribution_next_day_open_rate,
-        game_addiction, game_addiction_cost, game_addiction_rate,
-        pay_count, active_pay_cost, active_pay_rate,
-        loan_completion, loan_completion_cost, loan_completion_rate,
-        pre_loan_credit, pre_loan_credit_cost, loan_credit,
-        loan_credit_cost, loan_credit_rate, in_app_uv,
-        in_app_detail_uv, in_app_cart, in_app_pay,
-        in_app_order, attribution_game_pay_7d_count, attribution_game_pay_7d_cost,
-        attribution_active_pay_7d_per_count, game_pay_cost,
-        game_pay_count, phone, form,
-        map_search, button, `view`,
-        download, qq, lottery,
-        vote, message, redirect,
-        shopping, consult, wechat,
-        phone_confirm, phone_connect, consult_effective,
-        coupon, coupon_single_page, redirect_to_shop,
-        poi_collect, poi_address_click, luban_order_cnt,
-        luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt,
-        live_watch_one_minute_count, luban_live_follow_cnt,
-        live_fans_club_join_cnt, luban_live_comment_cnt,
-        luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount,
-        luban_live_slidecart_click_cnt, luban_live_click_product_cnt,
-        luban_live_pay_order_count, luban_live_pay_order_stat_cost,
-        live_component_click_count, live_component_click_cost,
-        live_component_click_rate, wechat_login_count,
-        attribution_wechat_login_30d_count, wechat_login_cost,
-        attribution_wechat_login_30d_cost, wechat_first_pay_count,
-        attribution_wechat_first_pay_30d_count, wechat_first_pay_cost,
-        attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate,
-        attribution_wechat_first_pay_30d_rate, wechat_pay_amount,
-        attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi,
-        phone_effective, total_play, valid_play,
-        valid_play_cost, valid_play_rate, play_25_feed_break,
-        play_50_feed_break, play_75_feed_break, play_100_feed_break,
-        average_play_time_per_play, play_over_rate, wifi_play_rate,
-        wifi_play, play_duration_sum, advanced_creative_phone_click,
-        advanced_creative_counsel_click, advanced_creative_form_click,
-        advanced_creative_coupon_addition, advanced_creative_form_submit,
-        card_show, `share`, comment,
-        `like`, follow, home_visited,
-        ies_challenge_click, ies_music_click, location_click,
-        message_action, click_landing_page, click_shopwindow,
-        click_website, click_download, click_call_dy,
-        submit_certification_count, approval_count,
-        first_rental_order_count, first_order_count, commute_first_pay_count
-        )
-        values
-        <foreach collection="list" item="item" separator=",">
-            (#{item.advertiserId,jdbcType=BIGINT}, #{item.campaignId,jdbcType=BIGINT}, #{item.adId,jdbcType=BIGINT},
-            #{item.statDatetime,jdbcType=INTEGER}, #{item.hour,jdbcType=INTEGER}, #{item.campaignName,jdbcType=VARCHAR},
-            #{item.adName,jdbcType=VARCHAR}, #{item.cost,jdbcType=DECIMAL}, #{item.show,jdbcType=BIGINT},
-            #{item.avgShowCost,jdbcType=DECIMAL}, #{item.click,jdbcType=BIGINT}, #{item.avgClickCost,jdbcType=DECIMAL},
-            #{item.ctr,jdbcType=DECIMAL}, #{item.convert,jdbcType=BIGINT}, #{item.convertCost,jdbcType=DECIMAL},
-            #{item.convertRate,jdbcType=DECIMAL}, #{item.deepConvert,jdbcType=BIGINT},
-            #{item.deepConvertCost,jdbcType=DECIMAL},
-            #{item.deepConvertRate,jdbcType=DECIMAL}, #{item.attributionConvert,jdbcType=BIGINT},
-            #{item.attributionConvertCost,jdbcType=DECIMAL},
-            #{item.attributionDeepConvert,jdbcType=BIGINT}, #{item.attributionDeepConvertCost,jdbcType=DECIMAL},
-            #{item.downloadStart,jdbcType=BIGINT}, #{item.downloadStartCost,jdbcType=DECIMAL},
-            #{item.downloadStartRate,jdbcType=DECIMAL},
-            #{item.downloadFinish,jdbcType=BIGINT}, #{item.downloadFinishCost,jdbcType=DECIMAL},
-            #{item.downloadFinishRate,jdbcType=DECIMAL},
-            #{item.clickInstall,jdbcType=BIGINT}, #{item.installFinish,jdbcType=BIGINT},
-            #{item.installFinishCost,jdbcType=DECIMAL},
-            #{item.installFinishRate,jdbcType=DECIMAL}, #{item.active,jdbcType=BIGINT},
-            #{item.activeCost,jdbcType=DECIMAL},
-            #{item.activeRate,jdbcType=DECIMAL}, #{item.register,jdbcType=DECIMAL},
-            #{item.activeRegisterCost,jdbcType=DECIMAL},
-            #{item.activeRegisterRate,jdbcType=REAL}, #{item.nextDayOpen,jdbcType=BIGINT},
-            #{item.nextDayOpenCost,jdbcType=DECIMAL},
-            #{item.nextDayOpenRate,jdbcType=DECIMAL}, #{item.attributionNextDayOpenCnt,jdbcType=BIGINT},
-            #{item.attributionNextDayOpenCost,jdbcType=DECIMAL}, #{item.attributionNextDayOpenRate,jdbcType=DECIMAL},
-            #{item.gameAddiction,jdbcType=BIGINT}, #{item.gameAddictionCost,jdbcType=DECIMAL},
-            #{item.gameAddictionRate,jdbcType=DECIMAL},
-            #{item.payCount,jdbcType=BIGINT}, #{item.activePayCost,jdbcType=DECIMAL},
-            #{item.activePayRate,jdbcType=DECIMAL},
-            #{item.loanCompletion,jdbcType=BIGINT}, #{item.loanCompletionCost,jdbcType=DECIMAL},
-            #{item.loanCompletionRate,jdbcType=DECIMAL},
-            #{item.preLoanCredit,jdbcType=BIGINT}, #{item.preLoanCreditCost,jdbcType=DECIMAL},
-            #{item.loanCredit,jdbcType=BIGINT},
-            #{item.loanCreditCost,jdbcType=DECIMAL}, #{item.loanCreditRate,jdbcType=DECIMAL},
-            #{item.inAppUv,jdbcType=BIGINT},
-            #{item.inAppDetailUv,jdbcType=BIGINT}, #{item.inAppCart,jdbcType=BIGINT}, #{item.inAppPay,jdbcType=BIGINT},
-            #{item.inAppOrder,jdbcType=BIGINT}, #{item.attributionGamePay7dCount,jdbcType=BIGINT},
-            #{item.attributionGamePay7dCost,jdbcType=DECIMAL},
-            #{item.attributionActivePay7dPerCount,jdbcType=BIGINT}, #{item.gamePayCost,jdbcType=DECIMAL},
-            #{item.gamePayCount,jdbcType=BIGINT}, #{item.phone,jdbcType=BIGINT}, #{item.form,jdbcType=BIGINT},
-            #{item.mapSearch,jdbcType=BIGINT}, #{item.button,jdbcType=BIGINT}, #{item.view,jdbcType=BIGINT},
-            #{item.download,jdbcType=BIGINT}, #{item.qq,jdbcType=BIGINT}, #{item.lottery,jdbcType=BIGINT},
-            #{item.vote,jdbcType=BIGINT}, #{item.message,jdbcType=BIGINT}, #{item.redirect,jdbcType=BIGINT},
-            #{item.shopping,jdbcType=BIGINT}, #{item.consult,jdbcType=BIGINT}, #{item.wechat,jdbcType=BIGINT},
-            #{item.phoneConfirm,jdbcType=BIGINT}, #{item.phoneConnect,jdbcType=BIGINT},
-            #{item.consultEffective,jdbcType=BIGINT},
-            #{item.coupon,jdbcType=BIGINT}, #{item.couponSinglePage,jdbcType=BIGINT},
-            #{item.redirectToShop,jdbcType=BIGINT},
-            #{item.poiCollect,jdbcType=BIGINT}, #{item.poiAddressClick,jdbcType=BIGINT},
-            #{item.lubanOrderCnt,jdbcType=BIGINT},
-            #{item.lubanOrderStatAmount,jdbcType=DECIMAL}, #{item.lubanOrderRoi,jdbcType=DECIMAL},
-            #{item.lubanLiveEnterCnt,jdbcType=BIGINT},
-            #{item.liveWatchOneMinuteCount,jdbcType=BIGINT}, #{item.lubanLiveFollowCnt,jdbcType=BIGINT},
-            #{item.liveFansClubJoinCnt,jdbcType=BIGINT}, #{item.lubanLiveCommentCnt,jdbcType=BIGINT},
-            #{item.lubanLiveShareCnt,jdbcType=BIGINT}, #{item.lubanLiveGiftCnt,jdbcType=BIGINT},
-            #{item.lubanLiveGiftAmount,jdbcType=DECIMAL},
-            #{item.lubanLiveSlidecartClickCnt,jdbcType=BIGINT}, #{item.lubanLiveClickProductCnt,jdbcType=BIGINT},
-            #{item.lubanLivePayOrderCount,jdbcType=BIGINT}, #{item.lubanLivePayOrderStatCost,jdbcType=DECIMAL},
-            #{item.liveComponentClickCount,jdbcType=BIGINT}, #{item.liveComponentClickCost,jdbcType=DECIMAL},
-            #{item.liveComponentClickRate,jdbcType=DECIMAL}, #{item.wechatLoginCount,jdbcType=BIGINT},
-            #{item.attributionWechatLogin30dCount,jdbcType=BIGINT}, #{item.wechatLoginCost,jdbcType=DECIMAL},
-            #{item.attributionWechatLogin30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayCount,jdbcType=BIGINT},
-            #{item.attributionWechatFirstPay30dCount,jdbcType=BIGINT}, #{item.wechatFirstPayCost,jdbcType=DECIMAL},
-            #{item.attributionWechatFirstPay30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayRate,jdbcType=DECIMAL},
-            #{item.attributionWechatFirstPay30dRate,jdbcType=DECIMAL}, #{item.wechatPayAmount,jdbcType=DECIMAL},
-            #{item.attributionWechatPay30dAmount,jdbcType=DECIMAL}, #{item.attributionWechatPay30dRoi,jdbcType=DECIMAL},
-            #{item.phoneEffective,jdbcType=BIGINT}, #{item.totalPlay,jdbcType=BIGINT},
-            #{item.validPlay,jdbcType=BIGINT},
-            #{item.validPlayCost,jdbcType=DECIMAL}, #{item.validPlayRate,jdbcType=DECIMAL},
-            #{item.play25FeedBreak,jdbcType=BIGINT},
-            #{item.play50FeedBreak,jdbcType=BIGINT}, #{item.play75FeedBreak,jdbcType=BIGINT},
-            #{item.play100FeedBreak,jdbcType=BIGINT},
-            #{item.averagePlayTimePerPlay,jdbcType=DECIMAL}, #{item.playOverRate,jdbcType=DECIMAL},
-            #{item.wifiPlayRate,jdbcType=DECIMAL},
-            #{item.wifiPlay,jdbcType=BIGINT}, #{item.playDurationSum,jdbcType=BIGINT},
-            #{item.advancedCreativePhoneClick,jdbcType=BIGINT},
-            #{item.advancedCreativeCounselClick,jdbcType=BIGINT}, #{item.advancedCreativeFormClick,jdbcType=BIGINT},
-            #{item.advancedCreativeCouponAddition,jdbcType=BIGINT}, #{item.advancedCreativeFormSubmit,jdbcType=BIGINT},
-            #{item.cardShow,jdbcType=BIGINT}, #{item.share,jdbcType=BIGINT}, #{item.comment,jdbcType=BIGINT},
-            #{item.like,jdbcType=BIGINT}, #{item.follow,jdbcType=BIGINT}, #{item.homeVisited,jdbcType=BIGINT},
-            #{item.iesChallengeClick,jdbcType=BIGINT}, #{item.iesMusicClick,jdbcType=BIGINT},
-            #{item.locationClick,jdbcType=BIGINT},
-            #{item.messageAction,jdbcType=BIGINT}, #{item.clickLandingPage,jdbcType=BIGINT},
-            #{item.clickShopwindow,jdbcType=BIGINT},
-            #{item.clickWebsite,jdbcType=BIGINT}, #{item.clickDownload,jdbcType=BIGINT},
-            #{item.clickCallDy,jdbcType=BIGINT},
-            #{item.submitCertificationCount,jdbcType=BIGINT}, #{item.approvalCount,jdbcType=BIGINT},
-            #{item.firstRentalOrderCount,jdbcType=BIGINT}, #{item.firstOrderCount,jdbcType=BIGINT},
-            #{item.commuteFirstPayCount,jdbcType=BIGINT}
-            )
-        </foreach>
-    </insert>
-
-</mapper>

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

@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceAdvertiserHourlyReportMapper">
-
-    <select id="selectMaxHour" resultType="java.lang.Integer">
-        select max(`hour`)
-        from application.bytedance_advertiser_report_hourly_dw
-        where account_id = #{accountId}
-          and stat_datetime = #{statDate}
-    </select>
-
-    <select id="getCost" resultType="java.math.BigDecimal">
-        select cost
-        from application.bytedance_advertiser_report_hourly_dw
-        where account_id = #{accountId}
-          and stat_datetime = #{statDate}
-          and `hour` = #{statHour}
-    </select>
-
-</mapper>

File diff suppressed because it is too large
+ 0 - 2300
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/BytedanceAdvertiserReportDailyMapper.xml


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

@@ -1,849 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceAdvertiserReportHourlyMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceAdvertiserReportHourly">
-        <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
-        <id column="stat_datetime" property="statDatetime" jdbcType="INTEGER"/>
-        <id column="hour" property="hour" jdbcType="INTEGER"/>
-        <result column="cost" property="cost" jdbcType="DECIMAL"/>
-        <result column="show" property="show" jdbcType="BIGINT"/>
-        <result column="avg_show_cost" property="avgShowCost" jdbcType="DECIMAL"/>
-        <result column="click" property="click" jdbcType="BIGINT"/>
-        <result column="avg_click_cost" property="avgClickCost" jdbcType="DECIMAL"/>
-        <result column="ctr" property="ctr" jdbcType="DECIMAL"/>
-        <result column="convert" property="convert" jdbcType="BIGINT"/>
-        <result column="convert_cost" property="convertCost" jdbcType="DECIMAL"/>
-        <result column="convert_rate" property="convertRate" jdbcType="DECIMAL"/>
-        <result column="deep_convert" property="deepConvert" jdbcType="BIGINT"/>
-        <result column="deep_convert_cost" property="deepConvertCost" jdbcType="DECIMAL"/>
-        <result column="deep_convert_rate" property="deepConvertRate" jdbcType="DECIMAL"/>
-        <result column="attribution_convert" property="attributionConvert" jdbcType="BIGINT"/>
-        <result column="attribution_convert_cost" property="attributionConvertCost" jdbcType="DECIMAL"/>
-        <result column="attribution_deep_convert" property="attributionDeepConvert" jdbcType="BIGINT"/>
-        <result column="attribution_deep_convert_cost" property="attributionDeepConvertCost" jdbcType="DECIMAL"/>
-        <result column="download_start" property="downloadStart" jdbcType="BIGINT"/>
-        <result column="download_start_cost" property="downloadStartCost" jdbcType="DECIMAL"/>
-        <result column="download_start_rate" property="downloadStartRate" jdbcType="DECIMAL"/>
-        <result column="download_finish" property="downloadFinish" jdbcType="BIGINT"/>
-        <result column="download_finish_cost" property="downloadFinishCost" jdbcType="DECIMAL"/>
-        <result column="download_finish_rate" property="downloadFinishRate" jdbcType="DECIMAL"/>
-        <result column="click_install" property="clickInstall" jdbcType="BIGINT"/>
-        <result column="install_finish" property="installFinish" jdbcType="BIGINT"/>
-        <result column="install_finish_cost" property="installFinishCost" jdbcType="DECIMAL"/>
-        <result column="install_finish_rate" property="installFinishRate" jdbcType="DECIMAL"/>
-        <result column="active" property="active" jdbcType="BIGINT"/>
-        <result column="active_cost" property="activeCost" jdbcType="DECIMAL"/>
-        <result column="active_rate" property="activeRate" jdbcType="DECIMAL"/>
-        <result column="register" property="register" jdbcType="DECIMAL"/>
-        <result column="active_register_cost" property="activeRegisterCost" jdbcType="DECIMAL"/>
-        <result column="active_register_rate" property="activeRegisterRate" jdbcType="REAL"/>
-        <result column="next_day_open" property="nextDayOpen" jdbcType="BIGINT"/>
-        <result column="next_day_open_cost" property="nextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="next_day_open_rate" property="nextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_cnt" property="attributionNextDayOpenCnt" jdbcType="BIGINT"/>
-        <result column="attribution_next_day_open_cost" property="attributionNextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_rate" property="attributionNextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="game_addiction" property="gameAddiction" jdbcType="BIGINT"/>
-        <result column="game_addiction_cost" property="gameAddictionCost" jdbcType="DECIMAL"/>
-        <result column="game_addiction_rate" property="gameAddictionRate" jdbcType="DECIMAL"/>
-        <result column="pay_count" property="payCount" jdbcType="BIGINT"/>
-        <result column="active_pay_cost" property="activePayCost" jdbcType="DECIMAL"/>
-        <result column="active_pay_rate" property="activePayRate" jdbcType="DECIMAL"/>
-        <result column="loan_completion" property="loanCompletion" jdbcType="BIGINT"/>
-        <result column="loan_completion_cost" property="loanCompletionCost" jdbcType="DECIMAL"/>
-        <result column="loan_completion_rate" property="loanCompletionRate" jdbcType="DECIMAL"/>
-        <result column="pre_loan_credit" property="preLoanCredit" jdbcType="BIGINT"/>
-        <result column="pre_loan_credit_cost" property="preLoanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit" property="loanCredit" jdbcType="BIGINT"/>
-        <result column="loan_credit_cost" property="loanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit_rate" property="loanCreditRate" jdbcType="DECIMAL"/>
-        <result column="in_app_uv" property="inAppUv" jdbcType="BIGINT"/>
-        <result column="in_app_detail_uv" property="inAppDetailUv" jdbcType="BIGINT"/>
-        <result column="in_app_cart" property="inAppCart" jdbcType="BIGINT"/>
-        <result column="in_app_pay" property="inAppPay" jdbcType="BIGINT"/>
-        <result column="in_app_order" property="inAppOrder" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_count" property="attributionGamePay7dCount" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_cost" property="attributionGamePay7dCost" jdbcType="DECIMAL"/>
-        <result column="attribution_active_pay_7d_per_count" property="attributionActivePay7dPerCount"
-                jdbcType="BIGINT"/>
-        <result column="game_pay_cost" property="gamePayCost" jdbcType="DECIMAL"/>
-        <result column="game_pay_count" property="gamePayCount" jdbcType="BIGINT"/>
-        <result column="phone" property="phone" jdbcType="BIGINT"/>
-        <result column="form" property="form" jdbcType="BIGINT"/>
-        <result column="map_search" property="mapSearch" jdbcType="BIGINT"/>
-        <result column="button" property="button" jdbcType="BIGINT"/>
-        <result column="view" property="view" jdbcType="BIGINT"/>
-        <result column="download" property="download" jdbcType="BIGINT"/>
-        <result column="qq" property="qq" jdbcType="BIGINT"/>
-        <result column="lottery" property="lottery" jdbcType="BIGINT"/>
-        <result column="vote" property="vote" jdbcType="BIGINT"/>
-        <result column="message" property="message" jdbcType="BIGINT"/>
-        <result column="redirect" property="redirect" jdbcType="BIGINT"/>
-        <result column="shopping" property="shopping" jdbcType="BIGINT"/>
-        <result column="consult" property="consult" jdbcType="BIGINT"/>
-        <result column="wechat" property="wechat" jdbcType="BIGINT"/>
-        <result column="phone_confirm" property="phoneConfirm" jdbcType="BIGINT"/>
-        <result column="phone_connect" property="phoneConnect" jdbcType="BIGINT"/>
-        <result column="consult_effective" property="consultEffective" jdbcType="BIGINT"/>
-        <result column="coupon" property="coupon" jdbcType="BIGINT"/>
-        <result column="coupon_single_page" property="couponSinglePage" jdbcType="BIGINT"/>
-        <result column="redirect_to_shop" property="redirectToShop" jdbcType="BIGINT"/>
-        <result column="poi_collect" property="poiCollect" jdbcType="BIGINT"/>
-        <result column="poi_address_click" property="poiAddressClick" jdbcType="BIGINT"/>
-        <result column="luban_order_cnt" property="lubanOrderCnt" jdbcType="BIGINT"/>
-        <result column="luban_order_stat_amount" property="lubanOrderStatAmount" jdbcType="DECIMAL"/>
-        <result column="luban_order_roi" property="lubanOrderRoi" jdbcType="DECIMAL"/>
-        <result column="luban_live_enter_cnt" property="lubanLiveEnterCnt" jdbcType="BIGINT"/>
-        <result column="live_watch_one_minute_count" property="liveWatchOneMinuteCount" jdbcType="BIGINT"/>
-        <result column="luban_live_follow_cnt" property="lubanLiveFollowCnt" jdbcType="BIGINT"/>
-        <result column="live_fans_club_join_cnt" property="liveFansClubJoinCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_comment_cnt" property="lubanLiveCommentCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_share_cnt" property="lubanLiveShareCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_cnt" property="lubanLiveGiftCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_amount" property="lubanLiveGiftAmount" jdbcType="DECIMAL"/>
-        <result column="luban_live_slidecart_click_cnt" property="lubanLiveSlidecartClickCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_click_product_cnt" property="lubanLiveClickProductCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_count" property="lubanLivePayOrderCount" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_stat_cost" property="lubanLivePayOrderStatCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_count" property="liveComponentClickCount" jdbcType="BIGINT"/>
-        <result column="live_component_click_cost" property="liveComponentClickCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_rate" property="liveComponentClickRate" jdbcType="DECIMAL"/>
-        <result column="wechat_login_count" property="wechatLoginCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_login_30d_count" property="attributionWechatLogin30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_login_cost" property="wechatLoginCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_login_30d_cost" property="attributionWechatLogin30dCost" jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_count" property="wechatFirstPayCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_first_pay_30d_count" property="attributionWechatFirstPay30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_first_pay_cost" property="wechatFirstPayCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_cost" property="attributionWechatFirstPay30dCost"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_rate" property="wechatFirstPayRate" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_rate" property="attributionWechatFirstPay30dRate"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_pay_amount" property="wechatPayAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_amount" property="attributionWechatPay30dAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_roi" property="attributionWechatPay30dRoi" jdbcType="DECIMAL"/>
-        <result column="phone_effective" property="phoneEffective" jdbcType="BIGINT"/>
-        <result column="total_play" property="totalPlay" jdbcType="BIGINT"/>
-        <result column="valid_play" property="validPlay" jdbcType="BIGINT"/>
-        <result column="valid_play_cost" property="validPlayCost" jdbcType="DECIMAL"/>
-        <result column="valid_play_rate" property="validPlayRate" jdbcType="DECIMAL"/>
-        <result column="play_25_feed_break" property="play25FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_50_feed_break" property="play50FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_75_feed_break" property="play75FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_100_feed_break" property="play100FeedBreak" jdbcType="BIGINT"/>
-        <result column="average_play_time_per_play" property="averagePlayTimePerPlay" jdbcType="DECIMAL"/>
-        <result column="play_over_rate" property="playOverRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play_rate" property="wifiPlayRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play" property="wifiPlay" jdbcType="BIGINT"/>
-        <result column="play_duration_sum" property="playDurationSum" jdbcType="BIGINT"/>
-        <result column="advanced_creative_phone_click" property="advancedCreativePhoneClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_counsel_click" property="advancedCreativeCounselClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_click" property="advancedCreativeFormClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_coupon_addition" property="advancedCreativeCouponAddition" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_submit" property="advancedCreativeFormSubmit" jdbcType="BIGINT"/>
-        <result column="card_show" property="cardShow" jdbcType="BIGINT"/>
-        <result column="share" property="share" jdbcType="BIGINT"/>
-        <result column="comment" property="comment" jdbcType="BIGINT"/>
-        <result column="like" property="like" jdbcType="BIGINT"/>
-        <result column="follow" property="follow" jdbcType="BIGINT"/>
-        <result column="home_visited" property="homeVisited" jdbcType="BIGINT"/>
-        <result column="ies_challenge_click" property="iesChallengeClick" jdbcType="BIGINT"/>
-        <result column="ies_music_click" property="iesMusicClick" jdbcType="BIGINT"/>
-        <result column="location_click" property="locationClick" jdbcType="BIGINT"/>
-        <result column="message_action" property="messageAction" jdbcType="BIGINT"/>
-        <result column="click_landing_page" property="clickLandingPage" jdbcType="BIGINT"/>
-        <result column="click_shopwindow" property="clickShopwindow" jdbcType="BIGINT"/>
-        <result column="click_website" property="clickWebsite" jdbcType="BIGINT"/>
-        <result column="click_download" property="clickDownload" jdbcType="BIGINT"/>
-        <result column="click_call_dy" property="clickCallDy" jdbcType="BIGINT"/>
-        <result column="submit_certification_count" property="submitCertificationCount" jdbcType="BIGINT"/>
-        <result column="approval_count" property="approvalCount" jdbcType="BIGINT"/>
-        <result column="first_rental_order_count" property="firstRentalOrderCount" jdbcType="BIGINT"/>
-        <result column="first_order_count" property="firstOrderCount" jdbcType="BIGINT"/>
-        <result column="commute_first_pay_count" property="commuteFirstPayCount" jdbcType="BIGINT"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-        advertiser_id
-        , stat_datetime, hour, cost, show, avg_show_cost, click, avg_click_cost,
-    ctr, convert, convert_cost, convert_rate, deep_convert, deep_convert_cost, deep_convert_rate, 
-    attribution_convert, attribution_convert_cost, attribution_deep_convert, attribution_deep_convert_cost, 
-    download_start, download_start_cost, download_start_rate, download_finish, download_finish_cost, 
-    download_finish_rate, click_install, install_finish, install_finish_cost, install_finish_rate, 
-    active, active_cost, active_rate, register, active_register_cost, active_register_rate, 
-    next_day_open, next_day_open_cost, next_day_open_rate, attribution_next_day_open_cnt, 
-    attribution_next_day_open_cost, attribution_next_day_open_rate, game_addiction, game_addiction_cost, 
-    game_addiction_rate, pay_count, active_pay_cost, active_pay_rate, loan_completion, 
-    loan_completion_cost, loan_completion_rate, pre_loan_credit, pre_loan_credit_cost, 
-    loan_credit, loan_credit_cost, loan_credit_rate, in_app_uv, in_app_detail_uv, in_app_cart, 
-    in_app_pay, in_app_order, attribution_game_pay_7d_count, attribution_game_pay_7d_cost, 
-    attribution_active_pay_7d_per_count, game_pay_cost, game_pay_count, phone, form, 
-    map_search, button, view, download, qq, lottery, vote, message, redirect, shopping, 
-    consult, wechat, phone_confirm, phone_connect, consult_effective, coupon, coupon_single_page, 
-    redirect_to_shop, poi_collect, poi_address_click, luban_order_cnt, luban_order_stat_amount, 
-    luban_order_roi, luban_live_enter_cnt, live_watch_one_minute_count, luban_live_follow_cnt, 
-    live_fans_club_join_cnt, luban_live_comment_cnt, luban_live_share_cnt, luban_live_gift_cnt, 
-    luban_live_gift_amount, luban_live_slidecart_click_cnt, luban_live_click_product_cnt, 
-    luban_live_pay_order_count, luban_live_pay_order_stat_cost, live_component_click_count, 
-    live_component_click_cost, live_component_click_rate, wechat_login_count, attribution_wechat_login_30d_count, 
-    wechat_login_cost, attribution_wechat_login_30d_cost, wechat_first_pay_count, attribution_wechat_first_pay_30d_count, 
-    wechat_first_pay_cost, attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate, 
-    attribution_wechat_first_pay_30d_rate, wechat_pay_amount, attribution_wechat_pay_30d_amount, 
-    attribution_wechat_pay_30d_roi, phone_effective, total_play, valid_play, valid_play_cost, 
-    valid_play_rate, play_25_feed_break, play_50_feed_break, play_75_feed_break, play_100_feed_break, 
-    average_play_time_per_play, play_over_rate, wifi_play_rate, wifi_play, play_duration_sum, 
-    advanced_creative_phone_click, advanced_creative_counsel_click, advanced_creative_form_click, 
-    advanced_creative_coupon_addition, advanced_creative_form_submit, card_show, share, 
-    comment, like, follow, home_visited, ies_challenge_click, ies_music_click, location_click, 
-    message_action, click_landing_page, click_shopwindow, click_website, click_download, 
-    click_call_dy, submit_certification_count, approval_count, first_rental_order_count, 
-    first_order_count, commute_first_pay_count
-    </sql>
-
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceAdvertiserReportHourly">
-        replace into bytedance_advertiser_report_hourly (advertiser_id, stat_datetime, `hour`,
-        cost, `show`, avg_show_cost,
-        click, avg_click_cost, ctr,
-        `convert`, convert_cost, convert_rate,
-        deep_convert, deep_convert_cost, deep_convert_rate,
-        attribution_convert, attribution_convert_cost,
-        attribution_deep_convert, attribution_deep_convert_cost,
-        download_start, download_start_cost, download_start_rate,
-        download_finish, download_finish_cost, download_finish_rate,
-        click_install, install_finish, install_finish_cost,
-        install_finish_rate, active, active_cost,
-        active_rate, register, active_register_cost,
-        active_register_rate, next_day_open, next_day_open_cost,
-        next_day_open_rate, attribution_next_day_open_cnt,
-        attribution_next_day_open_cost, attribution_next_day_open_rate,
-        game_addiction, game_addiction_cost, game_addiction_rate,
-        pay_count, active_pay_cost, active_pay_rate,
-        loan_completion, loan_completion_cost, loan_completion_rate,
-        pre_loan_credit, pre_loan_credit_cost, loan_credit,
-        loan_credit_cost, loan_credit_rate, in_app_uv,
-        in_app_detail_uv, in_app_cart, in_app_pay,
-        in_app_order, attribution_game_pay_7d_count, attribution_game_pay_7d_cost,
-        attribution_active_pay_7d_per_count, game_pay_cost,
-        game_pay_count, phone, form,
-        map_search, button, `view`,
-        download, qq, lottery,
-        vote, message, redirect,
-        shopping, consult, wechat,
-        phone_confirm, phone_connect, consult_effective,
-        coupon, coupon_single_page, redirect_to_shop,
-        poi_collect, poi_address_click, luban_order_cnt,
-        luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt,
-        live_watch_one_minute_count, luban_live_follow_cnt,
-        live_fans_club_join_cnt, luban_live_comment_cnt,
-        luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount,
-        luban_live_slidecart_click_cnt, luban_live_click_product_cnt,
-        luban_live_pay_order_count, luban_live_pay_order_stat_cost,
-        live_component_click_count, live_component_click_cost,
-        live_component_click_rate, wechat_login_count,
-        attribution_wechat_login_30d_count, wechat_login_cost,
-        attribution_wechat_login_30d_cost, wechat_first_pay_count,
-        attribution_wechat_first_pay_30d_count, wechat_first_pay_cost,
-        attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate,
-        attribution_wechat_first_pay_30d_rate, wechat_pay_amount,
-        attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi,
-        phone_effective, total_play, valid_play,
-        valid_play_cost, valid_play_rate, play_25_feed_break,
-        play_50_feed_break, play_75_feed_break, play_100_feed_break,
-        average_play_time_per_play, play_over_rate, wifi_play_rate,
-        wifi_play, play_duration_sum, advanced_creative_phone_click,
-        advanced_creative_counsel_click, advanced_creative_form_click,
-        advanced_creative_coupon_addition, advanced_creative_form_submit,
-        card_show, `share`, `comment`,
-        `like`, follow, home_visited,
-        ies_challenge_click, ies_music_click, location_click,
-        message_action, click_landing_page, click_shopwindow,
-        click_website, click_download, click_call_dy,
-        submit_certification_count, approval_count,
-        first_rental_order_count, first_order_count, commute_first_pay_count,
-        attribution_active_pay_intra_one_day_count,
-        attribution_active_pay_intra_one_day_cost,
-        attribution_active_pay_intra_one_day_rate,
-        attribution_active_pay_intra_one_day_amount,
-        attribution_active_pay_intra_one_day_roi,
-        stat_pay_amount
-        )
-        values
-        <foreach collection="list" item="item" separator=",">
-            (#{item.advertiserId,jdbcType=BIGINT}, #{item.statDatetime,jdbcType=INTEGER}, #{item.hour,jdbcType=INTEGER},
-            #{item.cost,jdbcType=DECIMAL}, #{item.show,jdbcType=BIGINT}, #{item.avgShowCost,jdbcType=DECIMAL},
-            #{item.click,jdbcType=BIGINT}, #{item.avgClickCost,jdbcType=DECIMAL}, #{item.ctr,jdbcType=DECIMAL},
-            #{item.convert,jdbcType=BIGINT}, #{item.convertCost,jdbcType=DECIMAL}, #{item.convertRate,jdbcType=DECIMAL},
-            #{item.deepConvert,jdbcType=BIGINT}, #{item.deepConvertCost,jdbcType=DECIMAL},
-            #{item.deepConvertRate,jdbcType=DECIMAL},
-            #{item.attributionConvert,jdbcType=BIGINT}, #{item.attributionConvertCost,jdbcType=DECIMAL},
-            #{item.attributionDeepConvert,jdbcType=BIGINT}, #{item.attributionDeepConvertCost,jdbcType=DECIMAL},
-            #{item.downloadStart,jdbcType=BIGINT}, #{item.downloadStartCost,jdbcType=DECIMAL},
-            #{item.downloadStartRate,jdbcType=DECIMAL},
-            #{item.downloadFinish,jdbcType=BIGINT}, #{item.downloadFinishCost,jdbcType=DECIMAL},
-            #{item.downloadFinishRate,jdbcType=DECIMAL},
-            #{item.clickInstall,jdbcType=BIGINT}, #{item.installFinish,jdbcType=BIGINT},
-            #{item.installFinishCost,jdbcType=DECIMAL},
-            #{item.installFinishRate,jdbcType=DECIMAL}, #{item.active,jdbcType=BIGINT},
-            #{item.activeCost,jdbcType=DECIMAL},
-            #{item.activeRate,jdbcType=DECIMAL}, #{item.register,jdbcType=DECIMAL},
-            #{item.activeRegisterCost,jdbcType=DECIMAL},
-            #{item.activeRegisterRate,jdbcType=REAL}, #{item.nextDayOpen,jdbcType=BIGINT},
-            #{item.nextDayOpenCost,jdbcType=DECIMAL},
-            #{item.nextDayOpenRate,jdbcType=DECIMAL}, #{item.attributionNextDayOpenCnt,jdbcType=BIGINT},
-            #{item.attributionNextDayOpenCost,jdbcType=DECIMAL}, #{item.attributionNextDayOpenRate,jdbcType=DECIMAL},
-            #{item.gameAddiction,jdbcType=BIGINT}, #{item.gameAddictionCost,jdbcType=DECIMAL},
-            #{item.gameAddictionRate,jdbcType=DECIMAL},
-            #{item.payCount,jdbcType=BIGINT}, #{item.activePayCost,jdbcType=DECIMAL},
-            #{item.activePayRate,jdbcType=DECIMAL},
-            #{item.loanCompletion,jdbcType=BIGINT}, #{item.loanCompletionCost,jdbcType=DECIMAL},
-            #{item.loanCompletionRate,jdbcType=DECIMAL},
-            #{item.preLoanCredit,jdbcType=BIGINT}, #{item.preLoanCreditCost,jdbcType=DECIMAL},
-            #{item.loanCredit,jdbcType=BIGINT},
-            #{item.loanCreditCost,jdbcType=DECIMAL}, #{item.loanCreditRate,jdbcType=DECIMAL},
-            #{item.inAppUv,jdbcType=BIGINT},
-            #{item.inAppDetailUv,jdbcType=BIGINT}, #{item.inAppCart,jdbcType=BIGINT}, #{item.inAppPay,jdbcType=BIGINT},
-            #{item.inAppOrder,jdbcType=BIGINT}, #{item.attributionGamePay7dCount,jdbcType=BIGINT},
-            #{item.attributionGamePay7dCost,jdbcType=DECIMAL},
-            #{item.attributionActivePay7dPerCount,jdbcType=BIGINT}, #{item.gamePayCost,jdbcType=DECIMAL},
-            #{item.gamePayCount,jdbcType=BIGINT}, #{item.phone,jdbcType=BIGINT}, #{item.form,jdbcType=BIGINT},
-            #{item.mapSearch,jdbcType=BIGINT}, #{item.button,jdbcType=BIGINT}, #{item.view,jdbcType=BIGINT},
-            #{item.download,jdbcType=BIGINT}, #{item.qq,jdbcType=BIGINT}, #{item.lottery,jdbcType=BIGINT},
-            #{item.vote,jdbcType=BIGINT}, #{item.message,jdbcType=BIGINT}, #{item.redirect,jdbcType=BIGINT},
-            #{item.shopping,jdbcType=BIGINT}, #{item.consult,jdbcType=BIGINT}, #{item.wechat,jdbcType=BIGINT},
-            #{item.phoneConfirm,jdbcType=BIGINT}, #{item.phoneConnect,jdbcType=BIGINT},
-            #{item.consultEffective,jdbcType=BIGINT},
-            #{item.coupon,jdbcType=BIGINT}, #{item.couponSinglePage,jdbcType=BIGINT},
-            #{item.redirectToShop,jdbcType=BIGINT},
-            #{item.poiCollect,jdbcType=BIGINT}, #{item.poiAddressClick,jdbcType=BIGINT},
-            #{item.lubanOrderCnt,jdbcType=BIGINT},
-            #{item.lubanOrderStatAmount,jdbcType=DECIMAL}, #{item.lubanOrderRoi,jdbcType=DECIMAL},
-            #{item.lubanLiveEnterCnt,jdbcType=BIGINT},
-            #{item.liveWatchOneMinuteCount,jdbcType=BIGINT}, #{item.lubanLiveFollowCnt,jdbcType=BIGINT},
-            #{item.liveFansClubJoinCnt,jdbcType=BIGINT}, #{item.lubanLiveCommentCnt,jdbcType=BIGINT},
-            #{item.lubanLiveShareCnt,jdbcType=BIGINT}, #{item.lubanLiveGiftCnt,jdbcType=BIGINT},
-            #{item.lubanLiveGiftAmount,jdbcType=DECIMAL},
-            #{item.lubanLiveSlidecartClickCnt,jdbcType=BIGINT}, #{item.lubanLiveClickProductCnt,jdbcType=BIGINT},
-            #{item.lubanLivePayOrderCount,jdbcType=BIGINT}, #{item.lubanLivePayOrderStatCost,jdbcType=DECIMAL},
-            #{item.liveComponentClickCount,jdbcType=BIGINT}, #{item.liveComponentClickCost,jdbcType=DECIMAL},
-            #{item.liveComponentClickRate,jdbcType=DECIMAL}, #{item.wechatLoginCount,jdbcType=BIGINT},
-            #{item.attributionWechatLogin30dCount,jdbcType=BIGINT}, #{item.wechatLoginCost,jdbcType=DECIMAL},
-            #{item.attributionWechatLogin30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayCount,jdbcType=BIGINT},
-            #{item.attributionWechatFirstPay30dCount,jdbcType=BIGINT}, #{item.wechatFirstPayCost,jdbcType=DECIMAL},
-            #{item.attributionWechatFirstPay30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayRate,jdbcType=DECIMAL},
-            #{item.attributionWechatFirstPay30dRate,jdbcType=DECIMAL}, #{item.wechatPayAmount,jdbcType=DECIMAL},
-            #{item.attributionWechatPay30dAmount,jdbcType=DECIMAL}, #{item.attributionWechatPay30dRoi,jdbcType=DECIMAL},
-            #{item.phoneEffective,jdbcType=BIGINT}, #{item.totalPlay,jdbcType=BIGINT},
-            #{item.validPlay,jdbcType=BIGINT},
-            #{item.validPlayCost,jdbcType=DECIMAL}, #{item.validPlayRate,jdbcType=DECIMAL},
-            #{item.play25FeedBreak,jdbcType=BIGINT},
-            #{item.play50FeedBreak,jdbcType=BIGINT}, #{item.play75FeedBreak,jdbcType=BIGINT},
-            #{item.play100FeedBreak,jdbcType=BIGINT},
-            #{item.averagePlayTimePerPlay,jdbcType=DECIMAL}, #{item.playOverRate,jdbcType=DECIMAL},
-            #{item.wifiPlayRate,jdbcType=DECIMAL},
-            #{item.wifiPlay,jdbcType=BIGINT}, #{item.playDurationSum,jdbcType=BIGINT},
-            #{item.advancedCreativePhoneClick,jdbcType=BIGINT},
-            #{item.advancedCreativeCounselClick,jdbcType=BIGINT}, #{item.advancedCreativeFormClick,jdbcType=BIGINT},
-            #{item.advancedCreativeCouponAddition,jdbcType=BIGINT}, #{item.advancedCreativeFormSubmit,jdbcType=BIGINT},
-            #{item.cardShow,jdbcType=BIGINT}, #{item.share,jdbcType=BIGINT}, #{item.comment,jdbcType=BIGINT},
-            #{item.like,jdbcType=BIGINT}, #{item.follow,jdbcType=BIGINT}, #{item.homeVisited,jdbcType=BIGINT},
-            #{item.iesChallengeClick,jdbcType=BIGINT}, #{item.iesMusicClick,jdbcType=BIGINT},
-            #{item.locationClick,jdbcType=BIGINT},
-            #{item.messageAction,jdbcType=BIGINT}, #{item.clickLandingPage,jdbcType=BIGINT},
-            #{item.clickShopwindow,jdbcType=BIGINT},
-            #{item.clickWebsite,jdbcType=BIGINT}, #{item.clickDownload,jdbcType=BIGINT},
-            #{item.clickCallDy,jdbcType=BIGINT},
-            #{item.submitCertificationCount,jdbcType=BIGINT}, #{item.approvalCount,jdbcType=BIGINT},
-            #{item.firstRentalOrderCount,jdbcType=BIGINT}, #{item.firstOrderCount,jdbcType=BIGINT},
-            #{item.commuteFirstPayCount,jdbcType=BIGINT},
-            #{item.attributionActivePayIntraOneDayCount},
-            #{item.attributionActivePayIntraOneDayCost},
-            #{item.attributionActivePayIntraOneDayRate},
-            #{item.attributionActivePayIntraOneDayAmount},
-            #{item.attributionActivePayIntraOneDayRoi},
-            #{item.statPayAmount}
-            )
-        </foreach>
-    </insert>
-
-    <insert id="insertV3Project" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceAdvertiserReportHourly">
-        replace into media_api.bytedance_cdp_project_report_hourly (
-        advertiser_id,
-        cdp_project_id,
-        cdp_project_name,
-        stat_time_day,
-        stat_hour,
-        active,
-        active_cost,
-        active_pay,
-        active_pay_cost,
-        active_pay_intra_day_cost,
-        active_pay_intra_day_count,
-        active_pay_intra_day_rate,
-        active_pay_rate,
-        active_rate,
-        active_register,
-        active_register_cost,
-        active_register_rate,
-        ad_dislike_cnt,
-        ad_report_cnt,
-        attribution_active_pay,
-        attribution_active_pay_7d_per_count,
-        attribution_active_pay_cost,
-        attribution_active_pay_rate,
-        attribution_billing_game_in_app_ltv_1day,
-        attribution_billing_game_in_app_ltv_2days,
-        attribution_billing_game_in_app_ltv_3days,
-        attribution_billing_game_in_app_ltv_4days,
-        attribution_billing_game_in_app_ltv_5days,
-        attribution_billing_game_in_app_ltv_6days,
-        attribution_billing_game_in_app_ltv_7days,
-        attribution_billing_game_in_app_roi_1day,
-        attribution_billing_game_in_app_roi_2days,
-        attribution_billing_game_in_app_roi_3days,
-        attribution_billing_game_in_app_roi_4days,
-        attribution_billing_game_in_app_roi_5days,
-        attribution_billing_game_in_app_roi_6days,
-        attribution_billing_game_in_app_roi_7days,
-        attribution_billing_game_pay_7d_cost,
-        attribution_billing_game_pay_7d_count,
-        attribution_clue_confirm,
-        attribution_clue_confirm_cost,
-        attribution_clue_high_intention,
-        attribution_clue_high_intention_cost,
-        attribution_clue_interflow,
-        attribution_clue_interflow_cost,
-        attribution_clue_pay_succeed,
-        attribution_clue_pay_succeed_cost,
-        attribution_conversion_class_count,
-        attribution_conversion_rate,
-        attribution_convert_cnt,
-        attribution_convert_cost,
-        attribution_customer_effective,
-        attribution_customer_effective_cost,
-        attribution_day_active_pay_cost,
-        attribution_day_active_pay_count,
-        attribution_day_active_pay_rate,
-        attribution_deep_convert_cnt,
-        attribution_deep_convert_cost,
-        attribution_deep_convert_rate,
-        attribution_game_in_app_ltv_1day,
-        attribution_game_in_app_ltv_2days,
-        attribution_game_in_app_ltv_3days,
-        attribution_game_in_app_ltv_4days,
-        attribution_game_in_app_ltv_5days,
-        attribution_game_in_app_ltv_6days,
-        attribution_game_in_app_ltv_7days,
-        attribution_game_in_app_ltv_8days,
-        attribution_game_in_app_roi_1day,
-        attribution_game_in_app_roi_2days,
-        attribution_game_in_app_roi_3days,
-        attribution_game_in_app_roi_4days,
-        attribution_game_in_app_roi_5days,
-        attribution_game_in_app_roi_6days,
-        attribution_game_in_app_roi_7days,
-        attribution_game_in_app_roi_8days,
-        attribution_game_pay_7d_cost,
-        attribution_game_pay_7d_count,
-        attribution_micro_game_0d_ltv,
-        attribution_micro_game_0d_roi,
-        attribution_micro_game_3d_ltv,
-        attribution_micro_game_3d_roi,
-        attribution_micro_game_7d_ltv,
-        attribution_micro_game_7d_roi,
-        attribution_next_day_open_cnt,
-        attribution_next_day_open_cost,
-        attribution_next_day_open_rate,
-        attribution_retention_2d_cnt,
-        attribution_retention_2d_cost,
-        attribution_retention_2d_rate,
-        attribution_retention_3d_cnt,
-        attribution_retention_3d_cost,
-        attribution_retention_3d_rate,
-        attribution_retention_4d_cnt,
-        attribution_retention_4d_cost,
-        attribution_retention_4d_rate,
-        attribution_retention_5d_cnt,
-        attribution_retention_5d_cost,
-        attribution_retention_5d_rate,
-        attribution_retention_6d_cnt,
-        attribution_retention_6d_cost,
-        attribution_retention_6d_rate,
-        attribution_retention_7d_cnt,
-        attribution_retention_7d_cost,
-        attribution_retention_7d_rate,
-        attribution_retention_7d_sum_cnt,
-        attribution_retention_7d_total_cost,
-        attribution_work_wechat_added_count,
-        attribution_work_wechat_dialog_count,
-        attribution_work_wechat_unfriend_count,
-        average_play_time_per_play,
-        bankcard_information_count,
-        button,
-        card_show,
-        certification_information_count,
-        click_call_dy,
-        click_cnt,
-        click_download,
-        click_landing_page,
-        click_shopwindow,
-        click_start_cnt,
-        click_start_cost,
-        click_start_rate,
-        click_website,
-        consult,
-        consult_clue,
-        consult_effective,
-        conversion_cost,
-        conversion_rate,
-        convert_cnt,
-        coupon,
-        coupon_single_page,
-        cpc_platform,
-        cpm_platform,
-        ctr,
-        customer_effective,
-        deep_convert_cnt,
-        deep_convert_cost,
-        deep_convert_rate,
-        download_finish_cnt,
-        download_finish_cost,
-        download_finish_rate,
-        download_start,
-        dy_comment,
-        dy_follow,
-        dy_home_visited,
-        dy_like,
-        dy_share,
-        first_class_count,
-        form,
-        form_submit,
-        game_addiction,
-        game_addiction_cost,
-        game_addiction_rate,
-        game_pay_cost,
-        game_pay_count,
-        high_loan_credit_count,
-        ies_challenge_click,
-        ies_music_click,
-        in_app_cart,
-        in_app_detail_uv,
-        in_app_order,
-        in_app_order_gmv,
-        in_app_order_roi,
-        in_app_pay,
-        in_app_pay_gmv,
-        in_app_pay_roi,
-        in_app_uv,
-        in_wechat_pay_count,
-        install_finish_cnt,
-        install_finish_cost,
-        install_finish_rate,
-        insurance_lt_roi,
-        live_component_click_cost,
-        live_component_click_count,
-        live_component_click_rate,
-        live_watch_one_minute_count,
-        loan,
-        loan_completion,
-        loan_completion_cost,
-        loan_completion_rate,
-        loan_cost,
-        loan_credit,
-        loan_credit_cost,
-        loan_credit_rate,
-        loan_rate,
-        location_click,
-        lottery,
-        low_loan_credit_count,
-        luban_live_comment_cnt,
-        luban_live_enter_cnt,
-        luban_live_follow_cnt,
-        luban_live_share_cnt,
-        map,
-        message,
-        message_action,
-        next_day_open,
-        open_account_count,
-        pay_amount_roi,
-        personal_information_count,
-        phone,
-        phone_confirm,
-        phone_connect,
-        phone_effective,
-        play_25_feed_break,
-        play_50_feed_break,
-        play_75_feed_break,
-        play_99_feed_break,
-        play_duration_3s,
-        play_over_rate,
-        poi_address_click,
-        poi_collect,
-        pre_loan_credit,
-        pre_loan_credit_cost,
-        premium_payment_cost,
-        premium_payment_count,
-        qq,
-        redirect,
-        redirect_to_shop,
-        second_class_count,
-        shopping,
-        show_cnt,
-        stat_cost,
-        stat_pay_amount,
-        total_play,
-        unfollow_in_wechat_count,
-        valid_play,
-        valid_play_cost,
-        valid_play_cost_of_mille,
-        valid_play_of_mille,
-        valid_play_rate,
-        view,
-        vote,
-        wifi_play_rate,
-        withdraw_m2_count
-        )
-        values
-        <foreach collection="list" item="item" separator=",">
-            (
-            #{item.advertiserId},
-            #{item.cdpProjectId},
-            #{item.cdpProjectName},
-            #{item.statTimeDay},
-            #{item.statHour},
-            #{item.active},
-            #{item.activeCost},
-            #{item.activePay},
-            #{item.activePayCost},
-            #{item.activePayIntraDayCost},
-            #{item.activePayIntraDayCount},
-            #{item.activePayIntraDayRate},
-            #{item.activePayRate},
-            #{item.activeRate},
-            #{item.activeRegister},
-            #{item.activeRegisterCost},
-            #{item.activeRegisterRate},
-            #{item.adDislikeCnt},
-            #{item.adReportCnt},
-            #{item.attributionActivePay},
-            #{item.attributionActivePay7dPerCount},
-            #{item.attributionActivePayCost},
-            #{item.attributionActivePayRate},
-            #{item.attributionBillingGameInAppLtv1day},
-            #{item.attributionBillingGameInAppLtv2days},
-            #{item.attributionBillingGameInAppLtv3days},
-            #{item.attributionBillingGameInAppLtv4days},
-            #{item.attributionBillingGameInAppLtv5days},
-            #{item.attributionBillingGameInAppLtv6days},
-            #{item.attributionBillingGameInAppLtv7days},
-            #{item.attributionBillingGameInAppRoi1day},
-            #{item.attributionBillingGameInAppRoi2days},
-            #{item.attributionBillingGameInAppRoi3days},
-            #{item.attributionBillingGameInAppRoi4days},
-            #{item.attributionBillingGameInAppRoi5days},
-            #{item.attributionBillingGameInAppRoi6days},
-            #{item.attributionBillingGameInAppRoi7days},
-            #{item.attributionBillingGamePay7dCost},
-            #{item.attributionBillingGamePay7dCount},
-            #{item.attributionClueConfirm},
-            #{item.attributionClueConfirmCost},
-            #{item.attributionClueHighIntention},
-            #{item.attributionClueHighIntentionCost},
-            #{item.attributionClueInterflow},
-            #{item.attributionClueInterflowCost},
-            #{item.attributionCluePaySucceed},
-            #{item.attributionCluePaySucceedCost},
-            #{item.attributionConversionClassCount},
-            #{item.attributionConversionRate},
-            #{item.attributionConvertCnt},
-            #{item.attributionConvertCost},
-            #{item.attributionCustomerEffective},
-            #{item.attributionCustomerEffectiveCost},
-            #{item.attributionDayActivePayCost},
-            #{item.attributionDayActivePayCount},
-            #{item.attributionDayActivePayRate},
-            #{item.attributionDeepConvertCnt},
-            #{item.attributionDeepConvertCost},
-            #{item.attributionDeepConvertRate},
-            #{item.attributionGameInAppLtv1day},
-            #{item.attributionGameInAppLtv2days},
-            #{item.attributionGameInAppLtv3days},
-            #{item.attributionGameInAppLtv4days},
-            #{item.attributionGameInAppLtv5days},
-            #{item.attributionGameInAppLtv6days},
-            #{item.attributionGameInAppLtv7days},
-            #{item.attributionGameInAppLtv8days},
-            #{item.attributionGameInAppRoi1day},
-            #{item.attributionGameInAppRoi2days},
-            #{item.attributionGameInAppRoi3days},
-            #{item.attributionGameInAppRoi4days},
-            #{item.attributionGameInAppRoi5days},
-            #{item.attributionGameInAppRoi6days},
-            #{item.attributionGameInAppRoi7days},
-            #{item.attributionGameInAppRoi8days},
-            #{item.attributionGamePay7dCost},
-            #{item.attributionGamePay7dCount},
-            #{item.attributionMicroGame0dLtv},
-            #{item.attributionMicroGame0dRoi},
-            #{item.attributionMicroGame3dLtv},
-            #{item.attributionMicroGame3dRoi},
-            #{item.attributionMicroGame7dLtv},
-            #{item.attributionMicroGame7dRoi},
-            #{item.attributionNextDayOpenCnt},
-            #{item.attributionNextDayOpenCost},
-            #{item.attributionNextDayOpenRate},
-            #{item.attributionRetention2dCnt},
-            #{item.attributionRetention2dCost},
-            #{item.attributionRetention2dRate},
-            #{item.attributionRetention3dCnt},
-            #{item.attributionRetention3dCost},
-            #{item.attributionRetention3dRate},
-            #{item.attributionRetention4dCnt},
-            #{item.attributionRetention4dCost},
-            #{item.attributionRetention4dRate},
-            #{item.attributionRetention5dCnt},
-            #{item.attributionRetention5dCost},
-            #{item.attributionRetention5dRate},
-            #{item.attributionRetention6dCnt},
-            #{item.attributionRetention6dCost},
-            #{item.attributionRetention6dRate},
-            #{item.attributionRetention7dCnt},
-            #{item.attributionRetention7dCost},
-            #{item.attributionRetention7dRate},
-            #{item.attributionRetention7dSumCnt},
-            #{item.attributionRetention7dTotalCost},
-            #{item.attributionWorkWechatAddedCount},
-            #{item.attributionWorkWechatDialogCount},
-            #{item.attributionWorkWechatUnfriendCount},
-            #{item.averagePlayTimePerPlay},
-            #{item.bankcardInformationCount},
-            #{item.button},
-            #{item.cardShow},
-            #{item.certificationInformationCount},
-            #{item.clickCallDy},
-            #{item.clickCnt},
-            #{item.clickDownload},
-            #{item.clickLandingPage},
-            #{item.clickShopwindow},
-            #{item.clickStartCnt},
-            #{item.clickStartCost},
-            #{item.clickStartRate},
-            #{item.clickWebsite},
-            #{item.consult},
-            #{item.consultClue},
-            #{item.consultEffective},
-            #{item.conversionCost},
-            #{item.conversionRate},
-            #{item.convertCnt},
-            #{item.coupon},
-            #{item.couponSinglePage},
-            #{item.cpcPlatform},
-            #{item.cpmPlatform},
-            #{item.ctr},
-            #{item.customerEffective},
-            #{item.deepConvertCnt},
-            #{item.deepConvertCost},
-            #{item.deepConvertRate},
-            #{item.downloadFinishCnt},
-            #{item.downloadFinishCost},
-            #{item.downloadFinishRate},
-            #{item.downloadStart},
-            #{item.dyComment},
-            #{item.dyFollow},
-            #{item.dyHomeVisited},
-            #{item.dyLike},
-            #{item.dyShare},
-            #{item.firstClassCount},
-            #{item.form},
-            #{item.formSubmit},
-            #{item.gameAddiction},
-            #{item.gameAddictionCost},
-            #{item.gameAddictionRate},
-            #{item.gamePayCost},
-            #{item.gamePayCount},
-            #{item.highLoanCreditCount},
-            #{item.iesChallengeClick},
-            #{item.iesMusicClick},
-            #{item.inAppCart},
-            #{item.inAppDetailUv},
-            #{item.inAppOrder},
-            #{item.inAppOrderGmv},
-            #{item.inAppOrderRoi},
-            #{item.inAppPay},
-            #{item.inAppPayGmv},
-            #{item.inAppPayRoi},
-            #{item.inAppUv},
-            #{item.inWechatPayCount},
-            #{item.installFinishCnt},
-            #{item.installFinishCost},
-            #{item.installFinishRate},
-            #{item.insuranceLtRoi},
-            #{item.liveComponentClickCost},
-            #{item.liveComponentClickCount},
-            #{item.liveComponentClickRate},
-            #{item.liveWatchOneMinuteCount},
-            #{item.loan},
-            #{item.loanCompletion},
-            #{item.loanCompletionCost},
-            #{item.loanCompletionRate},
-            #{item.loanCost},
-            #{item.loanCredit},
-            #{item.loanCreditCost},
-            #{item.loanCreditRate},
-            #{item.loanRate},
-            #{item.locationClick},
-            #{item.lottery},
-            #{item.lowLoanCreditCount},
-            #{item.lubanLiveCommentCnt},
-            #{item.lubanLiveEnterCnt},
-            #{item.lubanLiveFollowCnt},
-            #{item.lubanLiveShareCnt},
-            #{item.map},
-            #{item.message},
-            #{item.messageAction},
-            #{item.nextDayOpen},
-            #{item.openAccountCount},
-            #{item.payAmountRoi},
-            #{item.personalInformationCount},
-            #{item.phone},
-            #{item.phoneConfirm},
-            #{item.phoneConnect},
-            #{item.phoneEffective},
-            #{item.play25FeedBreak},
-            #{item.play50FeedBreak},
-            #{item.play75FeedBreak},
-            #{item.play99FeedBreak},
-            #{item.playDuration3s},
-            #{item.playOverRate},
-            #{item.poiAddressClick},
-            #{item.poiCollect},
-            #{item.preLoanCredit},
-            #{item.preLoanCreditCost},
-            #{item.premiumPaymentCost},
-            #{item.premiumPaymentCount},
-            #{item.qq},
-            #{item.redirect},
-            #{item.redirectToShop},
-            #{item.secondClassCount},
-            #{item.shopping},
-            #{item.showCnt},
-            #{item.statCost},
-            #{item.statPayAmount},
-            #{item.totalPlay},
-            #{item.unfollowInWechatCount},
-            #{item.validPlay},
-            #{item.validPlayCost},
-            #{item.validPlayCostOfMille},
-            #{item.validPlayOfMille},
-            #{item.validPlayRate},
-            #{item.view},
-            #{item.vote},
-            #{item.wifiPlayRate},
-            #{item.withdrawM2Count}
-            )
-        </foreach>
-    </insert>
-
-</mapper>

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

@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceAgentReportDailyMapper" >
-  <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceAgentReportDaily" >
-    <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT" />
-    <id column="agent_id" property="agentId" jdbcType="BIGINT" />
-    <id column="stat_datetime" property="statDatetime" jdbcType="INTEGER" />
-    <result column="agent_name" property="agentName" jdbcType="VARCHAR" />
-    <result column="advertiser_name" property="advertiserName" jdbcType="VARCHAR" />
-    <result column="second_industry" property="secondIndustry" jdbcType="VARCHAR" />
-    <result column="first_industry" property="firstIndustry" jdbcType="VARCHAR" />
-    <result column="account_source" property="accountSource" jdbcType="VARCHAR" />
-    <result column="audit_pass_time" property="auditPassTime" jdbcType="VARCHAR" />
-    <result column="account_status" property="accountStatus" jdbcType="VARCHAR" />
-    <result column="company_id" property="companyId" jdbcType="BIGINT" />
-    <result column="company_name" property="companyName" jdbcType="VARCHAR" />
-    <result column="register_time" property="registerTime" jdbcType="VARCHAR" />
-    <result column="cost" property="cost" jdbcType="DECIMAL" />
-    <result column="cash_cost" property="cashCost" jdbcType="DECIMAL" />
-    <result column="bid_cost" property="bidCost" jdbcType="DECIMAL" />
-    <result column="brand_cost" property="brandCost" jdbcType="DECIMAL" />
-    <result column="grants_cost" property="grantsCost" jdbcType="DECIMAL" />
-    <result column="cpc_cost" property="cpcCost" jdbcType="DECIMAL" />
-    <result column="cpm_cost" property="cpmCost" jdbcType="DECIMAL" />
-    <result column="ocpc_cost" property="ocpcCost" jdbcType="DECIMAL" />
-    <result column="cpa_cost" property="cpaCost" jdbcType="DECIMAL" />
-    <result column="ocpm_cost" property="ocpmCost" jdbcType="DECIMAL" />
-    <result column="cpv_cost" property="cpvCost" jdbcType="DECIMAL" />
-    <result column="cpt_cost" property="cptCost" jdbcType="DECIMAL" />
-    <result column="gd_cost" property="gdCost" jdbcType="DECIMAL" />
-    <result column="show" property="show" jdbcType="BIGINT" />
-    <result column="cpm" property="cpm" jdbcType="VARCHAR" />
-    <result column="click" property="click" jdbcType="BIGINT" />
-    <result column="ctr" property="ctr" jdbcType="DECIMAL" />
-    <result column="cpc" property="cpc" jdbcType="DECIMAL" />
-    <result column="transfer_count" property="transferCount" jdbcType="BIGINT" />
-    <result column="today_cost" property="todayCost" jdbcType="DECIMAL" />
-    <result column="transfer_amount" property="transferAmount" jdbcType="DECIMAL" />
-    <result column="history_cost" property="historyCost" jdbcType="DECIMAL" />
-    <result column="register_days" property="registerDays" jdbcType="DECIMAL" />
-    <result column="first_cost_time" property="firstCostTime" jdbcType="VARCHAR" />
-  </resultMap>
-
-  <sql id="Base_Column_List" >
-    advertiser_id, agent_id, stat_datetime, agent_name, advertiser_name, second_industry, 
-    first_industry, account_source, audit_pass_time, account_status, company_id, company_name, 
-    register_time, cost, cash_cost, bid_cost, brand_cost, grants_cost, cpc_cost, cpm_cost, 
-    ocpc_cost, cpa_cost, ocpm_cost, cpv_cost, cpt_cost, gd_cost, show, cpm, click, ctr, 
-    cpc, transfer_count, today_cost, transfer_amount, history_cost, register_days, first_cost_time
-  </sql>
-
-  <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceAgentReportDaily" >
-    replace into bytedance_agent_report_daily (advertiser_id, agent_id, stat_datetime,
-      agent_name, advertiser_name, second_industry, 
-      first_industry, account_source, audit_pass_time, 
-      account_status, company_id, company_name, 
-      register_time, cost, cash_cost, 
-      bid_cost, brand_cost, grants_cost, 
-      cpc_cost, cpm_cost, ocpc_cost, 
-      cpa_cost, ocpm_cost, cpv_cost, 
-      cpt_cost, gd_cost, `show`,
-      cpm, click, ctr, cpc, 
-      transfer_count, today_cost, transfer_amount, 
-      history_cost, register_days, first_cost_time
-      )
-    values
-    <foreach collection="list" item="item" separator=",">
-     (#{item.advertiserId,jdbcType=BIGINT}, #{item.agentId,jdbcType=BIGINT}, #{item.statDatetime,jdbcType=INTEGER}, 
-      #{item.agentName,jdbcType=VARCHAR}, #{item.advertiserName,jdbcType=VARCHAR}, #{item.secondIndustry,jdbcType=VARCHAR}, 
-      #{item.firstIndustry,jdbcType=VARCHAR}, #{item.accountSource,jdbcType=VARCHAR}, #{item.auditPassTime,jdbcType=VARCHAR}, 
-      #{item.accountStatus,jdbcType=VARCHAR}, #{item.companyId,jdbcType=BIGINT}, #{item.companyName,jdbcType=VARCHAR}, 
-      #{item.registerTime,jdbcType=VARCHAR}, #{item.cost,jdbcType=DECIMAL}, #{item.cashCost,jdbcType=DECIMAL}, 
-      #{item.bidCost,jdbcType=DECIMAL}, #{item.brandCost,jdbcType=DECIMAL}, #{item.grantsCost,jdbcType=DECIMAL}, 
-      #{item.cpcCost,jdbcType=DECIMAL}, #{item.cpmCost,jdbcType=DECIMAL}, #{item.ocpcCost,jdbcType=DECIMAL}, 
-      #{item.cpaCost,jdbcType=DECIMAL}, #{item.ocpmCost,jdbcType=DECIMAL}, #{item.cpvCost,jdbcType=DECIMAL}, 
-      #{item.cptCost,jdbcType=DECIMAL}, #{item.gdCost,jdbcType=DECIMAL}, #{item.show,jdbcType=BIGINT}, 
-      #{item.cpm,jdbcType=VARCHAR}, #{item.click,jdbcType=BIGINT}, #{item.ctr,jdbcType=DECIMAL}, #{item.cpc,jdbcType=DECIMAL}, 
-      #{item.transferCount,jdbcType=BIGINT}, #{item.todayCost,jdbcType=DECIMAL}, #{item.transferAmount,jdbcType=DECIMAL}, 
-      #{item.historyCost,jdbcType=DECIMAL}, #{item.registerDays,jdbcType=DECIMAL}, #{item.firstCostTime,jdbcType=VARCHAR}
-      )
-    </foreach>
-  </insert>
-
-</mapper>

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

@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceAgentReportHourlyMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceAgentReportHourly">
-        <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
-        <id column="agent_id" property="agentId" jdbcType="BIGINT"/>
-        <id column="stat_datetime" property="statDatetime" jdbcType="INTEGER"/>
-        <id column="hour" property="hour" jdbcType="INTEGER"/>
-        <result column="agent_name" property="agentName" jdbcType="VARCHAR"/>
-        <result column="advertiser_name" property="advertiserName" jdbcType="VARCHAR"/>
-        <result column="first_industry" property="firstIndustry" jdbcType="VARCHAR"/>
-        <result column="second_industry" property="secondIndustry" jdbcType="VARCHAR"/>
-        <result column="audit_pass_time" property="auditPassTime" jdbcType="VARCHAR"/>
-        <result column="account_status" property="accountStatus" jdbcType="VARCHAR"/>
-        <result column="company_id" property="companyId" jdbcType="BIGINT"/>
-        <result column="company_name" property="companyName" jdbcType="VARCHAR"/>
-        <result column="register_time" property="registerTime" jdbcType="VARCHAR"/>
-        <result column="account_source" property="accountSource" jdbcType="VARCHAR"/>
-        <result column="today_cost" property="todayCost" jdbcType="DECIMAL"/>
-        <result column="yesterday_cost" property="yesterdayCost" jdbcType="DECIMAL"/>
-        <result column="query_end_time" property="queryEndTime" jdbcType="BIGINT"/>
-        <result column="today_x_hour_cost" property="todayXHourCost" jdbcType="DECIMAL"/>
-        <result column="yesterday_x_hour_cost" property="yesterdayXHourCost" jdbcType="DECIMAL"/>
-        <result column="x_hour_cost_diff" property="xHourCostDiff" jdbcType="DECIMAL"/>
-        <result column="today_x_hour_convert" property="todayXHourConvert" jdbcType="DECIMAL"/>
-        <result column="yesterday_x_hour_convert" property="yesterdayXHourConvert" jdbcType="DECIMAL"/>
-        <result column="x_hour_convert_diff" property="xHourConvertDiff" jdbcType="DECIMAL"/>
-        <result column="today_x_hour_cpa" property="todayXHourCpa" jdbcType="DECIMAL"/>
-        <result column="yesterday_x_hour_cpa" property="yesterdayXHourCpa" jdbcType="DECIMAL"/>
-        <result column="x_hour_cpa_diff" property="xHourCpaDiff" jdbcType="DECIMAL"/>
-        <result column="today_x_hour_click" property="todayXHourClick" jdbcType="BIGINT"/>
-        <result column="yesterday_x_hour_click" property="yesterdayXHourClick" jdbcType="BIGINT"/>
-        <result column="x_hour_click_diff" property="xHourClickDiff" jdbcType="BIGINT"/>
-        <result column="today_x_hour_cpc" property="todayXHourCpc" jdbcType="DECIMAL"/>
-        <result column="yesterday_x_hour_cpc" property="yesterdayXHourCpc" jdbcType="DECIMAL"/>
-        <result column="x_hour_cpc_diff" property="xHourCpcDiff" jdbcType="DECIMAL"/>
-        <result column="yesterday_cash_cost" property="yesterdayCashCost" jdbcType="DECIMAL"/>
-        <result column="yesterday_bid_cash_cost" property="yesterdayBidCashCost" jdbcType="DECIMAL"/>
-        <result column="yesterday_brand_cash_cost" property="yesterdayBrandCashCost" jdbcType="DECIMAL"/>
-        <result column="yesterday_grants_cost" property="yesterdayGrantsCost" jdbcType="DECIMAL"/>
-        <result column="yesterday_mom_cost" property="yesterdayMomCost" jdbcType="DECIMAL"/>
-        <result column="yesterday_cost_diff" property="yesterdayCostDiff" jdbcType="DECIMAL"/>
-        <result column="history_cost" property="historyCost" jdbcType="DECIMAL"/>
-        <result column="history_cash_cost" property="historyCashCost" jdbcType="DECIMAL"/>
-        <result column="yesterday_ad_number" property="yesterdayAdNumber" jdbcType="DECIMAL"/>
-        <result column="register_days" property="registerDays" jdbcType="DECIMAL"/>
-        <result column="first_recharge_amount" property="firstRechargeAmount" jdbcType="DECIMAL"/>
-        <result column="first_recharge_time" property="firstRechargeTime" jdbcType="VARCHAR"/>
-        <result column="last_renew_time" property="lastRenewTime" jdbcType="VARCHAR"/>
-        <result column="total_renew_amount" property="totalRenewAmount" jdbcType="DECIMAL"/>
-        <result column="total_renew_number" property="totalRenewNumber" jdbcType="DECIMAL"/>
-        <result column="cash_balance" property="cashBalance" jdbcType="DECIMAL"/>
-        <result column="rant_balance" property="rantBalance" jdbcType="DECIMAL"/>
-        <result column="last_recharge_time" property="lastRechargeTime" jdbcType="VARCHAR"/>
-        <result column="last_renew_amount" property="lastRenewAmount" jdbcType="DECIMAL"/>
-        <result column="arpu_3cd" property="arpu3cd" jdbcType="DECIMAL"/>
-        <result column="total_balance" property="totalBalance" jdbcType="DECIMAL"/>
-        <result column="valid_balance" property="validBalance" jdbcType="DECIMAL"/>
-        <result column="customer_type" property="customerType" jdbcType="VARCHAR"/>
-        <result column="first_cost_time" property="firstCostTime" jdbcType="VARCHAR"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-    advertiser_id, agent_id, stat_datetime, hour, agent_name, advertiser_name, first_industry, 
-    second_industry, audit_pass_time, account_status, company_id, company_name, register_time, 
-    account_source, today_cost, yesterday_cost, query_end_time, today_x_hour_cost, yesterday_x_hour_cost, 
-    x_hour_cost_diff, today_x_hour_convert, yesterday_x_hour_convert, x_hour_convert_diff, 
-    today_x_hour_cpa, yesterday_x_hour_cpa, x_hour_cpa_diff, today_x_hour_click, yesterday_x_hour_click, 
-    x_hour_click_diff, today_x_hour_cpc, yesterday_x_hour_cpc, x_hour_cpc_diff, yesterday_cash_cost, 
-    yesterday_bid_cash_cost, yesterday_brand_cash_cost, yesterday_grants_cost, yesterday_mom_cost, 
-    yesterday_cost_diff, history_cost, history_cash_cost, yesterday_ad_number, register_days, 
-    first_recharge_amount, first_recharge_time, last_renew_time, total_renew_amount, 
-    total_renew_number, cash_balance, rant_balance, last_recharge_time, last_renew_amount, 
-    arpu_3cd, total_balance, valid_balance, customer_type, first_cost_time
-  </sql>
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceAgentReportHourly">
-        replace into bytedance_agent_report_hourly (advertiser_id, agent_id, stat_datetime,
-        `hour`, agent_name, advertiser_name,
-        first_industry, second_industry, audit_pass_time,
-        account_status, company_id, company_name,
-        register_time, account_source, today_cost,
-        yesterday_cost, query_end_time, today_x_hour_cost,
-        yesterday_x_hour_cost, x_hour_cost_diff, today_x_hour_convert,
-        yesterday_x_hour_convert, x_hour_convert_diff,
-        today_x_hour_cpa, yesterday_x_hour_cpa, x_hour_cpa_diff,
-        today_x_hour_click, yesterday_x_hour_click, x_hour_click_diff,
-        today_x_hour_cpc, yesterday_x_hour_cpc, x_hour_cpc_diff,
-        yesterday_cash_cost, yesterday_bid_cash_cost,
-        yesterday_brand_cash_cost, yesterday_grants_cost,
-        yesterday_mom_cost, yesterday_cost_diff, history_cost,
-        history_cash_cost, yesterday_ad_number, register_days,
-        first_recharge_amount, first_recharge_time,
-        last_renew_time, total_renew_amount, total_renew_number,
-        cash_balance, rant_balance, last_recharge_time,
-        last_renew_amount, arpu_3cd, total_balance,
-        valid_balance, customer_type, first_cost_time
-        )
-        values
-        <foreach collection="list" item="item" separator=",">
-            (#{item.advertiserId,jdbcType=BIGINT}, #{item.agentId,jdbcType=BIGINT},
-            #{item.statDatetime,jdbcType=INTEGER},
-            #{item.hour,jdbcType=INTEGER}, #{item.agentName,jdbcType=VARCHAR}, #{item.advertiserName,jdbcType=VARCHAR},
-            #{item.firstIndustry,jdbcType=VARCHAR}, #{item.secondIndustry,jdbcType=VARCHAR},
-            #{item.auditPassTime,jdbcType=VARCHAR},
-            #{item.accountStatus,jdbcType=VARCHAR}, #{item.companyId,jdbcType=BIGINT},
-            #{item.companyName,jdbcType=VARCHAR},
-            #{item.registerTime,jdbcType=VARCHAR}, #{item.accountSource,jdbcType=VARCHAR},
-            #{item.todayCost,jdbcType=DECIMAL},
-            #{item.yesterdayCost,jdbcType=DECIMAL}, #{item.queryEndTime,jdbcType=BIGINT},
-            #{item.todayXHourCost,jdbcType=DECIMAL},
-            #{item.yesterdayXHourCost,jdbcType=DECIMAL}, #{item.xHourCostDiff,jdbcType=DECIMAL},
-            #{item.todayXHourConvert,jdbcType=DECIMAL},
-            #{item.yesterdayXHourConvert,jdbcType=DECIMAL}, #{item.xHourConvertDiff,jdbcType=DECIMAL},
-            #{item.todayXHourCpa,jdbcType=DECIMAL}, #{item.yesterdayXHourCpa,jdbcType=DECIMAL},
-            #{item.xHourCpaDiff,jdbcType=DECIMAL},
-            #{item.todayXHourClick,jdbcType=BIGINT}, #{item.yesterdayXHourClick,jdbcType=BIGINT},
-            #{item.xHourClickDiff,jdbcType=BIGINT},
-            #{item.todayXHourCpc,jdbcType=DECIMAL}, #{item.yesterdayXHourCpc,jdbcType=DECIMAL},
-            #{item.xHourCpcDiff,jdbcType=DECIMAL},
-            #{item.yesterdayCashCost,jdbcType=DECIMAL}, #{item.yesterdayBidCashCost,jdbcType=DECIMAL},
-            #{item.yesterdayBrandCashCost,jdbcType=DECIMAL}, #{item.yesterdayGrantsCost,jdbcType=DECIMAL},
-            #{item.yesterdayMomCost,jdbcType=DECIMAL}, #{item.yesterdayCostDiff,jdbcType=DECIMAL},
-            #{item.historyCost,jdbcType=DECIMAL},
-            #{item.historyCashCost,jdbcType=DECIMAL}, #{item.yesterdayAdNumber,jdbcType=DECIMAL},
-            #{item.registerDays,jdbcType=DECIMAL},
-            #{item.firstRechargeAmount,jdbcType=DECIMAL}, #{item.firstRechargeTime,jdbcType=VARCHAR},
-            #{item.lastRenewTime,jdbcType=VARCHAR}, #{item.totalRenewAmount,jdbcType=DECIMAL},
-            #{item.totalRenewNumber,jdbcType=DECIMAL},
-            #{item.cashBalance,jdbcType=DECIMAL}, #{item.rantBalance,jdbcType=DECIMAL},
-            #{item.lastRechargeTime,jdbcType=VARCHAR},
-            #{item.lastRenewAmount,jdbcType=DECIMAL}, #{item.arpu3cd,jdbcType=DECIMAL},
-            #{item.totalBalance,jdbcType=DECIMAL},
-            #{item.validBalance,jdbcType=DECIMAL}, #{item.customerType,jdbcType=VARCHAR},
-            #{item.firstCostTime,jdbcType=VARCHAR}
-            )
-        </foreach>
-    </insert>
-
-</mapper>

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

@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceAudiencePackageGetMapper" >
-  <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceAudiencePackageGet" >
-    <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT" />
-    <id column="audience_package_id" property="audiencePackageId" jdbcType="BIGINT" />
-    <result column="name" property="name" jdbcType="VARCHAR" />
-    <result column="description" property="description" jdbcType="VARCHAR" />
-    <result column="landing_type" property="landingType" jdbcType="VARCHAR" />
-    <result column="hide_if_converted" property="hideIfConverted" jdbcType="VARCHAR" />
-    <result column="converted_time_duration" property="convertedTimeDuration" jdbcType="VARCHAR" />
-    <result column="delivery_range" property="deliveryRange" jdbcType="VARCHAR" />
-    <result column="hide_if_exists" property="hideIfExists" jdbcType="BIGINT" />
-  </resultMap>
-
-
-  <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceAudiencePackageGet" >
-    replace into bytedance_audience_package_get (advertiser_id, audience_package_id, name,
-      description, landing_type, hide_if_converted, 
-      converted_time_duration, delivery_range, hide_if_exists, 
-      audience)
-    values
-    <foreach collection="list" item="item" separator=",">
-      (#{item.advertiserId,jdbcType=BIGINT}, #{item.audiencePackageId,jdbcType=BIGINT}, #{item.name,jdbcType=VARCHAR},
-      #{item.description,jdbcType=VARCHAR}, #{item.landingType,jdbcType=VARCHAR}, #{item.hideIfConverted,jdbcType=VARCHAR},
-      #{item.convertedTimeDuration,jdbcType=VARCHAR}, #{item.deliveryRange,jdbcType=VARCHAR}, #{item.hideIfExists,jdbcType=BIGINT},
-      #{item.audience,jdbcType=LONGVARCHAR})
-    </foreach>
-
-  </insert>
-
-</mapper>

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

@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceCampaignGetMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceCampaignGet">
-        <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
-        <id column="campaign_id" property="campaignId" jdbcType="BIGINT"/>
-        <result column="campaign_name" property="campaignName" jdbcType="VARCHAR"/>
-        <result column="budget" property="budget" jdbcType="INTEGER"/>
-        <result column="budget_mode" property="budgetMode" jdbcType="VARCHAR"/>
-        <result column="modify_time" property="modifyTime" jdbcType="VARCHAR"/>
-        <result column="status" property="status" jdbcType="VARCHAR"/>
-        <result column="campaign_create_time" property="campaignCreateTime" jdbcType="VARCHAR"/>
-        <result column="campaign_modify_time" property="campaignModifyTime" jdbcType="VARCHAR"/>
-        <result column="marketing_purpose" property="marketingPurpose" jdbcType="VARCHAR"/>
-        <result column="delivery_related_num" property="deliveryRelatedNum" jdbcType="VARCHAR"/>
-        <result column="delivery_mode" property="deliveryMode" jdbcType="VARCHAR"/>
-        <result column="landing_type" property="landingType" jdbcType="VARCHAR"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-    advertiser_id, campaign_id, campaign_name, budget, budget_mode, modify_time, status, 
-    campaign_create_time, campaign_modify_time, marketing_purpose, delivery_related_num, 
-    delivery_mode, landing_type
-  </sql>
-
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceCampaignGet">
-        replace into bytedance_campaign_get (advertiser_id, campaign_id, campaign_name,
-        budget, budget_mode, modify_time,
-        status, campaign_create_time, campaign_modify_time,
-        marketing_purpose, delivery_related_num, delivery_mode,
-        landing_type)
-        values
-        <foreach collection="list" item="item" separator=",">
-            (#{item.advertiserId,jdbcType=BIGINT}, #{item.campaignId,jdbcType=BIGINT},
-            #{item.campaignName,jdbcType=VARCHAR},
-            #{item.budget,jdbcType=INTEGER}, #{item.budgetMode,jdbcType=VARCHAR}, #{item.modifyTime,jdbcType=VARCHAR},
-            #{item.status,jdbcType=VARCHAR}, #{item.campaignCreateTime,jdbcType=VARCHAR},
-            #{item.campaignModifyTime,jdbcType=VARCHAR},
-            #{item.marketingPurpose,jdbcType=VARCHAR}, #{item.deliveryRelatedNum,jdbcType=VARCHAR},
-            #{item.deliveryMode,jdbcType=VARCHAR},
-            #{item.landingType,jdbcType=VARCHAR})
-        </foreach>
-    </insert>
-
-</mapper>

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

@@ -1,361 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceCampaignReportDailyMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceCampaignReportDaily">
-        <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
-        <id column="campaign_id" property="campaignId" jdbcType="BIGINT"/>
-        <id column="stat_datetime" property="statDatetime" jdbcType="INTEGER"/>
-        <result column="campaign_name" property="campaignName" jdbcType="VARCHAR"/>
-        <result column="cost" property="cost" jdbcType="DECIMAL"/>
-        <result column="show" property="show" jdbcType="BIGINT"/>
-        <result column="avg_show_cost" property="avgShowCost" jdbcType="DECIMAL"/>
-        <result column="click" property="click" jdbcType="BIGINT"/>
-        <result column="avg_click_cost" property="avgClickCost" jdbcType="DECIMAL"/>
-        <result column="ctr" property="ctr" jdbcType="DECIMAL"/>
-        <result column="convert" property="convert" jdbcType="BIGINT"/>
-        <result column="convert_cost" property="convertCost" jdbcType="DECIMAL"/>
-        <result column="convert_rate" property="convertRate" jdbcType="DECIMAL"/>
-        <result column="deep_convert" property="deepConvert" jdbcType="BIGINT"/>
-        <result column="deep_convert_cost" property="deepConvertCost" jdbcType="DECIMAL"/>
-        <result column="deep_convert_rate" property="deepConvertRate" jdbcType="DECIMAL"/>
-        <result column="attribution_convert" property="attributionConvert" jdbcType="BIGINT"/>
-        <result column="attribution_convert_cost" property="attributionConvertCost" jdbcType="DECIMAL"/>
-        <result column="attribution_deep_convert" property="attributionDeepConvert" jdbcType="BIGINT"/>
-        <result column="attribution_deep_convert_cost" property="attributionDeepConvertCost" jdbcType="DECIMAL"/>
-        <result column="download_start" property="downloadStart" jdbcType="BIGINT"/>
-        <result column="download_start_cost" property="downloadStartCost" jdbcType="DECIMAL"/>
-        <result column="download_start_rate" property="downloadStartRate" jdbcType="DECIMAL"/>
-        <result column="download_finish" property="downloadFinish" jdbcType="BIGINT"/>
-        <result column="download_finish_cost" property="downloadFinishCost" jdbcType="DECIMAL"/>
-        <result column="download_finish_rate" property="downloadFinishRate" jdbcType="DECIMAL"/>
-        <result column="click_install" property="clickInstall" jdbcType="BIGINT"/>
-        <result column="install_finish" property="installFinish" jdbcType="BIGINT"/>
-        <result column="install_finish_cost" property="installFinishCost" jdbcType="DECIMAL"/>
-        <result column="install_finish_rate" property="installFinishRate" jdbcType="DECIMAL"/>
-        <result column="active" property="active" jdbcType="BIGINT"/>
-        <result column="active_cost" property="activeCost" jdbcType="DECIMAL"/>
-        <result column="active_rate" property="activeRate" jdbcType="DECIMAL"/>
-        <result column="register" property="register" jdbcType="DECIMAL"/>
-        <result column="active_register_cost" property="activeRegisterCost" jdbcType="DECIMAL"/>
-        <result column="active_register_rate" property="activeRegisterRate" jdbcType="REAL"/>
-        <result column="next_day_open" property="nextDayOpen" jdbcType="BIGINT"/>
-        <result column="next_day_open_cost" property="nextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="next_day_open_rate" property="nextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_cnt" property="attributionNextDayOpenCnt" jdbcType="BIGINT"/>
-        <result column="attribution_next_day_open_cost" property="attributionNextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_rate" property="attributionNextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="game_addiction" property="gameAddiction" jdbcType="BIGINT"/>
-        <result column="game_addiction_cost" property="gameAddictionCost" jdbcType="DECIMAL"/>
-        <result column="game_addiction_rate" property="gameAddictionRate" jdbcType="DECIMAL"/>
-        <result column="pay_count" property="payCount" jdbcType="BIGINT"/>
-        <result column="active_pay_cost" property="activePayCost" jdbcType="DECIMAL"/>
-        <result column="active_pay_rate" property="activePayRate" jdbcType="DECIMAL"/>
-        <result column="loan_completion" property="loanCompletion" jdbcType="BIGINT"/>
-        <result column="loan_completion_cost" property="loanCompletionCost" jdbcType="DECIMAL"/>
-        <result column="loan_completion_rate" property="loanCompletionRate" jdbcType="DECIMAL"/>
-        <result column="pre_loan_credit" property="preLoanCredit" jdbcType="BIGINT"/>
-        <result column="pre_loan_credit_cost" property="preLoanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit" property="loanCredit" jdbcType="BIGINT"/>
-        <result column="loan_credit_cost" property="loanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit_rate" property="loanCreditRate" jdbcType="DECIMAL"/>
-        <result column="in_app_uv" property="inAppUv" jdbcType="BIGINT"/>
-        <result column="in_app_detail_uv" property="inAppDetailUv" jdbcType="BIGINT"/>
-        <result column="in_app_cart" property="inAppCart" jdbcType="BIGINT"/>
-        <result column="in_app_pay" property="inAppPay" jdbcType="BIGINT"/>
-        <result column="in_app_order" property="inAppOrder" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_count" property="attributionGamePay7dCount" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_cost" property="attributionGamePay7dCost" jdbcType="DECIMAL"/>
-        <result column="attribution_active_pay_7d_per_count" property="attributionActivePay7dPerCount"
-                jdbcType="BIGINT"/>
-        <result column="game_pay_cost" property="gamePayCost" jdbcType="DECIMAL"/>
-        <result column="game_pay_count" property="gamePayCount" jdbcType="BIGINT"/>
-        <result column="phone" property="phone" jdbcType="BIGINT"/>
-        <result column="form" property="form" jdbcType="BIGINT"/>
-        <result column="map_search" property="mapSearch" jdbcType="BIGINT"/>
-        <result column="button" property="button" jdbcType="BIGINT"/>
-        <result column="view" property="view" jdbcType="BIGINT"/>
-        <result column="download" property="download" jdbcType="BIGINT"/>
-        <result column="qq" property="qq" jdbcType="BIGINT"/>
-        <result column="lottery" property="lottery" jdbcType="BIGINT"/>
-        <result column="vote" property="vote" jdbcType="BIGINT"/>
-        <result column="message" property="message" jdbcType="BIGINT"/>
-        <result column="redirect" property="redirect" jdbcType="BIGINT"/>
-        <result column="shopping" property="shopping" jdbcType="BIGINT"/>
-        <result column="consult" property="consult" jdbcType="BIGINT"/>
-        <result column="wechat" property="wechat" jdbcType="BIGINT"/>
-        <result column="phone_confirm" property="phoneConfirm" jdbcType="BIGINT"/>
-        <result column="phone_connect" property="phoneConnect" jdbcType="BIGINT"/>
-        <result column="consult_effective" property="consultEffective" jdbcType="BIGINT"/>
-        <result column="coupon" property="coupon" jdbcType="BIGINT"/>
-        <result column="coupon_single_page" property="couponSinglePage" jdbcType="BIGINT"/>
-        <result column="redirect_to_shop" property="redirectToShop" jdbcType="BIGINT"/>
-        <result column="poi_collect" property="poiCollect" jdbcType="BIGINT"/>
-        <result column="poi_address_click" property="poiAddressClick" jdbcType="BIGINT"/>
-        <result column="luban_order_cnt" property="lubanOrderCnt" jdbcType="BIGINT"/>
-        <result column="luban_order_stat_amount" property="lubanOrderStatAmount" jdbcType="DECIMAL"/>
-        <result column="luban_order_roi" property="lubanOrderRoi" jdbcType="DECIMAL"/>
-        <result column="luban_live_enter_cnt" property="lubanLiveEnterCnt" jdbcType="BIGINT"/>
-        <result column="live_watch_one_minute_count" property="liveWatchOneMinuteCount" jdbcType="BIGINT"/>
-        <result column="luban_live_follow_cnt" property="lubanLiveFollowCnt" jdbcType="BIGINT"/>
-        <result column="live_fans_club_join_cnt" property="liveFansClubJoinCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_comment_cnt" property="lubanLiveCommentCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_share_cnt" property="lubanLiveShareCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_cnt" property="lubanLiveGiftCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_amount" property="lubanLiveGiftAmount" jdbcType="DECIMAL"/>
-        <result column="luban_live_slidecart_click_cnt" property="lubanLiveSlidecartClickCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_click_product_cnt" property="lubanLiveClickProductCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_count" property="lubanLivePayOrderCount" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_stat_cost" property="lubanLivePayOrderStatCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_count" property="liveComponentClickCount" jdbcType="BIGINT"/>
-        <result column="live_component_click_cost" property="liveComponentClickCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_rate" property="liveComponentClickRate" jdbcType="DECIMAL"/>
-        <result column="wechat_login_count" property="wechatLoginCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_login_30d_count" property="attributionWechatLogin30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_login_cost" property="wechatLoginCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_login_30d_cost" property="attributionWechatLogin30dCost" jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_count" property="wechatFirstPayCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_first_pay_30d_count" property="attributionWechatFirstPay30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_first_pay_cost" property="wechatFirstPayCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_cost" property="attributionWechatFirstPay30dCost"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_rate" property="wechatFirstPayRate" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_rate" property="attributionWechatFirstPay30dRate"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_pay_amount" property="wechatPayAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_amount" property="attributionWechatPay30dAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_roi" property="attributionWechatPay30dRoi" jdbcType="DECIMAL"/>
-        <result column="phone_effective" property="phoneEffective" jdbcType="BIGINT"/>
-        <result column="total_play" property="totalPlay" jdbcType="BIGINT"/>
-        <result column="valid_play" property="validPlay" jdbcType="BIGINT"/>
-        <result column="valid_play_cost" property="validPlayCost" jdbcType="DECIMAL"/>
-        <result column="valid_play_rate" property="validPlayRate" jdbcType="DECIMAL"/>
-        <result column="play_25_feed_break" property="play25FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_50_feed_break" property="play50FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_75_feed_break" property="play75FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_100_feed_break" property="play100FeedBreak" jdbcType="BIGINT"/>
-        <result column="average_play_time_per_play" property="averagePlayTimePerPlay" jdbcType="DECIMAL"/>
-        <result column="play_over_rate" property="playOverRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play_rate" property="wifiPlayRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play" property="wifiPlay" jdbcType="BIGINT"/>
-        <result column="play_duration_sum" property="playDurationSum" jdbcType="BIGINT"/>
-        <result column="advanced_creative_phone_click" property="advancedCreativePhoneClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_counsel_click" property="advancedCreativeCounselClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_click" property="advancedCreativeFormClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_coupon_addition" property="advancedCreativeCouponAddition" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_submit" property="advancedCreativeFormSubmit" jdbcType="BIGINT"/>
-        <result column="card_show" property="cardShow" jdbcType="BIGINT"/>
-        <result column="share" property="share" jdbcType="BIGINT"/>
-        <result column="comment" property="comment" jdbcType="BIGINT"/>
-        <result column="like" property="like" jdbcType="BIGINT"/>
-        <result column="follow" property="follow" jdbcType="BIGINT"/>
-        <result column="home_visited" property="homeVisited" jdbcType="BIGINT"/>
-        <result column="ies_challenge_click" property="iesChallengeClick" jdbcType="BIGINT"/>
-        <result column="ies_music_click" property="iesMusicClick" jdbcType="BIGINT"/>
-        <result column="location_click" property="locationClick" jdbcType="BIGINT"/>
-        <result column="message_action" property="messageAction" jdbcType="BIGINT"/>
-        <result column="click_landing_page" property="clickLandingPage" jdbcType="BIGINT"/>
-        <result column="click_shopwindow" property="clickShopwindow" jdbcType="BIGINT"/>
-        <result column="click_website" property="clickWebsite" jdbcType="BIGINT"/>
-        <result column="click_download" property="clickDownload" jdbcType="BIGINT"/>
-        <result column="click_call_dy" property="clickCallDy" jdbcType="BIGINT"/>
-        <result column="submit_certification_count" property="submitCertificationCount" jdbcType="BIGINT"/>
-        <result column="approval_count" property="approvalCount" jdbcType="BIGINT"/>
-        <result column="first_rental_order_count" property="firstRentalOrderCount" jdbcType="BIGINT"/>
-        <result column="first_order_count" property="firstOrderCount" jdbcType="BIGINT"/>
-        <result column="commute_first_pay_count" property="commuteFirstPayCount" jdbcType="BIGINT"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-    advertiser_id, campaign_id, stat_datetime, campaign_name, cost, show, avg_show_cost, 
-    click, avg_click_cost, ctr, convert, convert_cost, convert_rate, deep_convert, deep_convert_cost, 
-    deep_convert_rate, attribution_convert, attribution_convert_cost, attribution_deep_convert, 
-    attribution_deep_convert_cost, download_start, download_start_cost, download_start_rate, 
-    download_finish, download_finish_cost, download_finish_rate, click_install, install_finish, 
-    install_finish_cost, install_finish_rate, active, active_cost, active_rate, register, 
-    active_register_cost, active_register_rate, next_day_open, next_day_open_cost, next_day_open_rate, 
-    attribution_next_day_open_cnt, attribution_next_day_open_cost, attribution_next_day_open_rate, 
-    game_addiction, game_addiction_cost, game_addiction_rate, pay_count, active_pay_cost, 
-    active_pay_rate, loan_completion, loan_completion_cost, loan_completion_rate, pre_loan_credit, 
-    pre_loan_credit_cost, loan_credit, loan_credit_cost, loan_credit_rate, in_app_uv, 
-    in_app_detail_uv, in_app_cart, in_app_pay, in_app_order, attribution_game_pay_7d_count, 
-    attribution_game_pay_7d_cost, attribution_active_pay_7d_per_count, game_pay_cost, 
-    game_pay_count, phone, form, map_search, button, view, download, qq, lottery, vote, 
-    message, redirect, shopping, consult, wechat, phone_confirm, phone_connect, consult_effective, 
-    coupon, coupon_single_page, redirect_to_shop, poi_collect, poi_address_click, luban_order_cnt, 
-    luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt, live_watch_one_minute_count, 
-    luban_live_follow_cnt, live_fans_club_join_cnt, luban_live_comment_cnt, luban_live_share_cnt, 
-    luban_live_gift_cnt, luban_live_gift_amount, luban_live_slidecart_click_cnt, luban_live_click_product_cnt, 
-    luban_live_pay_order_count, luban_live_pay_order_stat_cost, live_component_click_count, 
-    live_component_click_cost, live_component_click_rate, wechat_login_count, attribution_wechat_login_30d_count, 
-    wechat_login_cost, attribution_wechat_login_30d_cost, wechat_first_pay_count, attribution_wechat_first_pay_30d_count, 
-    wechat_first_pay_cost, attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate, 
-    attribution_wechat_first_pay_30d_rate, wechat_pay_amount, attribution_wechat_pay_30d_amount, 
-    attribution_wechat_pay_30d_roi, phone_effective, total_play, valid_play, valid_play_cost, 
-    valid_play_rate, play_25_feed_break, play_50_feed_break, play_75_feed_break, play_100_feed_break, 
-    average_play_time_per_play, play_over_rate, wifi_play_rate, wifi_play, play_duration_sum, 
-    advanced_creative_phone_click, advanced_creative_counsel_click, advanced_creative_form_click, 
-    advanced_creative_coupon_addition, advanced_creative_form_submit, card_show, share, 
-    comment, like, follow, home_visited, ies_challenge_click, ies_music_click, location_click, 
-    message_action, click_landing_page, click_shopwindow, click_website, click_download, 
-    click_call_dy, submit_certification_count, approval_count, first_rental_order_count, 
-    first_order_count, commute_first_pay_count
-  </sql>
-
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceCampaignReportDaily">
-        replace into bytedance_campaign_report_daily (advertiser_id, campaign_id, stat_datetime,
-        campaign_name, cost, `show`,
-        avg_show_cost, click, avg_click_cost,
-        ctr, `convert`, convert_cost,
-        convert_rate, deep_convert, deep_convert_cost,
-        deep_convert_rate, attribution_convert, attribution_convert_cost,
-        attribution_deep_convert, attribution_deep_convert_cost,
-        download_start, download_start_cost, download_start_rate,
-        download_finish, download_finish_cost, download_finish_rate,
-        click_install, install_finish, install_finish_cost,
-        install_finish_rate, active, active_cost,
-        active_rate, register, active_register_cost,
-        active_register_rate, next_day_open, next_day_open_cost,
-        next_day_open_rate, attribution_next_day_open_cnt,
-        attribution_next_day_open_cost, attribution_next_day_open_rate,
-        game_addiction, game_addiction_cost, game_addiction_rate,
-        pay_count, active_pay_cost, active_pay_rate,
-        loan_completion, loan_completion_cost, loan_completion_rate,
-        pre_loan_credit, pre_loan_credit_cost, loan_credit,
-        loan_credit_cost, loan_credit_rate, in_app_uv,
-        in_app_detail_uv, in_app_cart, in_app_pay,
-        in_app_order, attribution_game_pay_7d_count, attribution_game_pay_7d_cost,
-        attribution_active_pay_7d_per_count, game_pay_cost,
-        game_pay_count, `phone`, form,
-        map_search, button, `view`,
-        download, qq, lottery,
-        vote, message, redirect,
-        shopping, consult, wechat,
-        phone_confirm, phone_connect, consult_effective,
-        coupon, coupon_single_page, redirect_to_shop,
-        poi_collect, poi_address_click, luban_order_cnt,
-        luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt,
-        live_watch_one_minute_count, luban_live_follow_cnt,
-        live_fans_club_join_cnt, luban_live_comment_cnt,
-        luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount,
-        luban_live_slidecart_click_cnt, luban_live_click_product_cnt,
-        luban_live_pay_order_count, luban_live_pay_order_stat_cost,
-        live_component_click_count, live_component_click_cost,
-        live_component_click_rate, wechat_login_count,
-        attribution_wechat_login_30d_count, wechat_login_cost,
-        attribution_wechat_login_30d_cost, wechat_first_pay_count,
-        attribution_wechat_first_pay_30d_count, wechat_first_pay_cost,
-        attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate,
-        attribution_wechat_first_pay_30d_rate, wechat_pay_amount,
-        attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi,
-        phone_effective, total_play, valid_play,
-        valid_play_cost, valid_play_rate, play_25_feed_break,
-        play_50_feed_break, play_75_feed_break, play_100_feed_break,
-        average_play_time_per_play, play_over_rate, wifi_play_rate,
-        wifi_play, play_duration_sum, advanced_creative_phone_click,
-        advanced_creative_counsel_click, advanced_creative_form_click,
-        advanced_creative_coupon_addition, advanced_creative_form_submit,
-        card_show, `share`, `comment`,
-        `like`, follow, home_visited,
-        ies_challenge_click, ies_music_click, location_click,
-        message_action, click_landing_page, click_shopwindow,
-        click_website, click_download, click_call_dy,
-        submit_certification_count, approval_count,
-        first_rental_order_count, first_order_count, commute_first_pay_count
-        )
-        values
-        <foreach collection="list" item="item" separator=",">
-            (#{item.advertiserId,jdbcType=BIGINT}, #{item.campaignId,jdbcType=BIGINT},
-            #{item.statDatetime,jdbcType=INTEGER},
-            #{item.campaignName,jdbcType=VARCHAR}, #{item.cost,jdbcType=DECIMAL}, #{item.show,jdbcType=BIGINT},
-            #{item.avgShowCost,jdbcType=DECIMAL}, #{item.click,jdbcType=BIGINT}, #{item.avgClickCost,jdbcType=DECIMAL},
-            #{item.ctr,jdbcType=DECIMAL}, #{item.convert,jdbcType=BIGINT}, #{item.convertCost,jdbcType=DECIMAL},
-            #{item.convertRate,jdbcType=DECIMAL}, #{item.deepConvert,jdbcType=BIGINT},
-            #{item.deepConvertCost,jdbcType=DECIMAL},
-            #{item.deepConvertRate,jdbcType=DECIMAL}, #{item.attributionConvert,jdbcType=BIGINT},
-            #{item.attributionConvertCost,jdbcType=DECIMAL},
-            #{item.attributionDeepConvert,jdbcType=BIGINT}, #{item.attributionDeepConvertCost,jdbcType=DECIMAL},
-            #{item.downloadStart,jdbcType=BIGINT}, #{item.downloadStartCost,jdbcType=DECIMAL},
-            #{item.downloadStartRate,jdbcType=DECIMAL},
-            #{item.downloadFinish,jdbcType=BIGINT}, #{item.downloadFinishCost,jdbcType=DECIMAL},
-            #{item.downloadFinishRate,jdbcType=DECIMAL},
-            #{item.clickInstall,jdbcType=BIGINT}, #{item.installFinish,jdbcType=BIGINT},
-            #{item.installFinishCost,jdbcType=DECIMAL},
-            #{item.installFinishRate,jdbcType=DECIMAL}, #{item.active,jdbcType=BIGINT},
-            #{item.activeCost,jdbcType=DECIMAL},
-            #{item.activeRate,jdbcType=DECIMAL}, #{item.register,jdbcType=DECIMAL},
-            #{item.activeRegisterCost,jdbcType=DECIMAL},
-            #{item.activeRegisterRate,jdbcType=REAL}, #{item.nextDayOpen,jdbcType=BIGINT},
-            #{item.nextDayOpenCost,jdbcType=DECIMAL},
-            #{item.nextDayOpenRate,jdbcType=DECIMAL}, #{item.attributionNextDayOpenCnt,jdbcType=BIGINT},
-            #{item.attributionNextDayOpenCost,jdbcType=DECIMAL}, #{item.attributionNextDayOpenRate,jdbcType=DECIMAL},
-            #{item.gameAddiction,jdbcType=BIGINT}, #{item.gameAddictionCost,jdbcType=DECIMAL},
-            #{item.gameAddictionRate,jdbcType=DECIMAL},
-            #{item.payCount,jdbcType=BIGINT}, #{item.activePayCost,jdbcType=DECIMAL},
-            #{item.activePayRate,jdbcType=DECIMAL},
-            #{item.loanCompletion,jdbcType=BIGINT}, #{item.loanCompletionCost,jdbcType=DECIMAL},
-            #{item.loanCompletionRate,jdbcType=DECIMAL},
-            #{item.preLoanCredit,jdbcType=BIGINT}, #{item.preLoanCreditCost,jdbcType=DECIMAL},
-            #{item.loanCredit,jdbcType=BIGINT},
-            #{item.loanCreditCost,jdbcType=DECIMAL}, #{item.loanCreditRate,jdbcType=DECIMAL},
-            #{item.inAppUv,jdbcType=BIGINT},
-            #{item.inAppDetailUv,jdbcType=BIGINT}, #{item.inAppCart,jdbcType=BIGINT}, #{item.inAppPay,jdbcType=BIGINT},
-            #{item.inAppOrder,jdbcType=BIGINT}, #{item.attributionGamePay7dCount,jdbcType=BIGINT},
-            #{item.attributionGamePay7dCost,jdbcType=DECIMAL},
-            #{item.attributionActivePay7dPerCount,jdbcType=BIGINT}, #{item.gamePayCost,jdbcType=DECIMAL},
-            #{item.gamePayCount,jdbcType=BIGINT}, #{item.phone,jdbcType=BIGINT}, #{item.form,jdbcType=BIGINT},
-            #{item.mapSearch,jdbcType=BIGINT}, #{item.button,jdbcType=BIGINT}, #{item.view,jdbcType=BIGINT},
-            #{item.download,jdbcType=BIGINT}, #{item.qq,jdbcType=BIGINT}, #{item.lottery,jdbcType=BIGINT},
-            #{item.vote,jdbcType=BIGINT}, #{item.message,jdbcType=BIGINT}, #{item.redirect,jdbcType=BIGINT},
-            #{item.shopping,jdbcType=BIGINT}, #{item.consult,jdbcType=BIGINT}, #{item.wechat,jdbcType=BIGINT},
-            #{item.phoneConfirm,jdbcType=BIGINT}, #{item.phoneConnect,jdbcType=BIGINT},
-            #{item.consultEffective,jdbcType=BIGINT},
-            #{item.coupon,jdbcType=BIGINT}, #{item.couponSinglePage,jdbcType=BIGINT},
-            #{item.redirectToShop,jdbcType=BIGINT},
-            #{item.poiCollect,jdbcType=BIGINT}, #{item.poiAddressClick,jdbcType=BIGINT},
-            #{item.lubanOrderCnt,jdbcType=BIGINT},
-            #{item.lubanOrderStatAmount,jdbcType=DECIMAL}, #{item.lubanOrderRoi,jdbcType=DECIMAL},
-            #{item.lubanLiveEnterCnt,jdbcType=BIGINT},
-            #{item.liveWatchOneMinuteCount,jdbcType=BIGINT}, #{item.lubanLiveFollowCnt,jdbcType=BIGINT},
-            #{item.liveFansClubJoinCnt,jdbcType=BIGINT}, #{item.lubanLiveCommentCnt,jdbcType=BIGINT},
-            #{item.lubanLiveShareCnt,jdbcType=BIGINT}, #{item.lubanLiveGiftCnt,jdbcType=BIGINT},
-            #{item.lubanLiveGiftAmount,jdbcType=DECIMAL},
-            #{item.lubanLiveSlidecartClickCnt,jdbcType=BIGINT}, #{item.lubanLiveClickProductCnt,jdbcType=BIGINT},
-            #{item.lubanLivePayOrderCount,jdbcType=BIGINT}, #{item.lubanLivePayOrderStatCost,jdbcType=DECIMAL},
-            #{item.liveComponentClickCount,jdbcType=BIGINT}, #{item.liveComponentClickCost,jdbcType=DECIMAL},
-            #{item.liveComponentClickRate,jdbcType=DECIMAL}, #{item.wechatLoginCount,jdbcType=BIGINT},
-            #{item.attributionWechatLogin30dCount,jdbcType=BIGINT}, #{item.wechatLoginCost,jdbcType=DECIMAL},
-            #{item.attributionWechatLogin30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayCount,jdbcType=BIGINT},
-            #{item.attributionWechatFirstPay30dCount,jdbcType=BIGINT}, #{item.wechatFirstPayCost,jdbcType=DECIMAL},
-            #{item.attributionWechatFirstPay30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayRate,jdbcType=DECIMAL},
-            #{item.attributionWechatFirstPay30dRate,jdbcType=DECIMAL}, #{item.wechatPayAmount,jdbcType=DECIMAL},
-            #{item.attributionWechatPay30dAmount,jdbcType=DECIMAL}, #{item.attributionWechatPay30dRoi,jdbcType=DECIMAL},
-            #{item.phoneEffective,jdbcType=BIGINT}, #{item.totalPlay,jdbcType=BIGINT},
-            #{item.validPlay,jdbcType=BIGINT},
-            #{item.validPlayCost,jdbcType=DECIMAL}, #{item.validPlayRate,jdbcType=DECIMAL},
-            #{item.play25FeedBreak,jdbcType=BIGINT},
-            #{item.play50FeedBreak,jdbcType=BIGINT}, #{item.play75FeedBreak,jdbcType=BIGINT},
-            #{item.play100FeedBreak,jdbcType=BIGINT},
-            #{item.averagePlayTimePerPlay,jdbcType=DECIMAL}, #{item.playOverRate,jdbcType=DECIMAL},
-            #{item.wifiPlayRate,jdbcType=DECIMAL},
-            #{item.wifiPlay,jdbcType=BIGINT}, #{item.playDurationSum,jdbcType=BIGINT},
-            #{item.advancedCreativePhoneClick,jdbcType=BIGINT},
-            #{item.advancedCreativeCounselClick,jdbcType=BIGINT}, #{item.advancedCreativeFormClick,jdbcType=BIGINT},
-            #{item.advancedCreativeCouponAddition,jdbcType=BIGINT}, #{item.advancedCreativeFormSubmit,jdbcType=BIGINT},
-            #{item.cardShow,jdbcType=BIGINT}, #{item.share,jdbcType=BIGINT}, #{item.comment,jdbcType=BIGINT},
-            #{item.like,jdbcType=BIGINT}, #{item.follow,jdbcType=BIGINT}, #{item.homeVisited,jdbcType=BIGINT},
-            #{item.iesChallengeClick,jdbcType=BIGINT}, #{item.iesMusicClick,jdbcType=BIGINT},
-            #{item.locationClick,jdbcType=BIGINT},
-            #{item.messageAction,jdbcType=BIGINT}, #{item.clickLandingPage,jdbcType=BIGINT},
-            #{item.clickShopwindow,jdbcType=BIGINT},
-            #{item.clickWebsite,jdbcType=BIGINT}, #{item.clickDownload,jdbcType=BIGINT},
-            #{item.clickCallDy,jdbcType=BIGINT},
-            #{item.submitCertificationCount,jdbcType=BIGINT}, #{item.approvalCount,jdbcType=BIGINT},
-            #{item.firstRentalOrderCount,jdbcType=BIGINT}, #{item.firstOrderCount,jdbcType=BIGINT},
-            #{item.commuteFirstPayCount,jdbcType=BIGINT}
-            )
-        </foreach>
-    </insert>
-
-</mapper>

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

@@ -1,336 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceCampaignReportHourlyMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceCampaignReportHourly">
-        <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
-        <id column="campaign_id" property="campaignId" jdbcType="BIGINT"/>
-        <id column="stat_datetime" property="statDatetime" jdbcType="INTEGER"/>
-        <id column="hour" property="hour" jdbcType="INTEGER"/>
-        <result column="campaign_name" property="campaignName" jdbcType="VARCHAR"/>
-        <result column="cost" property="cost" jdbcType="DECIMAL"/>
-        <result column="show" property="show" jdbcType="BIGINT"/>
-        <result column="avg_show_cost" property="avgShowCost" jdbcType="DECIMAL"/>
-        <result column="click" property="click" jdbcType="BIGINT"/>
-        <result column="avg_click_cost" property="avgClickCost" jdbcType="DECIMAL"/>
-        <result column="ctr" property="ctr" jdbcType="DECIMAL"/>
-        <result column="convert" property="convert" jdbcType="BIGINT"/>
-        <result column="convert_cost" property="convertCost" jdbcType="DECIMAL"/>
-        <result column="convert_rate" property="convertRate" jdbcType="DECIMAL"/>
-        <result column="deep_convert" property="deepConvert" jdbcType="BIGINT"/>
-        <result column="deep_convert_cost" property="deepConvertCost" jdbcType="DECIMAL"/>
-        <result column="deep_convert_rate" property="deepConvertRate" jdbcType="DECIMAL"/>
-        <result column="attribution_convert" property="attributionConvert" jdbcType="BIGINT"/>
-        <result column="attribution_convert_cost" property="attributionConvertCost" jdbcType="DECIMAL"/>
-        <result column="attribution_deep_convert" property="attributionDeepConvert" jdbcType="BIGINT"/>
-        <result column="attribution_deep_convert_cost" property="attributionDeepConvertCost" jdbcType="DECIMAL"/>
-        <result column="download_start" property="downloadStart" jdbcType="BIGINT"/>
-        <result column="download_start_cost" property="downloadStartCost" jdbcType="DECIMAL"/>
-        <result column="download_start_rate" property="downloadStartRate" jdbcType="DECIMAL"/>
-        <result column="download_finish" property="downloadFinish" jdbcType="BIGINT"/>
-        <result column="download_finish_cost" property="downloadFinishCost" jdbcType="DECIMAL"/>
-        <result column="download_finish_rate" property="downloadFinishRate" jdbcType="DECIMAL"/>
-        <result column="click_install" property="clickInstall" jdbcType="BIGINT"/>
-        <result column="install_finish" property="installFinish" jdbcType="BIGINT"/>
-        <result column="install_finish_cost" property="installFinishCost" jdbcType="DECIMAL"/>
-        <result column="install_finish_rate" property="installFinishRate" jdbcType="DECIMAL"/>
-        <result column="active" property="active" jdbcType="BIGINT"/>
-        <result column="active_cost" property="activeCost" jdbcType="DECIMAL"/>
-        <result column="active_rate" property="activeRate" jdbcType="DECIMAL"/>
-        <result column="register" property="register" jdbcType="DECIMAL"/>
-        <result column="active_register_cost" property="activeRegisterCost" jdbcType="DECIMAL"/>
-        <result column="active_register_rate" property="activeRegisterRate" jdbcType="REAL"/>
-        <result column="next_day_open" property="nextDayOpen" jdbcType="BIGINT"/>
-        <result column="next_day_open_cost" property="nextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="next_day_open_rate" property="nextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_cnt" property="attributionNextDayOpenCnt" jdbcType="BIGINT"/>
-        <result column="attribution_next_day_open_cost" property="attributionNextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_rate" property="attributionNextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="game_addiction" property="gameAddiction" jdbcType="BIGINT"/>
-        <result column="game_addiction_cost" property="gameAddictionCost" jdbcType="DECIMAL"/>
-        <result column="game_addiction_rate" property="gameAddictionRate" jdbcType="DECIMAL"/>
-        <result column="pay_count" property="payCount" jdbcType="BIGINT"/>
-        <result column="active_pay_cost" property="activePayCost" jdbcType="DECIMAL"/>
-        <result column="active_pay_rate" property="activePayRate" jdbcType="DECIMAL"/>
-        <result column="loan_completion" property="loanCompletion" jdbcType="BIGINT"/>
-        <result column="loan_completion_cost" property="loanCompletionCost" jdbcType="DECIMAL"/>
-        <result column="loan_completion_rate" property="loanCompletionRate" jdbcType="DECIMAL"/>
-        <result column="pre_loan_credit" property="preLoanCredit" jdbcType="BIGINT"/>
-        <result column="pre_loan_credit_cost" property="preLoanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit" property="loanCredit" jdbcType="BIGINT"/>
-        <result column="loan_credit_cost" property="loanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit_rate" property="loanCreditRate" jdbcType="DECIMAL"/>
-        <result column="in_app_uv" property="inAppUv" jdbcType="BIGINT"/>
-        <result column="in_app_detail_uv" property="inAppDetailUv" jdbcType="BIGINT"/>
-        <result column="in_app_cart" property="inAppCart" jdbcType="BIGINT"/>
-        <result column="in_app_pay" property="inAppPay" jdbcType="BIGINT"/>
-        <result column="in_app_order" property="inAppOrder" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_count" property="attributionGamePay7dCount" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_cost" property="attributionGamePay7dCost" jdbcType="DECIMAL"/>
-        <result column="attribution_active_pay_7d_per_count" property="attributionActivePay7dPerCount"
-                jdbcType="BIGINT"/>
-        <result column="game_pay_cost" property="gamePayCost" jdbcType="DECIMAL"/>
-        <result column="game_pay_count" property="gamePayCount" jdbcType="BIGINT"/>
-        <result column="phone" property="phone" jdbcType="BIGINT"/>
-        <result column="form" property="form" jdbcType="BIGINT"/>
-        <result column="map_search" property="mapSearch" jdbcType="BIGINT"/>
-        <result column="button" property="button" jdbcType="BIGINT"/>
-        <result column="view" property="view" jdbcType="BIGINT"/>
-        <result column="download" property="download" jdbcType="BIGINT"/>
-        <result column="qq" property="qq" jdbcType="BIGINT"/>
-        <result column="lottery" property="lottery" jdbcType="BIGINT"/>
-        <result column="vote" property="vote" jdbcType="BIGINT"/>
-        <result column="message" property="message" jdbcType="BIGINT"/>
-        <result column="redirect" property="redirect" jdbcType="BIGINT"/>
-        <result column="shopping" property="shopping" jdbcType="BIGINT"/>
-        <result column="consult" property="consult" jdbcType="BIGINT"/>
-        <result column="wechat" property="wechat" jdbcType="BIGINT"/>
-        <result column="phone_confirm" property="phoneConfirm" jdbcType="BIGINT"/>
-        <result column="phone_connect" property="phoneConnect" jdbcType="BIGINT"/>
-        <result column="consult_effective" property="consultEffective" jdbcType="BIGINT"/>
-        <result column="coupon" property="coupon" jdbcType="BIGINT"/>
-        <result column="coupon_single_page" property="couponSinglePage" jdbcType="BIGINT"/>
-        <result column="redirect_to_shop" property="redirectToShop" jdbcType="BIGINT"/>
-        <result column="poi_collect" property="poiCollect" jdbcType="BIGINT"/>
-        <result column="poi_address_click" property="poiAddressClick" jdbcType="BIGINT"/>
-        <result column="luban_order_cnt" property="lubanOrderCnt" jdbcType="BIGINT"/>
-        <result column="luban_order_stat_amount" property="lubanOrderStatAmount" jdbcType="DECIMAL"/>
-        <result column="luban_order_roi" property="lubanOrderRoi" jdbcType="DECIMAL"/>
-        <result column="luban_live_enter_cnt" property="lubanLiveEnterCnt" jdbcType="BIGINT"/>
-        <result column="live_watch_one_minute_count" property="liveWatchOneMinuteCount" jdbcType="BIGINT"/>
-        <result column="luban_live_follow_cnt" property="lubanLiveFollowCnt" jdbcType="BIGINT"/>
-        <result column="live_fans_club_join_cnt" property="liveFansClubJoinCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_comment_cnt" property="lubanLiveCommentCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_share_cnt" property="lubanLiveShareCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_cnt" property="lubanLiveGiftCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_amount" property="lubanLiveGiftAmount" jdbcType="DECIMAL"/>
-        <result column="luban_live_slidecart_click_cnt" property="lubanLiveSlidecartClickCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_click_product_cnt" property="lubanLiveClickProductCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_count" property="lubanLivePayOrderCount" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_stat_cost" property="lubanLivePayOrderStatCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_count" property="liveComponentClickCount" jdbcType="BIGINT"/>
-        <result column="live_component_click_cost" property="liveComponentClickCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_rate" property="liveComponentClickRate" jdbcType="DECIMAL"/>
-        <result column="wechat_login_count" property="wechatLoginCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_login_30d_count" property="attributionWechatLogin30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_login_cost" property="wechatLoginCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_login_30d_cost" property="attributionWechatLogin30dCost" jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_count" property="wechatFirstPayCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_first_pay_30d_count" property="attributionWechatFirstPay30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_first_pay_cost" property="wechatFirstPayCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_cost" property="attributionWechatFirstPay30dCost"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_rate" property="wechatFirstPayRate" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_rate" property="attributionWechatFirstPay30dRate"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_pay_amount" property="wechatPayAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_amount" property="attributionWechatPay30dAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_roi" property="attributionWechatPay30dRoi" jdbcType="DECIMAL"/>
-        <result column="phone_effective" property="phoneEffective" jdbcType="BIGINT"/>
-        <result column="total_play" property="totalPlay" jdbcType="BIGINT"/>
-        <result column="valid_play" property="validPlay" jdbcType="BIGINT"/>
-        <result column="valid_play_cost" property="validPlayCost" jdbcType="DECIMAL"/>
-        <result column="valid_play_rate" property="validPlayRate" jdbcType="DECIMAL"/>
-        <result column="play_25_feed_break" property="play25FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_50_feed_break" property="play50FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_75_feed_break" property="play75FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_100_feed_break" property="play100FeedBreak" jdbcType="BIGINT"/>
-        <result column="average_play_time_per_play" property="averagePlayTimePerPlay" jdbcType="DECIMAL"/>
-        <result column="play_over_rate" property="playOverRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play_rate" property="wifiPlayRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play" property="wifiPlay" jdbcType="BIGINT"/>
-        <result column="play_duration_sum" property="playDurationSum" jdbcType="BIGINT"/>
-        <result column="advanced_creative_phone_click" property="advancedCreativePhoneClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_counsel_click" property="advancedCreativeCounselClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_click" property="advancedCreativeFormClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_coupon_addition" property="advancedCreativeCouponAddition" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_submit" property="advancedCreativeFormSubmit" jdbcType="BIGINT"/>
-        <result column="card_show" property="cardShow" jdbcType="BIGINT"/>
-        <result column="share" property="share" jdbcType="BIGINT"/>
-        <result column="comment" property="comment" jdbcType="BIGINT"/>
-        <result column="like" property="like" jdbcType="BIGINT"/>
-        <result column="follow" property="follow" jdbcType="BIGINT"/>
-        <result column="home_visited" property="homeVisited" jdbcType="BIGINT"/>
-        <result column="ies_challenge_click" property="iesChallengeClick" jdbcType="BIGINT"/>
-        <result column="ies_music_click" property="iesMusicClick" jdbcType="BIGINT"/>
-        <result column="location_click" property="locationClick" jdbcType="BIGINT"/>
-        <result column="message_action" property="messageAction" jdbcType="BIGINT"/>
-        <result column="click_landing_page" property="clickLandingPage" jdbcType="BIGINT"/>
-        <result column="click_shopwindow" property="clickShopwindow" jdbcType="BIGINT"/>
-        <result column="click_website" property="clickWebsite" jdbcType="BIGINT"/>
-        <result column="click_download" property="clickDownload" jdbcType="BIGINT"/>
-        <result column="click_call_dy" property="clickCallDy" jdbcType="BIGINT"/>
-        <result column="submit_certification_count" property="submitCertificationCount" jdbcType="BIGINT"/>
-        <result column="approval_count" property="approvalCount" jdbcType="BIGINT"/>
-        <result column="first_rental_order_count" property="firstRentalOrderCount" jdbcType="BIGINT"/>
-        <result column="first_order_count" property="firstOrderCount" jdbcType="BIGINT"/>
-        <result column="commute_first_pay_count" property="commuteFirstPayCount" jdbcType="BIGINT"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-    advertiser_id, campaign_id, stat_datetime, hour, campaign_name, cost, show, avg_show_cost, 
-    click, avg_click_cost, ctr, convert, convert_cost, convert_rate, deep_convert, deep_convert_cost, 
-    deep_convert_rate, attribution_convert, attribution_convert_cost, attribution_deep_convert, 
-    attribution_deep_convert_cost, download_start, download_start_cost, download_start_rate, 
-    download_finish, download_finish_cost, download_finish_rate, click_install, install_finish, 
-    install_finish_cost, install_finish_rate, active, active_cost, active_rate, register, 
-    active_register_cost, active_register_rate, next_day_open, next_day_open_cost, next_day_open_rate, 
-    attribution_next_day_open_cnt, attribution_next_day_open_cost, attribution_next_day_open_rate, 
-    game_addiction, game_addiction_cost, game_addiction_rate, pay_count, active_pay_cost, 
-    active_pay_rate, loan_completion, loan_completion_cost, loan_completion_rate, pre_loan_credit, 
-    pre_loan_credit_cost, loan_credit, loan_credit_cost, loan_credit_rate, in_app_uv, 
-    in_app_detail_uv, in_app_cart, in_app_pay, in_app_order, attribution_game_pay_7d_count, 
-    attribution_game_pay_7d_cost, attribution_active_pay_7d_per_count, game_pay_cost, 
-    game_pay_count, phone, form, map_search, button, view, download, qq, lottery, vote, 
-    message, redirect, shopping, consult, wechat, phone_confirm, phone_connect, consult_effective, 
-    coupon, coupon_single_page, redirect_to_shop, poi_collect, poi_address_click, luban_order_cnt, 
-    luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt, live_watch_one_minute_count, 
-    luban_live_follow_cnt, live_fans_club_join_cnt, luban_live_comment_cnt, luban_live_share_cnt, 
-    luban_live_gift_cnt, luban_live_gift_amount, luban_live_slidecart_click_cnt, luban_live_click_product_cnt, 
-    luban_live_pay_order_count, luban_live_pay_order_stat_cost, live_component_click_count, 
-    live_component_click_cost, live_component_click_rate, wechat_login_count, attribution_wechat_login_30d_count, 
-    wechat_login_cost, attribution_wechat_login_30d_cost, wechat_first_pay_count, attribution_wechat_first_pay_30d_count, 
-    wechat_first_pay_cost, attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate, 
-    attribution_wechat_first_pay_30d_rate, wechat_pay_amount, attribution_wechat_pay_30d_amount, 
-    attribution_wechat_pay_30d_roi, phone_effective, total_play, valid_play, valid_play_cost, 
-    valid_play_rate, play_25_feed_break, play_50_feed_break, play_75_feed_break, play_100_feed_break, 
-    average_play_time_per_play, play_over_rate, wifi_play_rate, wifi_play, play_duration_sum, 
-    advanced_creative_phone_click, advanced_creative_counsel_click, advanced_creative_form_click, 
-    advanced_creative_coupon_addition, advanced_creative_form_submit, card_show, share, 
-    comment, like, follow, home_visited, ies_challenge_click, ies_music_click, location_click, 
-    message_action, click_landing_page, click_shopwindow, click_website, click_download, 
-    click_call_dy, submit_certification_count, approval_count, first_rental_order_count, 
-    first_order_count, commute_first_pay_count
-  </sql>
-
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceCampaignReportHourly">
-    replace bytedance_campaign_report_hourly (advertiser_id, campaign_id, stat_datetime,
-      `hour`, campaign_name, cost,
-      `show`, avg_show_cost, `click`,
-      avg_click_cost, ctr, `convert`,
-      convert_cost, convert_rate, deep_convert, 
-      deep_convert_cost, deep_convert_rate, attribution_convert, 
-      attribution_convert_cost, attribution_deep_convert, 
-      attribution_deep_convert_cost, download_start, 
-      download_start_cost, download_start_rate, download_finish, 
-      download_finish_cost, download_finish_rate, 
-      click_install, install_finish, install_finish_cost, 
-      install_finish_rate, active, active_cost, 
-      active_rate, register, active_register_cost, 
-      active_register_rate, next_day_open, next_day_open_cost, 
-      next_day_open_rate, attribution_next_day_open_cnt, 
-      attribution_next_day_open_cost, attribution_next_day_open_rate, 
-      game_addiction, game_addiction_cost, game_addiction_rate, 
-      pay_count, active_pay_cost, active_pay_rate, 
-      loan_completion, loan_completion_cost, loan_completion_rate, 
-      pre_loan_credit, pre_loan_credit_cost, loan_credit, 
-      loan_credit_cost, loan_credit_rate, in_app_uv, 
-      in_app_detail_uv, in_app_cart, in_app_pay, 
-      in_app_order, attribution_game_pay_7d_count, attribution_game_pay_7d_cost, 
-      attribution_active_pay_7d_per_count, game_pay_cost, 
-      game_pay_count, phone, `form`,
-      map_search, button, `view`,
-      download, `qq`, lottery,
-      vote, message, redirect, 
-      shopping, consult, wechat, 
-      phone_confirm, phone_connect, consult_effective, 
-      coupon, coupon_single_page, redirect_to_shop, 
-      poi_collect, poi_address_click, luban_order_cnt, 
-      luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt, 
-      live_watch_one_minute_count, luban_live_follow_cnt, 
-      live_fans_club_join_cnt, luban_live_comment_cnt, 
-      luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount, 
-      luban_live_slidecart_click_cnt, luban_live_click_product_cnt, 
-      luban_live_pay_order_count, luban_live_pay_order_stat_cost, 
-      live_component_click_count, live_component_click_cost, 
-      live_component_click_rate, wechat_login_count, 
-      attribution_wechat_login_30d_count, wechat_login_cost, 
-      attribution_wechat_login_30d_cost, wechat_first_pay_count, 
-      attribution_wechat_first_pay_30d_count, wechat_first_pay_cost, 
-      attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate, 
-      attribution_wechat_first_pay_30d_rate, wechat_pay_amount, 
-      attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi, 
-      phone_effective, total_play, valid_play, 
-      valid_play_cost, valid_play_rate, play_25_feed_break, 
-      play_50_feed_break, play_75_feed_break, play_100_feed_break, 
-      average_play_time_per_play, play_over_rate, wifi_play_rate, 
-      wifi_play, play_duration_sum, advanced_creative_phone_click, 
-      advanced_creative_counsel_click, advanced_creative_form_click, 
-      advanced_creative_coupon_addition, advanced_creative_form_submit, 
-      card_show, `share`, `comment`,
-      `like`, `follow`, home_visited,
-      ies_challenge_click, ies_music_click, location_click, 
-      message_action, click_landing_page, click_shopwindow, 
-      click_website, click_download, click_call_dy, 
-      submit_certification_count, approval_count, 
-      first_rental_order_count, first_order_count, commute_first_pay_count
-      )
-    values
-        <foreach collection="list" item="item" separator=",">
-            (
-            #{item.advertiserId,jdbcType=BIGINT}, #{item.campaignId,jdbcType=BIGINT}, #{item.statDatetime,jdbcType=INTEGER},
-            #{item.hour,jdbcType=INTEGER}, #{item.campaignName,jdbcType=VARCHAR}, #{item.cost,jdbcType=DECIMAL},
-            #{item.show,jdbcType=BIGINT}, #{item.avgShowCost,jdbcType=DECIMAL}, #{item.click,jdbcType=BIGINT},
-            #{item.avgClickCost,jdbcType=DECIMAL}, #{item.ctr,jdbcType=DECIMAL}, #{item.convert,jdbcType=BIGINT},
-            #{item.convertCost,jdbcType=DECIMAL}, #{item.convertRate,jdbcType=DECIMAL}, #{item.deepConvert,jdbcType=BIGINT},
-            #{item.deepConvertCost,jdbcType=DECIMAL}, #{item.deepConvertRate,jdbcType=DECIMAL}, #{item.attributionConvert,jdbcType=BIGINT},
-            #{item.attributionConvertCost,jdbcType=DECIMAL}, #{item.attributionDeepConvert,jdbcType=BIGINT},
-            #{item.attributionDeepConvertCost,jdbcType=DECIMAL}, #{item.downloadStart,jdbcType=BIGINT},
-            #{item.downloadStartCost,jdbcType=DECIMAL}, #{item.downloadStartRate,jdbcType=DECIMAL}, #{item.downloadFinish,jdbcType=BIGINT},
-            #{item.downloadFinishCost,jdbcType=DECIMAL}, #{item.downloadFinishRate,jdbcType=DECIMAL},
-            #{item.clickInstall,jdbcType=BIGINT}, #{item.installFinish,jdbcType=BIGINT}, #{item.installFinishCost,jdbcType=DECIMAL},
-            #{item.installFinishRate,jdbcType=DECIMAL}, #{item.active,jdbcType=BIGINT}, #{item.activeCost,jdbcType=DECIMAL},
-            #{item.activeRate,jdbcType=DECIMAL}, #{item.register,jdbcType=DECIMAL}, #{item.activeRegisterCost,jdbcType=DECIMAL},
-            #{item.activeRegisterRate,jdbcType=REAL}, #{item.nextDayOpen,jdbcType=BIGINT}, #{item.nextDayOpenCost,jdbcType=DECIMAL},
-            #{item.nextDayOpenRate,jdbcType=DECIMAL}, #{item.attributionNextDayOpenCnt,jdbcType=BIGINT},
-            #{item.attributionNextDayOpenCost,jdbcType=DECIMAL}, #{item.attributionNextDayOpenRate,jdbcType=DECIMAL},
-            #{item.gameAddiction,jdbcType=BIGINT}, #{item.gameAddictionCost,jdbcType=DECIMAL}, #{item.gameAddictionRate,jdbcType=DECIMAL},
-            #{item.payCount,jdbcType=BIGINT}, #{item.activePayCost,jdbcType=DECIMAL}, #{item.activePayRate,jdbcType=DECIMAL},
-            #{item.loanCompletion,jdbcType=BIGINT}, #{item.loanCompletionCost,jdbcType=DECIMAL}, #{item.loanCompletionRate,jdbcType=DECIMAL},
-            #{item.preLoanCredit,jdbcType=BIGINT}, #{item.preLoanCreditCost,jdbcType=DECIMAL}, #{item.loanCredit,jdbcType=BIGINT},
-            #{item.loanCreditCost,jdbcType=DECIMAL}, #{item.loanCreditRate,jdbcType=DECIMAL}, #{item.inAppUv,jdbcType=BIGINT},
-            #{item.inAppDetailUv,jdbcType=BIGINT}, #{item.inAppCart,jdbcType=BIGINT}, #{item.inAppPay,jdbcType=BIGINT},
-            #{item.inAppOrder,jdbcType=BIGINT}, #{item.attributionGamePay7dCount,jdbcType=BIGINT}, #{item.attributionGamePay7dCost,jdbcType=DECIMAL},
-            #{item.attributionActivePay7dPerCount,jdbcType=BIGINT}, #{item.gamePayCost,jdbcType=DECIMAL},
-            #{item.gamePayCount,jdbcType=BIGINT}, #{item.phone,jdbcType=BIGINT}, #{item.form,jdbcType=BIGINT},
-            #{item.mapSearch,jdbcType=BIGINT}, #{item.button,jdbcType=BIGINT}, #{item.view,jdbcType=BIGINT},
-            #{item.download,jdbcType=BIGINT}, #{item.qq,jdbcType=BIGINT}, #{item.lottery,jdbcType=BIGINT},
-            #{item.vote,jdbcType=BIGINT}, #{item.message,jdbcType=BIGINT}, #{item.redirect,jdbcType=BIGINT},
-            #{item.shopping,jdbcType=BIGINT}, #{item.consult,jdbcType=BIGINT}, #{item.wechat,jdbcType=BIGINT},
-            #{item.phoneConfirm,jdbcType=BIGINT}, #{item.phoneConnect,jdbcType=BIGINT}, #{item.consultEffective,jdbcType=BIGINT},
-            #{item.coupon,jdbcType=BIGINT}, #{item.couponSinglePage,jdbcType=BIGINT}, #{item.redirectToShop,jdbcType=BIGINT},
-            #{item.poiCollect,jdbcType=BIGINT}, #{item.poiAddressClick,jdbcType=BIGINT}, #{item.lubanOrderCnt,jdbcType=BIGINT},
-            #{item.lubanOrderStatAmount,jdbcType=DECIMAL}, #{item.lubanOrderRoi,jdbcType=DECIMAL}, #{item.lubanLiveEnterCnt,jdbcType=BIGINT},
-            #{item.liveWatchOneMinuteCount,jdbcType=BIGINT}, #{item.lubanLiveFollowCnt,jdbcType=BIGINT},
-            #{item.liveFansClubJoinCnt,jdbcType=BIGINT}, #{item.lubanLiveCommentCnt,jdbcType=BIGINT},
-            #{item.lubanLiveShareCnt,jdbcType=BIGINT}, #{item.lubanLiveGiftCnt,jdbcType=BIGINT}, #{item.lubanLiveGiftAmount,jdbcType=DECIMAL},
-            #{item.lubanLiveSlidecartClickCnt,jdbcType=BIGINT}, #{item.lubanLiveClickProductCnt,jdbcType=BIGINT},
-            #{item.lubanLivePayOrderCount,jdbcType=BIGINT}, #{item.lubanLivePayOrderStatCost,jdbcType=DECIMAL},
-            #{item.liveComponentClickCount,jdbcType=BIGINT}, #{item.liveComponentClickCost,jdbcType=DECIMAL},
-            #{item.liveComponentClickRate,jdbcType=DECIMAL}, #{item.wechatLoginCount,jdbcType=BIGINT},
-            #{item.attributionWechatLogin30dCount,jdbcType=BIGINT}, #{item.wechatLoginCost,jdbcType=DECIMAL},
-            #{item.attributionWechatLogin30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayCount,jdbcType=BIGINT},
-            #{item.attributionWechatFirstPay30dCount,jdbcType=BIGINT}, #{item.wechatFirstPayCost,jdbcType=DECIMAL},
-            #{item.attributionWechatFirstPay30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayRate,jdbcType=DECIMAL},
-            #{item.attributionWechatFirstPay30dRate,jdbcType=DECIMAL}, #{item.wechatPayAmount,jdbcType=DECIMAL},
-            #{item.attributionWechatPay30dAmount,jdbcType=DECIMAL}, #{item.attributionWechatPay30dRoi,jdbcType=DECIMAL},
-            #{item.phoneEffective,jdbcType=BIGINT}, #{item.totalPlay,jdbcType=BIGINT}, #{item.validPlay,jdbcType=BIGINT},
-            #{item.validPlayCost,jdbcType=DECIMAL}, #{item.validPlayRate,jdbcType=DECIMAL}, #{item.play25FeedBreak,jdbcType=BIGINT},
-            #{item.play50FeedBreak,jdbcType=BIGINT}, #{item.play75FeedBreak,jdbcType=BIGINT}, #{item.play100FeedBreak,jdbcType=BIGINT},
-            #{item.averagePlayTimePerPlay,jdbcType=DECIMAL}, #{item.playOverRate,jdbcType=DECIMAL}, #{item.wifiPlayRate,jdbcType=DECIMAL},
-            #{item.wifiPlay,jdbcType=BIGINT}, #{item.playDurationSum,jdbcType=BIGINT}, #{item.advancedCreativePhoneClick,jdbcType=BIGINT},
-            #{item.advancedCreativeCounselClick,jdbcType=BIGINT}, #{item.advancedCreativeFormClick,jdbcType=BIGINT},
-            #{item.advancedCreativeCouponAddition,jdbcType=BIGINT}, #{item.advancedCreativeFormSubmit,jdbcType=BIGINT},
-            #{item.cardShow,jdbcType=BIGINT}, #{item.share,jdbcType=BIGINT}, #{item.comment,jdbcType=BIGINT},
-            #{item.like,jdbcType=BIGINT}, #{item.follow,jdbcType=BIGINT}, #{item.homeVisited,jdbcType=BIGINT},
-            #{item.iesChallengeClick,jdbcType=BIGINT}, #{item.iesMusicClick,jdbcType=BIGINT}, #{item.locationClick,jdbcType=BIGINT},
-            #{item.messageAction,jdbcType=BIGINT}, #{item.clickLandingPage,jdbcType=BIGINT}, #{item.clickShopwindow,jdbcType=BIGINT},
-            #{item.clickWebsite,jdbcType=BIGINT}, #{item.clickDownload,jdbcType=BIGINT}, #{item.clickCallDy,jdbcType=BIGINT},
-            #{item.submitCertificationCount,jdbcType=BIGINT}, #{item.approvalCount,jdbcType=BIGINT},
-            #{item.firstRentalOrderCount,jdbcType=BIGINT}, #{item.firstOrderCount,jdbcType=BIGINT}, #{item.commuteFirstPayCount,jdbcType=BIGINT}
-            )
-      </foreach>
-  </insert>
-
-</mapper>

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

@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceCreativeGetMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceCreativeGet">
-        <id column="advertiser_id" property="advertiserId" jdbcType="VARCHAR"/>
-        <id column="ad_id" property="adId" jdbcType="BIGINT"/>
-        <id column="creative_id" property="creativeId" jdbcType="BIGINT"/>
-        <result column="title" property="title" jdbcType="VARCHAR"/>
-        <result column="creative_word_ids" property="creativeWordIds" jdbcType="VARCHAR"/>
-        <result column="status" property="status" jdbcType="VARCHAR"/>
-        <result column="opt_status" property="optStatus" jdbcType="VARCHAR"/>
-        <result column="image_mode" property="imageMode" jdbcType="VARCHAR"/>
-        <result column="image_ids" property="imageIds" jdbcType="VARCHAR"/>
-        <result column="image_id" property="imageId" jdbcType="VARCHAR"/>
-        <result column="video_id" property="videoId" jdbcType="VARCHAR"/>
-        <result column="third_party_id" property="thirdPartyId" jdbcType="VARCHAR"/>
-        <result column="metarials" property="metarials" jdbcType="VARCHAR"/>
-        <result column="creative_create_time" property="creativeCreateTime" jdbcType="VARCHAR"/>
-        <result column="creative_modify_time" property="creativeModifyTime" jdbcType="VARCHAR"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-    advertiser_id, ad_id, creative_id, title, creative_word_ids, status, opt_status, 
-    image_mode, image_ids, image_id, video_id, third_party_id, metarials, creative_create_time, 
-    creative_modify_time
-  </sql>
-
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceCreativeGet">
-        replace into bytedance_creative_get (advertiser_id, ad_id, creative_id,
-        title, creative_word_ids, status,
-        opt_status, image_mode, image_ids,
-        image_id, video_id, third_party_id,
-        metarials, creative_create_time, creative_modify_time
-        )
-        values
-        <foreach collection="list" item="item" separator=",">
-            (#{item.advertiserId,jdbcType=VARCHAR}, #{item.adId,jdbcType=BIGINT}, #{item.creativeId,jdbcType=BIGINT},
-            #{item.title,jdbcType=VARCHAR}, #{item.creativeWordIds,jdbcType=VARCHAR}, #{item.status,jdbcType=VARCHAR},
-            #{item.optStatus,jdbcType=VARCHAR}, #{item.imageMode,jdbcType=VARCHAR}, #{item.imageIds,jdbcType=VARCHAR},
-            #{item.imageId,jdbcType=VARCHAR}, #{item.videoId,jdbcType=VARCHAR}, #{item.thirdPartyId,jdbcType=VARCHAR},
-            #{item.metarials,jdbcType=VARCHAR}, #{item.creativeCreateTime,jdbcType=VARCHAR},
-            #{item.creativeModifyTime,jdbcType=VARCHAR}
-            )
-        </foreach>
-    </insert>
-
-</mapper>

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

@@ -1,366 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceCreativeReportDailyMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceCreativeReportDaily">
-        <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
-        <id column="campaign_id" property="campaignId" jdbcType="BIGINT"/>
-        <id column="ad_id" property="adId" jdbcType="BIGINT"/>
-        <id column="creative_id" property="creativeId" jdbcType="BIGINT"/>
-        <id column="stat_datetime" property="statDatetime" jdbcType="INTEGER"/>
-        <result column="campaign_name" property="campaignName" jdbcType="VARCHAR"/>
-        <result column="ad_name" property="adName" jdbcType="VARCHAR"/>
-        <result column="cost" property="cost" jdbcType="DECIMAL"/>
-        <result column="show" property="show" jdbcType="BIGINT"/>
-        <result column="avg_show_cost" property="avgShowCost" jdbcType="DECIMAL"/>
-        <result column="click" property="click" jdbcType="BIGINT"/>
-        <result column="avg_click_cost" property="avgClickCost" jdbcType="DECIMAL"/>
-        <result column="ctr" property="ctr" jdbcType="DECIMAL"/>
-        <result column="convert" property="convert" jdbcType="BIGINT"/>
-        <result column="convert_cost" property="convertCost" jdbcType="DECIMAL"/>
-        <result column="convert_rate" property="convertRate" jdbcType="DECIMAL"/>
-        <result column="deep_convert" property="deepConvert" jdbcType="BIGINT"/>
-        <result column="deep_convert_cost" property="deepConvertCost" jdbcType="DECIMAL"/>
-        <result column="deep_convert_rate" property="deepConvertRate" jdbcType="DECIMAL"/>
-        <result column="attribution_convert" property="attributionConvert" jdbcType="BIGINT"/>
-        <result column="attribution_convert_cost" property="attributionConvertCost" jdbcType="DECIMAL"/>
-        <result column="attribution_deep_convert" property="attributionDeepConvert" jdbcType="BIGINT"/>
-        <result column="attribution_deep_convert_cost" property="attributionDeepConvertCost" jdbcType="DECIMAL"/>
-        <result column="download_start" property="downloadStart" jdbcType="BIGINT"/>
-        <result column="download_start_cost" property="downloadStartCost" jdbcType="DECIMAL"/>
-        <result column="download_start_rate" property="downloadStartRate" jdbcType="DECIMAL"/>
-        <result column="download_finish" property="downloadFinish" jdbcType="BIGINT"/>
-        <result column="download_finish_cost" property="downloadFinishCost" jdbcType="DECIMAL"/>
-        <result column="download_finish_rate" property="downloadFinishRate" jdbcType="DECIMAL"/>
-        <result column="click_install" property="clickInstall" jdbcType="BIGINT"/>
-        <result column="install_finish" property="installFinish" jdbcType="BIGINT"/>
-        <result column="install_finish_cost" property="installFinishCost" jdbcType="DECIMAL"/>
-        <result column="install_finish_rate" property="installFinishRate" jdbcType="DECIMAL"/>
-        <result column="active" property="active" jdbcType="BIGINT"/>
-        <result column="active_cost" property="activeCost" jdbcType="DECIMAL"/>
-        <result column="active_rate" property="activeRate" jdbcType="DECIMAL"/>
-        <result column="register" property="register" jdbcType="DECIMAL"/>
-        <result column="active_register_cost" property="activeRegisterCost" jdbcType="DECIMAL"/>
-        <result column="active_register_rate" property="activeRegisterRate" jdbcType="REAL"/>
-        <result column="next_day_open" property="nextDayOpen" jdbcType="BIGINT"/>
-        <result column="next_day_open_cost" property="nextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="next_day_open_rate" property="nextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_cnt" property="attributionNextDayOpenCnt" jdbcType="BIGINT"/>
-        <result column="attribution_next_day_open_cost" property="attributionNextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_rate" property="attributionNextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="game_addiction" property="gameAddiction" jdbcType="BIGINT"/>
-        <result column="game_addiction_cost" property="gameAddictionCost" jdbcType="DECIMAL"/>
-        <result column="game_addiction_rate" property="gameAddictionRate" jdbcType="DECIMAL"/>
-        <result column="pay_count" property="payCount" jdbcType="BIGINT"/>
-        <result column="active_pay_cost" property="activePayCost" jdbcType="DECIMAL"/>
-        <result column="active_pay_rate" property="activePayRate" jdbcType="DECIMAL"/>
-        <result column="loan_completion" property="loanCompletion" jdbcType="BIGINT"/>
-        <result column="loan_completion_cost" property="loanCompletionCost" jdbcType="DECIMAL"/>
-        <result column="loan_completion_rate" property="loanCompletionRate" jdbcType="DECIMAL"/>
-        <result column="pre_loan_credit" property="preLoanCredit" jdbcType="BIGINT"/>
-        <result column="pre_loan_credit_cost" property="preLoanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit" property="loanCredit" jdbcType="BIGINT"/>
-        <result column="loan_credit_cost" property="loanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit_rate" property="loanCreditRate" jdbcType="DECIMAL"/>
-        <result column="in_app_uv" property="inAppUv" jdbcType="BIGINT"/>
-        <result column="in_app_detail_uv" property="inAppDetailUv" jdbcType="BIGINT"/>
-        <result column="in_app_cart" property="inAppCart" jdbcType="BIGINT"/>
-        <result column="in_app_pay" property="inAppPay" jdbcType="BIGINT"/>
-        <result column="in_app_order" property="inAppOrder" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_count" property="attributionGamePay7dCount" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_cost" property="attributionGamePay7dCost" jdbcType="DECIMAL"/>
-        <result column="attribution_active_pay_7d_per_count" property="attributionActivePay7dPerCount"
-                jdbcType="BIGINT"/>
-        <result column="game_pay_cost" property="gamePayCost" jdbcType="DECIMAL"/>
-        <result column="game_pay_count" property="gamePayCount" jdbcType="BIGINT"/>
-        <result column="phone" property="phone" jdbcType="BIGINT"/>
-        <result column="form" property="form" jdbcType="BIGINT"/>
-        <result column="map_search" property="mapSearch" jdbcType="BIGINT"/>
-        <result column="button" property="button" jdbcType="BIGINT"/>
-        <result column="view" property="view" jdbcType="BIGINT"/>
-        <result column="download" property="download" jdbcType="BIGINT"/>
-        <result column="qq" property="qq" jdbcType="BIGINT"/>
-        <result column="lottery" property="lottery" jdbcType="BIGINT"/>
-        <result column="vote" property="vote" jdbcType="BIGINT"/>
-        <result column="message" property="message" jdbcType="BIGINT"/>
-        <result column="redirect" property="redirect" jdbcType="BIGINT"/>
-        <result column="shopping" property="shopping" jdbcType="BIGINT"/>
-        <result column="consult" property="consult" jdbcType="BIGINT"/>
-        <result column="wechat" property="wechat" jdbcType="BIGINT"/>
-        <result column="phone_confirm" property="phoneConfirm" jdbcType="BIGINT"/>
-        <result column="phone_connect" property="phoneConnect" jdbcType="BIGINT"/>
-        <result column="consult_effective" property="consultEffective" jdbcType="BIGINT"/>
-        <result column="coupon" property="coupon" jdbcType="BIGINT"/>
-        <result column="coupon_single_page" property="couponSinglePage" jdbcType="BIGINT"/>
-        <result column="redirect_to_shop" property="redirectToShop" jdbcType="BIGINT"/>
-        <result column="poi_collect" property="poiCollect" jdbcType="BIGINT"/>
-        <result column="poi_address_click" property="poiAddressClick" jdbcType="BIGINT"/>
-        <result column="luban_order_cnt" property="lubanOrderCnt" jdbcType="BIGINT"/>
-        <result column="luban_order_stat_amount" property="lubanOrderStatAmount" jdbcType="DECIMAL"/>
-        <result column="luban_order_roi" property="lubanOrderRoi" jdbcType="DECIMAL"/>
-        <result column="luban_live_enter_cnt" property="lubanLiveEnterCnt" jdbcType="BIGINT"/>
-        <result column="live_watch_one_minute_count" property="liveWatchOneMinuteCount" jdbcType="BIGINT"/>
-        <result column="luban_live_follow_cnt" property="lubanLiveFollowCnt" jdbcType="BIGINT"/>
-        <result column="live_fans_club_join_cnt" property="liveFansClubJoinCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_comment_cnt" property="lubanLiveCommentCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_share_cnt" property="lubanLiveShareCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_cnt" property="lubanLiveGiftCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_amount" property="lubanLiveGiftAmount" jdbcType="DECIMAL"/>
-        <result column="luban_live_slidecart_click_cnt" property="lubanLiveSlidecartClickCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_click_product_cnt" property="lubanLiveClickProductCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_count" property="lubanLivePayOrderCount" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_stat_cost" property="lubanLivePayOrderStatCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_count" property="liveComponentClickCount" jdbcType="BIGINT"/>
-        <result column="live_component_click_cost" property="liveComponentClickCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_rate" property="liveComponentClickRate" jdbcType="DECIMAL"/>
-        <result column="wechat_login_count" property="wechatLoginCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_login_30d_count" property="attributionWechatLogin30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_login_cost" property="wechatLoginCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_login_30d_cost" property="attributionWechatLogin30dCost" jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_count" property="wechatFirstPayCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_first_pay_30d_count" property="attributionWechatFirstPay30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_first_pay_cost" property="wechatFirstPayCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_cost" property="attributionWechatFirstPay30dCost"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_rate" property="wechatFirstPayRate" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_rate" property="attributionWechatFirstPay30dRate"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_pay_amount" property="wechatPayAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_amount" property="attributionWechatPay30dAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_roi" property="attributionWechatPay30dRoi" jdbcType="DECIMAL"/>
-        <result column="phone_effective" property="phoneEffective" jdbcType="BIGINT"/>
-        <result column="total_play" property="totalPlay" jdbcType="BIGINT"/>
-        <result column="valid_play" property="validPlay" jdbcType="BIGINT"/>
-        <result column="valid_play_cost" property="validPlayCost" jdbcType="DECIMAL"/>
-        <result column="valid_play_rate" property="validPlayRate" jdbcType="DECIMAL"/>
-        <result column="play_25_feed_break" property="play25FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_50_feed_break" property="play50FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_75_feed_break" property="play75FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_100_feed_break" property="play100FeedBreak" jdbcType="BIGINT"/>
-        <result column="average_play_time_per_play" property="averagePlayTimePerPlay" jdbcType="DECIMAL"/>
-        <result column="play_over_rate" property="playOverRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play_rate" property="wifiPlayRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play" property="wifiPlay" jdbcType="BIGINT"/>
-        <result column="play_duration_sum" property="playDurationSum" jdbcType="BIGINT"/>
-        <result column="advanced_creative_phone_click" property="advancedCreativePhoneClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_counsel_click" property="advancedCreativeCounselClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_click" property="advancedCreativeFormClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_coupon_addition" property="advancedCreativeCouponAddition" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_submit" property="advancedCreativeFormSubmit" jdbcType="BIGINT"/>
-        <result column="card_show" property="cardShow" jdbcType="BIGINT"/>
-        <result column="share" property="share" jdbcType="BIGINT"/>
-        <result column="comment" property="comment" jdbcType="BIGINT"/>
-        <result column="like" property="like" jdbcType="BIGINT"/>
-        <result column="follow" property="follow" jdbcType="BIGINT"/>
-        <result column="home_visited" property="homeVisited" jdbcType="BIGINT"/>
-        <result column="ies_challenge_click" property="iesChallengeClick" jdbcType="BIGINT"/>
-        <result column="ies_music_click" property="iesMusicClick" jdbcType="BIGINT"/>
-        <result column="location_click" property="locationClick" jdbcType="BIGINT"/>
-        <result column="message_action" property="messageAction" jdbcType="BIGINT"/>
-        <result column="click_landing_page" property="clickLandingPage" jdbcType="BIGINT"/>
-        <result column="click_shopwindow" property="clickShopwindow" jdbcType="BIGINT"/>
-        <result column="click_website" property="clickWebsite" jdbcType="BIGINT"/>
-        <result column="click_download" property="clickDownload" jdbcType="BIGINT"/>
-        <result column="click_call_dy" property="clickCallDy" jdbcType="BIGINT"/>
-        <result column="submit_certification_count" property="submitCertificationCount" jdbcType="BIGINT"/>
-        <result column="approval_count" property="approvalCount" jdbcType="BIGINT"/>
-        <result column="first_rental_order_count" property="firstRentalOrderCount" jdbcType="BIGINT"/>
-        <result column="first_order_count" property="firstOrderCount" jdbcType="BIGINT"/>
-        <result column="commute_first_pay_count" property="commuteFirstPayCount" jdbcType="BIGINT"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-    advertiser_id, campaign_id, ad_id, creative_id, stat_datetime, campaign_name, ad_name, 
-    cost, show, avg_show_cost, click, avg_click_cost, ctr, convert, convert_cost, convert_rate, 
-    deep_convert, deep_convert_cost, deep_convert_rate, attribution_convert, attribution_convert_cost, 
-    attribution_deep_convert, attribution_deep_convert_cost, download_start, download_start_cost, 
-    download_start_rate, download_finish, download_finish_cost, download_finish_rate, 
-    click_install, install_finish, install_finish_cost, install_finish_rate, active, 
-    active_cost, active_rate, register, active_register_cost, active_register_rate, next_day_open, 
-    next_day_open_cost, next_day_open_rate, attribution_next_day_open_cnt, attribution_next_day_open_cost, 
-    attribution_next_day_open_rate, game_addiction, game_addiction_cost, game_addiction_rate, 
-    pay_count, active_pay_cost, active_pay_rate, loan_completion, loan_completion_cost, 
-    loan_completion_rate, pre_loan_credit, pre_loan_credit_cost, loan_credit, loan_credit_cost, 
-    loan_credit_rate, in_app_uv, in_app_detail_uv, in_app_cart, in_app_pay, in_app_order, 
-    attribution_game_pay_7d_count, attribution_game_pay_7d_cost, attribution_active_pay_7d_per_count, 
-    game_pay_cost, game_pay_count, phone, form, map_search, button, view, download, qq, 
-    lottery, vote, message, redirect, shopping, consult, wechat, phone_confirm, phone_connect, 
-    consult_effective, coupon, coupon_single_page, redirect_to_shop, poi_collect, poi_address_click, 
-    luban_order_cnt, luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt, 
-    live_watch_one_minute_count, luban_live_follow_cnt, live_fans_club_join_cnt, luban_live_comment_cnt, 
-    luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount, luban_live_slidecart_click_cnt, 
-    luban_live_click_product_cnt, luban_live_pay_order_count, luban_live_pay_order_stat_cost, 
-    live_component_click_count, live_component_click_cost, live_component_click_rate, 
-    wechat_login_count, attribution_wechat_login_30d_count, wechat_login_cost, attribution_wechat_login_30d_cost, 
-    wechat_first_pay_count, attribution_wechat_first_pay_30d_count, wechat_first_pay_cost, 
-    attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate, attribution_wechat_first_pay_30d_rate, 
-    wechat_pay_amount, attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi, 
-    phone_effective, total_play, valid_play, valid_play_cost, valid_play_rate, play_25_feed_break, 
-    play_50_feed_break, play_75_feed_break, play_100_feed_break, average_play_time_per_play, 
-    play_over_rate, wifi_play_rate, wifi_play, play_duration_sum, advanced_creative_phone_click, 
-    advanced_creative_counsel_click, advanced_creative_form_click, advanced_creative_coupon_addition, 
-    advanced_creative_form_submit, card_show, share, comment, like, follow, home_visited, 
-    ies_challenge_click, ies_music_click, location_click, message_action, click_landing_page, 
-    click_shopwindow, click_website, click_download, click_call_dy, submit_certification_count, 
-    approval_count, first_rental_order_count, first_order_count, commute_first_pay_count
-  </sql>
-
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceCreativeReportDaily">
-        replace into bytedance_creative_report_daily (advertiser_id, campaign_id, ad_id,
-        creative_id, stat_datetime, campaign_name,
-        ad_name, cost, `show`,
-        avg_show_cost, click, avg_click_cost,
-        ctr, `convert`, convert_cost,
-        convert_rate, deep_convert, deep_convert_cost,
-        deep_convert_rate, attribution_convert, attribution_convert_cost,
-        attribution_deep_convert, attribution_deep_convert_cost,
-        download_start, download_start_cost, download_start_rate,
-        download_finish, download_finish_cost, download_finish_rate,
-        click_install, install_finish, install_finish_cost,
-        install_finish_rate, active, active_cost,
-        active_rate, register, active_register_cost,
-        active_register_rate, next_day_open, next_day_open_cost,
-        next_day_open_rate, attribution_next_day_open_cnt,
-        attribution_next_day_open_cost, attribution_next_day_open_rate,
-        game_addiction, game_addiction_cost, game_addiction_rate,
-        pay_count, active_pay_cost, active_pay_rate,
-        loan_completion, loan_completion_cost, loan_completion_rate,
-        pre_loan_credit, pre_loan_credit_cost, loan_credit,
-        loan_credit_cost, loan_credit_rate, in_app_uv,
-        in_app_detail_uv, in_app_cart, in_app_pay,
-        in_app_order, attribution_game_pay_7d_count, attribution_game_pay_7d_cost,
-        attribution_active_pay_7d_per_count, game_pay_cost,
-        game_pay_count, phone, form,
-        map_search, button, `view`,
-        download, qq, lottery,
-        vote, message, redirect,
-        shopping, consult, wechat,
-        phone_confirm, phone_connect, consult_effective,
-        coupon, coupon_single_page, redirect_to_shop,
-        poi_collect, poi_address_click, luban_order_cnt,
-        luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt,
-        live_watch_one_minute_count, luban_live_follow_cnt,
-        live_fans_club_join_cnt, luban_live_comment_cnt,
-        luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount,
-        luban_live_slidecart_click_cnt, luban_live_click_product_cnt,
-        luban_live_pay_order_count, luban_live_pay_order_stat_cost,
-        live_component_click_count, live_component_click_cost,
-        live_component_click_rate, wechat_login_count,
-        attribution_wechat_login_30d_count, wechat_login_cost,
-        attribution_wechat_login_30d_cost, wechat_first_pay_count,
-        attribution_wechat_first_pay_30d_count, wechat_first_pay_cost,
-        attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate,
-        attribution_wechat_first_pay_30d_rate, wechat_pay_amount,
-        attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi,
-        phone_effective, total_play, valid_play,
-        valid_play_cost, valid_play_rate, play_25_feed_break,
-        play_50_feed_break, play_75_feed_break, play_100_feed_break,
-        average_play_time_per_play, play_over_rate, wifi_play_rate,
-        wifi_play, play_duration_sum, advanced_creative_phone_click,
-        advanced_creative_counsel_click, advanced_creative_form_click,
-        advanced_creative_coupon_addition, advanced_creative_form_submit,
-        card_show, `share`, `comment`,
-        `like`, follow, home_visited,
-        ies_challenge_click, ies_music_click, location_click,
-        message_action, click_landing_page, click_shopwindow,
-        click_website, click_download, click_call_dy,
-        submit_certification_count, approval_count,
-        first_rental_order_count, first_order_count, commute_first_pay_count
-        )
-        values
-        <foreach collection="list" item="item" separator=",">
-            (#{item.advertiserId,jdbcType=BIGINT}, #{item.campaignId,jdbcType=BIGINT}, #{item.adId,jdbcType=BIGINT},
-            #{item.creativeId,jdbcType=BIGINT}, #{item.statDatetime,jdbcType=INTEGER},
-            #{item.campaignName,jdbcType=VARCHAR},
-            #{item.adName,jdbcType=VARCHAR}, #{item.cost,jdbcType=DECIMAL}, #{item.show,jdbcType=BIGINT},
-            #{item.avgShowCost,jdbcType=DECIMAL}, #{item.click,jdbcType=BIGINT}, #{item.avgClickCost,jdbcType=DECIMAL},
-            #{item.ctr,jdbcType=DECIMAL}, #{item.convert,jdbcType=BIGINT}, #{item.convertCost,jdbcType=DECIMAL},
-            #{item.convertRate,jdbcType=DECIMAL}, #{item.deepConvert,jdbcType=BIGINT},
-            #{item.deepConvertCost,jdbcType=DECIMAL},
-            #{item.deepConvertRate,jdbcType=DECIMAL}, #{item.attributionConvert,jdbcType=BIGINT},
-            #{item.attributionConvertCost,jdbcType=DECIMAL},
-            #{item.attributionDeepConvert,jdbcType=BIGINT}, #{item.attributionDeepConvertCost,jdbcType=DECIMAL},
-            #{item.downloadStart,jdbcType=BIGINT}, #{item.downloadStartCost,jdbcType=DECIMAL},
-            #{item.downloadStartRate,jdbcType=DECIMAL},
-            #{item.downloadFinish,jdbcType=BIGINT}, #{item.downloadFinishCost,jdbcType=DECIMAL},
-            #{item.downloadFinishRate,jdbcType=DECIMAL},
-            #{item.clickInstall,jdbcType=BIGINT}, #{item.installFinish,jdbcType=BIGINT},
-            #{item.installFinishCost,jdbcType=DECIMAL},
-            #{item.installFinishRate,jdbcType=DECIMAL}, #{item.active,jdbcType=BIGINT},
-            #{item.activeCost,jdbcType=DECIMAL},
-            #{item.activeRate,jdbcType=DECIMAL}, #{item.register,jdbcType=DECIMAL},
-            #{item.activeRegisterCost,jdbcType=DECIMAL},
-            #{item.activeRegisterRate,jdbcType=REAL}, #{item.nextDayOpen,jdbcType=BIGINT},
-            #{item.nextDayOpenCost,jdbcType=DECIMAL},
-            #{item.nextDayOpenRate,jdbcType=DECIMAL}, #{item.attributionNextDayOpenCnt,jdbcType=BIGINT},
-            #{item.attributionNextDayOpenCost,jdbcType=DECIMAL}, #{item.attributionNextDayOpenRate,jdbcType=DECIMAL},
-            #{item.gameAddiction,jdbcType=BIGINT}, #{item.gameAddictionCost,jdbcType=DECIMAL},
-            #{item.gameAddictionRate,jdbcType=DECIMAL},
-            #{item.payCount,jdbcType=BIGINT}, #{item.activePayCost,jdbcType=DECIMAL},
-            #{item.activePayRate,jdbcType=DECIMAL},
-            #{item.loanCompletion,jdbcType=BIGINT}, #{item.loanCompletionCost,jdbcType=DECIMAL},
-            #{item.loanCompletionRate,jdbcType=DECIMAL},
-            #{item.preLoanCredit,jdbcType=BIGINT}, #{item.preLoanCreditCost,jdbcType=DECIMAL},
-            #{item.loanCredit,jdbcType=BIGINT},
-            #{item.loanCreditCost,jdbcType=DECIMAL}, #{item.loanCreditRate,jdbcType=DECIMAL},
-            #{item.inAppUv,jdbcType=BIGINT},
-            #{item.inAppDetailUv,jdbcType=BIGINT}, #{item.inAppCart,jdbcType=BIGINT}, #{item.inAppPay,jdbcType=BIGINT},
-            #{item.inAppOrder,jdbcType=BIGINT}, #{item.attributionGamePay7dCount,jdbcType=BIGINT},
-            #{item.attributionGamePay7dCost,jdbcType=DECIMAL},
-            #{item.attributionActivePay7dPerCount,jdbcType=BIGINT}, #{item.gamePayCost,jdbcType=DECIMAL},
-            #{item.gamePayCount,jdbcType=BIGINT}, #{item.phone,jdbcType=BIGINT}, #{item.form,jdbcType=BIGINT},
-            #{item.mapSearch,jdbcType=BIGINT}, #{item.button,jdbcType=BIGINT}, #{item.view,jdbcType=BIGINT},
-            #{item.download,jdbcType=BIGINT}, #{item.qq,jdbcType=BIGINT}, #{item.lottery,jdbcType=BIGINT},
-            #{item.vote,jdbcType=BIGINT}, #{item.message,jdbcType=BIGINT}, #{item.redirect,jdbcType=BIGINT},
-            #{item.shopping,jdbcType=BIGINT}, #{item.consult,jdbcType=BIGINT}, #{item.wechat,jdbcType=BIGINT},
-            #{item.phoneConfirm,jdbcType=BIGINT}, #{item.phoneConnect,jdbcType=BIGINT},
-            #{item.consultEffective,jdbcType=BIGINT},
-            #{item.coupon,jdbcType=BIGINT}, #{item.couponSinglePage,jdbcType=BIGINT},
-            #{item.redirectToShop,jdbcType=BIGINT},
-            #{item.poiCollect,jdbcType=BIGINT}, #{item.poiAddressClick,jdbcType=BIGINT},
-            #{item.lubanOrderCnt,jdbcType=BIGINT},
-            #{item.lubanOrderStatAmount,jdbcType=DECIMAL}, #{item.lubanOrderRoi,jdbcType=DECIMAL},
-            #{item.lubanLiveEnterCnt,jdbcType=BIGINT},
-            #{item.liveWatchOneMinuteCount,jdbcType=BIGINT}, #{item.lubanLiveFollowCnt,jdbcType=BIGINT},
-            #{item.liveFansClubJoinCnt,jdbcType=BIGINT}, #{item.lubanLiveCommentCnt,jdbcType=BIGINT},
-            #{item.lubanLiveShareCnt,jdbcType=BIGINT}, #{item.lubanLiveGiftCnt,jdbcType=BIGINT},
-            #{item.lubanLiveGiftAmount,jdbcType=DECIMAL},
-            #{item.lubanLiveSlidecartClickCnt,jdbcType=BIGINT}, #{item.lubanLiveClickProductCnt,jdbcType=BIGINT},
-            #{item.lubanLivePayOrderCount,jdbcType=BIGINT}, #{item.lubanLivePayOrderStatCost,jdbcType=DECIMAL},
-            #{item.liveComponentClickCount,jdbcType=BIGINT}, #{item.liveComponentClickCost,jdbcType=DECIMAL},
-            #{item.liveComponentClickRate,jdbcType=DECIMAL}, #{item.wechatLoginCount,jdbcType=BIGINT},
-            #{item.attributionWechatLogin30dCount,jdbcType=BIGINT}, #{item.wechatLoginCost,jdbcType=DECIMAL},
-            #{item.attributionWechatLogin30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayCount,jdbcType=BIGINT},
-            #{item.attributionWechatFirstPay30dCount,jdbcType=BIGINT}, #{item.wechatFirstPayCost,jdbcType=DECIMAL},
-            #{item.attributionWechatFirstPay30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayRate,jdbcType=DECIMAL},
-            #{item.attributionWechatFirstPay30dRate,jdbcType=DECIMAL}, #{item.wechatPayAmount,jdbcType=DECIMAL},
-            #{item.attributionWechatPay30dAmount,jdbcType=DECIMAL}, #{item.attributionWechatPay30dRoi,jdbcType=DECIMAL},
-            #{item.phoneEffective,jdbcType=BIGINT}, #{item.totalPlay,jdbcType=BIGINT},
-            #{item.validPlay,jdbcType=BIGINT},
-            #{item.validPlayCost,jdbcType=DECIMAL}, #{item.validPlayRate,jdbcType=DECIMAL},
-            #{item.play25FeedBreak,jdbcType=BIGINT},
-            #{item.play50FeedBreak,jdbcType=BIGINT}, #{item.play75FeedBreak,jdbcType=BIGINT},
-            #{item.play100FeedBreak,jdbcType=BIGINT},
-            #{item.averagePlayTimePerPlay,jdbcType=DECIMAL}, #{item.playOverRate,jdbcType=DECIMAL},
-            #{item.wifiPlayRate,jdbcType=DECIMAL},
-            #{item.wifiPlay,jdbcType=BIGINT}, #{item.playDurationSum,jdbcType=BIGINT},
-            #{item.advancedCreativePhoneClick,jdbcType=BIGINT},
-            #{item.advancedCreativeCounselClick,jdbcType=BIGINT}, #{item.advancedCreativeFormClick,jdbcType=BIGINT},
-            #{item.advancedCreativeCouponAddition,jdbcType=BIGINT}, #{item.advancedCreativeFormSubmit,jdbcType=BIGINT},
-            #{item.cardShow,jdbcType=BIGINT}, #{item.share,jdbcType=BIGINT}, #{item.comment,jdbcType=BIGINT},
-            #{item.like,jdbcType=BIGINT}, #{item.follow,jdbcType=BIGINT}, #{item.homeVisited,jdbcType=BIGINT},
-            #{item.iesChallengeClick,jdbcType=BIGINT}, #{item.iesMusicClick,jdbcType=BIGINT},
-            #{item.locationClick,jdbcType=BIGINT},
-            #{item.messageAction,jdbcType=BIGINT}, #{item.clickLandingPage,jdbcType=BIGINT},
-            #{item.clickShopwindow,jdbcType=BIGINT},
-            #{item.clickWebsite,jdbcType=BIGINT}, #{item.clickDownload,jdbcType=BIGINT},
-            #{item.clickCallDy,jdbcType=BIGINT},
-            #{item.submitCertificationCount,jdbcType=BIGINT}, #{item.approvalCount,jdbcType=BIGINT},
-            #{item.firstRentalOrderCount,jdbcType=BIGINT}, #{item.firstOrderCount,jdbcType=BIGINT},
-            #{item.commuteFirstPayCount,jdbcType=BIGINT}
-            )
-        </foreach>
-    </insert>
-
-</mapper>

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

@@ -1,368 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceCreativeReportHourlyMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceCreativeReportHourly">
-        <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
-        <id column="campaign_id" property="campaignId" jdbcType="BIGINT"/>
-        <id column="ad_id" property="adId" jdbcType="BIGINT"/>
-        <id column="creative_id" property="creativeId" jdbcType="BIGINT"/>
-        <id column="stat_datetime" property="statDatetime" jdbcType="INTEGER"/>
-        <id column="hour" property="hour" jdbcType="INTEGER"/>
-        <result column="campaign_name" property="campaignName" jdbcType="VARCHAR"/>
-        <result column="ad_name" property="adName" jdbcType="VARCHAR"/>
-        <result column="cost" property="cost" jdbcType="DECIMAL"/>
-        <result column="show" property="show" jdbcType="BIGINT"/>
-        <result column="avg_show_cost" property="avgShowCost" jdbcType="DECIMAL"/>
-        <result column="click" property="click" jdbcType="BIGINT"/>
-        <result column="avg_click_cost" property="avgClickCost" jdbcType="DECIMAL"/>
-        <result column="ctr" property="ctr" jdbcType="DECIMAL"/>
-        <result column="convert" property="convert" jdbcType="BIGINT"/>
-        <result column="convert_cost" property="convertCost" jdbcType="DECIMAL"/>
-        <result column="convert_rate" property="convertRate" jdbcType="DECIMAL"/>
-        <result column="deep_convert" property="deepConvert" jdbcType="BIGINT"/>
-        <result column="deep_convert_cost" property="deepConvertCost" jdbcType="DECIMAL"/>
-        <result column="deep_convert_rate" property="deepConvertRate" jdbcType="DECIMAL"/>
-        <result column="attribution_convert" property="attributionConvert" jdbcType="BIGINT"/>
-        <result column="attribution_convert_cost" property="attributionConvertCost" jdbcType="DECIMAL"/>
-        <result column="attribution_deep_convert" property="attributionDeepConvert" jdbcType="BIGINT"/>
-        <result column="attribution_deep_convert_cost" property="attributionDeepConvertCost" jdbcType="DECIMAL"/>
-        <result column="download_start" property="downloadStart" jdbcType="BIGINT"/>
-        <result column="download_start_cost" property="downloadStartCost" jdbcType="DECIMAL"/>
-        <result column="download_start_rate" property="downloadStartRate" jdbcType="DECIMAL"/>
-        <result column="download_finish" property="downloadFinish" jdbcType="BIGINT"/>
-        <result column="download_finish_cost" property="downloadFinishCost" jdbcType="DECIMAL"/>
-        <result column="download_finish_rate" property="downloadFinishRate" jdbcType="DECIMAL"/>
-        <result column="click_install" property="clickInstall" jdbcType="BIGINT"/>
-        <result column="install_finish" property="installFinish" jdbcType="BIGINT"/>
-        <result column="install_finish_cost" property="installFinishCost" jdbcType="DECIMAL"/>
-        <result column="install_finish_rate" property="installFinishRate" jdbcType="DECIMAL"/>
-        <result column="active" property="active" jdbcType="BIGINT"/>
-        <result column="active_cost" property="activeCost" jdbcType="DECIMAL"/>
-        <result column="active_rate" property="activeRate" jdbcType="DECIMAL"/>
-        <result column="register" property="register" jdbcType="DECIMAL"/>
-        <result column="active_register_cost" property="activeRegisterCost" jdbcType="DECIMAL"/>
-        <result column="active_register_rate" property="activeRegisterRate" jdbcType="REAL"/>
-        <result column="next_day_open" property="nextDayOpen" jdbcType="BIGINT"/>
-        <result column="next_day_open_cost" property="nextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="next_day_open_rate" property="nextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_cnt" property="attributionNextDayOpenCnt" jdbcType="BIGINT"/>
-        <result column="attribution_next_day_open_cost" property="attributionNextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_rate" property="attributionNextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="game_addiction" property="gameAddiction" jdbcType="BIGINT"/>
-        <result column="game_addiction_cost" property="gameAddictionCost" jdbcType="DECIMAL"/>
-        <result column="game_addiction_rate" property="gameAddictionRate" jdbcType="DECIMAL"/>
-        <result column="pay_count" property="payCount" jdbcType="BIGINT"/>
-        <result column="active_pay_cost" property="activePayCost" jdbcType="DECIMAL"/>
-        <result column="active_pay_rate" property="activePayRate" jdbcType="DECIMAL"/>
-        <result column="loan_completion" property="loanCompletion" jdbcType="BIGINT"/>
-        <result column="loan_completion_cost" property="loanCompletionCost" jdbcType="DECIMAL"/>
-        <result column="loan_completion_rate" property="loanCompletionRate" jdbcType="DECIMAL"/>
-        <result column="pre_loan_credit" property="preLoanCredit" jdbcType="BIGINT"/>
-        <result column="pre_loan_credit_cost" property="preLoanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit" property="loanCredit" jdbcType="BIGINT"/>
-        <result column="loan_credit_cost" property="loanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit_rate" property="loanCreditRate" jdbcType="DECIMAL"/>
-        <result column="in_app_uv" property="inAppUv" jdbcType="BIGINT"/>
-        <result column="in_app_detail_uv" property="inAppDetailUv" jdbcType="BIGINT"/>
-        <result column="in_app_cart" property="inAppCart" jdbcType="BIGINT"/>
-        <result column="in_app_pay" property="inAppPay" jdbcType="BIGINT"/>
-        <result column="in_app_order" property="inAppOrder" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_count" property="attributionGamePay7dCount" jdbcType="BIGINT"/>
-        <result column="attribution_game_pay_7d_cost" property="attributionGamePay7dCost" jdbcType="DECIMAL"/>
-        <result column="attribution_active_pay_7d_per_count" property="attributionActivePay7dPerCount"
-                jdbcType="BIGINT"/>
-        <result column="game_pay_cost" property="gamePayCost" jdbcType="DECIMAL"/>
-        <result column="game_pay_count" property="gamePayCount" jdbcType="BIGINT"/>
-        <result column="phone" property="phone" jdbcType="BIGINT"/>
-        <result column="form" property="form" jdbcType="BIGINT"/>
-        <result column="map_search" property="mapSearch" jdbcType="BIGINT"/>
-        <result column="button" property="button" jdbcType="BIGINT"/>
-        <result column="view" property="view" jdbcType="BIGINT"/>
-        <result column="download" property="download" jdbcType="BIGINT"/>
-        <result column="qq" property="qq" jdbcType="BIGINT"/>
-        <result column="lottery" property="lottery" jdbcType="BIGINT"/>
-        <result column="vote" property="vote" jdbcType="BIGINT"/>
-        <result column="message" property="message" jdbcType="BIGINT"/>
-        <result column="redirect" property="redirect" jdbcType="BIGINT"/>
-        <result column="shopping" property="shopping" jdbcType="BIGINT"/>
-        <result column="consult" property="consult" jdbcType="BIGINT"/>
-        <result column="wechat" property="wechat" jdbcType="BIGINT"/>
-        <result column="phone_confirm" property="phoneConfirm" jdbcType="BIGINT"/>
-        <result column="phone_connect" property="phoneConnect" jdbcType="BIGINT"/>
-        <result column="consult_effective" property="consultEffective" jdbcType="BIGINT"/>
-        <result column="coupon" property="coupon" jdbcType="BIGINT"/>
-        <result column="coupon_single_page" property="couponSinglePage" jdbcType="BIGINT"/>
-        <result column="redirect_to_shop" property="redirectToShop" jdbcType="BIGINT"/>
-        <result column="poi_collect" property="poiCollect" jdbcType="BIGINT"/>
-        <result column="poi_address_click" property="poiAddressClick" jdbcType="BIGINT"/>
-        <result column="luban_order_cnt" property="lubanOrderCnt" jdbcType="BIGINT"/>
-        <result column="luban_order_stat_amount" property="lubanOrderStatAmount" jdbcType="DECIMAL"/>
-        <result column="luban_order_roi" property="lubanOrderRoi" jdbcType="DECIMAL"/>
-        <result column="luban_live_enter_cnt" property="lubanLiveEnterCnt" jdbcType="BIGINT"/>
-        <result column="live_watch_one_minute_count" property="liveWatchOneMinuteCount" jdbcType="BIGINT"/>
-        <result column="luban_live_follow_cnt" property="lubanLiveFollowCnt" jdbcType="BIGINT"/>
-        <result column="live_fans_club_join_cnt" property="liveFansClubJoinCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_comment_cnt" property="lubanLiveCommentCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_share_cnt" property="lubanLiveShareCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_cnt" property="lubanLiveGiftCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_gift_amount" property="lubanLiveGiftAmount" jdbcType="DECIMAL"/>
-        <result column="luban_live_slidecart_click_cnt" property="lubanLiveSlidecartClickCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_click_product_cnt" property="lubanLiveClickProductCnt" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_count" property="lubanLivePayOrderCount" jdbcType="BIGINT"/>
-        <result column="luban_live_pay_order_stat_cost" property="lubanLivePayOrderStatCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_count" property="liveComponentClickCount" jdbcType="BIGINT"/>
-        <result column="live_component_click_cost" property="liveComponentClickCost" jdbcType="DECIMAL"/>
-        <result column="live_component_click_rate" property="liveComponentClickRate" jdbcType="DECIMAL"/>
-        <result column="wechat_login_count" property="wechatLoginCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_login_30d_count" property="attributionWechatLogin30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_login_cost" property="wechatLoginCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_login_30d_cost" property="attributionWechatLogin30dCost" jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_count" property="wechatFirstPayCount" jdbcType="BIGINT"/>
-        <result column="attribution_wechat_first_pay_30d_count" property="attributionWechatFirstPay30dCount"
-                jdbcType="BIGINT"/>
-        <result column="wechat_first_pay_cost" property="wechatFirstPayCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_cost" property="attributionWechatFirstPay30dCost"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_rate" property="wechatFirstPayRate" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_rate" property="attributionWechatFirstPay30dRate"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_pay_amount" property="wechatPayAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_amount" property="attributionWechatPay30dAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_roi" property="attributionWechatPay30dRoi" jdbcType="DECIMAL"/>
-        <result column="phone_effective" property="phoneEffective" jdbcType="BIGINT"/>
-        <result column="total_play" property="totalPlay" jdbcType="BIGINT"/>
-        <result column="valid_play" property="validPlay" jdbcType="BIGINT"/>
-        <result column="valid_play_cost" property="validPlayCost" jdbcType="DECIMAL"/>
-        <result column="valid_play_rate" property="validPlayRate" jdbcType="DECIMAL"/>
-        <result column="play_25_feed_break" property="play25FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_50_feed_break" property="play50FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_75_feed_break" property="play75FeedBreak" jdbcType="BIGINT"/>
-        <result column="play_100_feed_break" property="play100FeedBreak" jdbcType="BIGINT"/>
-        <result column="average_play_time_per_play" property="averagePlayTimePerPlay" jdbcType="DECIMAL"/>
-        <result column="play_over_rate" property="playOverRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play_rate" property="wifiPlayRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play" property="wifiPlay" jdbcType="BIGINT"/>
-        <result column="play_duration_sum" property="playDurationSum" jdbcType="BIGINT"/>
-        <result column="advanced_creative_phone_click" property="advancedCreativePhoneClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_counsel_click" property="advancedCreativeCounselClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_click" property="advancedCreativeFormClick" jdbcType="BIGINT"/>
-        <result column="advanced_creative_coupon_addition" property="advancedCreativeCouponAddition" jdbcType="BIGINT"/>
-        <result column="advanced_creative_form_submit" property="advancedCreativeFormSubmit" jdbcType="BIGINT"/>
-        <result column="card_show" property="cardShow" jdbcType="BIGINT"/>
-        <result column="share" property="share" jdbcType="BIGINT"/>
-        <result column="comment" property="comment" jdbcType="BIGINT"/>
-        <result column="like" property="like" jdbcType="BIGINT"/>
-        <result column="follow" property="follow" jdbcType="BIGINT"/>
-        <result column="home_visited" property="homeVisited" jdbcType="BIGINT"/>
-        <result column="ies_challenge_click" property="iesChallengeClick" jdbcType="BIGINT"/>
-        <result column="ies_music_click" property="iesMusicClick" jdbcType="BIGINT"/>
-        <result column="location_click" property="locationClick" jdbcType="BIGINT"/>
-        <result column="message_action" property="messageAction" jdbcType="BIGINT"/>
-        <result column="click_landing_page" property="clickLandingPage" jdbcType="BIGINT"/>
-        <result column="click_shopwindow" property="clickShopwindow" jdbcType="BIGINT"/>
-        <result column="click_website" property="clickWebsite" jdbcType="BIGINT"/>
-        <result column="click_download" property="clickDownload" jdbcType="BIGINT"/>
-        <result column="click_call_dy" property="clickCallDy" jdbcType="BIGINT"/>
-        <result column="submit_certification_count" property="submitCertificationCount" jdbcType="BIGINT"/>
-        <result column="approval_count" property="approvalCount" jdbcType="BIGINT"/>
-        <result column="first_rental_order_count" property="firstRentalOrderCount" jdbcType="BIGINT"/>
-        <result column="first_order_count" property="firstOrderCount" jdbcType="BIGINT"/>
-        <result column="commute_first_pay_count" property="commuteFirstPayCount" jdbcType="BIGINT"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-    advertiser_id, campaign_id, ad_id, creative_id, stat_datetime, hour, campaign_name, 
-    ad_name, cost, show, avg_show_cost, click, avg_click_cost, ctr, convert, convert_cost, 
-    convert_rate, deep_convert, deep_convert_cost, deep_convert_rate, attribution_convert, 
-    attribution_convert_cost, attribution_deep_convert, attribution_deep_convert_cost, 
-    download_start, download_start_cost, download_start_rate, download_finish, download_finish_cost, 
-    download_finish_rate, click_install, install_finish, install_finish_cost, install_finish_rate, 
-    active, active_cost, active_rate, register, active_register_cost, active_register_rate, 
-    next_day_open, next_day_open_cost, next_day_open_rate, attribution_next_day_open_cnt, 
-    attribution_next_day_open_cost, attribution_next_day_open_rate, game_addiction, game_addiction_cost, 
-    game_addiction_rate, pay_count, active_pay_cost, active_pay_rate, loan_completion, 
-    loan_completion_cost, loan_completion_rate, pre_loan_credit, pre_loan_credit_cost, 
-    loan_credit, loan_credit_cost, loan_credit_rate, in_app_uv, in_app_detail_uv, in_app_cart, 
-    in_app_pay, in_app_order, attribution_game_pay_7d_count, attribution_game_pay_7d_cost, 
-    attribution_active_pay_7d_per_count, game_pay_cost, game_pay_count, phone, form, 
-    map_search, button, view, download, qq, lottery, vote, message, redirect, shopping, 
-    consult, wechat, phone_confirm, phone_connect, consult_effective, coupon, coupon_single_page, 
-    redirect_to_shop, poi_collect, poi_address_click, luban_order_cnt, luban_order_stat_amount, 
-    luban_order_roi, luban_live_enter_cnt, live_watch_one_minute_count, luban_live_follow_cnt, 
-    live_fans_club_join_cnt, luban_live_comment_cnt, luban_live_share_cnt, luban_live_gift_cnt, 
-    luban_live_gift_amount, luban_live_slidecart_click_cnt, luban_live_click_product_cnt, 
-    luban_live_pay_order_count, luban_live_pay_order_stat_cost, live_component_click_count, 
-    live_component_click_cost, live_component_click_rate, wechat_login_count, attribution_wechat_login_30d_count, 
-    wechat_login_cost, attribution_wechat_login_30d_cost, wechat_first_pay_count, attribution_wechat_first_pay_30d_count, 
-    wechat_first_pay_cost, attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate, 
-    attribution_wechat_first_pay_30d_rate, wechat_pay_amount, attribution_wechat_pay_30d_amount, 
-    attribution_wechat_pay_30d_roi, phone_effective, total_play, valid_play, valid_play_cost, 
-    valid_play_rate, play_25_feed_break, play_50_feed_break, play_75_feed_break, play_100_feed_break, 
-    average_play_time_per_play, play_over_rate, wifi_play_rate, wifi_play, play_duration_sum, 
-    advanced_creative_phone_click, advanced_creative_counsel_click, advanced_creative_form_click, 
-    advanced_creative_coupon_addition, advanced_creative_form_submit, card_show, share, 
-    comment, like, follow, home_visited, ies_challenge_click, ies_music_click, location_click, 
-    message_action, click_landing_page, click_shopwindow, click_website, click_download, 
-    click_call_dy, submit_certification_count, approval_count, first_rental_order_count, 
-    first_order_count, commute_first_pay_count
-  </sql>
-
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceCreativeReportHourly">
-        replace into bytedance_creative_report_hourly (advertiser_id, campaign_id, ad_id,
-        creative_id, stat_datetime, `hour`,
-        campaign_name, ad_name, cost,
-        `show`, avg_show_cost, click,
-        avg_click_cost, ctr, `convert`,
-        convert_cost, convert_rate, deep_convert,
-        deep_convert_cost, deep_convert_rate, attribution_convert,
-        attribution_convert_cost, attribution_deep_convert,
-        attribution_deep_convert_cost, download_start,
-        download_start_cost, download_start_rate, download_finish,
-        download_finish_cost, download_finish_rate,
-        click_install, install_finish, install_finish_cost,
-        install_finish_rate, active, active_cost,
-        active_rate, register, active_register_cost,
-        active_register_rate, next_day_open, next_day_open_cost,
-        next_day_open_rate, attribution_next_day_open_cnt,
-        attribution_next_day_open_cost, attribution_next_day_open_rate,
-        game_addiction, game_addiction_cost, game_addiction_rate,
-        pay_count, active_pay_cost, active_pay_rate,
-        loan_completion, loan_completion_cost, loan_completion_rate,
-        pre_loan_credit, pre_loan_credit_cost, loan_credit,
-        loan_credit_cost, loan_credit_rate, in_app_uv,
-        in_app_detail_uv, in_app_cart, in_app_pay,
-        in_app_order, attribution_game_pay_7d_count, attribution_game_pay_7d_cost,
-        attribution_active_pay_7d_per_count, game_pay_cost,
-        game_pay_count, phone, form,
-        map_search, button, `view`,
-        download, qq, lottery,
-        vote, message, redirect,
-        shopping, consult, wechat,
-        phone_confirm, phone_connect, consult_effective,
-        coupon, coupon_single_page, redirect_to_shop,
-        poi_collect, poi_address_click, luban_order_cnt,
-        luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt,
-        live_watch_one_minute_count, luban_live_follow_cnt,
-        live_fans_club_join_cnt, luban_live_comment_cnt,
-        luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount,
-        luban_live_slidecart_click_cnt, luban_live_click_product_cnt,
-        luban_live_pay_order_count, luban_live_pay_order_stat_cost,
-        live_component_click_count, live_component_click_cost,
-        live_component_click_rate, wechat_login_count,
-        attribution_wechat_login_30d_count, wechat_login_cost,
-        attribution_wechat_login_30d_cost, wechat_first_pay_count,
-        attribution_wechat_first_pay_30d_count, wechat_first_pay_cost,
-        attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate,
-        attribution_wechat_first_pay_30d_rate, wechat_pay_amount,
-        attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi,
-        phone_effective, total_play, valid_play,
-        valid_play_cost, valid_play_rate, play_25_feed_break,
-        play_50_feed_break, play_75_feed_break, play_100_feed_break,
-        average_play_time_per_play, play_over_rate, wifi_play_rate,
-        wifi_play, play_duration_sum, advanced_creative_phone_click,
-        advanced_creative_counsel_click, advanced_creative_form_click,
-        advanced_creative_coupon_addition, advanced_creative_form_submit,
-        card_show, `share`, `comment`,
-        `like`, follow, home_visited,
-        ies_challenge_click, ies_music_click, location_click,
-        message_action, click_landing_page, click_shopwindow,
-        click_website, click_download, click_call_dy,
-        submit_certification_count, approval_count,
-        first_rental_order_count, first_order_count, commute_first_pay_count
-        )
-        values
-        <foreach collection="list" item="item" separator=",">
-            (#{item.advertiserId,jdbcType=BIGINT}, #{item.campaignId,jdbcType=BIGINT}, #{item.adId,jdbcType=BIGINT},
-            #{item.creativeId,jdbcType=BIGINT}, #{item.statDatetime,jdbcType=INTEGER}, #{item.hour,jdbcType=INTEGER},
-            #{item.campaignName,jdbcType=VARCHAR}, #{item.adName,jdbcType=VARCHAR}, #{item.cost,jdbcType=DECIMAL},
-            #{item.show,jdbcType=BIGINT}, #{item.avgShowCost,jdbcType=DECIMAL}, #{item.click,jdbcType=BIGINT},
-            #{item.avgClickCost,jdbcType=DECIMAL}, #{item.ctr,jdbcType=DECIMAL}, #{item.convert,jdbcType=BIGINT},
-            #{item.convertCost,jdbcType=DECIMAL}, #{item.convertRate,jdbcType=DECIMAL},
-            #{item.deepConvert,jdbcType=BIGINT},
-            #{item.deepConvertCost,jdbcType=DECIMAL}, #{item.deepConvertRate,jdbcType=DECIMAL},
-            #{item.attributionConvert,jdbcType=BIGINT},
-            #{item.attributionConvertCost,jdbcType=DECIMAL}, #{item.attributionDeepConvert,jdbcType=BIGINT},
-            #{item.attributionDeepConvertCost,jdbcType=DECIMAL}, #{item.downloadStart,jdbcType=BIGINT},
-            #{item.downloadStartCost,jdbcType=DECIMAL}, #{item.downloadStartRate,jdbcType=DECIMAL},
-            #{item.downloadFinish,jdbcType=BIGINT},
-            #{item.downloadFinishCost,jdbcType=DECIMAL}, #{item.downloadFinishRate,jdbcType=DECIMAL},
-            #{item.clickInstall,jdbcType=BIGINT}, #{item.installFinish,jdbcType=BIGINT},
-            #{item.installFinishCost,jdbcType=DECIMAL},
-            #{item.installFinishRate,jdbcType=DECIMAL}, #{item.active,jdbcType=BIGINT},
-            #{item.activeCost,jdbcType=DECIMAL},
-            #{item.activeRate,jdbcType=DECIMAL}, #{item.register,jdbcType=DECIMAL},
-            #{item.activeRegisterCost,jdbcType=DECIMAL},
-            #{item.activeRegisterRate,jdbcType=REAL}, #{item.nextDayOpen,jdbcType=BIGINT},
-            #{item.nextDayOpenCost,jdbcType=DECIMAL},
-            #{item.nextDayOpenRate,jdbcType=DECIMAL}, #{item.attributionNextDayOpenCnt,jdbcType=BIGINT},
-            #{item.attributionNextDayOpenCost,jdbcType=DECIMAL}, #{item.attributionNextDayOpenRate,jdbcType=DECIMAL},
-            #{item.gameAddiction,jdbcType=BIGINT}, #{item.gameAddictionCost,jdbcType=DECIMAL},
-            #{item.gameAddictionRate,jdbcType=DECIMAL},
-            #{item.payCount,jdbcType=BIGINT}, #{item.activePayCost,jdbcType=DECIMAL},
-            #{item.activePayRate,jdbcType=DECIMAL},
-            #{item.loanCompletion,jdbcType=BIGINT}, #{item.loanCompletionCost,jdbcType=DECIMAL},
-            #{item.loanCompletionRate,jdbcType=DECIMAL},
-            #{item.preLoanCredit,jdbcType=BIGINT}, #{item.preLoanCreditCost,jdbcType=DECIMAL},
-            #{item.loanCredit,jdbcType=BIGINT},
-            #{item.loanCreditCost,jdbcType=DECIMAL}, #{item.loanCreditRate,jdbcType=DECIMAL},
-            #{item.inAppUv,jdbcType=BIGINT},
-            #{item.inAppDetailUv,jdbcType=BIGINT}, #{item.inAppCart,jdbcType=BIGINT}, #{item.inAppPay,jdbcType=BIGINT},
-            #{item.inAppOrder,jdbcType=BIGINT}, #{item.attributionGamePay7dCount,jdbcType=BIGINT},
-            #{item.attributionGamePay7dCost,jdbcType=DECIMAL},
-            #{item.attributionActivePay7dPerCount,jdbcType=BIGINT}, #{item.gamePayCost,jdbcType=DECIMAL},
-            #{item.gamePayCount,jdbcType=BIGINT}, #{item.phone,jdbcType=BIGINT}, #{item.form,jdbcType=BIGINT},
-            #{item.mapSearch,jdbcType=BIGINT}, #{item.button,jdbcType=BIGINT}, #{item.view,jdbcType=BIGINT},
-            #{item.download,jdbcType=BIGINT}, #{item.qq,jdbcType=BIGINT}, #{item.lottery,jdbcType=BIGINT},
-            #{item.vote,jdbcType=BIGINT}, #{item.message,jdbcType=BIGINT}, #{item.redirect,jdbcType=BIGINT},
-            #{item.shopping,jdbcType=BIGINT}, #{item.consult,jdbcType=BIGINT}, #{item.wechat,jdbcType=BIGINT},
-            #{item.phoneConfirm,jdbcType=BIGINT}, #{item.phoneConnect,jdbcType=BIGINT},
-            #{item.consultEffective,jdbcType=BIGINT},
-            #{item.coupon,jdbcType=BIGINT}, #{item.couponSinglePage,jdbcType=BIGINT},
-            #{item.redirectToShop,jdbcType=BIGINT},
-            #{item.poiCollect,jdbcType=BIGINT}, #{item.poiAddressClick,jdbcType=BIGINT},
-            #{item.lubanOrderCnt,jdbcType=BIGINT},
-            #{item.lubanOrderStatAmount,jdbcType=DECIMAL}, #{item.lubanOrderRoi,jdbcType=DECIMAL},
-            #{item.lubanLiveEnterCnt,jdbcType=BIGINT},
-            #{item.liveWatchOneMinuteCount,jdbcType=BIGINT}, #{item.lubanLiveFollowCnt,jdbcType=BIGINT},
-            #{item.liveFansClubJoinCnt,jdbcType=BIGINT}, #{item.lubanLiveCommentCnt,jdbcType=BIGINT},
-            #{item.lubanLiveShareCnt,jdbcType=BIGINT}, #{item.lubanLiveGiftCnt,jdbcType=BIGINT},
-            #{item.lubanLiveGiftAmount,jdbcType=DECIMAL},
-            #{item.lubanLiveSlidecartClickCnt,jdbcType=BIGINT}, #{item.lubanLiveClickProductCnt,jdbcType=BIGINT},
-            #{item.lubanLivePayOrderCount,jdbcType=BIGINT}, #{item.lubanLivePayOrderStatCost,jdbcType=DECIMAL},
-            #{item.liveComponentClickCount,jdbcType=BIGINT}, #{item.liveComponentClickCost,jdbcType=DECIMAL},
-            #{item.liveComponentClickRate,jdbcType=DECIMAL}, #{item.wechatLoginCount,jdbcType=BIGINT},
-            #{item.attributionWechatLogin30dCount,jdbcType=BIGINT}, #{item.wechatLoginCost,jdbcType=DECIMAL},
-            #{item.attributionWechatLogin30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayCount,jdbcType=BIGINT},
-            #{item.attributionWechatFirstPay30dCount,jdbcType=BIGINT}, #{item.wechatFirstPayCost,jdbcType=DECIMAL},
-            #{item.attributionWechatFirstPay30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayRate,jdbcType=DECIMAL},
-            #{item.attributionWechatFirstPay30dRate,jdbcType=DECIMAL}, #{item.wechatPayAmount,jdbcType=DECIMAL},
-            #{item.attributionWechatPay30dAmount,jdbcType=DECIMAL}, #{item.attributionWechatPay30dRoi,jdbcType=DECIMAL},
-            #{item.phoneEffective,jdbcType=BIGINT}, #{item.totalPlay,jdbcType=BIGINT},
-            #{item.validPlay,jdbcType=BIGINT},
-            #{item.validPlayCost,jdbcType=DECIMAL}, #{item.validPlayRate,jdbcType=DECIMAL},
-            #{item.play25FeedBreak,jdbcType=BIGINT},
-            #{item.play50FeedBreak,jdbcType=BIGINT}, #{item.play75FeedBreak,jdbcType=BIGINT},
-            #{item.play100FeedBreak,jdbcType=BIGINT},
-            #{item.averagePlayTimePerPlay,jdbcType=DECIMAL}, #{item.playOverRate,jdbcType=DECIMAL},
-            #{item.wifiPlayRate,jdbcType=DECIMAL},
-            #{item.wifiPlay,jdbcType=BIGINT}, #{item.playDurationSum,jdbcType=BIGINT},
-            #{item.advancedCreativePhoneClick,jdbcType=BIGINT},
-            #{item.advancedCreativeCounselClick,jdbcType=BIGINT}, #{item.advancedCreativeFormClick,jdbcType=BIGINT},
-            #{item.advancedCreativeCouponAddition,jdbcType=BIGINT}, #{item.advancedCreativeFormSubmit,jdbcType=BIGINT},
-            #{item.cardShow,jdbcType=BIGINT}, #{item.share,jdbcType=BIGINT}, #{item.comment,jdbcType=BIGINT},
-            #{item.like,jdbcType=BIGINT}, #{item.follow,jdbcType=BIGINT}, #{item.homeVisited,jdbcType=BIGINT},
-            #{item.iesChallengeClick,jdbcType=BIGINT}, #{item.iesMusicClick,jdbcType=BIGINT},
-            #{item.locationClick,jdbcType=BIGINT},
-            #{item.messageAction,jdbcType=BIGINT}, #{item.clickLandingPage,jdbcType=BIGINT},
-            #{item.clickShopwindow,jdbcType=BIGINT},
-            #{item.clickWebsite,jdbcType=BIGINT}, #{item.clickDownload,jdbcType=BIGINT},
-            #{item.clickCallDy,jdbcType=BIGINT},
-            #{item.submitCertificationCount,jdbcType=BIGINT}, #{item.approvalCount,jdbcType=BIGINT},
-            #{item.firstRentalOrderCount,jdbcType=BIGINT}, #{item.firstOrderCount,jdbcType=BIGINT},
-            #{item.commuteFirstPayCount,jdbcType=BIGINT}
-            )
-        </foreach>
-    </insert>
-
-</mapper>

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

@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceFileImageGetMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceFileImageGet">
-        <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
-        <id column="id" property="id" jdbcType="VARCHAR"/>
-        <result column="material_id" property="materialId" jdbcType="BIGINT"/>
-        <result column="size" property="size" jdbcType="BIGINT"/>
-        <result column="width" property="width" jdbcType="BIGINT"/>
-        <result column="height" property="height" jdbcType="BIGINT"/>
-        <result column="url" property="url" jdbcType="VARCHAR"/>
-        <result column="format" property="format" jdbcType="VARCHAR"/>
-        <result column="signature" property="signature" jdbcType="VARCHAR"/>
-        <result column="create_time" property="createTime" jdbcType="VARCHAR"/>
-        <result column="filename" property="filename" jdbcType="VARCHAR"/>
-        <result column="image_url" property="imageUrl" jdbcType="VARCHAR"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-    advertiser_id, id, material_id, size, width, height, url, format, signature, create_time, 
-    filename, image_url
-  </sql>
-
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceFileImageGet">
-        replace into bytedance_file_image_get (advertiser_id, id, material_id,
-        size, width, height, url,
-        format, signature, create_time,
-        filename, image_url)
-        values
-        <foreach collection="list" item="item" separator=",">
-            (#{item.advertiserId,jdbcType=BIGINT}, #{item.id,jdbcType=VARCHAR}, #{item.materialId,jdbcType=BIGINT},
-            #{item.size,jdbcType=BIGINT}, #{item.width,jdbcType=BIGINT}, #{item.height,jdbcType=BIGINT}, #{item.url,jdbcType=VARCHAR},
-            #{item.format,jdbcType=VARCHAR}, #{item.signature,jdbcType=VARCHAR}, #{item.createTime,jdbcType=VARCHAR},
-            #{item.filename,jdbcType=VARCHAR}, #{item.imageUrl,jdbcType=VARCHAR})
-        </foreach>
-    </insert>
-
-</mapper>

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

@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceFileVideoGetMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceFileVideoGet">
-        <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
-        <id column="id" property="id" jdbcType="VARCHAR"/>
-        <result column="size" property="size" jdbcType="BIGINT"/>
-        <result column="width" property="width" jdbcType="BIGINT"/>
-        <result column="height" property="height" jdbcType="BIGINT"/>
-        <result column="url" property="url" jdbcType="VARCHAR"/>
-        <result column="format" property="format" jdbcType="VARCHAR"/>
-        <result column="signature" property="signature" jdbcType="VARCHAR"/>
-        <result column="poster_url" property="posterUrl" jdbcType="VARCHAR"/>
-        <result column="bit_rate" property="bitRate" jdbcType="BIGINT"/>
-        <result column="duration" property="duration" jdbcType="BIGINT"/>
-        <result column="material_id" property="materialId" jdbcType="BIGINT"/>
-        <result column="source" property="source" jdbcType="VARCHAR"/>
-        <result column="create_time" property="createTime" jdbcType="VARCHAR"/>
-        <result column="filename" property="filename" jdbcType="VARCHAR"/>
-        <result column="labels" property="labels" jdbcType="VARCHAR"/>
-        <result column="video_url" property="videoUrl" jdbcType="VARCHAR"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-        advertiser_id
-        , id, size, width, height, url, format, signature, poster_url, bit_rate,
-    duration, material_id, source, create_time, filename, labels, video_url
-    </sql>
-
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceFileVideoGet">
-        replace into bytedance_file_video_get (advertiser_id, id, size,
-        width, height, url, format,
-        signature, poster_url, bit_rate,
-        duration, material_id, source,
-        create_time, filename, labels,
-        video_url)
-        values
-        <foreach collection="list" item="item" separator=",">
-            (#{item.advertiserId,jdbcType=BIGINT}, #{item.id,jdbcType=VARCHAR}, #{item.size,jdbcType=BIGINT},
-            #{item.width,jdbcType=BIGINT}, #{item.height,jdbcType=BIGINT}, #{item.url,jdbcType=VARCHAR},
-            #{item.format,jdbcType=VARCHAR},
-            #{item.signature,jdbcType=VARCHAR}, #{item.posterUrl,jdbcType=VARCHAR}, #{item.bitRate,jdbcType=BIGINT},
-            #{item.duration,jdbcType=BIGINT}, #{item.materialId,jdbcType=BIGINT}, #{item.source,jdbcType=VARCHAR},
-            #{item.createTime,jdbcType=VARCHAR}, #{item.filename,jdbcType=VARCHAR}, #{item.labels,jdbcType=VARCHAR},
-            #{item.videoUrl,jdbcType=VARCHAR})
-        </foreach>
-    </insert>
-
-    <insert id="insertMaterialAttributesData"
-            parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceMaterialAttributes">
-        replace into media_api.material_attributes_list (
-        material_id,
-        is_ad_high_quality_material,
-        is_first_publish_material,
-        is_inefficient_material
-        )
-        values
-        <foreach collection="list" item="item" separator=",">
-            (
-            #{item.materialId},
-            #{item.isAdHighQualityMaterial},
-            #{item.isFirstPublishMaterial},
-            #{item.isInefficientMaterial}
-            )
-        </foreach>
-    </insert>
-
-</mapper>

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

@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceFundMapper" >
-
-
-     <insert id="replaceFundGet" parameterType="com.alibaba.fastjson.JSONObject">
-         replace
-         into bytedance_fund_get(
-        advertiser_id,
-        name,
-        email,
-        balance,
-        valid_balance,
-        cash,
-        valid_cash,
-        grant_amount,
-        default_grant,
-        common_grant,
-        search_grant,
-        union_grant,
-        valid_grant,
-        return_goods_abs,
-        valid_return_goods_abs,
-        return_goods_cost,
-        return_goods_grant,
-        compensation_grant,
-        return_goods_valid_grant,
-        compensation_valid_grant,
-        wallet_id,
-        wallet_name,
-         request_desc
-         ) values (
-         #{data.advertiser_id},
-         #{data.name},
-         #{data.email},
-         #{data.balance},
-         #{data.valid_balance},
-         #{data.cash},
-         #{data.valid_cash},
-         #{data.grant_amount},
-         #{data.default_grant},
-         #{data.common_grant},
-         #{data.search_grant},
-         #{data.union_grant},
-         #{data.valid_grant},
-         #{data.return_goods_abs},
-         #{data.valid_return_goods_abs},
-         #{data.return_goods_cost},
-         #{data.return_goods_grant},
-         #{data.compensation_grant},
-         #{data.return_goods_valid_grant},
-         #{data.compensation_valid_grant},
-         #{data.wallet_id},
-         #{data.wallet_name},
-         #{data.request_desc}
-         )
-
-     </insert>
-    <update id="updateFundGet">
-        update bytedance_fund_get
-        set request_desc = #{requestDesc}
-        where advertiser_id = #{accountId}
-    </update>
-    <select id="getAccountList" resultType="java.lang.Long">
-        select advertiser_id
-        from (select *, date_format(update_time, '%Y%m%d') as 'updateDate', date_format(now(), '%Y%m%d') as 'nowDate'
-              from media_api.bytedance_fund_get
-              where (valid_balance - valid_grant > 0)) t
-        where t.updateDate != nowDate
-
-    </select>
-</mapper>

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

@@ -1,440 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceMaterialReportDailyMapper">
-    <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceMaterialReportDaily">
-        <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
-        <id column="material_id" property="materialId" jdbcType="BIGINT"/>
-        <id column="image_mode" property="imageMode" jdbcType="VARCHAR"/>
-        <id column="inventory" property="inventory" jdbcType="VARCHAR"/>
-        <id column="stat_datetime" property="statDatetime" jdbcType="INTEGER"/>
-        <result column="cost" property="cost" jdbcType="DECIMAL"/>
-        <result column="show" property="show" jdbcType="INTEGER"/>
-        <result column="avg_show_cost" property="avgShowCost" jdbcType="DECIMAL"/>
-        <result column="click" property="click" jdbcType="INTEGER"/>
-        <result column="avg_click_cost" property="avgClickCost" jdbcType="DECIMAL"/>
-        <result column="ctr" property="ctr" jdbcType="DECIMAL"/>
-        <result column="convert" property="convert" jdbcType="INTEGER"/>
-        <result column="convert_cost" property="convertCost" jdbcType="DECIMAL"/>
-        <result column="convert_rate" property="convertRate" jdbcType="DECIMAL"/>
-        <result column="deep_convert" property="deepConvert" jdbcType="INTEGER"/>
-        <result column="deep_convert_cost" property="deepConvertCost" jdbcType="DECIMAL"/>
-        <result column="deep_convert_rate" property="deepConvertRate" jdbcType="DECIMAL"/>
-        <result column="attribution_convert" property="attributionConvert" jdbcType="INTEGER"/>
-        <result column="attribution_convert_cost" property="attributionConvertCost" jdbcType="DECIMAL"/>
-        <result column="attribution_deep_convert" property="attributionDeepConvert" jdbcType="INTEGER"/>
-        <result column="attribution_deep_convert_cost" property="attributionDeepConvertCost" jdbcType="DECIMAL"/>
-        <result column="download_start" property="downloadStart" jdbcType="INTEGER"/>
-        <result column="download_start_cost" property="downloadStartCost" jdbcType="DECIMAL"/>
-        <result column="download_start_rate" property="downloadStartRate" jdbcType="DECIMAL"/>
-        <result column="download_finish" property="downloadFinish" jdbcType="INTEGER"/>
-        <result column="download_finish_cost" property="downloadFinishCost" jdbcType="DECIMAL"/>
-        <result column="download_finish_rate" property="downloadFinishRate" jdbcType="DECIMAL"/>
-        <result column="click_install" property="clickInstall" jdbcType="INTEGER"/>
-        <result column="install_finish" property="installFinish" jdbcType="INTEGER"/>
-        <result column="install_finish_cost" property="installFinishCost" jdbcType="DECIMAL"/>
-        <result column="install_finish_rate" property="installFinishRate" jdbcType="DECIMAL"/>
-        <result column="active" property="active" jdbcType="INTEGER"/>
-        <result column="active_cost" property="activeCost" jdbcType="DECIMAL"/>
-        <result column="active_rate" property="activeRate" jdbcType="DECIMAL"/>
-        <result column="register" property="register" jdbcType="INTEGER"/>
-        <result column="active_register_cost" property="activeRegisterCost" jdbcType="DECIMAL"/>
-        <result column="active_register_rate" property="activeRegisterRate" jdbcType="DECIMAL"/>
-        <result column="active_pay_amount" property="activePayAmount" jdbcType="DECIMAL"/>
-        <result column="next_day_open" property="nextDayOpen" jdbcType="INTEGER"/>
-        <result column="next_day_open_cost" property="nextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="next_day_open_rate" property="nextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_cnt" property="attributionNextDayOpenCnt" jdbcType="INTEGER"/>
-        <result column="attribution_next_day_open_cost" property="attributionNextDayOpenCost" jdbcType="DECIMAL"/>
-        <result column="attribution_next_day_open_rate" property="attributionNextDayOpenRate" jdbcType="DECIMAL"/>
-        <result column="game_addiction" property="gameAddiction" jdbcType="INTEGER"/>
-        <result column="game_addiction_cost" property="gameAddictionCost" jdbcType="DECIMAL"/>
-        <result column="game_addiction_rate" property="gameAddictionRate" jdbcType="DECIMAL"/>
-        <result column="pay_count" property="payCount" jdbcType="INTEGER"/>
-        <result column="active_pay_cost" property="activePayCost" jdbcType="DECIMAL"/>
-        <result column="active_pay_rate" property="activePayRate" jdbcType="DECIMAL"/>
-        <result column="loan_completion" property="loanCompletion" jdbcType="INTEGER"/>
-        <result column="loan_completion_cost" property="loanCompletionCost" jdbcType="DECIMAL"/>
-        <result column="loan_completion_rate" property="loanCompletionRate" jdbcType="DECIMAL"/>
-        <result column="pre_loan_credit" property="preLoanCredit" jdbcType="INTEGER"/>
-        <result column="pre_loan_credit_cost" property="preLoanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit" property="loanCredit" jdbcType="INTEGER"/>
-        <result column="loan_credit_cost" property="loanCreditCost" jdbcType="DECIMAL"/>
-        <result column="loan_credit_rate" property="loanCreditRate" jdbcType="DECIMAL"/>
-        <result column="in_app_uv" property="inAppUv" jdbcType="INTEGER"/>
-        <result column="in_app_detail_uv" property="inAppDetailUv" jdbcType="INTEGER"/>
-        <result column="in_app_cart" property="inAppCart" jdbcType="INTEGER"/>
-        <result column="in_app_pay" property="inAppPay" jdbcType="INTEGER"/>
-        <result column="in_app_order" property="inAppOrder" jdbcType="INTEGER"/>
-        <result column="attribution_game_pay_7d_count" property="attributionGamePay7dCount" jdbcType="INTEGER"/>
-        <result column="attribution_game_pay_7d_cost" property="attributionGamePay7dCost" jdbcType="DECIMAL"/>
-        <result column="attribution_active_pay_7d_per_count" property="attributionActivePay7dPerCount"
-                jdbcType="INTEGER"/>
-        <result column="game_pay_cost" property="gamePayCost" jdbcType="INTEGER"/>
-        <result column="game_pay_count" property="gamePayCount" jdbcType="INTEGER"/>
-        <result column="phone" property="phone" jdbcType="INTEGER"/>
-        <result column="form" property="form" jdbcType="INTEGER"/>
-        <result column="map_search" property="mapSearch" jdbcType="INTEGER"/>
-        <result column="button" property="button" jdbcType="INTEGER"/>
-        <result column="view" property="view" jdbcType="INTEGER"/>
-        <result column="download" property="download" jdbcType="INTEGER"/>
-        <result column="qq" property="qq" jdbcType="INTEGER"/>
-        <result column="lottery" property="lottery" jdbcType="INTEGER"/>
-        <result column="vote" property="vote" jdbcType="INTEGER"/>
-        <result column="message" property="message" jdbcType="INTEGER"/>
-        <result column="redirect" property="redirect" jdbcType="INTEGER"/>
-        <result column="shopping" property="shopping" jdbcType="INTEGER"/>
-        <result column="consult" property="consult" jdbcType="INTEGER"/>
-        <result column="wechat" property="wechat" jdbcType="INTEGER"/>
-        <result column="phone_confirm" property="phoneConfirm" jdbcType="INTEGER"/>
-        <result column="phone_connect" property="phoneConnect" jdbcType="INTEGER"/>
-        <result column="consult_effective" property="consultEffective" jdbcType="INTEGER"/>
-        <result column="coupon" property="coupon" jdbcType="INTEGER"/>
-        <result column="coupon_single_page" property="couponSinglePage" jdbcType="INTEGER"/>
-        <result column="redirect_to_shop" property="redirectToShop" jdbcType="INTEGER"/>
-        <result column="poi_collect" property="poiCollect" jdbcType="INTEGER"/>
-        <result column="poi_address_click" property="poiAddressClick" jdbcType="INTEGER"/>
-        <result column="luban_order_cnt" property="lubanOrderCnt" jdbcType="INTEGER"/>
-        <result column="luban_order_stat_amount" property="lubanOrderStatAmount" jdbcType="DECIMAL"/>
-        <result column="luban_order_roi" property="lubanOrderRoi" jdbcType="DECIMAL"/>
-        <result column="luban_live_enter_cnt" property="lubanLiveEnterCnt" jdbcType="INTEGER"/>
-        <result column="live_watch_one_minute_count" property="liveWatchOneMinuteCount" jdbcType="INTEGER"/>
-        <result column="luban_live_follow_cnt" property="lubanLiveFollowCnt" jdbcType="INTEGER"/>
-        <result column="live_fans_club_join_cnt" property="liveFansClubJoinCnt" jdbcType="INTEGER"/>
-        <result column="luban_live_comment_cnt" property="lubanLiveCommentCnt" jdbcType="INTEGER"/>
-        <result column="luban_live_share_cnt" property="lubanLiveShareCnt" jdbcType="INTEGER"/>
-        <result column="luban_live_gift_cnt" property="lubanLiveGiftCnt" jdbcType="INTEGER"/>
-        <result column="luban_live_gift_amount" property="lubanLiveGiftAmount" jdbcType="DECIMAL"/>
-        <result column="luban_live_slidecart_click_cnt" property="lubanLiveSlidecartClickCnt" jdbcType="INTEGER"/>
-        <result column="luban_live_click_product_cnt" property="lubanLiveClickProductCnt" jdbcType="INTEGER"/>
-        <result column="luban_live_pay_order_count" property="lubanLivePayOrderCount" jdbcType="INTEGER"/>
-        <result column="luban_live_pay_order_stat_cost" property="lubanLivePayOrderStatCost" jdbcType="DECIMAL"/>
-        <result column="wechat_login_count" property="wechatLoginCount" jdbcType="INTEGER"/>
-        <result column="attribution_wechat_login_30d_count" property="attributionWechatLogin30dCount"
-                jdbcType="INTEGER"/>
-        <result column="wechat_login_cost" property="wechatLoginCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_login_30d_cost" property="attributionWechatLogin30dCost" jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_count" property="wechatFirstPayCount" jdbcType="INTEGER"/>
-        <result column="attribution_wechat_first_pay_30d_count" property="attributionWechatFirstPay30dCount"
-                jdbcType="INTEGER"/>
-        <result column="wechat_first_pay_cost" property="wechatFirstPayCost" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_cost" property="attributionWechatFirstPay30dCost"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_first_pay_rate" property="wechatFirstPayRate" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_first_pay_30d_rate" property="attributionWechatFirstPay30dRate"
-                jdbcType="DECIMAL"/>
-        <result column="wechat_pay_amount" property="wechatPayAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_amount" property="attributionWechatPay30dAmount" jdbcType="DECIMAL"/>
-        <result column="attribution_wechat_pay_30d_roi" property="attributionWechatPay30dRoi" jdbcType="DECIMAL"/>
-        <result column="phone_effective" property="phoneEffective" jdbcType="INTEGER"/>
-        <result column="total_play" property="totalPlay" jdbcType="INTEGER"/>
-        <result column="valid_play" property="validPlay" jdbcType="INTEGER"/>
-        <result column="valid_play_cost" property="validPlayCost" jdbcType="DECIMAL"/>
-        <result column="valid_play_rate" property="validPlayRate" jdbcType="DECIMAL"/>
-        <result column="play_25_feed_break" property="play25FeedBreak" jdbcType="INTEGER"/>
-        <result column="play_50_feed_break" property="play50FeedBreak" jdbcType="INTEGER"/>
-        <result column="play_75_feed_break" property="play75FeedBreak" jdbcType="INTEGER"/>
-        <result column="play_100_feed_break" property="play100FeedBreak" jdbcType="INTEGER"/>
-        <result column="average_play_time_per_play" property="averagePlayTimePerPlay" jdbcType="DECIMAL"/>
-        <result column="play_over_rate" property="playOverRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play_rate" property="wifiPlayRate" jdbcType="DECIMAL"/>
-        <result column="wifi_play" property="wifiPlay" jdbcType="INTEGER"/>
-        <result column="play_duration_sum" property="playDurationSum" jdbcType="BIGINT"/>
-        <result column="advanced_creative_phone_click" property="advancedCreativePhoneClick" jdbcType="INTEGER"/>
-        <result column="advanced_creative_counsel_click" property="advancedCreativeCounselClick" jdbcType="INTEGER"/>
-        <result column="advanced_creative_form_click" property="advancedCreativeFormClick" jdbcType="INTEGER"/>
-        <result column="advanced_creative_coupon_addition" property="advancedCreativeCouponAddition"
-                jdbcType="INTEGER"/>
-        <result column="advanced_creative_form_submit" property="advancedCreativeFormSubmit" jdbcType="INTEGER"/>
-        <result column="card_show" property="cardShow" jdbcType="INTEGER"/>
-        <result column="share" property="share" jdbcType="INTEGER"/>
-        <result column="comment" property="comment" jdbcType="INTEGER"/>
-        <result column="like" property="like" jdbcType="INTEGER"/>
-        <result column="follow" property="follow" jdbcType="INTEGER"/>
-        <result column="home_visited" property="homeVisited" jdbcType="INTEGER"/>
-        <result column="ies_challenge_click" property="iesChallengeClick" jdbcType="INTEGER"/>
-        <result column="ies_music_click" property="iesMusicClick" jdbcType="INTEGER"/>
-        <result column="location_click" property="locationClick" jdbcType="INTEGER"/>
-        <result column="message_action" property="messageAction" jdbcType="INTEGER"/>
-        <result column="click_landing_page" property="clickLandingPage" jdbcType="INTEGER"/>
-        <result column="click_shopwindow" property="clickShopwindow" jdbcType="INTEGER"/>
-        <result column="click_website" property="clickWebsite" jdbcType="INTEGER"/>
-        <result column="click_download" property="clickDownload" jdbcType="INTEGER"/>
-        <result column="click_call_dy" property="clickCallDy" jdbcType="INTEGER"/>
-        <result column="cpc" property="cpc" jdbcType="DECIMAL"/>
-        <result column="cpm" property="cpm" jdbcType="DECIMAL"/>
-        <result column="cpa" property="cpa" jdbcType="DECIMAL"/>
-        <result column="interact_per_cost" property="interactPerCost" jdbcType="DECIMAL"/>
-        <result column="convert_show_rate" property="convertShowRate" jdbcType="DECIMAL"/>
-        <result column="play_duration_10s_rate" property="playDuration10sRate" jdbcType="DECIMAL"/>
-        <result column="play_50_feed_break_rate" property="play50FeedBreakRate" jdbcType="DECIMAL"/>
-        <result column="play_25_feed_break_rate" property="play25FeedBreakRate" jdbcType="DECIMAL"/>
-        <result column="play_duration_5s_rate" property="playDuration5sRate" jdbcType="DECIMAL"/>
-        <result column="play_duration_2s_rate" property="playDuration2sRate" jdbcType="DECIMAL"/>
-        <result column="average_play_progress" property="averagePlayProgress" jdbcType="DECIMAL"/>
-        <result column="play_100_feed_break_rate" property="play100FeedBreakRate" jdbcType="DECIMAL"/>
-        <result column="play_duration_3s_rate" property="playDuration3sRate" jdbcType="DECIMAL"/>
-        <result column="play_75_feed_break_rate" property="play75FeedBreakRate" jdbcType="DECIMAL"/>
-        <result column="play_duration" property="playDuration" jdbcType="DECIMAL"/>
-        <result column="play_duration_3s" property="playDuration3s" jdbcType="DECIMAL"/>
-        <result column="play_duration_2s" property="playDuration2s" jdbcType="DECIMAL"/>
-        <result column="play_duration_10s" property="playDuration10s" jdbcType="DECIMAL"/>
-        <result column="average_video_play" property="averageVideoPlay" jdbcType="DECIMAL"/>
-        <result column="avg_rank" property="avgRank" jdbcType="DECIMAL"/>
-        <result column="submit_certification_count" property="submitCertificationCount" jdbcType="INTEGER"/>
-        <result column="approval_count" property="approvalCount" jdbcType="INTEGER"/>
-        <result column="first_order_count" property="firstOrderCount" jdbcType="INTEGER"/>
-        <result column="first_rental_order_count" property="firstRentalOrderCount" jdbcType="INTEGER"/>
-        <result column="commute_first_pay_count" property="commuteFirstPayCount" jdbcType="INTEGER"/>
-    </resultMap>
-
-    <sql id="Base_Column_List">
-    advertiser_id, material_id, image_mode, inventory, stat_datetime, cost, show, avg_show_cost, 
-    click, avg_click_cost, ctr, convert, convert_cost, convert_rate, deep_convert, deep_convert_cost, 
-    deep_convert_rate, attribution_convert, attribution_convert_cost, attribution_deep_convert, 
-    attribution_deep_convert_cost, download_start, download_start_cost, download_start_rate, 
-    download_finish, download_finish_cost, download_finish_rate, click_install, install_finish, 
-    install_finish_cost, install_finish_rate, active, active_cost, active_rate, register, 
-    active_register_cost, active_register_rate, active_pay_amount, next_day_open, next_day_open_cost, 
-    next_day_open_rate, attribution_next_day_open_cnt, attribution_next_day_open_cost, 
-    attribution_next_day_open_rate, game_addiction, game_addiction_cost, game_addiction_rate, 
-    pay_count, active_pay_cost, active_pay_rate, loan_completion, loan_completion_cost, 
-    loan_completion_rate, pre_loan_credit, pre_loan_credit_cost, loan_credit, loan_credit_cost, 
-    loan_credit_rate, in_app_uv, in_app_detail_uv, in_app_cart, in_app_pay, in_app_order, 
-    attribution_game_pay_7d_count, attribution_game_pay_7d_cost, attribution_active_pay_7d_per_count, 
-    game_pay_cost, game_pay_count, phone, form, map_search, button, view, download, qq, 
-    lottery, vote, message, redirect, shopping, consult, wechat, phone_confirm, phone_connect, 
-    consult_effective, coupon, coupon_single_page, redirect_to_shop, poi_collect, poi_address_click, 
-    luban_order_cnt, luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt, 
-    live_watch_one_minute_count, luban_live_follow_cnt, live_fans_club_join_cnt, luban_live_comment_cnt, 
-    luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount, luban_live_slidecart_click_cnt, 
-    luban_live_click_product_cnt, luban_live_pay_order_count, luban_live_pay_order_stat_cost, 
-    wechat_login_count, attribution_wechat_login_30d_count, wechat_login_cost, attribution_wechat_login_30d_cost, 
-    wechat_first_pay_count, attribution_wechat_first_pay_30d_count, wechat_first_pay_cost, 
-    attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate, attribution_wechat_first_pay_30d_rate, 
-    wechat_pay_amount, attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi, 
-    phone_effective, total_play, valid_play, valid_play_cost, valid_play_rate, play_25_feed_break, 
-    play_50_feed_break, play_75_feed_break, play_100_feed_break, average_play_time_per_play, 
-    play_over_rate, wifi_play_rate, wifi_play, play_duration_sum, advanced_creative_phone_click, 
-    advanced_creative_counsel_click, advanced_creative_form_click, advanced_creative_coupon_addition, 
-    advanced_creative_form_submit, card_show, share, comment, like, follow, home_visited, 
-    ies_challenge_click, ies_music_click, location_click, message_action, click_landing_page, 
-    click_shopwindow, click_website, click_download, click_call_dy, cpc, cpm, cpa, interact_per_cost, 
-    convert_show_rate, play_duration_10s_rate, play_50_feed_break_rate, play_25_feed_break_rate, 
-    play_duration_5s_rate, play_duration_2s_rate, average_play_progress, play_100_feed_break_rate, 
-    play_duration_3s_rate, play_75_feed_break_rate, play_duration, play_duration_3s, 
-    play_duration_2s, play_duration_10s, average_video_play, avg_rank, submit_certification_count, 
-    approval_count, first_order_count, first_rental_order_count, commute_first_pay_count
-  </sql>
-
-    <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceMaterialReportDaily">
-        replace into bytedance_material_report_daily (advertiser_id, material_id, image_mode,
-        inventory, stat_datetime, cost,
-        `show`, avg_show_cost, click,
-        avg_click_cost, ctr, `convert`,
-        convert_cost, convert_rate, deep_convert,
-        deep_convert_cost, deep_convert_rate, attribution_convert,
-        attribution_convert_cost, attribution_deep_convert,
-        attribution_deep_convert_cost, download_start,
-        download_start_cost, download_start_rate, download_finish,
-        download_finish_cost, download_finish_rate,
-        click_install, install_finish, install_finish_cost,
-        install_finish_rate, active, active_cost,
-        active_rate, register, active_register_cost,
-        active_register_rate, active_pay_amount, next_day_open,
-        next_day_open_cost, next_day_open_rate, attribution_next_day_open_cnt,
-        attribution_next_day_open_cost, attribution_next_day_open_rate,
-        game_addiction, game_addiction_cost, game_addiction_rate,
-        pay_count, active_pay_cost, active_pay_rate,
-        loan_completion, loan_completion_cost, loan_completion_rate,
-        pre_loan_credit, pre_loan_credit_cost, loan_credit,
-        loan_credit_cost, loan_credit_rate, in_app_uv,
-        in_app_detail_uv, in_app_cart, in_app_pay,
-        in_app_order, attribution_game_pay_7d_count,
-        attribution_game_pay_7d_cost, attribution_active_pay_7d_per_count,
-        game_pay_cost, game_pay_count, phone,
-        form, map_search, button,
-        `view`, download, qq,
-        lottery, vote, message,
-        redirect, shopping, consult,
-        wechat, phone_confirm, phone_connect,
-        consult_effective, coupon, coupon_single_page,
-        redirect_to_shop, poi_collect, poi_address_click,
-        luban_order_cnt, luban_order_stat_amount, luban_order_roi,
-        luban_live_enter_cnt, live_watch_one_minute_count,
-        luban_live_follow_cnt, live_fans_club_join_cnt,
-        luban_live_comment_cnt, luban_live_share_cnt,
-        luban_live_gift_cnt, luban_live_gift_amount,
-        luban_live_slidecart_click_cnt, luban_live_click_product_cnt,
-        luban_live_pay_order_count, luban_live_pay_order_stat_cost,
-        wechat_login_count, attribution_wechat_login_30d_count,
-        wechat_login_cost, attribution_wechat_login_30d_cost,
-        wechat_first_pay_count, attribution_wechat_first_pay_30d_count,
-        wechat_first_pay_cost, attribution_wechat_first_pay_30d_cost,
-        wechat_first_pay_rate, attribution_wechat_first_pay_30d_rate,
-        wechat_pay_amount, attribution_wechat_pay_30d_amount,
-        attribution_wechat_pay_30d_roi, phone_effective,
-        total_play, valid_play, valid_play_cost,
-        valid_play_rate, play_25_feed_break, play_50_feed_break,
-        play_75_feed_break, play_100_feed_break, average_play_time_per_play,
-        play_over_rate, wifi_play_rate, wifi_play,
-        play_duration_sum, advanced_creative_phone_click,
-        advanced_creative_counsel_click, advanced_creative_form_click,
-        advanced_creative_coupon_addition, advanced_creative_form_submit,
-        card_show, `share`, `comment`,
-        `like`, follow, home_visited,
-        ies_challenge_click, ies_music_click, location_click,
-        message_action, click_landing_page, click_shopwindow,
-        click_website, click_download, click_call_dy,
-        cpc, cpm, cpa, interact_per_cost,
-        convert_show_rate, play_duration_10s_rate, play_50_feed_break_rate,
-        play_25_feed_break_rate, play_duration_5s_rate,
-        play_duration_2s_rate, average_play_progress,
-        play_100_feed_break_rate, play_duration_3s_rate,
-        play_75_feed_break_rate, play_duration, play_duration_3s,
-        play_duration_2s, play_duration_10s, average_video_play,
-        avg_rank, submit_certification_count, approval_count,
-        first_order_count, first_rental_order_count,
-        commute_first_pay_count)
-        values
-        <foreach collection="list" item="item" separator=",">
-            (#{item.advertiserId,jdbcType=BIGINT},
-            #{item.materialId,jdbcType=BIGINT},
-            #{item.imageMode,jdbcType=VARCHAR},
-            #{item.inventory,jdbcType=VARCHAR},
-            #{item.statDatetime,jdbcType=INTEGER},
-            #{item.cost,jdbcType=DECIMAL},
-            #{item.show,jdbcType=INTEGER},
-            #{item.avgShowCost,jdbcType=DECIMAL},
-            #{item.click,jdbcType=INTEGER},
-            #{item.avgClickCost,jdbcType=DECIMAL},
-            #{item.ctr,jdbcType=DECIMAL},
-            #{item.convert,jdbcType=INTEGER},
-            #{item.convertCost,jdbcType=DECIMAL},
-            #{item.convertRate,jdbcType=DECIMAL},
-            #{item.deepConvert,jdbcType=INTEGER},
-            #{item.deepConvertCost,jdbcType=DECIMAL},
-            #{item.deepConvertRate,jdbcType=DECIMAL},
-            #{item.attributionConvert,jdbcType=INTEGER},
-            #{item.attributionConvertCost,jdbcType=DECIMAL},
-            #{item.attributionDeepConvert,jdbcType=INTEGER},
-            #{item.attributionDeepConvertCost,jdbcType=DECIMAL},
-            #{item.downloadStart,jdbcType=INTEGER},
-            #{item.downloadStartCost,jdbcType=DECIMAL},
-            #{item.downloadStartRate,jdbcType=DECIMAL},
-            #{item.downloadFinish,jdbcType=INTEGER},
-            #{item.downloadFinishCost,jdbcType=DECIMAL},
-            #{item.downloadFinishRate,jdbcType=DECIMAL},
-            #{item.clickInstall,jdbcType=INTEGER},
-            #{item.installFinish,jdbcType=INTEGER},
-            #{item.installFinishCost,jdbcType=DECIMAL},
-            #{item.installFinishRate,jdbcType=DECIMAL},
-            #{item.active,jdbcType=INTEGER},
-            #{item.activeCost,jdbcType=DECIMAL},
-            #{item.activeRate,jdbcType=DECIMAL},
-            #{item.register,jdbcType=INTEGER},
-            #{item.activeRegisterCost,jdbcType=DECIMAL},
-            #{item.activeRegisterRate,jdbcType=DECIMAL},
-            #{item.activePayAmount,jdbcType=DECIMAL},
-            #{item.nextDayOpen,jdbcType=INTEGER},
-            #{item.nextDayOpenCost,jdbcType=DECIMAL},
-            #{item.nextDayOpenRate,jdbcType=DECIMAL},
-            #{item.attributionNextDayOpenCnt,jdbcType=INTEGER},
-            #{item.attributionNextDayOpenCost,jdbcType=DECIMAL},
-            #{item.attributionNextDayOpenRate,jdbcType=DECIMAL},
-            #{item.gameAddiction,jdbcType=INTEGER},
-            #{item.gameAddictionCost,jdbcType=DECIMAL},
-            #{item.gameAddictionRate,jdbcType=DECIMAL},
-            #{item.payCount,jdbcType=INTEGER},
-            #{item.activePayCost,jdbcType=DECIMAL},
-            #{item.activePayRate,jdbcType=DECIMAL},
-            #{item.loanCompletion,jdbcType=INTEGER},
-            #{item.loanCompletionCost,jdbcType=DECIMAL},
-            #{item.loanCompletionRate,jdbcType=DECIMAL},
-            #{item.preLoanCredit,jdbcType=INTEGER},
-            #{item.preLoanCreditCost,jdbcType=DECIMAL},
-            #{item.loanCredit,jdbcType=INTEGER},
-            #{item.loanCreditCost,jdbcType=DECIMAL},
-            #{item.loanCreditRate,jdbcType=DECIMAL},
-            #{item.inAppUv,jdbcType=INTEGER},
-            #{item.inAppDetailUv,jdbcType=INTEGER},
-            #{item.inAppCart,jdbcType=INTEGER},
-            #{item.inAppPay,jdbcType=INTEGER},
-            #{item.inAppOrder,jdbcType=INTEGER},
-            #{item.attributionGamePay7dCount,jdbcType=INTEGER},
-            #{item.attributionGamePay7dCost,jdbcType=DECIMAL},
-            #{item.attributionActivePay7dPerCount,jdbcType=INTEGER},
-            #{item.gamePayCost,jdbcType=INTEGER},
-            #{item.gamePayCount,jdbcType=INTEGER},
-            #{item.phone,jdbcType=INTEGER},
-            #{item.form,jdbcType=INTEGER},
-            #{item.mapSearch,jdbcType=INTEGER},
-            #{item.button,jdbcType=INTEGER},
-            #{item.view,jdbcType=INTEGER},
-            #{item.download,jdbcType=INTEGER},
-            #{item.qq,jdbcType=INTEGER},
-            #{item.lottery,jdbcType=INTEGER},
-            #{item.vote,jdbcType=INTEGER},
-            #{item.message,jdbcType=INTEGER},
-            #{item.redirect,jdbcType=INTEGER},
-            #{item.shopping,jdbcType=INTEGER},
-            #{item.consult,jdbcType=INTEGER},
-            #{item.wechat,jdbcType=INTEGER}, #{item.phoneConfirm,jdbcType=INTEGER},
-            #{item.phoneConnect,jdbcType=INTEGER},
-            #{item.consultEffective,jdbcType=INTEGER}, #{item.coupon,jdbcType=INTEGER},
-            #{item.couponSinglePage,jdbcType=INTEGER},
-            #{item.redirectToShop,jdbcType=INTEGER}, #{item.poiCollect,jdbcType=INTEGER},
-            #{item.poiAddressClick,jdbcType=INTEGER},
-            #{item.lubanOrderCnt,jdbcType=INTEGER}, #{item.lubanOrderStatAmount,jdbcType=DECIMAL},
-            #{item.lubanOrderRoi,jdbcType=DECIMAL},
-            #{item.lubanLiveEnterCnt,jdbcType=INTEGER}, #{item.liveWatchOneMinuteCount,jdbcType=INTEGER},
-            #{item.lubanLiveFollowCnt,jdbcType=INTEGER}, #{item.liveFansClubJoinCnt,jdbcType=INTEGER},
-            #{item.lubanLiveCommentCnt,jdbcType=INTEGER}, #{item.lubanLiveShareCnt,jdbcType=INTEGER},
-            #{item.lubanLiveGiftCnt,jdbcType=INTEGER}, #{item.lubanLiveGiftAmount,jdbcType=DECIMAL},
-            #{item.lubanLiveSlidecartClickCnt,jdbcType=INTEGER}, #{item.lubanLiveClickProductCnt,jdbcType=INTEGER},
-            #{item.lubanLivePayOrderCount,jdbcType=INTEGER}, #{item.lubanLivePayOrderStatCost,jdbcType=DECIMAL},
-            #{item.wechatLoginCount,jdbcType=INTEGER}, #{item.attributionWechatLogin30dCount,jdbcType=INTEGER},
-            #{item.wechatLoginCost,jdbcType=DECIMAL}, #{item.attributionWechatLogin30dCost,jdbcType=DECIMAL},
-            #{item.wechatFirstPayCount,jdbcType=INTEGER}, #{item.attributionWechatFirstPay30dCount,jdbcType=INTEGER},
-            #{item.wechatFirstPayCost,jdbcType=DECIMAL}, #{item.attributionWechatFirstPay30dCost,jdbcType=DECIMAL},
-            #{item.wechatFirstPayRate,jdbcType=DECIMAL}, #{item.attributionWechatFirstPay30dRate,jdbcType=DECIMAL},
-            #{item.wechatPayAmount,jdbcType=DECIMAL}, #{item.attributionWechatPay30dAmount,jdbcType=DECIMAL},
-            #{item.attributionWechatPay30dRoi,jdbcType=DECIMAL}, #{item.phoneEffective,jdbcType=INTEGER},
-            #{item.totalPlay,jdbcType=INTEGER}, #{item.validPlay,jdbcType=INTEGER},
-            #{item.validPlayCost,jdbcType=DECIMAL},
-            #{item.validPlayRate,jdbcType=DECIMAL}, #{item.play25FeedBreak,jdbcType=INTEGER},
-            #{item.play50FeedBreak,jdbcType=INTEGER},
-            #{item.play75FeedBreak,jdbcType=INTEGER}, #{item.play100FeedBreak,jdbcType=INTEGER},
-            #{item.averagePlayTimePerPlay,jdbcType=DECIMAL},
-            #{item.playOverRate,jdbcType=DECIMAL}, #{item.wifiPlayRate,jdbcType=DECIMAL},
-            #{item.wifiPlay,jdbcType=INTEGER},
-            #{item.playDurationSum,jdbcType=BIGINT}, #{item.advancedCreativePhoneClick,jdbcType=INTEGER},
-            #{item.advancedCreativeCounselClick,jdbcType=INTEGER}, #{item.advancedCreativeFormClick,jdbcType=INTEGER},
-            #{item.advancedCreativeCouponAddition,jdbcType=INTEGER},
-            #{item.advancedCreativeFormSubmit,jdbcType=INTEGER},
-            #{item.cardShow,jdbcType=INTEGER}, #{item.share,jdbcType=INTEGER}, #{item.comment,jdbcType=INTEGER},
-            #{item.like,jdbcType=INTEGER}, #{item.follow,jdbcType=INTEGER}, #{item.homeVisited,jdbcType=INTEGER},
-            #{item.iesChallengeClick,jdbcType=INTEGER}, #{item.iesMusicClick,jdbcType=INTEGER},
-            #{item.locationClick,jdbcType=INTEGER},
-            #{item.messageAction,jdbcType=INTEGER}, #{item.clickLandingPage,jdbcType=INTEGER},
-            #{item.clickShopwindow,jdbcType=INTEGER},
-            #{item.clickWebsite,jdbcType=INTEGER}, #{item.clickDownload,jdbcType=INTEGER},
-            #{item.clickCallDy,jdbcType=INTEGER},
-            #{item.cpc,jdbcType=DECIMAL}, #{item.cpm,jdbcType=DECIMAL}, #{item.cpa,jdbcType=DECIMAL},
-            #{item.interactPerCost,jdbcType=DECIMAL},
-            #{item.convertShowRate,jdbcType=DECIMAL}, #{item.playDuration10sRate,jdbcType=DECIMAL},
-            #{item.play50FeedBreakRate,jdbcType=DECIMAL},
-            #{item.play25FeedBreakRate,jdbcType=DECIMAL}, #{item.playDuration5sRate,jdbcType=DECIMAL},
-            #{item.playDuration2sRate,jdbcType=DECIMAL}, #{item.averagePlayProgress,jdbcType=DECIMAL},
-            #{item.play100FeedBreakRate,jdbcType=DECIMAL}, #{item.playDuration3sRate,jdbcType=DECIMAL},
-            #{item.play75FeedBreakRate,jdbcType=DECIMAL}, #{item.playDuration,jdbcType=DECIMAL},
-            #{item.playDuration3s,jdbcType=DECIMAL},
-            #{item.playDuration2s,jdbcType=DECIMAL}, #{item.playDuration10s,jdbcType=DECIMAL},
-            #{item.averageVideoPlay,jdbcType=DECIMAL},
-            #{item.avgRank,jdbcType=DECIMAL}, #{item.submitCertificationCount,jdbcType=INTEGER},
-            #{item.approvalCount,jdbcType=INTEGER},
-            #{item.firstOrderCount,jdbcType=INTEGER}, #{item.firstRentalOrderCount,jdbcType=INTEGER},
-            #{item.commuteFirstPayCount,jdbcType=INTEGER})
-        </foreach>
-    </insert>
-
-</mapper>

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

@@ -1,300 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceNewMaterialReportMapper">
-
-
-    <!-- 头条-新增体验版素材日报 视频-->
-    <insert id="replaceBytedanceNewMaterialVideoDaily" parameterType="cn.com.ctop.job.bytedance.data.entity.ByteDanceNewMaterialReport">
-        REPLACE bytedance_material_video_daily (
-        advertiser_id,
-        material_id,
-        stat_cost,
-        stat_datetime,
-        show_cnt,
-        cpm_platform,
-        click_cnt,
-        ctr,
-        cpc_platform,
-        convert_cnt,
-        conversion_cost,
-        conversion_rate,
-        deep_convert_cnt,
-        deep_convert_cost,
-        deep_convert_rate,
-        click_start_cnt,
-        click_start_cost,
-        click_start_rate,
-        download_finish_cnt,
-        download_finish_cost,
-        download_finish_rate,
-        install_finish_cnt,
-        install_finish_cost,
-        install_finish_rate,
-        active,
-        active_cost,
-        active_rate,
-        active_register,
-        active_register_cost,
-        active_register_rate,
-        game_addiction,
-        game_addiction_cost,
-        game_addiction_rate,
-        attribution_next_day_open_cnt,
-        attribution_next_day_open_cost,
-        attribution_next_day_open_rate,
-        next_day_open,
-        active_pay,
-        active_pay_cost,
-        active_pay_rate,
-        game_pay_count,
-        game_pay_cost,
-        attribution_game_pay_7d_count,
-        attribution_game_pay_7d_cost,
-        in_app_uv,
-        in_app_detail_uv,
-        in_app_cart,
-        in_app_pay,
-        in_app_order,
-        attribution_game_in_app_ltv_1day,
-        attribution_game_in_app_ltv_2days,
-        attribution_game_in_app_ltv_3days,
-        attribution_game_in_app_ltv_4days,
-        attribution_game_in_app_ltv_5days,
-        attribution_game_in_app_ltv_6days,
-        attribution_game_in_app_ltv_7days,
-        attribution_game_in_app_ltv_8days,
-        attribution_game_in_app_roi_1day,
-        attribution_game_in_app_roi_2days,
-        attribution_game_in_app_roi_3days,
-        attribution_game_in_app_roi_4days,
-        attribution_game_in_app_roi_5days,
-        attribution_game_in_app_roi_6days,
-        attribution_game_in_app_roi_7days,
-        attribution_game_in_app_roi_8days,
-        active_pay_intra_day_count,
-        active_pay_intra_day_cost,
-        active_pay_intra_day_rate
-        )
-        VALUES
-        <foreach collection= "list" item = "item" separator = "," >
-        (
-        #{item.advertiserId},
-        #{item.materialId},
-        #{item.statCost},
-        #{item.statDatetime},
-        #{item.showCnt},
-        #{item.cpmPlatform},
-        #{item.clickCnt},
-        #{item.ctr},
-        #{item.cpcPlatform},
-        #{item.convertCnt},
-        #{item.conversionCost},
-        #{item.conversionRate},
-        #{item.deepConvertCnt},
-        #{item.deepConvertCost},
-        #{item.deepConvertRate},
-        #{item.clickStartCnt},
-        #{item.clickStartCost},
-        #{item.clickStartRate},
-        #{item.downloadFinishCnt},
-        #{item.downloadFinishCost},
-        #{item.downloadFinishRate},
-        #{item.installFinishCnt},
-        #{item.installFinishCost},
-        #{item.installFinishRate},
-        #{item.active},
-        #{item.activeCost},
-        #{item.activeRate},
-        #{item.activeRegister},
-        #{item.activeRegisterCost},
-        #{item.activeRegisterRate},
-        #{item.gameAddiction},
-        #{item.gameAddictionCost},
-        #{item.gameAddictionRate},
-        #{item.attributionNextDayOpenCnt},
-        #{item.attributionNextDayOpenCost},
-        #{item.attributionNextDayOpenRate},
-        #{item.nextDayOpen},
-        #{item.activePay},
-        #{item.activePayCost},
-        #{item.activePayRate},
-        #{item.gamePayCount},
-        #{item.gamePayCost},
-        #{item.attributionGamePay7dCount},
-        #{item.attributionGamePay7dCost},
-        #{item.inAppUv},
-        #{item.inAppDetailUv},
-        #{item.inAppCart},
-        #{item.inAppPay},
-        #{item.inAppOrder},
-        #{item.attributionGameInAppLtv1day},
-        #{item.attributionGameInAppLtv2days},
-        #{item.attributionGameInAppLtv3days},
-        #{item.attributionGameInAppLtv4days},
-        #{item.attributionGameInAppLtv5days},
-        #{item.attributionGameInAppLtv6days},
-        #{item.attributionGameInAppLtv7days},
-        #{item.attributionGameInAppLtv8days},
-        #{item.attributionGameInAppRoi1day},
-        #{item.attributionGameInAppRoi2days},
-        #{item.attributionGameInAppRoi3days},
-        #{item.attributionGameInAppRoi4days},
-        #{item.attributionGameInAppRoi5days},
-        #{item.attributionGameInAppRoi6days},
-        #{item.attributionGameInAppRoi7days},
-        #{item.attributionGameInAppRoi8days},
-        #{item.activePayIntraDayCount},
-        #{item.activePayIntraDayCost},
-        #{item.activePayIntraDayRate}
-
-        )
-         </foreach>
-    </insert>
-
-    <!-- 头条-新增体验版素材日报 图片-->
-    <insert id="replaceBytedanceNewMaterialImageDaily" parameterType="cn.com.ctop.job.bytedance.data.entity.ByteDanceNewMaterialReport">
-        REPLACE bytedance_material_image_daily (
-        advertiser_id,
-        material_id,
-        stat_cost,
-        stat_datetime,
-        show_cnt,
-        cpm_platform,
-        click_cnt,
-        ctr,
-        cpc_platform,
-        convert_cnt,
-        conversion_cost,
-        conversion_rate,
-        deep_convert_cnt,
-        deep_convert_cost,
-        deep_convert_rate,
-        click_start_cnt,
-        click_start_cost,
-        click_start_rate,
-        download_finish_cnt,
-        download_finish_cost,
-        download_finish_rate,
-        install_finish_cnt,
-        install_finish_cost,
-        install_finish_rate,
-        active,
-        active_cost,
-        active_rate,
-        active_register,
-        active_register_cost,
-        active_register_rate,
-        game_addiction,
-        game_addiction_cost,
-        game_addiction_rate,
-        attribution_next_day_open_cnt,
-        attribution_next_day_open_cost,
-        attribution_next_day_open_rate,
-        next_day_open,
-        active_pay,
-        active_pay_cost,
-        active_pay_rate,
-        game_pay_count,
-        game_pay_cost,
-        attribution_game_pay_7d_count,
-        attribution_game_pay_7d_cost,
-        in_app_uv,
-        in_app_detail_uv,
-        in_app_cart,
-        in_app_pay,
-        in_app_order,
-        attribution_game_in_app_ltv_1day,
-        attribution_game_in_app_ltv_2days,
-        attribution_game_in_app_ltv_3days,
-        attribution_game_in_app_ltv_4days,
-        attribution_game_in_app_ltv_5days,
-        attribution_game_in_app_ltv_6days,
-        attribution_game_in_app_ltv_7days,
-        attribution_game_in_app_ltv_8days,
-        attribution_game_in_app_roi_1day,
-        attribution_game_in_app_roi_2days,
-        attribution_game_in_app_roi_3days,
-        attribution_game_in_app_roi_4days,
-        attribution_game_in_app_roi_5days,
-        attribution_game_in_app_roi_6days,
-        attribution_game_in_app_roi_7days,
-        attribution_game_in_app_roi_8days,
-        active_pay_intra_day_count,
-        active_pay_intra_day_cost,
-        active_pay_intra_day_rate
-        )
-        VALUES
-        <foreach collection= "list" item = "item" separator = "," >
-        (
-        #{item.advertiserId},
-        #{item.materialId},
-        #{item.statCost},
-        #{item.statDatetime},
-        #{item.showCnt},
-        #{item.cpmPlatform},
-        #{item.clickCnt},
-        #{item.ctr},
-        #{item.cpcPlatform},
-        #{item.convertCnt},
-        #{item.conversionCost},
-        #{item.conversionRate},
-        #{item.deepConvertCnt},
-        #{item.deepConvertCost},
-        #{item.deepConvertRate},
-        #{item.clickStartCnt},
-        #{item.clickStartCost},
-        #{item.clickStartRate},
-        #{item.downloadFinishCnt},
-        #{item.downloadFinishCost},
-        #{item.downloadFinishRate},
-        #{item.installFinishCnt},
-        #{item.installFinishCost},
-        #{item.installFinishRate},
-        #{item.active},
-        #{item.activeCost},
-        #{item.activeRate},
-        #{item.activeRegister},
-        #{item.activeRegisterCost},
-        #{item.activeRegisterRate},
-        #{item.gameAddiction},
-        #{item.gameAddictionCost},
-        #{item.gameAddictionRate},
-        #{item.attributionNextDayOpenCnt},
-        #{item.attributionNextDayOpenCost},
-        #{item.attributionNextDayOpenRate},
-        #{item.nextDayOpen},
-        #{item.activePay},
-        #{item.activePayCost},
-        #{item.activePayRate},
-        #{item.gamePayCount},
-        #{item.gamePayCost},
-        #{item.attributionGamePay7dCount},
-        #{item.attributionGamePay7dCost},
-        #{item.inAppUv},
-        #{item.inAppDetailUv},
-        #{item.inAppCart},
-        #{item.inAppPay},
-        #{item.inAppOrder},
-        #{item.attributionGameInAppLtv1day},
-        #{item.attributionGameInAppLtv2days},
-        #{item.attributionGameInAppLtv3days},
-        #{item.attributionGameInAppLtv4days},
-        #{item.attributionGameInAppLtv5days},
-        #{item.attributionGameInAppLtv6days},
-        #{item.attributionGameInAppLtv7days},
-        #{item.attributionGameInAppLtv8days},
-        #{item.attributionGameInAppRoi1day},
-        #{item.attributionGameInAppRoi2days},
-        #{item.attributionGameInAppRoi3days},
-        #{item.attributionGameInAppRoi4days},
-        #{item.attributionGameInAppRoi5days},
-        #{item.attributionGameInAppRoi6days},
-        #{item.attributionGameInAppRoi7days},
-        #{item.attributionGameInAppRoi8days},
-        #{item.activePayIntraDayCount},
-        #{item.activePayIntraDayCost},
-        #{item.activePayIntraDayRate})
-         </foreach>
-    </insert>
-
-</mapper>

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

@@ -1,163 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceProjectMapper">
-
-
-    <insert id="replaceProjectList">
-        REPLACE INTO bytedance_cdp_project (
-        project_id,
-        `name`,
-        advertiser_id,
-        status,
-        package_name,
-        project_create_time,
-        project_modify_time,
-        pricing,
-        landing_type,
-        ad_type,
-        audience_extend,
-        opt_status,
-        app_promotion_type,
-        delivery_mode,
-        search_bid_ratio,
-        download_url,
-        download_mode,
-        download_type,
-        app_name,
-        feed_delivery_search,
-        marketing_goal,
-        keywords,
-        delivery_setting,
-        dpa_product_target,
-        optimize_goal,
-        audience,
-        related_product,
-        delivery_range,
-        track_url_setting,
-        internal_advertiser_info
-        )
-        VALUES
-        <foreach collection="list" item="item" separator=",">
-            (
-            #{item.projectId},
-            #{item.name},
-            #{item.advertiserId},
-            #{item.status},
-            #{item.packageName},
-            #{item.projectCreateTime},
-            #{item.projectModifyTime},
-            #{item.pricing},
-            #{item.landingType},
-            #{item.adType},
-            #{item.audienceExtend},
-            #{item.optStatus},
-            #{item.appPromotionType},
-            #{item.deliveryMode},
-            #{item.searchBidRatio},
-            #{item.downloadUrl},
-            #{item.downloadMode},
-            #{item.downloadType},
-            #{item.appName},
-            #{item.feedDeliverySearch},
-            #{item.marketingGoal},
-            #{item.keywords},
-            #{item.deliverySetting},
-            #{item.dpaProductTarget},
-            #{item.optimizeGoal},
-            #{item.audience},
-            #{item.relatedProduct},
-            #{item.deliveryRange},
-            #{item.trackUrlSetting},
-            #{item.internalAdvertiserInfo}
-            )
-        </foreach>
-    </insert>
-
-    <select id="getProjectId" resultType="Long">
-        SELECT project_id
-        FROM `jeecg-boot`.ctop_user_allocation
-        WHERE account_id = #{accountId}
-    </select>
-
-    <!-- 获取用户微信id -->
-    <select id="getWChatIdsByAccountId" resultType="com.alibaba.fastjson.JSONObject">
-        select wexin_id, corp_id, wexin_name
-        from `jeecg-boot`.ctop_corp_wexin_user
-        where user_id = (select ctop_user_allocation.user_id
-                         from `jeecg-boot`.ctop_user_allocation
-                         where account_id = #{accountId} limit 1)
-        union all
-        select wexin_id, corp_id, wexin_name
-        from `jeecg-boot`.ctop_corp_wexin_user
-        where user_id = (select leader_id
-                         from `jeecg-boot`.sys_user
-                         where id = (SELECT ctop_user_allocation.user_id
-                                     FROM `jeecg-boot`.ctop_user_allocation
-                                     WHERE account_id = #{accountId}
-            LIMIT 1))
-        union all
-        select wexin_id, corp_id, wexin_name
-        from `jeecg-boot`.ctop_corp_wexin_user
-        where user_id = 'b07f2bdd0f914f1dab2b4e841764911f';
-    </select>
-
-    <insert id="insertSendRecord">
-        insert
-        into `jeecg-boot`.ctop_media_send_alarm_record
-        (account_id,
-         plan_id,
-         project_id,
-         user_id,
-         alarm_detail,
-         media_type)
-        values (#{accountId},
-                #{planId},
-                #{projectId},
-                #{userId},
-                #{alarmDetail},
-                #{mediaType})
-    </insert>
-
-    <insert id="insertSendAccountId">
-        replace
-        into `jeecg-boot`.bytedance_refusal_send
-        (account_id,ad_id,
-         counts,
-         stat_date)
-        values (
-        #{accountId},
-        #{adId},
-        #{counts},
-        (DATE_FORMAT(now(),'%Y%m%d-%H'))
-        )
-    </insert>
-
-
-    <select id="getBytedanceRefusalSend" resultType="Long">
-        SELECT ad_id
-        FROM `jeecg-boot`.bytedance_refusal_send
-        WHERE stat_date = DATE_FORMAT(now(), '%Y%m%d-%H')
-          AND account_id =#{accountId}
-          AND counts >= 2
-    </select>
-
-    <select id="getSpecialProject" resultType="Long">
-        SELECT IFNULL(project_id,-1)
-        FROM `jeecg-boot`.bytedance_refusal_send
-        WHERE flag = 1
-        UNION
-        SELECT IFNULL(account_id,-1)
-        FROM `jeecg-boot`.bytedance_refusal_send
-        WHERE flag = 1
-    </select>
-
-    <select id="getrefusalAccountCounts" resultType="Integer">
-        SELECT ifNUll(counts, 0)
-        FROM `jeecg-boot`.bytedance_refusal_send
-        WHERE account_id = #{accountId}
-          AND ad_id = #{adId}
-          AND stat_date = DATE_FORMAT(now(), '%Y%m%d-%H')
-    </select>
-
-
-</mapper>

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

@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedancePromotionListMapper">
-
-
-    <insert id="replacePromotionList">
-        REPLACE INTO bytedance_promotion_list (
-        advertiser_id,
-        project_id,
-        promotion_id,
-        promotion_name,
-        promotion_create_time,
-        promotion_modify_time,
-        STATUS,
-        opt_status,
-        promotion_materials,
-        source,
-        material_score_info,
-        deep_cpabid,
-        roi_goal,
-        cpa_bid,
-        budget
-        )
-        VALUES
-        <foreach collection = "list" item = "item" separator="," >
-        (#{item.advertiserId},
-        #{item.projectId},
-        #{item.promotionId},
-        #{item.promotionName},
-        #{item.promotionCreateTime},
-        #{item.promotionModifyTime},
-        #{item.status},
-        #{item.optStatus},
-        #{item.promotionMaterials},
-        #{item.source},
-        #{item.materialScoreInfo},
-        #{item.deepCpabid},
-        #{item.roiGoal},
-        #{item.cpaBid},
-        #{item.budget}
-        )
-        </foreach>
-    </insert>
-
-
-
-</mapper>

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

@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.OauthTokenMapper">
-
-    <select id="getByAccountId" resultType="java.lang.String">
-        SELECT access_token
-        from `jeecg-boot`.ctop_oauth_token
-        WHERE account_id = #{accountId}
-    </select>
-
-
-    <select id="getAgentByTouTiao" resultType="Long">
-        SELECT agent_id
-        from `jeecg-boot`.ctop_cwjs_agent_info
-        WHERE status = 0
-          and enabled = 0
-    </select>
-
-    <select id="getAllToutiaoAccountIds" resultType="Long">
-        SELECT t1.account_id
-        FROM `jeecg-boot`.ctop_oauth_token t1
-                 LEFT JOIN `jeecg-boot`.ctop_user_allocation t2
-                           ON t1.account_id = t2.account_id
-        WHERE t1.media_id IN (1, 3)
-          AND t2.account_status = 0
-        GROUP BY t1.account_id
-    </select>
-
-    <select id="getAgentToken" resultType="java.lang.String">
-        SELECT access_token
-        from `jeecg-boot`.ctop_bytedance_agent_token
-        WHERE agent_id = #{agentId}
-    </select>
-
-    <select id="getAgentTokens" resultType="com.alibaba.fastjson.JSONObject">
-        SELECT account_id as 'accountId', access_token as  'accessToken'
-        from `jeecg-boot`.ctop_oauth_token
-        WHERE media_id = 1
-          and account_id in (
-                             73970348172,
-                             1640370875427848
-            )
-          AND update_time > DATE_FORMAT(now(), '%Y%m%d')
-    </select>
-
-
-    <select id="getByProjectId" resultType="com.alibaba.fastjson.JSONObject">
-        select t1.access_token as 'accessToken',t1.account_id as 'accountId',t1.access_token_expires_in as 'accessTokenExpiresIn'
-        from `jeecg-boot`.ctop_oauth_token t1
-                 left join `jeecg-boot`.ctop_user_allocation t2
-                           on t1.account_id = t2.account_id
-        where t2.account_status = 0
-          and t2.project_id = #{projectId}
-        group by t1.account_id
-    </select>
-
-    <select id="getProjectByAccountId" resultType="com.alibaba.fastjson.JSONObject">
-        select id 'projectId', project_name 'projectName', max_bid 'maxBid', bid_type 'bidType', ocpx_action_type 'ocpxActionType', deep_conversion_type 'deepConversionType'
-        from `jeecg-boot`.ctop_project
-        where id = (
-            select project_id
-            from `jeecg-boot`.ctop_user_allocation
-            where account_id = #{accountId}
-            limit 1
-            )
-    </select>
-
-
-    <select id="getBytedanceOcpxTypeList" resultType="com.alibaba.fastjson.JSONObject">
-        select ocpx_action_type as 'ocpxActionType', ocpx_action_name as 'ocpxActionName'
-        from `jeecg-boot`.ctop_bytedance_ocpx_action_type_config
-    </select>
-
-</mapper>

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

@@ -1,269 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.UserAllocationMapper">
-
-    <select id="selectAccountListByProjectId" resultType="cn.com.ctop.job.bytedance.data.entity.UserAllocation">
-        select a.user_id    as userId,
-               a.user_name  as userName,
-               a.auth_name  as authName,
-               a.account_id as accountId
-        from `jeecg-boot`.ctop_user_allocation a
-                 left join `jeecg-boot`.ctop_project b on a.project_id = b.id
-        where b.id = #{projectId}
-          and account_status = 0
-    </select>
-    <select id="getAccountListByUserIdAndProductId" resultType="cn.com.ctop.job.bytedance.data.entity.UserAllocation">
-        select cua.account_id, cua.auth_name, cua.user_name
-        from `jeecg-boot`.ctop_user_allocation cua
-        left join `jeecg-boot`.ctop_project cp on cua.project_id = cp.id
-        where
-        cua.project_id = #{projectId}
-        and
-        cp.product_id=#{productId}
-        <if test="userId != null and userId != ''">
-            and cua.user_id = #{userId}
-        </if>
-
-    </select>
-
-    <select id="getOneByAccountId" resultType="cn.com.ctop.job.bytedance.data.entity.UserAllocation">
-        select id,
-               user_id,
-               user_name,
-               account_id,
-               advertiser_id,
-               advertiser_name,
-               project_id,
-               project_name,
-               account_name,
-               warning_amount,
-               warning_proportion,
-               account_status,
-               auth_name,
-               system_type,
-               monitoring_link,
-               landing_page,
-               delete_comment,
-               project_strategy,
-               auto_delivery,
-               material_type,
-               media_id,
-               create_time,
-               update_time,
-               delivery_point,
-               auth_begin_time,
-               manager,
-               project_media_id
-        from `jeecg-boot`.ctop_user_allocation
-        where account_id = #{accountId}
-        Limit 1
-    </select>
-
-    <select id="queryAdvertiserId" resultType="String">
-        select distinct advertiser_id
-        from `jeecg-boot`.ctop_user_allocation
-        where account_id = #{accountId}
-    </select>
-    <select id="queryUserIdByAccountId" resultType="String">
-        select distinct user_id
-        from `jeecg-boot`.ctop_user_allocation
-        where account_id = #{accountId}
-    </select>
-
-    <select id="getAccountListByProject" resultType="com.alibaba.fastjson.JSONObject">
-        select t1.account_id as 'accountId', (select realname from `jeecg-boot`.sys_user where id = t1.user_id) as 'userName', t1.auth_name as 'authName'
-        from `jeecg-boot`.ctop_user_allocation t1
-        where t1.project_id = #{projectId}
-        order by t1.create_time desc
-    </select>
-
-    <select id="getAccountListByProjectList" resultType="com.alibaba.fastjson.JSONObject">
-        select
-        t1.project_id as 'projectId',
-        t1.account_id as 'accountId',
-        (select realname from `jeecg-boot`.sys_user where id = t1.user_id ) as 'userName',
-        t1.auth_name as 'authName',
-        t1.account_status as 'accountStatus'
-        from `jeecg-boot`.ctop_user_allocation t1
-        where t1.project_id in
-        <foreach collection="list" item="item" separator=","
-                 open="(" close=")">
-            #{item}
-        </foreach>
-        order by t1.create_time desc
-    </select>
-
-
-    <select id="getUserIdListByProjectId" resultType="com.alibaba.fastjson.JSONObject">
-        SELECT t1.user_id as 'userId', t1.account_id as 'accountId', t1.user_name as 'userName'
-        from `jeecg-boot`.ctop_kuaishou_advertiser_base_info t1
-                 LEFT JOIN
-             `jeecg-boot`.ctop_user_allocation t2
-             ON t1.account_id = t2.account_id
-        WHERE t2.project_id = #{projectId}
-          AND t2.account_status = 0
-        GROUP BY t1.user_id;
-    </select>
-    <select id="getUserIdListByProductId" resultType="com.alibaba.fastjson.JSONObject">
-        SELECT t1.user_id as 'userId', t1.account_id as 'accountId', t1.user_name as 'userName'
-        from `jeecg-boot`.ctop_kuaishou_advertiser_base_info t1
-                 LEFT JOIN `jeecg-boot`.ctop_user_allocation t2
-                           ON t1.account_id = t2.account_id
-                 LEFT JOIN `jeecg-boot`.ctop_project t3
-                           ON t2.project_id = t3.id
-        WHERE t3.product_id = #{productId}
-          AND t2.account_status = 0
-        GROUP BY t1.user_id;
-    </select>
-
-    <select id="getValidProjectIds" resultType="java.lang.Long">
-        SELECT project_id FROM `jeecg-boot`.ctop_user_allocation t1
-        where account_status = 0
-        <if test="mediaId != null">
-            AND media_id = #{mediaId}
-        </if>
-        GROUP BY project_id
-    </select>
-
-
-    <select id="getAccountIdListByUserId" resultType="com.alibaba.fastjson.JSONObject">
-        SELECT t1.account_id as 'accountId', t1.auth_name as 'authName', t1.user_name as 'userName'
-        from `jeecg-boot`.ctop_user_allocation t1
-                 LEFT JOIN `jeecg-boot`.ctop_kuaishou_advertiser_base_info t2
-                           ON t1.account_id = t2.account_id
-        WHERE t2.user_id = #{userId}
-          AND t1.account_status = 0
-    </select>
-
-    <select id="getAccountIdsByUserId" resultType="com.alibaba.fastjson.JSONObject">
-        SELECT allocation.account_id,
-               allocation.auth_name,
-               project.project_name as project_name
-        FROM `jeecg-boot`.ctop_user_allocation allocation
-                 left join `jeecg-boot`.ctop_project project on allocation.project_id = project.id
-        WHERE allocation.user_id = #{userId}
-          and allocation.account_status = 0
-    </select>
-
-
-    <select id="getAllAccountIdsByMediaId" resultType="com.alibaba.fastjson.JSONObject">
-        SELECT account_id,
-               auth_name,
-               project_name
-        FROM `jeecg-boot`.ctop_user_allocation
-        WHERE media_id = #{mediaId}
-          and account_status = 0
-    </select>
-
-    <select id="getProjectIdByAccountId" resultType="java.lang.Long">
-        select project_id
-        from `jeecg-boot`.ctop_user_allocation
-        where account_id = #{accountId} limit 1
-    </select>
-
-    <select id="getUserAllocation" resultType="cn.com.ctop.job.bytedance.data.entity.UserAllocation">
-        select *
-        from `jeecg-boot`.ctop_user_allocation
-        where account_id = #{accountId} limit 1
-    </select>
-
-    <select id="getSwitchStatusByAccount" resultType="com.alibaba.fastjson.JSONObject">
-        SELECT monitoring_link,
-               landing_page
-        FROM `jeecg-boot`.ctop_user_allocation
-        WHERE account_id = #{accountId}
-    </select>
-
-    <select id="queryAccountsByDeleteComment" resultType="java.lang.Long">
-        SELECT account_id
-        FROM `jeecg-boot`.ctop_user_allocation
-        WHERE media_id = 2
-          AND account_status = 0
-          AND delete_comment = 0
-    </select>
-    <select id="getCompanyNameByUserId" resultType="java.lang.String">
-        select company_name
-        from `jeecg-boot`.user_company
-        where user_id = #{planId} limit 1
-    </select>
-    <select id="listByMediaId" resultType="cn.com.ctop.job.bytedance.data.entity.UserAllocation">
-        select a.* from `jeecg-boot`.ctop_user_allocation a
-        left join `jeecg-boot`.ctop_project p on p.id = a.project_id
-        where
-        1=1
-        <if test="null!=accountStatus">
-            and a.account_status = #{accountStatus}
-        </if>
-        <if test="null!=mediaId">
-            and p.media_id = #{mediaId}
-        </if>
-    </select>
-    <select id="getByAccountIds" resultType="com.alibaba.fastjson.JSONObject">
-        select
-        account_id as 'accountId',
-        auth_name as 'authName'
-        from `jeecg-boot`.ctop_user_allocation where
-        account_id in
-        <foreach collection="accountIds" item="item" separator=","
-                 open="(" close=")">
-            #{item}
-        </foreach>
-
-
-    </select>
-    <select id="getKuaiShouUserIdListByProjectId" resultType="java.lang.Long">
-        select t2.user_id
-        from `jeecg-boot`.ctop_user_allocation t1
-                 left join `jeecg-boot`.ctop_kuaishou_advertiser_base_info t2
-                           on t1.account_id = t2.account_id
-        where t1.project_id = #{projectId}
-        group by t2.user_id
-    </select>
-    <select id="selectAccountsByKuaishouUserId" resultType="com.alibaba.fastjson.JSONObject">
-        SELECT t2.account_id AS 'accountId', t2.user_name AS 'userName', t2.auth_name AS 'authName', t2.account_status AS 'accountStatus'
-        FROM `jeecg-boot`.ctop_kuaishou_advertiser_base_info t1
-                 LEFT JOIN `jeecg-boot`.ctop_user_allocation t2 ON t1.account_id = t2.account_id
-        WHERE t1.user_id = #{userId}
-          AND t2.id IS NOT NULL;
-
-    </select>
-
-    <update id="updateProjectStrategyStatus">
-        update `jeecg-boot`.ctop_user_allocation
-        set auto_delivery = #{projectStrategy}
-        where account_id = #{accountId}
-    </update>
-
-    <select id="queryAutomaticAccounts" resultType="java.lang.Long">
-        select account_id
-        from `jeecg-boot`.ctop_user_allocation
-        where project_id = #{projectId}
-          AND auto_delivery = 1
-    </select>
-    <select id="getIdList" resultType="java.lang.Long">
-        SELECT account_id
-        FROM `jeecg-boot`.ctop_track_monitor_configure
-        where status = 0
-
-    </select>
-
-
-    <select id="getProjectByAccountId" resultType="com.alibaba.fastjson.JSONObject">
-        select id 'projectId', project_name 'projectName', max_bid 'maxBid', bid_type 'bidType', ocpx_action_type 'ocpxActionType', deep_conversion_type 'deepConversionType'
-        from `jeecg-boot`.ctop_project
-        where id = (
-            select project_id
-            from `jeecg-boot`.ctop_user_allocation
-            where account_id = #{accountId}
-            limit 1
-            )
-    </select>
-
-    <select id="getProjectEntity" resultType="cn.com.ctop.job.bytedance.data.entity.Project">
-        select *
-        from `jeecg-boot`.ctop_project
-        where id = #{projectId}
-    </select>
-
-
-</mapper>

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

@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.WexinConfigMapper">
-
-    <select id="getAll" resultType="cn.com.ctop.job.bytedance.data.utils.weixin.WexinConfig">
-        select *
-        from `jeecg-boot`.ctop_wexin_config
-    </select>
-
-</mapper>

+ 0 - 37
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IByteDanceAdvertiserDataService.java

@@ -1,37 +0,0 @@
-package cn.com.ctop.job.bytedance.data.service;
-
-import cn.com.ctop.job.bytedance.data.entity.OauthToken;
-import com.alibaba.fastjson.JSONObject;
-
-import java.util.Map;
-
-/**
- * @author jeecg-boot
- */
-public interface IByteDanceAdvertiserDataService {
-
-
-    Map<String, Object> getAdvertiserPlan(OauthToken token, String ids, String date, String updateDate);
-
-    void getAdvertiserPlanReport(OauthToken token, String startDate, String endDate, String bytedanceReportTypePL);
-
-    void getAdvertiserReport(OauthToken oauthToken, String yesterda, String yesterda1, String bytedanceReportTypeDaily);
-
-    void getPositionAdvertiserReport(OauthToken oauthToken, String yesterda, String yesterda1, String bytedanceReportTypeDaily);
-
-    void getAgentReport(JSONObject oauthToken, String startDate, String endDate);
-
-    void getV3AdvertiserConfig(OauthToken oauthToken);
-
-    void getV3AdvertiserReport(OauthToken oauthToken, String startDate, String endDate, String bytedanceReportTypeHourly);
-
-    /**
-     * V3 广告报表
-     */
-    void getV3PromotionProjectReport(OauthToken oauthToken, String startDate, String endDate, String bytedanceReportTypeHourly);
-
-    /**
-     * V3 素材报表
-     */
-    void getV3PromotionMaterialReport(OauthToken oauthToken,String startDate, String endDate, String bytedanceReportTypeHourly);
-}

+ 0 - 6
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IByteDanceHourlyAccountWarningService.java

@@ -1,6 +0,0 @@
-package cn.com.ctop.job.bytedance.data.service;
-
-public interface IByteDanceHourlyAccountWarningService {
-
-    void byteDanceAccountWarning(Long account, Integer nowDate, Integer yesterda);
-}

+ 0 - 14
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceAgentReportDailyService.java

@@ -1,14 +0,0 @@
-package cn.com.ctop.job.bytedance.data.service;
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceAgentReportDaily;
-import com.baomidou.mybatisplus.extension.service.IService;
-
-/**
- * 代理商日报
- * @author jeecg-boot
- * 2021-10-21
- * @version V1.0
- */
-public interface IBytedanceAgentReportDailyService  {
-
-}

+ 0 - 12
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceAgentReportHourlyService.java

@@ -1,12 +0,0 @@
-package cn.com.ctop.job.bytedance.data.service;
-
-/**
- * 代理商日报
- *
- * @author jeecg-boot
- * 2021-10-21
- * @version V1.0
- */
-public interface IBytedanceAgentReportHourlyService {
-
-}

+ 0 - 16
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceAudiencePackageGetService.java

@@ -1,16 +0,0 @@
-package cn.com.ctop.job.bytedance.data.service;
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceAudiencePackageGet;
-import cn.com.ctop.job.bytedance.data.entity.OauthToken;
-import com.baomidou.mybatisplus.extension.service.IService;
-
-/**
- * 获取定向包
- *
- * @author jeecg-boot
- * 2021-10-21
- * @version V1.0
- */
-public interface IBytedanceAudiencePackageGetService  {
-    void getAudiencePackageGetReport(OauthToken token);
-}

+ 0 - 18
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceCampaignGetService.java

@@ -1,18 +0,0 @@
-package cn.com.ctop.job.bytedance.data.service;
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceCampaignGet;
-import cn.com.ctop.job.bytedance.data.entity.OauthToken;
-import com.baomidou.mybatisplus.extension.service.IService;
-
-/**
- * 获取定向包
- *
- * @author jeecg-boot
- * 2021-10-21
- * @version V1.0
- */
-public interface IBytedanceCampaignGetService  {
-
-    void getCampaignData(OauthToken oauthToken, String startDate,String endDate,int pageNumber, int PageSize);
-
-}

+ 0 - 15
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceCampaignReportDailyService.java

@@ -1,15 +0,0 @@
-package cn.com.ctop.job.bytedance.data.service;
-
-import cn.com.ctop.job.bytedance.data.entity.OauthToken;
-
-/**
- * 获取广告组
- *
- * @author jeecg-boot
- * 2021-10-21
- * @version V1.0
- */
-public interface IBytedanceCampaignReportDailyService {
-    public void getCampaignDailyReport(OauthToken oauthToken, String yesterda, String yesterda1, String bytedanceReportTypeDaily, int pageNumber, int pageSize);
-
-}

+ 0 - 17
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceCampaignReportHourlyService.java

@@ -1,17 +0,0 @@
-package cn.com.ctop.job.bytedance.data.service;
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceCampaignReportHourly;
-import cn.com.ctop.job.bytedance.data.entity.OauthToken;
-import com.baomidou.mybatisplus.extension.service.IService;
-
-/**
- * 获取定向包
- *
- * @author jeecg-boot
- * 2021-10-21
- * @version V1.0
- */
-public interface IBytedanceCampaignReportHourlyService  {
-    public void getCampaignHourlyReport(OauthToken oauthToken, String yesterda, String yesterda1, String bytedanceReportTypeDaily, int pageNumber, int pageSize);
-
-}

+ 0 - 16
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceCreativeGetService.java

@@ -1,16 +0,0 @@
-package cn.com.ctop.job.bytedance.data.service;
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceCreativeGet;
-import cn.com.ctop.job.bytedance.data.entity.OauthToken;
-import com.baomidou.mybatisplus.extension.service.IService;
-
-/**
- * 获取定向包
- * @author jeecg-boot
- * 2021-10-22
- * @version V1.0
- */
-public interface IBytedanceCreativeGetService  {
-
-    void getCreativeData(OauthToken oauthToken, String startDate,String endDate,int page, int pageSize);
-}

+ 0 - 16
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceCreativeReportDailyService.java

@@ -1,16 +0,0 @@
-package cn.com.ctop.job.bytedance.data.service;
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceCreativeReportDaily;
-import cn.com.ctop.job.bytedance.data.entity.OauthToken;
-import com.baomidou.mybatisplus.extension.service.IService;
-
-/**
- * 获取定向包
- * @author jeecg-boot
- * 2021-10-22
- * @version V1.0
- */
-public interface IBytedanceCreativeReportDailyService {
-
-    void getCreativeDailyReport(OauthToken oauthToken, String yesterda, String yesterda1, String bytedanceReportTypeDaily, int i, int i1);
-}

+ 0 - 16
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceCreativeReportHourlyService.java

@@ -1,16 +0,0 @@
-package cn.com.ctop.job.bytedance.data.service;
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceCreativeReportHourly;
-import cn.com.ctop.job.bytedance.data.entity.OauthToken;
-import com.baomidou.mybatisplus.extension.service.IService;
-
-/**
- * 获取定向包
- * @author jeecg-boot
- * 2021-10-22
- * @version V1.0
- */
-public interface IBytedanceCreativeReportHourlyService  {
-
-    void getCampaignHourlyReport(OauthToken oauthToken, String yesterda, String yesterda1, String bytedanceReportTypeHourly, int i, int i1);
-}

+ 0 - 16
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceFileImageGetService.java

@@ -1,16 +0,0 @@
-package cn.com.ctop.job.bytedance.data.service;
-
-import cn.com.ctop.job.bytedance.data.entity.BytedanceFileImageGet;
-import cn.com.ctop.job.bytedance.data.entity.OauthToken;
-import com.baomidou.mybatisplus.extension.service.IService;
-
-/**
- * 头条图片素材
- * @author jeecg-boot
- * 2021-10-22
- * @version V1.0
- */
-public interface IBytedanceFileImageGetService  {
-
-    void getFileImageData(OauthToken oauthToken,String startDate,String endDate, int i, int i1);
-}

+ 0 - 0
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/IBytedanceFileVideoGetService.java


Some files were not shown because too many files changed in this diff