批量删除

ays
An Yong Shuai 2024-06-26 15:24:45 +08:00
parent dcdf51f4e2
commit 42ca5f147d
1 changed files with 11 additions and 0 deletions

View File

@ -34,4 +34,15 @@ public class PlaceController {
Map<String, Object> stringObjectMap = placeService.showPlacePage(placeRequest); Map<String, Object> stringObjectMap = placeService.showPlacePage(placeRequest);
return Result.success(stringObjectMap); return Result.success(stringObjectMap);
} }
/**
*
* @param ids
* @return
*/
@PostMapping("/delAdd")
public Result delAll(@RequestBody List<Long> ids){
boolean b = placeService.removeBatchByIds(ids);
return Result.success(b);
}
} }