|  |  |  | 
|---|
|  |  |  | flowerService.editFlowerStock(dto); | 
|---|
|  |  |  | return returnData(R.SUCCESS.getCode(), null); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping("/list/delete/batch") | 
|---|
|  |  |  | @ApiOperation(value = "商品批量删除") | 
|---|
|  |  |  | @ApiImplicitParams({ | 
|---|
|  |  |  | @ApiImplicitParam(name = "id", value = "商品ids", required = true, dataType = "Long", paramType = "query") | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | public ResponseEntity<ReturnDataDTO<?>> deleteFlowerBatch(@RequestBody FlowerBatchDTO dto) { | 
|---|
|  |  |  | flowerService.deleteFlowerBatch(dto); | 
|---|
|  |  |  | return returnData(R.SUCCESS.getCode(), null); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping("/list/restore/batch") | 
|---|
|  |  |  | @ApiOperation(value = "商品批量恢复") | 
|---|
|  |  |  | @ApiImplicitParams({ | 
|---|
|  |  |  | @ApiImplicitParam(name = "id", value = "商品ids", required = true, dataType = "Long", paramType = "query") | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | public ResponseEntity<ReturnDataDTO<?>> restoreFlowerBatch(@RequestBody FlowerBatchDTO dto) { | 
|---|
|  |  |  | flowerService.restoreFlowerBatch(dto); | 
|---|
|  |  |  | return returnData(R.SUCCESS.getCode(), null); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|