liu
10 小时以前 66517edf1de22c8203daa256abffddae43bae704
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/pallet/MesProPalletController.java
@@ -163,6 +163,16 @@
        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')")