| | |
| | | + "'" + examScore.getUserId() + "'" + "," |
| | | + "'" + examScore.getApplyId() + "'" + "," |
| | | + "'" + examScore.getExamId() + "'" + ")"; |
| | | //FtpUtil.sqlFileUpload(s); |
| | | myAsyncService.FTP(s); |
| | | } |
| | | } |
| | |
| | | examScore1.setQualified(1); |
| | | } |
| | | //更新成绩数据 |
| | | examScoreService.updateById(examScore1); |
| | | // examScoreService.updateById(examScore1); |
| | | |
| | | //数据同步 |
| | | String s = |
| | |
| | | "update exam_score set theory_grade = " + examScore1.getTheoryGrade() + |
| | | ",qualified = " + "'" + examScore1.getQualified() + "'" + |
| | | " " + "where id = " + "'" + examScore1.getId() + "'"; |
| | | //FtpUtil.sqlFileUpload(s); |
| | | myAsyncService.FTP(s); |
| | | }); |
| | | }else { |
| | |
| | | String s = |
| | | "update sys_training_registration set is_exam = " + trainingRegistration1.getIsExam() + |
| | | " " + "where id = " + "'" + trainingRegistration1.getId() + "'"; |
| | | //FtpUtil.sqlFileUpload(s); |
| | | myAsyncService.FTP(s); |
| | | } |
| | | }); |