|
@@ -92,7 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
|
|
|
|
<select id="selectStudentList" resultType="com.miaxis.score.vo.ScoreIStudentInfoPcVo" >
|
|
|
- SELECT s.user_id,head_image,nick_name,max(score) as highScore,min(score) as lowScore,count(1) as times,avg(score) as averageScore
|
|
|
+ SELECT s.user_id,head_image,nick_name,real_name,max(score) as highScore,min(score) as lowScore,count(1) as times,avg(score) as averageScore
|
|
|
FROM user_info u JOIN score_info s ON u.id = s.user_id
|
|
|
<where>
|
|
|
<if test="cityName != null and cityName != ''"> and u.city_name like concat('%', #{cityName}, '%')</if>
|