| | |
| | | return success(buildPalletRespVOList(list)); |
| | | } |
| | | |
| | | @GetMapping("/bindable-list") |
| | | @Operation(summary = "获得袋码绑定托盘时可选的目标托盘列表(临时托盘 + 正式托盘,排除已作废)") |
| | | @Parameter(name = "itemId", description = "袋码品种编号(可选,用于过滤非同品种托盘)", example = "1024") |
| | | @PreAuthorize("@ss.hasPermission('mes:pro-pallet:query')") |
| | | public CommonResult<List<MesProPalletRespVO>> getBindablePalletList( |
| | | @RequestParam(value = "itemId", required = false) Long itemId) { |
| | | List<MesProPalletDO> list = palletService.getBindablePalletList(itemId); |
| | | return success(buildPalletRespVOList(list)); |
| | | } |
| | | |
| | | @GetMapping("/export-excel") |
| | | @Operation(summary = "导出托盘码 Excel") |
| | | @PreAuthorize("@ss.hasPermission('mes:pro-pallet:export')") |