Browse Source

有效面谈逻辑修改

anderx 9 months ago
parent
commit
d100b618ef

+ 3 - 0
src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

@@ -918,10 +918,13 @@
         date_format(b.release_start,'%Y-%m-%d %H:%i:%S') releaseStarts,date_format(b.release_end ,'%Y-%m-%d %H:%i:%S') releaseEnds,a.address_name addressName,
         b.plan ,b.next_plan nextPlan ,b.expected_effect expectedEffect,b.update_status updateStatus,b.assist_aid_name assistAidName,
         b.main_name mainName,b.assist,b.assistant_aid assistantAid, b.assistant_name assistantName,f.contract_no contractNo,
+        uai.customer_demand customerDemand,uai.early_communication earlyCommunication,uai.interview_ideas interviewIdeas,
+        uai.interview_purpose interviewPurpose,uai.interview_feedback interviewFeedback,uai.follow_up_plan followUpPlan,
         e.name sname,f.total_amount  totalAmout,d.sign_bills signBills,date_format(d.sign_time,'%Y-%m-%d')signTime
         from public_release_details a left join public_release b on a.prid =b.id
         left join admin c on b.aid =c.id left join t_order_new f on b.order_no =f.order_no
         left join `user` d on a.uid =d.id  left join admin e on d.aid=e.id
+        left join user_archives_interview uai on a.id=uai.prdid
         where 1=1
         <if test="publicType != null">
             and b.type= #{publicType}

+ 8 - 0
src/main/java/com/goafanti/common/mapper/UserFirstInterviewMapper.xml

@@ -120,6 +120,7 @@
         </where>
     </select>
 
+
     <!--通过主键删除-->
     <delete id="deleteById">
         delete
@@ -127,5 +128,12 @@
         where id = #{id}
     </delete>
 
+    <select id="selectByUidAid" resultMap="UserFirstInterviewMap">
+        select
+        <include refid="UserFirstInterviewAllSql"/>
+        from user_first_interview
+        where uid = #{uid} and aid = #{aid}
+    </select>
+
 </mapper>
 

+ 93 - 0
src/main/java/com/goafanti/weChat/bo/OutPublicDtails.java

@@ -56,6 +56,42 @@ public class OutPublicDtails  {
 	private String supplement;
 	@Excel(name = "下次计划" )
 	private String nextPlan;
+	/**
+	 * 前期沟通-客户的难处
+	 */
+	@Excel(name = "客户的难处" )
+	private String earlyCommunication;
+	/**
+	 * 客户的需求
+	 */
+	@Excel(name = "客户需求" )
+	private String customerDemand;
+	/**
+	 * 面谈思路
+	 */
+	@Excel(name = "面试思路" )
+	private String interviewIdeas;
+	/**
+	 * 面谈达成的目的
+	 */
+	@Excel(name = "面谈达成的目的" )
+	private String interviewPurpose;
+	/**
+	 * 经理/上级面谈建议
+	 */
+	@Excel(name = "经理/上级面谈建议" )
+	private String interviewRecommend;
+	/**
+	 * 面谈后反馈
+	 */
+	@Excel(name = "面谈后反馈" )
+	private String interviewFeedback;
+	/**
+	 * 后续跟进计划
+	 */
+	@Excel(name = "后续跟进计划" )
+	private String followUpPlan;
+
 	@Excel(name = "审核信息" )
 	private String auditInfo;
 	@Excel(name = "审核时间" )
@@ -76,6 +112,63 @@ public class OutPublicDtails  {
 	@Excel(name = "订单总金额" ,scale = 6)
 	private BigDecimal totalAmout;
 
+
+	public String getEarlyCommunication() {
+		return earlyCommunication;
+	}
+
+	public void setEarlyCommunication(String earlyCommunication) {
+		this.earlyCommunication = earlyCommunication;
+	}
+
+	public String getCustomerDemand() {
+		return customerDemand;
+	}
+
+	public void setCustomerDemand(String customerDemand) {
+		this.customerDemand = customerDemand;
+	}
+
+	public String getInterviewIdeas() {
+		return interviewIdeas;
+	}
+
+	public void setInterviewIdeas(String interviewIdeas) {
+		this.interviewIdeas = interviewIdeas;
+	}
+
+	public String getInterviewPurpose() {
+		return interviewPurpose;
+	}
+
+	public void setInterviewPurpose(String interviewPurpose) {
+		this.interviewPurpose = interviewPurpose;
+	}
+
+	public String getInterviewRecommend() {
+		return interviewRecommend;
+	}
+
+	public void setInterviewRecommend(String interviewRecommend) {
+		this.interviewRecommend = interviewRecommend;
+	}
+
+	public String getInterviewFeedback() {
+		return interviewFeedback;
+	}
+
+	public void setInterviewFeedback(String interviewFeedback) {
+		this.interviewFeedback = interviewFeedback;
+	}
+
+	public String getFollowUpPlan() {
+		return followUpPlan;
+	}
+
+	public void setFollowUpPlan(String followUpPlan) {
+		this.followUpPlan = followUpPlan;
+	}
+
 	public String getClockInStr() {
 		return clockInStr;
 	}