Browse Source

科目年级下教师

tags/正式版本
雍文秀 2 years ago
parent
commit
e9e008cd67
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      suser/src/main/resources/mapper/gradeclass/ClassTeacherMapper.xml

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

@@ -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>

Loading…
Cancel
Save