| | |
| | | } |
| | | |
| | | /** |
| | | * 新增生产工单 |
| | | * 生成按钮 |
| | | */ |
| | | @PostMapping("/orderSchedulingForBoxCode") |
| | | public AjaxResult addOrderSchedulingForBoxCode(@RequestBody OmProductionOrdeInfo omProductionOrdeInfo) |
| | |
| | | bsOrderScheduling.setOperator(getUserName()); |
| | | bsOrderScheduling.setOperateTime(fomateDate); |
| | | bsOrderScheduling.setProductType(omProductionOrdeInfo.getTypeL());//产品类型 |
| | | bsOrderScheduling.setWhetherOrPrint("0"); |
| | | bsOrderSchedulingService.insertBsOrderScheduling(bsOrderScheduling); |
| | | startCode++; |
| | | } |
| | |
| | | } catch (Exception e) { |
| | | return error("接收失败!请检查通知单号"); |
| | | } |
| | | }else { |
| | | return warn("该通知单已经接收完毕,不能重复接收!"); |
| | | } |
| | | return warn("该订单已接收完毕,不能重复接收!"); |
| | | return AjaxResult.success("接收成功!"); |
| | | } |
| | | } |