智慧保安后台管理-外网项目备份
src/main/java/org/springblade/modules/system/controller/DeptController.java
@@ -280,7 +280,7 @@
                  + ",is_deleted = " + "'" + dept.getIsDeleted() + "'"
                  + " " + "where id = " + "'" + dept.getId() + "'";
            //FtpUtil.sqlFileUpload(s1);
            myAsyncService.FTP(s1);
            myAsyncService.dataSync(s1);
         }
//         String id = kv.get("id").toString();
//         information.setDepartmentid(id);
@@ -312,7 +312,7 @@
         //内网同步
         String s1 = "update blade_dept set is_deleted = 1 where id = " + "'" + id + "'";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
      });
      return R.status(deptService.removeDept(ids));
   }