| | |
| | | // 设置当前时间的前一天 |
| | | callTaskStatistic.setCreateTime(new SimpleDateFormat("yyyy-MM-dd").format(new Date(l - 60*60*24*1000))); |
| | | } |
| | | if (null==callTaskStatistic.getStartTime() || callTaskStatistic.getStartTime().equals("")){ |
| | | long l = System.currentTimeMillis(); |
| | | String format = new SimpleDateFormat("yyyy-MM-dd").format(new Date(l - 60 * 60 * 24 * 1000)); |
| | | // 设置当前时间的前一天 |
| | | callTaskStatistic.setStartTime(format); |
| | | callTaskStatistic.setEndTime(format); |
| | | } |
| | | ThreadPoolExecutor executor = myThreadPoolConfig.threadPoolExecutor(); |
| | | callTaskStatistic.setIsPage(1); |
| | | // 异步查询当前天日常呼叫(3次)统计数据 |