瀏覽代碼

学员成绩修改

Althars123 3 年之前
父節點
當前提交
1d32a992f8

+ 4 - 0
twzd-service/src/main/java/com/miaxis/score/dto/ScoreInfoPcDTO.java

@@ -18,6 +18,10 @@ public class ScoreInfoPcDTO extends BaseBusinessEntity {
     @ApiModelProperty(value = "昵称")
     private String nickName;
 
+    /**  昵称*/
+    @ApiModelProperty(value = "学员名字")
+    private String realName;
+
     /** 驾校名称 */
     @ApiModelProperty(value = "驾校名称")
     private String schoolName;

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

@@ -99,6 +99,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="realName != null and realName != ''"> and u.real_name like concat('%', #{realName}, '%')</if>
             <!--<if test="type != null and type != ''"> and s.type = #{type} </if>-->
         </where>
         group by u.id desc