Explorar o código

Merge branch 'master' of http://49.234.186.218:9000/root/ieplus

abpcoder hai 1 día
pai
achega
d7e9efa72d

+ 1 - 1
ie-admin/src/main/java/com/ruoyi/web/controller/learn/LearnTeacherController.java

@@ -117,7 +117,7 @@ public class LearnTeacherController extends BaseController {
         cond.setExamType(examType);
         List<LearnTestPaper> testPaperList = testPaperService.selectLearnTestPaperList(cond);
         if (CollectionUtils.isEmpty(testPaperList)) {
-            return AjaxResult.success(new JSONObject());
+            return AjaxResult.success(Collections.emptyList());
         }
         List<JSONObject> resultList = new ArrayList<>();
         for(LearnTestPaper learnTestPaper : testPaperList) {