|
@@ -280,10 +280,13 @@ public class XxlJobService {
|
|
|
return null;
|
|
|
}
|
|
|
PlanErrorMsg planErrorMsg = JSONObject.parseObject(publishPlan.getErrorMsg(), PlanErrorMsg.class);
|
|
|
+ String dateStr = DateUtils.getCurrentDateStr("yyyy-MM-dd");
|
|
|
if (planErrorMsg == null) {
|
|
|
return null;
|
|
|
} else if (CollectionUtil.isEmpty(planErrorMsg.getErrorMsgDetails())) {
|
|
|
return null;
|
|
|
+ } else if (!dateStr.equals(planErrorMsg.getDate())) {
|
|
|
+ return null;
|
|
|
}
|
|
|
Iterator<PlanErrorMsgDetail> iterator = planErrorMsg.getErrorMsgDetails().iterator();
|
|
|
while (iterator.hasNext()) {
|