Browse Source

私有渠道列表新增客户档案信息字段

anderx 1 year ago
parent
commit
7def294599

+ 5 - 1
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -2243,12 +2243,16 @@ inner join(
 		date_format(a.create_time,'%Y-%m-%d %H:%i:%S') as createTime,
 		date_format(um.last_follow_time,'%Y-%m-%d %H:%i:%S') lastFollowTime ,
 		if(a.transfer_time < um.last_follow_time,um.last_follow_time,a.transfer_time) as orderTime,
-		um.channel_type type
+		um.channel_type type,
+		ua.enterprise_count as enterpriseCount,
+		ua.channel_indicators channelIndicators,
+		ua.interview_distribution as interviewDistribution
 		from user a left join admin b on a.aid=b.id left join organization_identity d on a.id = d.uid
 		left join district_glossory dg1 on d.location_province = dg1.id
 		left join district_glossory dg2 on d.location_city = dg2.id
 		left join district_glossory dg3 on d.location_area = dg3.id
 		left join user_mid um on um.aid=a.aid and um.uid=a.id
+		left join user_archives ua on ua.uid=a.id
 		where a.type= 1   and a.source in(1,2,3)  and a.new_channel=1
 		<if test=" shareType !=null ">
 			and a.share_type = #{shareType}

+ 28 - 0
src/main/java/com/goafanti/customer/bo/OutChannelListBo.java

@@ -34,6 +34,34 @@ public class OutChannelListBo {
     /*剩余天数*/
     private String RemainingDays;
 
+    private Integer enterpriseCount;
+    private String channelIndicators;
+    private String interviewDistribution;
+
+    public Integer getEnterpriseCount() {
+        return enterpriseCount;
+    }
+
+    public void setEnterpriseCount(Integer enterpriseCount) {
+        this.enterpriseCount = enterpriseCount;
+    }
+
+    public String getChannelIndicators() {
+        return channelIndicators;
+    }
+
+    public void setChannelIndicators(String channelIndicators) {
+        this.channelIndicators = channelIndicators;
+    }
+
+    public String getInterviewDistribution() {
+        return interviewDistribution;
+    }
+
+    public void setInterviewDistribution(String interviewDistribution) {
+        this.interviewDistribution = interviewDistribution;
+    }
+
     public String getIntroduction() {
         return introduction;
     }