| | |
| | | throw new ServiceException(Constants.Code_500,Constants.Code_msg); |
| | | } |
| | | } |
| | | @ApiOperation("其他系统传输订单保存") |
| | | @PostMapping("/saveOtherSystemOrder") |
| | | public Result saveOtherSystemOrder(@RequestBody Map<String, Object> orderMap) throws Exception { |
| | | if(orderService.saveOrder(orderMap)) { |
| | | return Result.seccess(true); |
| | | }else{ |
| | | throw new ServiceException(Constants.Code_500,Constants.Code_msg); |
| | | } |
| | | } |
| | | |
| | | @ApiOperation("订单表头保存") |
| | | @PostMapping("/saveOrderTitle") |
| | |
| | | return Result.seccess(orderService.updateOrderPrintNumber(orderId)); |
| | | } |
| | | |
| | | @ApiOperation("修改订单号") |
| | | @SaCheckPermission("createOrder.amountReset") |
| | | @PostMapping("/updateOrderId") |
| | | public Result updateOrderId(@RequestBody Map<String,Object> map) { |
| | | return Result.seccess(orderService.updateOrderId(map)); |
| | | } |
| | | |
| | | @ApiOperation("订单反审是否存在手动大小片") |
| | | @PostMapping("/selectDifferentSize/{orderId}") |
| | | public Result selectDifferentSize(@PathVariable String orderId) { |
| | | return Result.seccess(orderService.selectDifferentSize(orderId)); |
| | | } |
| | | |
| | | |
| | | } |