Commit 3d3f53bc by xueli.xue

泛型处理

parent 7e388909
...@@ -26,7 +26,7 @@ public class AdminBizImpl implements AdminBiz { ...@@ -26,7 +26,7 @@ public class AdminBizImpl implements AdminBiz {
// valid log item // valid log item
XxlJobLog log = XxlJobDynamicScheduler.xxlJobLogDao.load(handleCallbackParam.getLogId()); XxlJobLog log = XxlJobDynamicScheduler.xxlJobLogDao.load(handleCallbackParam.getLogId());
if (log == null) { if (log == null) {
return new ReturnT(ReturnT.FAIL_CODE, "log item not found."); return new ReturnT<String>(ReturnT.FAIL_CODE, "log item not found.");
} }
// trigger success, to trigger child job, and avoid repeat trigger child job // trigger success, to trigger child job, and avoid repeat trigger child job
...@@ -81,7 +81,7 @@ public class AdminBizImpl implements AdminBiz { ...@@ -81,7 +81,7 @@ public class AdminBizImpl implements AdminBiz {
log.setHandleMsg(handleMsg.toString()); log.setHandleMsg(handleMsg.toString());
XxlJobDynamicScheduler.xxlJobLogDao.updateHandleInfo(log); XxlJobDynamicScheduler.xxlJobLogDao.updateHandleInfo(log);
return new ReturnT(ReturnT.SUCCESS_CODE, null); return new ReturnT<String>(ReturnT.SUCCESS_CODE, null);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment