智慧保安后台管理-外网项目备份
zhongrj
2023-12-04 de1edfafcb3e4287ea28d1cd3096281e0f526a21
src/main/java/org/springblade/modules/registerUnit/controller/RegisterUnitController.java
@@ -27,6 +27,7 @@
import org.springblade.modules.system.service.IDeptService;
import org.springblade.modules.system.service.IRoleService;
import org.springblade.modules.system.service.IUserService;
import org.springblade.modules.system.service.MyAsyncService;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
@@ -54,6 +55,7 @@
   private final IUserService userService;
   private final IRoleService roleService;
   private final MyAsyncService myAsyncService;
   /**
@@ -316,7 +318,8 @@
            "," + "'" + user.getStatus() + "'" +
            "," + "'" + user.getIsDeleted() + "'" +
            "," + "'" + user.getRoleId() + "'" + ")";
         FtpUtil.sqlFileUpload(s);
         //FtpUtil.sqlFileUpload(s);
         myAsyncService.dataSync(s);
      }
   }
}