|
@@ -238,8 +238,8 @@ public class TestController {
|
|
|
if (!Check.isNull(ctopOauthToken)) {
|
|
|
deleteMap.put("account_id", allocation.getAccountId());
|
|
|
deleteMap.put("stat_date", anotherDay);
|
|
|
- reportDailyCreativeStatisticMapper.deleteByMap(deleteMap);
|
|
|
- reportDailyCreativeMapper.deleteByMap(deleteMap);
|
|
|
+ // reportDailyCreativeStatisticMapper.deleteByMap(deleteMap);
|
|
|
+ // reportDailyCreativeMapper.deleteByMap(deleteMap);
|
|
|
|
|
|
// 1.计划数据
|
|
|
kuaishouInterfaceService.getCampaignList(ctopOauthToken, null, null);
|
|
@@ -271,6 +271,12 @@ public class TestController {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ public static void main(String[] args) throws ParseException {
|
|
|
+ String date = DateUtils.getDate("yyyy-MM-dd");
|
|
|
+ String anotherDay = DateUtils.getAnotherDay("yyyy-MM-dd", date, -1);
|
|
|
+ System.err.println(anotherDay);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
@GetMapping(value = "/getPlanAndGroupByAccount")
|
|
|
public void getPlanAndGroupByAccount(Long accountId) {
|