skyouc
2025-04-07 b7b61c2c50feb0f8867c898d91bfb128045d7b71
rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/AsnOrderController.java
@@ -190,4 +190,19 @@
        }
        return R.ok(asnOrderService.batchUpdate(params, getLoginUserId()));
    }
    @ApiOperation("一键收货")
    @PostMapping("/asnOrder/complete/{id}")
    @PreAuthorize("hasAuthority('manager:asnOrder:update')")
    public R completeOrder(@PathVariable Long id) {
        if (Objects.isNull(id)) {
            return R.error("参数不能为空!!");
        }
        return asnOrderService.completeOrder(id, getLoginUserId());
    }
}