|
|
@ -117,6 +117,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; |
|
|
|
|
|
} |
|
|
int watermark = (int) Math.ceil(waterLine * questionTypeMap.get(questionType.name())); |
|
|
int watermark = (int) Math.ceil(waterLine * questionTypeMap.get(questionType.name())); |
|
|
resultBuilder.append("\n题型: ").append(questionType.getDescription()).append("\n"); |
|
|
resultBuilder.append("\n题型: ").append(questionType.getDescription()).append("\n"); |
|
|
resultBuilder.append(" 水位线: ").append(watermark).append("\n"); |
|
|
resultBuilder.append(" 水位线: ").append(watermark).append("\n"); |
|
|
|