Browse Source

私有、签单、渠道列表新增字段

anderx 4 years ago
parent
commit
71103c3c97

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

@@ -1658,7 +1658,7 @@
 
   <select id="selectPrivateOrganizationCustomerList" resultType="com.goafanti.customer.bo.CustomerListOut">
     select a.id uid,a.aid,a.nickname name,a.society_tag societyTag,a.`level`,b.name aName,dg1.name as province,dg2.name as city,
-    a.guidance, dg3.name as area,d.intended_project  intendedProject,
+    a.guidance, dg3.name as area,d.intended_project  intendedProject,d.business_scope businessScope,
     date_format(um.last_sign_time,'%Y-%m-%d %H:%i:%S') lastSignTime,
     date_format(a.transfer_time,'%Y-%m-%d %H:%i:%S') as transferTime,
     date_format(a.create_time,'%Y-%m-%d %H:%i:%S') as createTime,

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

@@ -512,6 +512,7 @@
 			c.name as industry,
 			a.channel,
 			b.intended_project  intendedProject,
+			b.business_scope businessScope,
 			d.name as adminName
 		from user a
 		left join organization_identity b on a.id = b.uid
@@ -1976,7 +1977,8 @@ inner join(
    select a.id,a.uid,b.nickname userName,a.aid,a.status,date_format(a.distribution_time,'%Y-%m-%d %H:%i:%S')distributionTimes,
    a.distribution_time distributionTime,date_format(a.create_time,'%Y-%m-%d %H:%i:%S')createTimes ,c.contacts ,
    c.contact_mobile contactMobile,e.name channelName,b.society_tag societyTag ,d1.name province,d2.name city,
-   f.name adminName ,b.guidance,a.recovery,a.remarks,c.intended_project  intendedProject from user_channel a
+   f.name adminName ,b.guidance,a.recovery,a.remarks,c.intended_project  intendedProject,c.business_scope businessScope
+	from user_channel a
     left join user b on a.uid=b.id  left join organization_identity c on a.uid =c.uid
     left join district_glossory d1 on c.location_province =d1.id
     left join district_glossory d2 on c.location_city =d2.id