Browse Source

Merge remote-tracking branch 'origin/master' into ywx

tags/正式版本
雍文秀 2 years ago
parent
commit
90dc919727

+ 8
- 0
sexam/src/main/java/com/xhkjedu/sexam/service/paper/EPaperQtypeService.java View File

@@ -542,6 +542,14 @@ public class EPaperQtypeService {
542 542
                         }
543 543
                     }
544 544
                 }
545
+            }else{
546
+                for(Map qtm : qtypes) {
547
+                    List<Map> qlist = (List<Map>) qtm.get("questions");
548
+                    for(Map qm : qlist){
549
+                        Integer ctype = Integer.parseInt(qm.get("qctype").toString());
550
+                        qm.put("ctype",ctype);
551
+                    }
552
+                }
545 553
             }
546 554
         }
547 555
 

Loading…
Cancel
Save