智慧保安后台管理-外网项目备份
src/main/java/org/springblade/modules/apply/controller/ApplyController.java
@@ -156,7 +156,7 @@
         "'" + "," + "'" + apply.getApplyStatus() + "'" + "," + "'" + apply.getIsExam() + "'" + ");" +
         "update blade_user set is_apply = " + user1.getIsApply() + " " + "where id = " + "'" + user1.getId() + "'";
      //FtpUtil.sqlFileUpload(s);
      myAsyncService.FTP(s);
      myAsyncService.dataSync(s);
   }
@@ -391,7 +391,7 @@
         //内网同步
         String s1 = "delete from sys_apply where id = " + "'" + id + "'";
         //FtpUtil.sqlFileUpload(s1);
         myAsyncService.FTP(s1);
         myAsyncService.dataSync(s1);
      });
      return R.status(applyService.removeByIds(Func.toLongList(ids)));
   }
@@ -493,7 +493,7 @@
         "update sys_apply set apply_status = " + apply.getApplyStatus() + " " + "where id = " + "'" + apply.getId() + "';" +
            "update blade_user set is_apply = " + user.getIsApply() + " " + "where id = " + "'" + user.getId() + "'";
      //FtpUtil.sqlFileUpload(s);
      myAsyncService.FTP(s);
      myAsyncService.dataSync(s);
   }
@@ -667,7 +667,7 @@
            "," + "'" + format + "'" +
            "," + "'" + endTimeFormat + "'" + ")";
         //FtpUtil.sqlFileUpload(s);
         myAsyncService.FTP(s);
         myAsyncService.dataSync(s);
         //修改报名信息
         applyIds.forEach(apply -> {
@@ -681,7 +681,7 @@
                  "update sys_apply set exam_id = " + apply.getExamId() + ",candidate_no = " + "'" + apply.getCandidateNo() + "'" +
                     " " + "where id = " + "'" + apply.getId() + "'";
               //FtpUtil.sqlFileUpload(s1);
               myAsyncService.FTP(s1);
               myAsyncService.dataSync(s1);
            }
         });
      }
@@ -743,7 +743,7 @@
            "," + "'" + examScore.getExamId() + "'" +
            "," + "'" + examScore.getApplyId() + "'" + ")";
         //FtpUtil.sqlFileUpload(s);
         myAsyncService.FTP(s);
         myAsyncService.dataSync(s);
      }
      return examScore;
   }