src/main/java/org/springblade/modules/system/controller/DeptController.java
@@ -257,13 +257,6 @@ @ApiOperation(value = "删除", notes = "传入ids") public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { CacheUtil.clear(SYS_CACHE); List<String> list = Arrays.asList(ids.split(",")); list.forEach(id -> { //内网同步 String s1 = "update blade_dept set is_deleted = 1 where id = " + "'" + id + "'"; //FtpUtil.sqlFileUpload(s1); myAsyncService.dataSync(s1); }); return R.status(deptService.removeDept(ids)); }