Browse Source

用户模块优化

tags/正式3.2.0
雍文秀 2 years ago
parent
commit
2c3c5448be

+ 1
- 1
suser/src/main/java/com/xhkjedu/suser/controller/gradeclass/ClassTeacherController.java View File

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

+ 2
- 2
suser/src/main/java/com/xhkjedu/suser/mapper/gradeclass/ClassTeacherMapper.java View File

45
      * @Param [paperid]
45
      * @Param [paperid]
46
      * @Author ywx
46
      * @Author ywx
47
      * @Date 2020/7/10 15:51
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
     List<Map> listPaperTeacher(@Param("paperid") Integer paperid,@Param("subjectid") String subjectid);
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 View File

109
      * @Param [paperid]
109
      * @Param [paperid]
110
      * @Author ywx
110
      * @Author ywx
111
      * @Date 2020/7/10 15:51
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
         return classTeacherMapper.listPaperStudent(paperid);
115
         return classTeacherMapper.listPaperStudent(paperid);
116
     }
116
     }
117
 
117
 

Loading…
Cancel
Save