【fix sonar】SysDepartController文件
This commit is contained in:
-1
@@ -248,7 +248,6 @@ public class SysDepartController {
|
|||||||
// @RequestMapping(value = "/deleteBatch", method = RequestMethod.DELETE)
|
// @RequestMapping(value = "/deleteBatch", method = RequestMethod.DELETE)
|
||||||
@PostMapping("/deleteBatch")
|
@PostMapping("/deleteBatch")
|
||||||
@CacheEvict(value= {CacheConstant.SYS_DEPARTS_CACHE,CacheConstant.SYS_DEPART_IDS_CACHE}, allEntries=true)
|
@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) {
|
public Result<Object> deleteBatch(@RequestBody Map<String,String> map) {
|
||||||
String ids = map.get("ids");
|
String ids = map.get("ids");
|
||||||
if (ids == null || "".equals(ids.trim())) {
|
if (ids == null || "".equals(ids.trim())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user