【fix sonar】SysDepartController文件

This commit is contained in:
梁琦涛
2023-03-16 11:32:52 +08:00
parent c175e33a15
commit 0bd467d215
@@ -248,7 +248,6 @@ public class SysDepartController {
// @RequestMapping(value = "/deleteBatch", method = RequestMethod.DELETE)
@PostMapping("/deleteBatch")
@CacheEvict(value= {CacheConstant.SYS_DEPARTS_CACHE,CacheConstant.SYS_DEPART_IDS_CACHE}, allEntries=true)
// public Result<Object> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
public Result<Object> deleteBatch(@RequestBody Map<String,String> map) {
String ids = map.get("ids");
if (ids == null || "".equals(ids.trim())) {