瀏覽代碼

fix 少做

he2802 3 年之前
父節點
當前提交
eb328857bf

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/service/impl/QuestionServiceImpl.java

@@ -790,8 +790,8 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
             addBo.setOptionsId(j);
             addBo.setOptionsId(j);
             optionsList.add(addBo);
             optionsList.add(addBo);
             if("是".equals(entity.getAnswer())){
             if("是".equals(entity.getAnswer())){
+                answerList.add(j);
                 if(type==1){ //单选
                 if(type==1){ //单选
-                    answerList.add(j);
                     break;
                     break;
                 }
                 }
             }
             }