智慧保安后台管理-外网项目备份
src/main/java/org/springblade/modules/exam/controller/ExamScoreController.java
@@ -101,7 +101,8 @@
            "values(" + "'" + sid + "'" +
            "," + "'" + format + "'" + ")";
         //FtpUtil.sqlFileUpload(s);
         myAsyncService.FTP(s);
         //数据同步
         myAsyncService.dataSync(s);
      }
      //返回
      return R.status(save);
@@ -156,7 +157,7 @@
            "update exam_score set qualified = " + "'" + examScore.getQualified() + "'" +
               " " + "where id = " + "'" + examScore.getId() + "'";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
      }
      return R.status(status);
   }
@@ -224,7 +225,7 @@
                        ",user_type = " + "'" + user1.getUserType() + "'" +
                        " " + "where id = " + "'" + user1.getId() + "'";
                  //FtpUtil.sqlFileUpload(s1);
                  myAsyncService.FTP(s1);
                  myAsyncService.dataSync(s1);
               }
            }
         } else {
@@ -255,7 +256,7 @@
            ",qualified = " + "'" + examScore.getQualified() + "'" +
            " " + "where id = " + "'" + examScore.getId() + "'";
      //FtpUtil.sqlFileUpload(s1);
      myAsyncService.FTP(s1);
      myAsyncService.dataSync(s1);
      //本地修改
      return R.status(examScoreService.updateById(examScore));
@@ -283,7 +284,7 @@
         //内网同步
         String s1 = "delete from exam_score where id = " + "'" + id + "'";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
      });
      return R.status(examScoreService.removeByIds(Func.toLongList(ids)));
   }