智慧保安后台管理-外网项目备份
src/main/java/org/springblade/modules/performance/controller/PerformanceController.java
@@ -101,7 +101,7 @@
            "'" + new SimpleDateFormat("yyyy-MM-dd").format(performance.getTime()) + "'" + "," +
            "'" + performance.getScore() + "'" + ")";
      //FtpUtil.sqlFileUpload(s1);
      myAsyncService.FTP(s1);
      myAsyncService.dataSync(s1);
      return R.status(save);
   }
@@ -120,7 +120,7 @@
         ",score = " + "'" + performance.getScore() + "'" +
         " " + "where id = " + "'" + performance.getId() + "'";
      //FtpUtil.sqlFileUpload(s1);
      myAsyncService.FTP(s1);
      myAsyncService.dataSync(s1);
      return R.status(b);
   }