| | |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @RequestMapping("/productOrder") |
| | | @RestController |
| | |
| | | public R delete(@PathVariable("ids") Long[] ids) { |
| | | return R.ok(productOrderService.delete(ids)); |
| | | } |
| | | |
| | | @PatchMapping("/{id}") |
| | | public R finishOrder(@PathVariable Long id) { |
| | | return R.ok(productOrderService.finishOrder(id)); |
| | | } |
| | | |
| | | @ApiOperation("更新生产订单的清场记录") |
| | | @PatchMapping("/cleanRecord/{id}") |
| | | public R cleanRecord(@PathVariable Long id, @RequestBody Map<String, Object> cleanRecord) { |
| | | return R.ok(productOrderService.cleanRecord(id, cleanRecord)); |
| | | } |
| | | } |