智慧保安后台管理-外网项目备份
guoshilong
2024-01-11 f5eb81d50b6def3ceeb10c5ded0de9661d456c69
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));
   }