Antiloveg 8 years ago
parent
commit
314b1d38a1

+ 6 - 2
src/main/java/com/goafanti/common/mapper/DemandMapper.xml

@@ -752,7 +752,9 @@
   		d.picture_url as pictureUrl, d.text_file_url as textFileUrl, d.video_url as videoUrl,
   		d.budget_cost as budgetCost, d.fixed_cycle as fixedCycle, d.people_number as peopleNumber,
   		d.fixed_scheme as fixedScheme, d.cost_escrow as costEscrow, d.employer_id as employerId,
-  		info.postal_address as address, u.email as mailbox,  u.mobile as mobile, d.audit_status as auditStatus
+  		info.postal_address as address, u.email as mailbox,  u.mobile as mobile, d.audit_status as auditStatus,
+  		d.employer_address as employerAddress, d.employer_contacts_mobile as employerContactsMobile,
+  		d.employer_contacts_mailbox as employerContactsMailbox
   	from demand d 
   	left join user_identity ui on ui.uid = d.employer_id
   	left join user_info info on info.uid = d.employer_id
@@ -773,7 +775,9 @@
   		d.budget_cost as budgetCost, d.fixed_cycle as fixedCycle, d.people_number as peopleNumber,
   		d.fixed_scheme as fixedScheme, d.cost_escrow as costEscrow, d.employer_id as employerId,
   		oi.postal_address as address, u.email as mailbox,  d.contacts, d.audit_status as auditStatus,
-  		d.tech_broker_id as techBrokerId
+  		d.tech_broker_id as techBrokerId,
+  		d.employer_address as employerAddress, d.employer_contacts_mobile as employerContactsMobile,
+  		d.employer_contacts_mailbox as employerContactsMailbox
   	from demand d 
   	left join organization_identity oi on oi.uid = d.employer_id
   	left join user u on u.id = d.employer_id

+ 13 - 16
src/main/java/com/goafanti/demand/bo/DemandListBo.java

@@ -9,7 +9,7 @@ import com.fasterxml.jackson.annotation.JsonFormat.Shape;
 import com.goafanti.common.constant.AFTConstants;
 
 public class DemandListBo {
-	
+
 	private String	id;
 
 	/**
@@ -31,35 +31,34 @@ public class DemandListBo {
 	 * 关键词
 	 */
 	private String	keyword;
-	
+
 	/**
 	 * 发布时间
 	 */
 	private Date	releaseDate;
-	
+
 	/**
 	 * 需求类型
 	 */
 	private Integer	demandType;
 
 	private Date	validityPeriod;
-	
+
 	private Integer	status;
-	
 
 	/**
 	 * 是否发布(0-未发布,1-发布)
 	 */
 	private Integer	releaseStatus;
-	
-	private String employerId;
-	
+
+	private String	employerId;
+
 	/**
 	 * 审核状态
 	 */
-	private Integer auditStatus;
-	
-    @JsonFormat(shape = Shape.STRING)	
+	private Integer	auditStatus;
+
+	@JsonFormat(shape = Shape.STRING)
 	public Integer getAuditStatus() {
 		return auditStatus;
 	}
@@ -115,7 +114,7 @@ public class DemandListBo {
 	public void setKeyword(String keyword) {
 		this.keyword = keyword;
 	}
-	
+
 	@JsonFormat(shape = Shape.STRING)
 	public Integer getDemandType() {
 		return demandType;
@@ -132,7 +131,7 @@ public class DemandListBo {
 	public void setValidityPeriod(Date validityPeriod) {
 		this.validityPeriod = validityPeriod;
 	}
-	
+
 	@JsonFormat(shape = Shape.STRING)
 	public Integer getStatus() {
 		return status;
@@ -158,7 +157,7 @@ public class DemandListBo {
 	public void setReleaseDate(Date releaseDate) {
 		this.releaseDate = releaseDate;
 	}
-	
+
 	public String getValidityPeriodFormattedDate() {
 		if (this.validityPeriod == null) {
 			return null;
@@ -183,6 +182,4 @@ public class DemandListBo {
 
 	}
 
-
-
 }

+ 31 - 0
src/main/java/com/goafanti/demand/bo/DemandManageDetailBo.java

@@ -42,8 +42,39 @@ public class DemandManageDetailBo extends DemandManageListBo {
 	private String		mailbox;
 
 	private Integer		contacts;
+
+	private String		employerAddress;
+
+	private String		employerContactsMobile;
+
+	private String		employerContactsMailbox;
 	
 	
+
+	public String getEmployerAddress() {
+		return employerAddress;
+	}
+
+	public void setEmployerAddress(String employerAddress) {
+		this.employerAddress = employerAddress;
+	}
+
+	public String getEmployerContactsMobile() {
+		return employerContactsMobile;
+	}
+
+	public void setEmployerContactsMobile(String employerContactsMobile) {
+		this.employerContactsMobile = employerContactsMobile;
+	}
+
+	public String getEmployerContactsMailbox() {
+		return employerContactsMailbox;
+	}
+
+	public void setEmployerContactsMailbox(String employerContactsMailbox) {
+		this.employerContactsMailbox = employerContactsMailbox;
+	}
+
 	@JsonFormat(shape = Shape.STRING)
 	public Integer getContacts() {
 		return contacts;