From 81182562d3328ff9b722e807d07277478c7690bb Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 18 九月 2023 15:08:02 +0800
Subject: [PATCH] 休bug
---
server/platform/src/main/java/com/doumee/api/business/BaseGoodsController.java | 31 +++++++++++++++----------------
1 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/server/platform/src/main/java/com/doumee/api/business/BaseGoodsController.java b/server/platform/src/main/java/com/doumee/api/business/BaseGoodsController.java
index 8a39e8e..ddf51c0 100644
--- a/server/platform/src/main/java/com/doumee/api/business/BaseGoodsController.java
+++ b/server/platform/src/main/java/com/doumee/api/business/BaseGoodsController.java
@@ -95,29 +95,28 @@
/**
* 涓婚敭涓婁笅鏋�
*
- * @param idList 瀹炰綋瀵硅薄
*/
@ApiOperation("鏍规嵁ID鏌ヨ")
- @PostMapping("/{status}")
+ @PostMapping("/updateStatus")
@RequiresPermissions("business:basegoods:query")
- public ApiResponse updateStatusByIds(@RequestBody List<Integer> idList, @PathVariable Integer status){
- baseGoodsService.updateStatusByIds(idList,status);
+ public ApiResponse updateStatusByIds(@RequestBody BaseGoods param ){
+ baseGoodsService.updateStatusByIds(param);
return ApiResponse.success(null);
}
- /**
- * 涓婚敭涓婁笅鏋�
- *
- * @param id 瀹炰綋瀵硅薄
- */
- @ApiOperation("鏍规嵁ID鏌ヨ")
- @GetMapping("/updateStatusById")
- @RequiresPermissions("business:basegoods:query")
- public ApiResponse updateStatusById(@RequestParam Integer id,@RequestParam Integer status){
- baseGoodsService.updateStatusById(id,status);
- return ApiResponse.success(null);
- }
+// /**
+// * 涓婚敭涓婁笅鏋�
+// *
+// * @param id 瀹炰綋瀵硅薄
+// */
+// @ApiOperation("涓婃灦 銆佷笅鏋�")
+// @GetMapping("/updateStatusById")
+// @RequiresPermissions("business:basegoods:update")
+// public ApiResponse updateStatusById(@RequestParam Integer id,@RequestParam Integer status){
+// baseGoodsService.updateStatusById(id,status);
+// return ApiResponse.success(null);
+// }
/**
* 涓婚敭鏌ヨ
--
Gitblit v1.9.3