批量删除
parent
dcdf51f4e2
commit
42ca5f147d
|
@ -34,4 +34,15 @@ public class PlaceController {
|
|||
Map<String, Object> stringObjectMap = placeService.showPlacePage(placeRequest);
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue