Commit eeda320f by wangli

修改

1 parent f51bea85
......@@ -22,7 +22,7 @@ public class EngineerController {
try {
res = engineerService.getEngineerInfoList(page, size);
} catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......@@ -34,7 +34,7 @@ public class EngineerController {
try {
res = engineerService.getEngineerInfoDetail(engineerCode);
} catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......@@ -46,7 +46,7 @@ public class EngineerController {
try {
res = engineerService.getEngineerSkillList(page, size);
} catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......@@ -58,7 +58,7 @@ public class EngineerController {
try {
res = engineerService.getEngineerSkillDetail(engineerCode);
} catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......@@ -69,7 +69,7 @@ public class EngineerController {
try {
engineerService.engineerSkillUpdate(req.getEngineerCode(), req.getCategoryIds());
} catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return Result.success(null);
}
......@@ -81,7 +81,7 @@ public class EngineerController {
try {
res = engineerService.getEngineerBusinessList(page, size);
} catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......@@ -93,7 +93,7 @@ public class EngineerController {
try {
res = engineerService.getEngineerBusinessDetail(engineerCode);
} catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......@@ -107,7 +107,7 @@ public class EngineerController {
req.getEngineerCode(), req.getMaxNum(), req.getMaxMinute(),
req.getDeparture(), req.getPriority());
} catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!