Explorar o código

用户中心逻辑修改

anderx %!s(int64=7) %!d(string=hai) anos
pai
achega
dbfe26299a

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

@@ -663,7 +663,8 @@
     <result column="authentication" jdbcType="INTEGER" property="authentication"/>
     <result column="head_portrait_url" jdbcType="VARCHAR" property="headPortraitUrl" />
     <result column="logo_url" jdbcType="VARCHAR" property="logoUrl" />
-    <result column="expert" jdbcType="VARCHAR" property="expert" />
+    <result column="expert" jdbcType="INTEGER" property="expert" />
+    <result column="audit_status" jdbcType="INTEGER" property="auditStatus" />
     <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
   </resultMap>
   
@@ -711,6 +712,7 @@
   		a.status,a.email,
   		a.head_portrait_url,
   		b.expert,
+  		b.audit_status,
   		a.mobile from user a
   	left join user_identity b on a.id=b.uid 
    	where 

+ 11 - 3
src/main/java/com/goafanti/user/bo/UserPageHomeBo.java

@@ -26,7 +26,9 @@ public class UserPageHomeBo extends UserBaseBo{
      */
     private Integer	intellectualPropertyNum;
     
-    private String expert;
+    private Integer expert;
+    
+    private Integer auditStatus;
 	public Integer getPatentNum() {
 		return patentNum;
 	}
@@ -63,10 +65,16 @@ public class UserPageHomeBo extends UserBaseBo{
 	public void setIntellectualPropertyNum(Integer intellectualPropertyNum) {
 		this.intellectualPropertyNum = intellectualPropertyNum;
 	}
-	public String getExpert() {
+	public Integer getExpert() {
 		return expert;
 	}
-	public void setExpert(String expert) {
+	public void setExpert(Integer expert) {
 		this.expert = expert;
 	}
+	public Integer getAuditStatus() {
+		return auditStatus;
+	}
+	public void setAuditStatus(Integer auditStatus) {
+		this.auditStatus = auditStatus;
+	}
 }