|
|
@@ -145,7 +145,7 @@ public class STKTask {
|
|
|
}
|
|
|
|
|
|
//客商获取(当天)
|
|
|
- @Scheduled(cron = "0 18 18 * * ?")
|
|
|
+ @Scheduled(cron = "0 38 18 * * ?")
|
|
|
public void queryCustVendDayQuartz(){
|
|
|
log.info("开始获取深投控客商状态信息=========start=============");
|
|
|
Date date = new Date();
|
|
|
@@ -154,13 +154,13 @@ public class STKTask {
|
|
|
|
|
|
int month=start.get(Calendar.MONTH) + 1;
|
|
|
log.info("开始时间:"+start.get(Calendar.YEAR)+"-"+month+"-"+start.get(Calendar.DAY_OF_MONTH)+" 00:00:00");
|
|
|
- log.info("结束时间:"+start.get(Calendar.YEAR)+"-"+month + 1+"-"+start.get(Calendar.DAY_OF_MONTH)+" 23:59:59");
|
|
|
+ log.info("结束时间:"+start.get(Calendar.YEAR)+"-"+month+"-"+start.get(Calendar.DAY_OF_MONTH)+" 23:59:59");
|
|
|
QueryTravellingMerchantDto dto = new QueryTravellingMerchantDto();
|
|
|
dto.setCode(GET_TRAVELLING_MERCHANT);
|
|
|
dto.setPage(1);
|
|
|
dto.setSize(10);
|
|
|
- dto.setStartTime(start.get(Calendar.YEAR)+"-"+month+"-"+start.get(Calendar.DAY_OF_MONTH)+" 00:00:00");
|
|
|
- dto.setEndTime(start.get(Calendar.YEAR)+"-"+month+"-"+start.get(Calendar.DAY_OF_MONTH)+" 23:59:59");
|
|
|
+ dto.setStart_time(start.get(Calendar.YEAR)+"-"+month+"-"+start.get(Calendar.DAY_OF_MONTH)+" 00:00:00");
|
|
|
+ dto.setEnd_time(start.get(Calendar.YEAR)+"-"+month+"-"+start.get(Calendar.DAY_OF_MONTH)+" 23:59:59");
|
|
|
|
|
|
//第一次删除STK_CUSTVEND的数据
|
|
|
stkService.delete();
|