|  |  | 
 |  |  |     private WmsService wmsService; | 
 |  |  |  | 
 |  |  |     @PreventRepeat | 
 |  |  |     @ApiOperation("【CMS】推送入库单通知任务") | 
 |  |  |     @ApiOperation("【WMS】推送入库单通知任务") | 
 |  |  |     @PostMapping("/push/inboundNotice") | 
 |  |  |     public WmsBaseResponse inboundNotice(@RequestBody WmsBaseRequest<WmsInboundNoticeRequest> param) { | 
 |  |  |  | 
 |  |  | 
 |  |  |         try { | 
 |  |  |              result = wmsService.inboundNotice(param); | 
 |  |  |         }catch (BusinessException e){ | 
 |  |  |             log.error("【CMS】推送入库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             log.error("【WMS】推送入库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             success = Constants.ONE; | 
 |  |  |         }catch (Exception e){ | 
 |  |  |             log.error("【CMS】推送入库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             log.error("【WMS】推送入库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             e.printStackTrace(); | 
 |  |  |             success = Constants.ONE; | 
 |  |  |         }finally { | 
 |  |  |             wmsService.saveInterfaceLog("/wms/push/inboundNotice", "推送入库单通知任务",JSONObject.toJSONString(param), | 
 |  |  |                     success, JSONObject.toJSONString(result),Constants.ONE); | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         return result; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @PreventRepeat | 
 |  |  |     @ApiOperation("【CMS】推送出库单通知任务") | 
 |  |  |     @ApiOperation("【WMS】推送出库单通知任务") | 
 |  |  |     @PostMapping("/push/outboundNotice") | 
 |  |  |     public WmsBaseResponse outboundNotice(@RequestBody WmsBaseRequest<WmsOutboundNoticeRequest> param) { | 
 |  |  |         int success = Constants.ZERO; | 
 |  |  | 
 |  |  |         try { | 
 |  |  |               result = wmsService.outboundNotice(param); | 
 |  |  |         }catch (BusinessException e){ | 
 |  |  |             log.error("【CMS】推送出库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             log.error("【WMS】推送出库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             success = Constants.ONE; | 
 |  |  |         }catch (Exception e){ | 
 |  |  |             log.error("【CMS】推送出库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             log.error("【WMS】推送出库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             e.printStackTrace(); | 
 |  |  |             success = Constants.ONE; | 
 |  |  |         }finally { | 
 |  |  | 
 |  |  |         return result; | 
 |  |  |     } | 
 |  |  |     @PreventRepeat | 
 |  |  |     @ApiOperation("【CMS】推送取消入库单通知任务") | 
 |  |  |     @ApiOperation("【WMS】推送取消入库单通知任务") | 
 |  |  |     @PostMapping("/push/cancelInbound") | 
 |  |  |     public WmsBaseResponse cancelInbound(@RequestBody WmsBaseRequest<WmsActionNoticeRequest> param) { | 
 |  |  |         int success = Constants.ZERO; | 
 |  |  | 
 |  |  |         try { | 
 |  |  |             result = wmsService.cancelInbound(param); | 
 |  |  |         }catch (BusinessException e){ | 
 |  |  |             log.error("【CMS】推送取消入库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             log.error("【WMS】推送取消入库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             success = Constants.ONE; | 
 |  |  |         }catch (Exception e){ | 
 |  |  |             log.error("【CMS】推送取消入库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             log.error("【WMS】推送取消入库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             e.printStackTrace(); | 
 |  |  |             success = Constants.ONE; | 
 |  |  |         }finally { | 
 |  |  | 
 |  |  |         return result; | 
 |  |  |     } | 
 |  |  |     @PreventRepeat | 
 |  |  |     @ApiOperation("【CMS】推送取消出库单通知任务") | 
 |  |  |     @ApiOperation("【WMS】推送取消出库单通知任务") | 
 |  |  |     @PostMapping("/push/cancelOutbound") | 
 |  |  |     public WmsBaseResponse cancelOutbound(@RequestBody WmsBaseRequest<WmsActionNoticeRequest> param) { | 
 |  |  |         int success = Constants.ZERO; | 
 |  |  | 
 |  |  |         try { | 
 |  |  |             result = wmsService.cancelOutbound(param); | 
 |  |  |         }catch (BusinessException e){ | 
 |  |  |             log.error("【CMS】推送取消出库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             log.error("【WMS】推送取消出库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             success = Constants.ONE; | 
 |  |  |         }catch (Exception e){ | 
 |  |  |             log.error("【CMS】推送取消出库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             log.error("【WMS】推送取消出库单通知任务===失败:"+e.getMessage()); | 
 |  |  |             e.printStackTrace(); | 
 |  |  |             success = Constants.ONE; | 
 |  |  |         }finally { | 
 |  |  | 
 |  |  |         return result; | 
 |  |  |     } | 
 |  |  |     @PreventRepeat | 
 |  |  |     @ApiOperation("【CMS】推送出入库作业完成通知任务") | 
 |  |  |     @ApiOperation("【WMS】推送出入库作业完成通知任务") | 
 |  |  |     @PostMapping("/push/doneTask") | 
 |  |  |     public WmsBaseResponse doneTask(@RequestBody WmsBaseRequest<WmsActionNoticeRequest> param) { | 
 |  |  |         int success = Constants.ZERO; | 
 |  |  | 
 |  |  |         try { | 
 |  |  |             result = wmsService.doneTask(param); | 
 |  |  |         }catch (BusinessException e){ | 
 |  |  |             log.error("【CMS】推送出入库作业完成通知任务===失败:"+e.getMessage()); | 
 |  |  |             log.error("【WMS】推送出入库作业完成通知任务===失败:"+e.getMessage()); | 
 |  |  |             success = Constants.ONE; | 
 |  |  |         }catch (Exception e){ | 
 |  |  |             log.error("【CMS】推送出入库作业完成通知任务===失败:"+e.getMessage()); | 
 |  |  |             log.error("【WMS】推送出入库作业完成通知任务===失败:"+e.getMessage()); | 
 |  |  |             e.printStackTrace(); | 
 |  |  |             success = Constants.ONE; | 
 |  |  |         }finally { |