|
|
|
|
44
|
|
44
|
|
45
|
// trigger success, to trigger child job, and avoid repeat trigger child job
|
45
|
// trigger success, to trigger child job, and avoid repeat trigger child job
|
46
|
String childTriggerMsg = null;
|
46
|
String childTriggerMsg = null;
|
47
|
- if (!ResponseModel.SUCCESS.equals(log.getHandleStatus())) {
|
|
|
|
|
47
|
+ if (ResponseModel.SUCCESS.equals(requestModel.getStatus()) && !ResponseModel.SUCCESS.equals(log.getHandleStatus())) {
|
48
|
XxlJobInfo xxlJobInfo = DynamicSchedulerUtil.xxlJobInfoDao.load(log.getJobGroup(), log.getJobName());
|
48
|
XxlJobInfo xxlJobInfo = DynamicSchedulerUtil.xxlJobInfoDao.load(log.getJobGroup(), log.getJobName());
|
49
|
if (xxlJobInfo!=null && StringUtils.isNotBlank(xxlJobInfo.getChildJobKey())) {
|
49
|
if (xxlJobInfo!=null && StringUtils.isNotBlank(xxlJobInfo.getChildJobKey())) {
|
50
|
childTriggerMsg = "<hr>";
|
50
|
childTriggerMsg = "<hr>";
|