|
|
@ -173,10 +173,6 @@ public class XxlJobServiceImpl implements XxlJobService {
|
|
|
|
return new ReturnT<String>(ReturnT.FAIL_CODE,
|
|
|
|
return new ReturnT<String>(ReturnT.FAIL_CODE,
|
|
|
|
MessageFormat.format((I18nUtil.getString("jobinfo_field_childJobId")+"({0})"+I18nUtil.getString("system_not_found")), childJobIdItem));
|
|
|
|
MessageFormat.format((I18nUtil.getString("jobinfo_field_childJobId")+"({0})"+I18nUtil.getString("system_not_found")), childJobIdItem));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// avoid cycle relate
|
|
|
|
|
|
|
|
if (childJobInfo.getId() == jobInfo.getId()) {
|
|
|
|
|
|
|
|
return new ReturnT<String>(ReturnT.FAIL_CODE, MessageFormat.format(I18nUtil.getString("jobinfo_field_childJobId_limit"), childJobIdItem));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return new ReturnT<String>(ReturnT.FAIL_CODE,
|
|
|
|
return new ReturnT<String>(ReturnT.FAIL_CODE,
|
|
|
|
MessageFormat.format((I18nUtil.getString("jobinfo_field_childJobId")+"({0})"+I18nUtil.getString("system_unvalid")), childJobIdItem));
|
|
|
|
MessageFormat.format((I18nUtil.getString("jobinfo_field_childJobId")+"({0})"+I18nUtil.getString("system_unvalid")), childJobIdItem));
|
|
|
|