Commit d9220f84 by wangli

修改

1 parent 2e1e9e5d
...@@ -24,7 +24,7 @@ public class DispatchController { ...@@ -24,7 +24,7 @@ public class DispatchController {
try { try {
res = dispatchService.getDispatchOrderList(levelType, levelIds, date, groupTagId); res = dispatchService.getDispatchOrderList(levelType, levelIds, date, groupTagId);
}catch (BusinessException e) { }catch (BusinessException e) {
Result.failed(e.getMessage()); return Result.failed(e.getMessage());
} }
return res; return res;
} }
...@@ -36,7 +36,7 @@ public class DispatchController { ...@@ -36,7 +36,7 @@ public class DispatchController {
try { try {
res = dispatchService.getDispatchEngineerOrderList(levelType, levelIds, date); res = dispatchService.getDispatchEngineerOrderList(levelType, levelIds, date);
}catch (BusinessException e) { }catch (BusinessException e) {
Result.failed(e.getMessage()); return Result.failed(e.getMessage());
} }
return res; return res;
} }
...@@ -48,7 +48,7 @@ public class DispatchController { ...@@ -48,7 +48,7 @@ public class DispatchController {
try { try {
res = dispatchService.dispatchOrderConfirm(req.getEngineerCode(), req.getOrderIds()); res = dispatchService.dispatchOrderConfirm(req.getEngineerCode(), req.getOrderIds());
}catch (BusinessException e){ }catch (BusinessException e){
Result.failed(e.getMessage()); return Result.failed(e.getMessage());
} }
return res; return res;
} }
......
...@@ -24,7 +24,7 @@ public class OrderServiceDetailController { ...@@ -24,7 +24,7 @@ public class OrderServiceDetailController {
try { try {
res = orderServiceDetail.getOrderServiceDetail(orderId); res = orderServiceDetail.getOrderServiceDetail(orderId);
} catch (BusinessException e) { } catch (BusinessException e) {
Result.failed(e.getMessage()); return Result.failed(e.getMessage());
} }
return res; return res;
} }
...@@ -37,7 +37,7 @@ public class OrderServiceDetailController { ...@@ -37,7 +37,7 @@ public class OrderServiceDetailController {
try { try {
res = orderServiceDetail.getOrderServiceDynamics(orderId); res = orderServiceDetail.getOrderServiceDynamics(orderId);
} catch (BusinessException e) { } catch (BusinessException e) {
Result.failed(e.getMessage()); return Result.failed(e.getMessage());
} }
return res; return res;
} }
......
...@@ -21,7 +21,7 @@ public class ProductCategoryController { ...@@ -21,7 +21,7 @@ public class ProductCategoryController {
try { try {
res = productCategoryService.getProductCategory(); res = productCategoryService.getProductCategory();
} catch (BusinessException e) { } catch (BusinessException e) {
Result.failed(e.getMessage()); return Result.failed(e.getMessage());
} }
return res; return res;
} }
......
...@@ -25,7 +25,7 @@ public class ScheduleController { ...@@ -25,7 +25,7 @@ public class ScheduleController {
try{ try{
res = scheduleService.getScheduleOverview(page, size, date, levelType, levelIds); res = scheduleService.getScheduleOverview(page, size, date, levelType, levelIds);
} catch (BusinessException e) { } catch (BusinessException e) {
Result.failed(e.getMessage()); return Result.failed(e.getMessage());
} }
return res; return res;
} }
...@@ -36,7 +36,7 @@ public class ScheduleController { ...@@ -36,7 +36,7 @@ public class ScheduleController {
try { try {
res = scheduleService.getScheduleEngineerOverview(date, engineerCode); res = scheduleService.getScheduleEngineerOverview(date, engineerCode);
} catch (BusinessException e) { } catch (BusinessException e) {
Result.failed(e.getMessage()); return Result.failed(e.getMessage());
} }
return res; return res;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!