diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java index 6dd28457b..b639fd923 100644 --- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java +++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java @@ -646,17 +646,15 @@ public class AftersalesWorkOrderController extends BladeController { // throw new ServiceException("二级品类未填!"); // } } - aftersalesWorkOrder.setInitiationIdentification("PC"); - return R.status(aftersalesWorkOrderService.saveOrUpdateOwn(aftersalesWorkOrder)); -// try { -// -// }catch (ServiceException s){ -// return R.fail(s.getMessage()); -// } -// catch (Exception e){ -// log.error("工单提交异常》》》{}",e.getMessage()); -// return R.fail("系统异常!!!"); -// } + try { + aftersalesWorkOrder.setInitiationIdentification("PC"); + return R.status(aftersalesWorkOrderService.saveOrUpdateOwn(aftersalesWorkOrder)); + }catch (ServiceException s){ + return R.fail(s.getMessage()); + } catch (Exception e){ + log.error("工单提交异常》》》{}",e.getMessage()); + return R.fail("系统异常!!!"); + } }