| | |
| | | return success(new PageResult<>(buildBagCodeRespVOList(pageResult.getList()), pageResult.getTotal())); |
| | | } |
| | | |
| | | @GetMapping("/unbound-ton-bags") |
| | | @Operation(summary = "获得可绑定生产批次的吨袋") |
| | | @PreAuthorize("@ss.hasAnyPermissions('mes:pro-batch:create', 'mes:pro-batch:update', 'mes:pro-bag-code:query')") |
| | | public CommonResult<List<MesProBagCodeRespVO>> getUnboundTonBags() { |
| | | return success(buildBagCodeRespVOList(bagCodeService.getUnboundTonBags())); |
| | | } |
| | | |
| | | @GetMapping("/list-by-uuid") |
| | | @Operation(summary = "获得生成组的袋码列表") |
| | | @Parameter(name = "uuid", description = "生成组 UUID", required = true) |