Browse Source

登录BUG修复

anderx 7 years ago
parent
commit
21511e7847

+ 1 - 2
src/main/java/com/goafanti/common/mapper/UserMapper.xml

@@ -1445,8 +1445,7 @@
     		a.company_logo_url as companyLogoUrl, 
     		a.head_portrait_url as headPortraitUrl, 
     		a.introduction,
-    		a.is_member as isMember,
-   			b.registration_id as registrationId,
+    		b.registration_id as registrationId,
    			b.easemob_name as easemobName,
    			b.easemob_pass as easemobPass
    		from user a left join jpush_easemob_account b 

+ 5 - 1
src/main/java/com/goafanti/common/model/User.java

@@ -2,9 +2,13 @@ package com.goafanti.common.model;
 
 import java.util.Date;
 
-public class  User implements AftUser{
+public class  User  extends BaseModel implements AftUser{
 
 	/**
+	 * 
+	 */
+	private static final long serialVersionUID = -3301500555091503770L;
+	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.id
 	 * @mbg.generated  Thu May 03 16:11:41 CST 2018
 	 */