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