| | |
| | | + "," +"'" + trainingRegistration.getAuditStatus() + "'" + ");" + |
| | | "update blade_user set is_train = " + user1.getIsTrain() + " " +"where id = " + "'" + user1.getId() + "'"; |
| | | //FtpUtil.sqlFileUpload(s); |
| | | myAsyncService.FTP(s); |
| | | myAsyncService.dataSync(s); |
| | | } |
| | | |
| | | |
| | |
| | | + "'" + examScore.getApplyId() + "'" + "," |
| | | + "'" + examScore.getExamId() + "'" + ")"; |
| | | //FtpUtil.sqlFileUpload(s); |
| | | myAsyncService.FTP(s); |
| | | myAsyncService.dataSync(s); |
| | | } |
| | | } |
| | | } |
| | |
| | | ",qualified = " + "'" + examScore1.getQualified() + "'" + |
| | | " " + "where id = " + "'" + examScore1.getId() + "'"; |
| | | //FtpUtil.sqlFileUpload(s); |
| | | myAsyncService.FTP(s); |
| | | myAsyncService.dataSync(s); |
| | | }); |
| | | }else { |
| | | //数据同步 |
| | |
| | | "update sys_training_registration set is_exam = " + trainingRegistration1.getIsExam() + |
| | | " " + "where id = " + "'" + trainingRegistration1.getId() + "'"; |
| | | //FtpUtil.sqlFileUpload(s); |
| | | myAsyncService.FTP(s); |
| | | myAsyncService.dataSync(s); |
| | | } |
| | | }); |
| | | } |