Parcourir la source

关注列表顾问新增类型

anderx il y a 7 ans
Parent
commit
ff8f91d4eb

+ 1 - 0
src/main/java/com/goafanti/common/mapper/UserIdentityMapper.xml

@@ -1207,6 +1207,7 @@ order by
 <select id="appMyInterestedExpertList" resultType="com.goafanti.user.bo.MyInterestedBo">
 	select t.uid as id,u.nickname as name,t.work_unit as workUnit,u.introduction,
     t.professional_title as professionalTitle,u.head_portrait_url as imgUrl,
+    t.consultant_type as consultantType,
     if(isnull(a.count),0,a.count) as interestCount 
 	from user_interest ui left JOIN `user` u on ui.to_uid = u.id
 	left join user_identity t on ui.to_uid=t.uid

+ 7 - 0
src/main/java/com/goafanti/user/bo/MyInterestedBo.java

@@ -8,6 +8,7 @@ public class MyInterestedBo {
 	private String workUnit;
 	private String professionalTitle;
 	private String interestCount;
+	private Integer consultantType;
 	private String ImgUrl;
 	public String getId() {
 		return id;
@@ -57,4 +58,10 @@ public class MyInterestedBo {
 	public void setUid(String uid) {
 		this.uid = uid;
 	}
+	public Integer getConsultantType() {
+		return consultantType;
+	}
+	public void setConsultantType(Integer consultantType) {
+		this.consultantType = consultantType;
+	}
 }