|
|
|
@ -107,16 +107,14 @@ public class AdminBizImpl implements AdminBiz { |
|
|
|
|
handleMsg.append(callbackMsg); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (handleMsg.length() > 15000) { |
|
|
|
|
handleMsg = new StringBuffer(handleMsg.substring(0, 15000)); // text最大64kb 避免长度过长
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// success, save log
|
|
|
|
|
log.setHandleTime(new Date()); |
|
|
|
|
log.setHandleCode(handleCallbackParam.getExecuteResult().getCode()); |
|
|
|
|
|
|
|
|
|
if (handleMsg.length() > 15000) { // text最大64kb 避免长度过长
|
|
|
|
|
log.setHandleMsg(handleMsg.substring(0, 15000)); |
|
|
|
|
} else { |
|
|
|
|
log.setHandleMsg(handleMsg.toString()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
log.setHandleMsg(handleMsg.toString()); |
|
|
|
|
xxlJobLogDao.updateHandleInfo(log); |
|
|
|
|
|
|
|
|
|
return ReturnT.SUCCESS; |
|
|
|
|