瀏覽代碼

科目年级下教师

tags/正式版本
雍文秀 2 年之前
父節點
當前提交
e9e008cd67
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      suser/src/main/resources/mapper/gradeclass/ClassTeacherMapper.xml

+ 1
- 1
suser/src/main/resources/mapper/gradeclass/ClassTeacherMapper.xml 查看文件

@@ -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…
取消
儲存