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