| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(value = "订单id", name = "id", required = true, dataType = "String"), |
| | | }) |
| | | @GetMapping("/writeOff/{id}/{shopId}") |
| | | public R<Void> writeOff(@PathVariable("id") String id, @PathVariable("shopId") Integer shopId){ |
| | | orderService.writeOff(id, shopId); |
| | | @GetMapping("/writeOff/{id}/{shopId}/{technicianId}") |
| | | public R<Void> writeOff(@PathVariable("id") String id, @PathVariable("shopId") Integer shopId, @PathVariable("technicianId") Integer technicianId){ |
| | | orderService.writeOff(id, shopId, technicianId); |
| | | return R.ok(); |
| | | } |
| | | |
| | |
| | | @PostMapping("/confirmDelivery") |
| | | @ApiOperation(value = "已发货操作", tags = {"管理后台-订单管理"}) |
| | | public R confirmDelivery(@RequestBody ConfirmDelivery confirmDelivery){ |
| | | return orderService.confirmDelivery(confirmDelivery.getOrderId(), confirmDelivery.getCode()); |
| | | return orderService.confirmDelivery(confirmDelivery); |
| | | } |
| | | |
| | | |