Bladeren bron

用户模块优化

tags/正式3.2.0
雍文秀 2 jaren geleden
bovenliggende
commit
2c3c5448be

+ 1
- 1
suser/src/main/java/com/xhkjedu/suser/controller/gradeclass/ClassTeacherController.java Bestand weergeven

@@ -89,7 +89,7 @@ public class ClassTeacherController {
89 89
     public ResultVo listPaperStudent(@RequestBody Map paper) {
90 90
         Integer paperid = (Integer) paper.get("paperid");
91 91
         N_Utils.validation(new Object[]{paperid,"作业id",1});
92
-        List<ClassVo> list = classTeacherService.listPaperStudent(paperid);
92
+        List<Map> list = classTeacherService.listPaperStudent(paperid);
93 93
         return new ResultVo(0,"获取作业学生列表成功",list);
94 94
     }
95 95
 

+ 2
- 2
suser/src/main/java/com/xhkjedu/suser/mapper/gradeclass/ClassTeacherMapper.java Bestand weergeven

@@ -45,9 +45,9 @@ public interface ClassTeacherMapper extends TkMapper<TClassTeacher> {
45 45
      * @Param [paperid]
46 46
      * @Author ywx
47 47
      * @Date 2020/7/10 15:51
48
-     * @return java.util.List<com.xhkjedu.suser.vo.gradeclass.ClassVo>
48
+     * @return java.util.List<java.util.Map>
49 49
      **/
50
-    List<ClassVo> listPaperStudent(Integer paperid);
50
+    List<Map> listPaperStudent(Integer paperid);
51 51
 
52 52
     //获取作业教师列表
53 53
     List<Map> listPaperTeacher(@Param("paperid") Integer paperid,@Param("subjectid") String subjectid);

+ 2
- 2
suser/src/main/java/com/xhkjedu/suser/service/gradeclass/ClassTeacherService.java Bestand weergeven

@@ -109,9 +109,9 @@ public class ClassTeacherService {
109 109
      * @Param [paperid]
110 110
      * @Author ywx
111 111
      * @Date 2020/7/10 15:51
112
-     * @return java.util.List<com.xhkjedu.suser.vo.gradeclass.ClassVo>
112
+     * @return java.util.List<java.util.Map>
113 113
      **/
114
-    public List<ClassVo> listPaperStudent(Integer paperid) {
114
+    public List<Map> listPaperStudent(Integer paperid) {
115 115
         return classTeacherMapper.listPaperStudent(paperid);
116 116
     }
117 117
 

Laden…
Annuleren
Opslaan