| | |
| | | myAsyncService.FTP(s); |
| | | |
| | | } |
| | | //模拟考试 |
| | | //培训考试 |
| | | if (paper.getExamType() == 2) { |
| | | TrainingRegistration trainingRegistration = new TrainingRegistration(); |
| | | trainingRegistration.setCandidateNo(examScore.getCandidateNo()); |
| | |
| | | //FtpUtil.sqlFileUpload(s); |
| | | myAsyncService.FTP(s); |
| | | } |
| | | |
| | | //设置提交时间 |
| | | examScore.setExamEndTime(new Date()); |
| | | //设置考试ID |
| | | examScore.setExamId(examScore.getPapersId().toString()); |
| | | //设置理论得分 |
| | |
| | | securityPaper.setPeopleName(user.getRealName()); |
| | | securityPaper.setExamId(Long.parseLong(examScore.getExamId())); |
| | | securityPaper.setApplyId(examScore.getApplyId()); |
| | | securityPaper.setSource(1); |
| | | //新增保安员证信息 |
| | | securityPaperService.save(securityPaper); |
| | | |