|
|
@@ -56,7 +56,11 @@ public class CPSReportJob {
|
|
|
public void runCPSIapSettlementData() throws Exception {
|
|
|
log.info("[runCPSIapSettlementData] 任务启动...");
|
|
|
try {
|
|
|
- String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
|
|
|
+ String nowDate = DateUtils.getNowAddDate("yyyy-MM-dd", -1);
|
|
|
+ cpsReportService.runCPSSettlementData(nowDate);
|
|
|
+ nowDate = DateUtils.getNowAddDate("yyyy-MM-dd", -2);
|
|
|
+ cpsReportService.runCPSSettlementData(nowDate);
|
|
|
+ nowDate = DateUtils.getNowAddDate("yyyy-MM-dd", -3);
|
|
|
cpsReportService.runCPSSettlementData(nowDate);
|
|
|
log.info("[runCPSIapSettlementData] 任务完成");
|
|
|
} catch (Exception e) {
|