| | |
| | | jobOperateDTO.setLoginUserInfo(getLoginUser(token)); |
| | | PlatformJob platformJob = platformJobService.platformOverNumber(jobOperateDTO); |
| | | platformJobService.cancelInPark(platformJob); |
| | | if(Constants.equalsInteger(platformJob.getOrigin(),Constants.ONE) |
| | | if(!Constants.equalsInteger(platformJob.getType(),Constants.FOUR) |
| | | && StringUtils.isNotBlank(platformJob.getBillCode())){ |
| | | //通知WMS绑定月台信息 |
| | | wmsService.orderPlatformBind(platformJob,0); |
| | |
| | | jobOperateDTO.setLoginUserInfo(getLoginUser(token)); |
| | | PlatformJob platformJob = platformJobService.platformOverNumber(jobOperateDTO); |
| | | platformJobService.cancelInPark(platformJob); |
| | | if(!Constants.equalsInteger(platformJob.getType(),Constants.FOUR) |
| | | && StringUtils.isNotBlank(platformJob.getBillCode())){ |
| | | //通知WMS绑定月台信息 |
| | | wmsService.orderPlatformBind(platformJob,0); |
| | | } |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | |
| | | null |
| | | ); |
| | | |
| | | platformJob.setPlatformWmsCode(platform.getCode()); |
| | | return platformJob; |
| | | } |
| | | |
| | |
| | | String url = type == 0?systemDictDataBiz.queryByCode(Constants.WMS_PARAM,Constants.WMS_INBOUND_PLATFROM_URL).getCode(): |
| | | systemDictDataBiz.queryByCode(Constants.WMS_PARAM,Constants.WMS_OUTBOUND_PLATFROM_URL).getCode();; |
| | | String name = type ==0?"【WMS】入库作业单分配月台":"【WMS】出库作业的分配月台"; |
| | | if(optType == 1){ |
| | | if(optType == 0){ |
| | | name = type ==0?"【WMS】入库作业单清空月台":"【WMS】出库作业的清空月台"; |
| | | } |
| | | // int sendSuccess = 0; |