Browse Source

新增校验

cy 3 years ago
parent
commit
a40c4dc049

+ 11 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/vo/VideoLessonPurchaseStudent.java

@@ -21,9 +21,20 @@ public class VideoLessonPurchaseStudent extends BaseEntity {
     @ApiModelProperty("昵称")
     private String username;
 
+    @ApiModelProperty("真实姓名")
+    private String realName;
+
     @ApiModelProperty(value = "性别 0女 1男")
     private Integer gender;
 
+    public String getRealName() {
+        return realName;
+    }
+
+    public void setRealName(String realName) {
+        this.realName = realName;
+    }
+
     public Long getUserId() {
         return userId;
     }

+ 1 - 0
cooleshow-user/user-biz/src/main/resources/config/mybatis/VideoLessonGroupDetailMapper.xml

@@ -65,6 +65,7 @@
 	<select id="selectPageStudent" resultType="com.yonge.cooleshow.biz.dal.vo.VideoLessonPurchaseStudent">
 		SELECT
 		id_ AS userId,
+		real_name_ AS realName,
 		<include refid="userDetail"/>
 		FROM sys_user
 		WHERE id_ IN

+ 0 - 1
pom.xml

@@ -381,6 +381,5 @@
 		<module>cooleshow-mall</module>
         <module>cooleshow-websocket</module>
         <module>cooleshow-api</module>
-        <module>toolset-mybatis</module>
     </modules>
 </project>