Browse Source

教师管理列表返回用户状态

tags/正式3.10.0
雍文秀 1 year ago
parent
commit
4c1aac70dd

+ 3
- 0
suser/src/main/java/com/xhkjedu/suser/vo/gradeclass/ClassTeacherVo.java View File

@@ -33,4 +33,7 @@ public class ClassTeacherVo {
33 33
 
34 34
     //科目名称
35 35
     private String subjectname;
36
+
37
+    //用户状态1正常2删除
38
+    private Integer userstate;
36 39
 }

+ 1
- 0
suser/src/main/resources/mapper/gradeclass/ClassTeacherMapper.xml View File

@@ -8,6 +8,7 @@
8 8
         ,(select s.subjectname from t_teacher_powersb ts left join t_subject_book sb on ts.lsbid=sb.lsbid
9 9
         left join t_subject s on sb.subjectid=s.subjectid
10 10
         where ts.teacherid=u.userid limit 1)subjectname
11
+        ,u.userstate
11 12
         from t_user u
12 13
         <if test="teacher.gradeid!=null and teacher.gradeid!=0">
13 14
             left join t_class_teacher ct on ct.teacherid=u.userid

Loading…
Cancel
Save