|
|
@ -64,6 +64,9 @@ public class QuestionInventoryDomainServiceImpl implements QuestionInventoryDoma |
|
|
if (QuestionTypeEnum.MULTIPLE_CHOICE.equals(questionType)) { |
|
|
if (QuestionTypeEnum.MULTIPLE_CHOICE.equals(questionType)) { |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
|
|
|
if (QuestionTypeEnum.SHORT_ANSWER.equals(questionType)) { |
|
|
|
|
|
continue; |
|
|
|
|
|
} |
|
|
checkAndProduce(kp.getId() , questionType , |
|
|
checkAndProduce(kp.getId() , questionType , |
|
|
(int) Math.ceil(watermark * questionTypeMap.get(questionType.name())), |
|
|
(int) Math.ceil(watermark * questionTypeMap.get(questionType.name())), |
|
|
(int) Math.ceil(targetLine * questionTypeMap.get(questionType.name()))); |
|
|
(int) Math.ceil(targetLine * questionTypeMap.get(questionType.name()))); |
|
|
|