Browse Source

用户详情 number

albertshaw 8 years ago
parent
commit
0e44463442

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

@@ -755,6 +755,7 @@
   
   <select id="findUserPartnerDetail" parameterType="java.lang.String" resultType="com.goafanti.user.bo.UserPartnerDetailBo">
   	SELECT
+  		u.number,
 		ui.username,
 		ui.province,
 		ui.city,
@@ -767,7 +768,7 @@
 		info.life_photo_url AS lifePhotoUrl,
 		interest.id as interestId
 	FROM
-		<![CDATA[ user ]]> u
+	`user` u
 	LEFT JOIN user_identity ui ON ui.uid = u.id
 	LEFT JOIN user_career uc ON uc.uid = u.id
 	LEFT JOIN user_ability ua ON ua.uid = u.id
@@ -780,6 +781,7 @@
   
   <select id="findOrgPartnerDetail" parameterType="java.lang.String" resultType="com.goafanti.user.bo.OrgPartnerDetailBo">
   	SELECT
+  		u.number,
 		oi.unit_name AS unitName,
 		oi.licence_province AS province,
 		oi.licence_city AS city,
@@ -792,7 +794,7 @@
 		ot.search_area_category as field, 
 		interest.id as interestId
 	FROM
-	<![CDATA[ user ]]> u
+	`user` u
 	LEFT JOIN organization_identity oi ON oi.uid = u.id
 	LEFT JOIN organization_info info ON info.uid = u.id
 	LEFT JOIN organization_tech ot ON ot.uid = u.id

+ 10 - 0
src/main/java/com/goafanti/user/bo/OrgPartnerDetailBo.java

@@ -9,6 +9,8 @@ public class OrgPartnerDetailBo {
 
 	private Integer	area;
 
+	private Long	number;
+
 	private Integer	level;
 
 	private String	abilityLabel;
@@ -111,4 +113,12 @@ public class OrgPartnerDetailBo {
 		this.companyIntroduction = companyIntroduction;
 	}
 
+	public Long getNumber() {
+		return number;
+	}
+
+	public void setNumber(Long number) {
+		this.number = number;
+	}
+
 }

+ 10 - 0
src/main/java/com/goafanti/user/bo/UserPartnerDetailBo.java

@@ -5,6 +5,8 @@ public class UserPartnerDetailBo {
 
 	private Integer	province;
 
+	private Long	number;
+
 	private Integer	city;
 
 	private Integer	area;
@@ -111,4 +113,12 @@ public class UserPartnerDetailBo {
 		this.lifePhotoUrl = lifePhotoUrl;
 	}
 
+	public Long getNumber() {
+		return number;
+	}
+
+	public void setNumber(Long number) {
+		this.number = number;
+	}
+
 }