iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/MdkApiImpl.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/MdkApiImpl.java
@@ -251,6 +251,12 @@ MdkScheduleRespDTO resp = new MdkScheduleRespDTO(); resp.setScheduleCode(reqDTO.getScheduleCode()); resp.setScheduleTime(reqDTO.getScheduleTime()); if (reqDTO.getScheduleTime() == null) { Calendar calendar = Calendar.getInstance(); calendar.set(Calendar.MILLISECOND, 0); calendar.set(Calendar.SECOND, 0); resp.setScheduleTime(calendar.getTime()); } String catchKey = "ScheduleResult:" + reqDTO.getScheduleCode(); try { if (redisTemplate.hasKey(catchKey)) {