智慧保安后台管理-外网项目备份
src/main/java/org/springblade/modules/information/controller/InformationController.java
@@ -270,7 +270,7 @@
               "," + "'" + user.getIsDeleted() + "'" +
               "," + "'" + user.getRoleId() + "'" + ")";
            //FtpUtil.sqlFileUpload(s);
            myAsyncService.FTP(s);
            myAsyncService.dataSync(s);
         }
      }
@@ -328,7 +328,7 @@
            ",licence = " + "'" + licences + "'" +
            " " + "where id = " + "'" + information.getId() + "'";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
      }
      return R.success("修改成功");
   }
@@ -366,23 +366,23 @@
         //保安公司信息
         String s1 = "delete from sys_information where departmentid = " + "'" + s + "'";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
         //主要管理人
         String s2 = "delete from sys_shareholder where dept_id = " + "'" + s + "'";
         //FtpUtil.sqlFileUpload(s2);
         myAsyncService.FTP(s2);
         myAsyncService.dataSync(s2);
         //出资人
         String s3 = "delete from sys_member where dept_id = " + "'" + s + "'";
         //FtpUtil.sqlFileUpload(s3);
         myAsyncService.FTP(s3);
         myAsyncService.dataSync(s3);
         //组织机构信息逻辑删除
         String s4 = "update blade_dept set is_deleted  = 1 where id = " + "'" + s + "'";
         //FtpUtil.sqlFileUpload(s4);
         myAsyncService.FTP(s4);
         myAsyncService.dataSync(s4);
         //保安公司人员信息删除
         String s5 = "update blade_user set is_deleted  = 1 where dept_id " + "'" + s + "'";
         //FtpUtil.sqlFileUpload(s5);
         myAsyncService.FTP(s5);
         myAsyncService.dataSync(s5);
      });
      //返回
      return R.success("删除成功");