Compare commits

...

2 Commits

Author SHA1 Message Date
caoyizhong 18746eadf9 Merge remote-tracking branch 'origin/dev' into pre-production 10 months ago
caoyizhong b8103e464a 修改工单提交 10 months ago
  1. 16
      blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java

16
blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java

@ -646,15 +646,17 @@ public class AftersalesWorkOrderController extends BladeController {
// throw new ServiceException("二级品类未填!"); // throw new ServiceException("二级品类未填!");
// } // }
} }
try {
aftersalesWorkOrder.setInitiationIdentification("PC"); aftersalesWorkOrder.setInitiationIdentification("PC");
return R.status(aftersalesWorkOrderService.saveOrUpdateOwn(aftersalesWorkOrder)); return R.status(aftersalesWorkOrderService.saveOrUpdateOwn(aftersalesWorkOrder));
}catch (ServiceException s){ // try {
return R.fail(s.getMessage()); //
}catch (Exception e){ // }catch (ServiceException s){
log.error("工单提交异常》》》{}",e.getMessage()); // return R.fail(s.getMessage());
return R.fail("系统异常!!!"); // }
} // catch (Exception e){
// log.error("工单提交异常》》》{}",e.getMessage());
// return R.fail("系统异常!!!");
// }
} }

Loading…
Cancel
Save