| | |
| | | //插入exam_paper_answer(成绩表) |
| | | ExamPaperScore examPaperScore = new ExamPaperScore(); |
| | | BeanUtils.copyProperties(examPaperMark,examPaperScore); |
| | | examPaperScore.setUserScore(new BigDecimal(examPaperMark.getScore())); |
| | | examPaperScore.setPaperScore(new BigDecimal(examPaperMark.getTotalScore())); |
| | | examPaperScore.setScore(new BigDecimal(examPaperMark.getScore())); |
| | | examPaperScore.setTotalScore(new BigDecimal(examPaperMark.getTotalScore())); |
| | | examPaperScore.setJudgeUser(userId); |
| | | examPaperScore.setCreateUser(examPaperMark.getUserId()); |
| | | examPaperScore.setAnswerTime(examPaperMark.getSubmitTime()); |
| | | examPaperScore.setUserId(examPaperMark.getUserId()); |
| | | examPaperScore.setSubmitTime(examPaperMark.getSubmitTime()); |
| | | examPaperScore.setPaperContent(JSON.toJSONString(examPaperMark.getTitleItems())); |
| | | long questionCorrect =0; |
| | | long questionCount=0; |