智慧保安后台管理-外网项目备份
钟日健
2025-10-30 35be7e24498a3e1b143a213643a5d8d86bdc4e13
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));
   }