|
@@ -248,9 +248,9 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionDao, QuestionEntity
|
|
|
imp.setContent(content);
|
|
|
|
|
|
String answer = trimAndNullIfBlank(line.get(EXCEL_HEADER[7]));
|
|
|
- if (StringUtils.isBlank(answer)) {
|
|
|
- msg.append(" 试题答案不能为空");
|
|
|
- }
|
|
|
+// if (StringUtils.isBlank(answer)) {
|
|
|
+// msg.append(" 试题答案不能为空");
|
|
|
+// }
|
|
|
imp.setAnswer(getStandardAnswer(answer));
|
|
|
|
|
|
String imageSlice = trimAndNullIfBlank(line.get(EXCEL_HEADER[8]));
|