智慧保安后台管理-外网项目备份
src/main/java/org/springblade/modules/desk/controller/NoticeController.java
@@ -153,7 +153,7 @@
                  "'" + notice.getCoverUrl() + "'" + "," +
                  "'" + notice.getType() + "'" + ")";
            //FtpUtil.sqlFileUpload(s1);
            myAsyncService.FTP(s1);
            myAsyncService.dataSync(s1);
         }
      } else {
         //修改
@@ -174,7 +174,7 @@
                  ",type = " + "'" + notice.getType() + "'" +
                  " " + "where id = " + "'" + notice.getId() + "'";
            //FtpUtil.sqlFileUpload(s1);
            myAsyncService.FTP(s1);
            myAsyncService.dataSync(s1);
         }
      }
      return R.status(status);
@@ -193,7 +193,7 @@
         //内网同步
         String s1 = "delete from blade_notice where id = " + "'" + id + "'";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
      });
      boolean temp = noticeService.deleteLogic(Func.toLongList(ids));
      return R.status(temp);