From 0146a1483a3368f75daa6eb03aa42c714943e6b2 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期三, 17 九月 2025 14:11:28 +0800 Subject: [PATCH] Merge branch 'feature_asset' --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AssetTypeController.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AssetTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AssetTypeController.java index 59df24a..6d6c444 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AssetTypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AssetTypeController.java @@ -65,6 +65,13 @@ assetTypeService.deleteAssetType(id); return R.ok(); } + + @ApiOperation("批量删除资产类型") + @PostMapping("/batch-delete") + public R<Void> batchDeleteAssetType(@RequestBody List<Integer> ids) { + assetTypeService.batchDeleteAssetType(ids); + return R.ok(); + } } -- Gitblit v1.7.1