Quellcode durchsuchen

模拟卷返回科目名称

mingfu vor 1 Woche
Ursprung
Commit
77dfc70bab

+ 1 - 0
ie-admin/src/main/java/com/ruoyi/web/controller/front/FrontPaperController.java

@@ -145,6 +145,7 @@ public class FrontPaperController {
         List<JSONObject> jsonList = list.stream().map(t -> {
             JSONObject o = JSONObject.from(t);
             o.put("subjectName", subjectMap.get(t.getSubjectId()));
+            return o;
         }).collect(Collectors.toList());
         return AjaxResult2.success(jsonList);
     }