|
@@ -189,7 +189,7 @@ public class EPaperQtypeService {
|
189
|
189
|
}
|
190
|
190
|
|
191
|
191
|
//保存试卷分析--题库
|
192
|
|
- private void savePaperAnalyzeForQuestion(EPaper ePaper){
|
|
192
|
+ public void savePaperAnalyzeForQuestion(EPaper ePaper){
|
193
|
193
|
//保存之前先清除之前的试卷分析
|
194
|
194
|
ePaperAnalyzeMapper.deleteByEpid(ePaper.getEpid());
|
195
|
195
|
//总体分析(主观题、客观题)
|
|
@@ -389,6 +389,7 @@ public class EPaperQtypeService {
|
389
|
389
|
qpoint.setOrder(dq.getQorder());
|
390
|
390
|
qpoint.setScore(dq.getScore());
|
391
|
391
|
qpoint.setQlevel(dq.getQlevel());
|
|
392
|
+ qpoint.setQuestionid(dq.getQuestionid());
|
392
|
393
|
if(qnstr == null){
|
393
|
394
|
qpoint.setQns(new String[]{dq.getQn()});
|
394
|
395
|
}else{
|
|
@@ -439,6 +440,8 @@ public class EPaperQtypeService {
|
439
|
440
|
qpoint.setName(pointmap.get("pointname").toString());
|
440
|
441
|
qpoint.setOrder(dq.getQorder());
|
441
|
442
|
qpoint.setQlevel(dq.getQlevel());
|
|
443
|
+ qpoint.setQuestionid(dq.getQuestionid());
|
|
444
|
+
|
442
|
445
|
|
443
|
446
|
Map quesmap = new HashMap();//试题对应知识点
|
444
|
447
|
quesmap.put("pointid",pointmap.get("pointid").toString());
|
|
@@ -518,6 +521,7 @@ public class EPaperQtypeService {
|
518
|
521
|
qtype.setOrder(dq.getQorder());
|
519
|
522
|
qtype.setScore(dq.getScore());
|
520
|
523
|
qtype.setQlevel(dq.getQlevel());
|
|
524
|
+ qtype.setQuestionid(dq.getQuestionid());
|
521
|
525
|
if(qnstr == null){
|
522
|
526
|
qtype.setQns(new String[]{dq.getQn()});
|
523
|
527
|
}else{
|
|
@@ -539,6 +543,7 @@ public class EPaperQtypeService {
|
539
|
543
|
qtype.setOrder(dq.getQorder());
|
540
|
544
|
qtype.setScore(dq.getScore());
|
541
|
545
|
qtype.setQlevel(dq.getQlevel());
|
|
546
|
+ qtype.setQuestionid(dq.getQuestionid());
|
542
|
547
|
if(qnstr == null){
|
543
|
548
|
qtype.setQns(new String[]{dq.getQn()});
|
544
|
549
|
}else{
|