Althars123 3 年之前
父節點
當前提交
b62dfdcaed

+ 4 - 0
twzd-service/src/main/java/com/miaxis/score/vo/ScoreIStudentInfoPcVo.java

@@ -25,6 +25,10 @@ public class ScoreIStudentInfoPcVo extends BaseBusinessEntity {
     @ApiModelProperty(value = "昵称")
     private String nickName;
 
+    /** 昵称 */
+    @ApiModelProperty(value = "真实姓名")
+    private String realName;
+
 
 
     /** 分数 */

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

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