Browse Source

Default Changelist

wangliang 3 weeks ago
parent
commit
4369d5d5d6

+ 1 - 1
themis-business/src/main/java/com/qmth/themis/business/templete/impl/TaskExamPaperImportTemplete.java

@@ -310,7 +310,7 @@ public class TaskExamPaperImportTemplete implements TaskImportTemplete {
         }
         for (int i = 0; i < structdetails.size(); i++) {
             JSONArray structdetailquestions = structdetails.getJSONObject(i).getJSONArray(SystemConstant.QUESTIONS);
-            if (structdetailquestions != null && structdetailquestions.size() >= 0) {
+            if (structdetailquestions != null && structdetailquestions.size() > 0) {
                 for (int j = 0; j < structdetailquestions.size(); j++) {
                     JSONObject structquestion = structdetailquestions.getJSONObject(j);
                     JSONObject body = structquestion.getJSONObject(SystemConstant.BODY);