Browse Source

作业保存

tags/正式版本
雍文秀 2 years ago
parent
commit
89da089438

+ 3
- 0
sstudy/src/main/java/com/xhkjedu/sstudy/service/paper/PaperService.java View File

334
         //处理答题卡--题型--试题
334
         //处理答题卡--题型--试题
335
         List<TPaperQtypeQuestion> ptqs = new ArrayList<>();
335
         List<TPaperQtypeQuestion> ptqs = new ArrayList<>();
336
         for (TPaperQtype qtype : qtypes) {
336
         for (TPaperQtype qtype : qtypes) {
337
+            if("tlt".equals(qtype.getQtypeid())){
338
+                qtype.setQtypeid(null);
339
+            }
337
             List<QuestionVo> questions = qtype.getQuestions();//题型下试题
340
             List<QuestionVo> questions = qtype.getQuestions();//题型下试题
338
             qtype.setCreateid(createid);
341
             qtype.setCreateid(createid);
339
             qtype.setCreatetime(N_Utils.getSecondTimestamp());
342
             qtype.setCreatetime(N_Utils.getSecondTimestamp());

Loading…
Cancel
Save