pull/32/head
杨华明 4 years ago
parent c753907060
commit 039bd7f203

@ -121,7 +121,7 @@ public class JobLogController {
public String logDetailPage(int id, Model model){ public String logDetailPage(int id, Model model){
// base check // base check
ReturnT<String> logStatue = ReturnT.SUCCESS; //ReturnT<String> logStatue = ReturnT.SUCCESS;
XxlJobLog jobLog = xxlJobLogDao.load(id); XxlJobLog jobLog = xxlJobLogDao.load(id);
if (jobLog == null) { if (jobLog == null) {
throw new RuntimeException(I18nUtil.getString("joblog_logid_unvalid")); throw new RuntimeException(I18nUtil.getString("joblog_logid_unvalid"));

@ -89,7 +89,7 @@ public class XxlJobCompleter {
private static boolean isNumeric(String str){ private static boolean isNumeric(String str){
try { try {
int result = Integer.valueOf(str); Integer.valueOf(str);
return true; return true;
} catch (NumberFormatException e) { } catch (NumberFormatException e) {
return false; return false;

Loading…
Cancel
Save