智慧保安后台管理-外网项目备份
src/main/java/org/springblade/modules/talk/controller/TalkController.java
@@ -122,7 +122,7 @@
               "'" + talk.getDeptid() + "'" + "," +
               "'" + talk.getImgurl() + "'" + ")";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
      }
      return R.success("新增成功");
   }
@@ -154,7 +154,7 @@
            ",imgurl = " + "'" + talk.getImgurl() + "'" +
            " " + "where id = " + "'" + talk.getId() + "'";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
      }
      return R.success("修改成功");
   }
@@ -183,7 +183,7 @@
         //内网同步
         String s1 = "delete from sys_talk where id = " + "'" + id + "'";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
      });
      return R.status(talkService.removeByIds(Func.toLongList(ids)));
   }