소스 검색

Default Changelist

wangliang 3 주 전
부모
커밋
4369d5d5d6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      themis-business/src/main/java/com/qmth/themis/business/templete/impl/TaskExamPaperImportTemplete.java

+ 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);