From aacc285b017c9cb2e0d04b4ab825fb8f6faf286f Mon Sep 17 00:00:00 2001 From: caoyizhong <1270296080> Date: Fri, 19 Jan 2024 17:27:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=A5=E5=8D=95=E5=8F=B7?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AftersalesWorkOrderController.java | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) 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("系统异常!!!"); + } }