Commit af019b2b by jianshuqin

修改功能:ebay-report-produce账号全部切换新的API

parent f672f34b
......@@ -44,7 +44,7 @@ public class CustomerProcessor implements ItemProcessor<DcBaseCompanyAccount, Eb
ebayAccountReportTask.setAccountId(item.getAccountId());
ebayAccountReportTask.setStartTime(LocalDateTime.of(dcJobConfig.getStartTime().toLocalDate(), LocalTime.MIN));
ebayAccountReportTask.setEndTime(LocalDateTime.of(dcJobConfig.getStartTime().toLocalDate(), LocalTime.MIN).plusDays(1));
ebayAccountReportTask.setIsNewApi(Arrays.stream(NEW_API_ACCOUNTS).anyMatch(x -> x.equals(item.getAccountName())));
ebayAccountReportTask.setIsNewApi(true);
return ebayAccountReportTask;
}
}
......@@ -4,12 +4,12 @@ spring:
name: ebay-report-produce
# 数据配置
datasource-biz:
url: jdbc:mysql://10.0.8.15:3306/bailun_datacenter?serverTimezone=GMT%2B8&characterEncoding=utf-8&rewriteBatchedStatements=true
url: jdbc:mysql://10.0.8.113:3306/bailun_datacenter?serverTimezone=GMT%2B8&characterEncoding=utf-8&rewriteBatchedStatements=true
username: root
password: '#7kfnymAM$Y9-Ntf'
driver-class-name: com.mysql.jdbc.Driver
dataflow-datasource:
url: jdbc:mysql://10.0.8.15:3306/dataflow?passwordCharacterEncoding=utf-8
url: jdbc:mysql://10.0.8.113:3306/dataflow?passwordCharacterEncoding=utf-8
username: root
password: '#7kfnymAM$Y9-Ntf'
driverClassName: org.mariadb.jdbc.Driver
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment