Parcourir la source

PC成绩查询调整

小么熊🐻 il y a 3 ans
Parent
commit
db2a6a8a54

+ 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="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="type != null and type != ''"> and u.type = #{type} </if>
+            <if test="type != null and type != ''"> and s.type = #{type} </if>
         </where>
         order by user_id,create_time desc
     </select>