Commit d9220f84 by wangli

修改

1 parent 2e1e9e5d
......@@ -24,7 +24,7 @@ public class DispatchController {
try {
res = dispatchService.getDispatchOrderList(levelType, levelIds, date, groupTagId);
}catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......@@ -36,7 +36,7 @@ public class DispatchController {
try {
res = dispatchService.getDispatchEngineerOrderList(levelType, levelIds, date);
}catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......@@ -48,7 +48,7 @@ public class DispatchController {
try {
res = dispatchService.dispatchOrderConfirm(req.getEngineerCode(), req.getOrderIds());
}catch (BusinessException e){
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......
......@@ -24,7 +24,7 @@ public class OrderServiceDetailController {
try {
res = orderServiceDetail.getOrderServiceDetail(orderId);
} catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......@@ -37,7 +37,7 @@ public class OrderServiceDetailController {
try {
res = orderServiceDetail.getOrderServiceDynamics(orderId);
} catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......
......@@ -21,7 +21,7 @@ public class ProductCategoryController {
try {
res = productCategoryService.getProductCategory();
} catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......
......@@ -25,7 +25,7 @@ public class ScheduleController {
try{
res = scheduleService.getScheduleOverview(page, size, date, levelType, levelIds);
} catch (BusinessException e) {
Result.failed(e.getMessage());
return Result.failed(e.getMessage());
}
return res;
}
......@@ -36,7 +36,7 @@ public class ScheduleController {
try {
res = scheduleService.getScheduleEngineerOverview(date, engineerCode);
} 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!