|
@@ -189,7 +189,7 @@
|
189
|
189
|
where c.schoolid=#{ctp.schoolid} and c.gradeid=#{ctp.gradeid} and c.year=#{ctp.year} and c.classstate=1 and c.classtype in (1,2)
|
190
|
190
|
and sb.subjectid=#{ctp.subjectid} and u.usertype=1 and u.userstate=1
|
191
|
191
|
<if test="ctp.username!=null and ctp.username!=''">
|
192
|
|
- and u.username like '%${ctp.username}%'
|
|
192
|
+ and (u.username like '%${ctp.username}%' or binary u.loginname like '%${ctp.username}%')
|
193
|
193
|
</if>
|
194
|
194
|
group by ct.teacherid
|
195
|
195
|
</select>
|