Selaa lähdekoodia

update document

xuxueli 5 vuotta sitten
vanhempi
commit
71fe908b29

+ 1 - 5
xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java Näytä tiedosto

@@ -106,8 +106,6 @@ public class XxlJobServiceImpl implements XxlJobService {
106 106
 							MessageFormat.format((I18nUtil.getString("jobinfo_field_childJobId")+"({0})"+I18nUtil.getString("system_unvalid")), childJobIdItem));
107 107
 				}
108 108
 			}
109
-
110
-			jobInfo.setChildJobId(childJobId);
111 109
 		}
112 110
 
113 111
 		// add in db
@@ -164,8 +162,6 @@ public class XxlJobServiceImpl implements XxlJobService {
164 162
 							MessageFormat.format((I18nUtil.getString("jobinfo_field_childJobId")+"({0})"+I18nUtil.getString("system_unvalid")), childJobIdItem));
165 163
 				}
166 164
 			}
167
-
168
-			jobInfo.setChildJobId(childJobId);
169 165
 		}
170 166
 
171 167
 		// group valid
@@ -206,7 +202,7 @@ public class XxlJobServiceImpl implements XxlJobService {
206 202
 		exists_jobInfo.setExecutorBlockStrategy(jobInfo.getExecutorBlockStrategy());
207 203
 		exists_jobInfo.setExecutorTimeout(jobInfo.getExecutorTimeout());
208 204
 		exists_jobInfo.setExecutorFailRetryCount(jobInfo.getExecutorFailRetryCount());
209
-		exists_jobInfo.setChildJobId(childJobId);
205
+		exists_jobInfo.setChildJobId(jobInfo.getChildJobId());
210 206
 		exists_jobInfo.setTriggerNextTime(nextTriggerTime);
211 207
         xxlJobInfoDao.update(exists_jobInfo);
212 208