Explorar el Código

附件作业

tags/正式版本
王宁 hace 2 años
padre
commit
d2799c110a

+ 0
- 4
sstudy/src/main/java/com/xhkjedu/sstudy/service/paper/PaperService.java Ver fichero

@@ -202,9 +202,7 @@ public class PaperService {
202 202
             qtype.setPstnum(scanlst.size());
203 203
             Double qtypescore = scanlst.stream().collect(Collectors.summingDouble(TPaperScantron::getPsscore));
204 204
             qtype.setPstscore(qtypescore);
205
-            qtype.setPstorder(qtypeorder);
206 205
             qtype.setPaperid(paper.getPaperid());
207
-            qtypeorder++;
208 206
         }
209 207
 
210 208
         paperScantronQtypeMapper.insertList(qtypes);//批量保存答题卡题型
@@ -215,9 +213,7 @@ public class PaperService {
215 213
                 sc.setSchoolid(paper.getSchoolid());
216 214
                 sc.setPaperid(paper.getPaperid());
217 215
                 sc.setPsqtypeid(qtype.getId());
218
-                sc.setPsorder(sorder);
219 216
                 savescan.add(sc);
220
-                sorder++;
221 217
             }
222 218
         }
223 219
         paperScantronMapper.insertList(savescan);//批量保存答题卡

Loading…
Cancelar
Guardar