|
|
|
@ -222,4 +222,17 @@ public class DirectoryController extends BaseController<DirectoryService, Direct |
|
|
|
|
current.setPermisChild(target.getPermisChild());*/ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 目录整编体检批量删除功能 |
|
|
|
|
* @param ids |
|
|
|
|
* add 2024/04/11 xiongcl |
|
|
|
|
*/ |
|
|
|
|
@DeleteMapping("batch/delete/{ids}") |
|
|
|
|
public Result<Object> batchDelete(@PathVariable("ids") String ids) { |
|
|
|
|
Arrays.stream(ids.split(",")).forEach(dir -> { |
|
|
|
|
commonService.deleteById(dir); |
|
|
|
|
System.out.println(dir); |
|
|
|
|
}); |
|
|
|
|
return Result.of("删除成功"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|