Parcourir la source

年级下教师

tags/正式3.10.0
王宁 il y a 1 an
Parent
révision
8e66170cf2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      suser/src/main/resources/mapper/gradeclass/GradeMapper.xml

+ 1
- 1
suser/src/main/resources/mapper/gradeclass/GradeMapper.xml Voir le fichier

@@ -73,7 +73,7 @@
73 73
         left join t_subject s on sb.subjectid=s.subjectid
74 74
         left join t_class_teacher ct on c.classid=ct.classid and ts.teacherid=ct.teacherid
75 75
         left join t_user u on ct.teacherid=u.userid
76
-        where c.schoolid=#{schoolid} and c.year=#{year} and c.classstate=1 and u.usertype=1 and u.userstate=1
76
+        where c.schoolid=#{schoolid} and c.year=#{year} and c.classstate=1 and u.usertype=1 and u.userstate=1 and c.classtype in (1,2)
77 77
         order by c.gradeid,c.classtype,c.classorder,s.subjectorder,convert(u.username using gbk)
78 78
     </select>
79 79
 

Chargement…
Annuler
Enregistrer