Browse Source

修改工单号判断

dev-pushdata-important
caoyizhong 1 year ago
parent
commit
aacc285b01
  1. 20
      blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java

20
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("系统异常!!!");
}
}

Loading…
Cancel
Save