| | |
| | | XxlJobLogger.log("historyMinutelyException:" + e.getMessage()); |
| | | logger.error(e.getMessage()); |
| | | e.printStackTrace(); |
| | | ReturnT returnT = new ReturnT(500, e.getMessage()); |
| | | return returnT; |
| | | } |
| | | ReturnT returnT = new ReturnT(500, "插入分钟表失败"); |
| | | return returnT; |
| | |
| | | String s1=format.format(date1); |
| | | Map<String, Object> devices = new HashMap<>(); |
| | | devices.put("macList", macList); |
| | | devices.put("startTime", s); |
| | | devices.put("endTime", s1); |
| | | devices.put("startTime", s1); |
| | | devices.put("endTime", s); |
| | | try { |
| | | int count = historyService.insertHistorySpecialTable(devices); |
| | | XxlJobLogger.log("insertHistorySpecialTable:" + count); |