浏览代码

PC成绩查询调整

小么熊🐻 3 年之前
父节点
当前提交
db2a6a8a54
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      twzd-service/src/main/resources/mapper/score/ScoreInfoMapper.xml

+ 1 - 1
twzd-service/src/main/resources/mapper/score/ScoreInfoMapper.xml

@@ -77,7 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="areaName != null and areaName != ''"> and u.area_name like concat('%', #{areaName}, '%')</if>
             <if test="areaName != null and areaName != ''"> and u.area_name like concat('%', #{areaName}, '%')</if>
             <if test="schoolName != null and schoolName != ''"> and u.school_name like concat('%', #{schoolName}, '%')</if>
             <if test="schoolName != null and schoolName != ''"> and u.school_name like concat('%', #{schoolName}, '%')</if>
             <if test="nickName != null and nickName != ''"> and u.nick_name like concat('%', #{nickName}, '%')</if>
             <if test="nickName != null and nickName != ''"> and u.nick_name like concat('%', #{nickName}, '%')</if>
-            <if test="type != null and type != ''"> and u.type = #{type} </if>
+            <if test="type != null and type != ''"> and s.type = #{type} </if>
         </where>
         </where>
         order by user_id,create_time desc
         order by user_id,create_time desc
     </select>
     </select>