Browse Source

客户新增客户性质

anderx 10 months ago
parent
commit
7f7e48a2f8

+ 1 - 1
src/main/java/com/goafanti/admin/bo/AdminCustomerBo.java

@@ -41,7 +41,7 @@ public class AdminCustomerBo {
 	@Excel( name = "一般客户",width = 12)
 	private Integer generalCount;
 	/** 私有客戶 */
-	@Excel( name = "私有客户",width = 12)
+	@Excel( name = "意向客户",width = 12)
 	private Integer intentionCount;
 	/** 重点客户 */
 	@Excel( name = "重点客户",width = 12)

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

@@ -1283,7 +1283,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,d.business_scope businessScope,d.org_code orgCode,ic.name industry,
-        date_format(um.last_sign_time,'%Y-%m-%d %H:%i:%S') lastSignTime,
+        date_format(um.last_sign_time,'%Y-%m-%d %H:%i:%S') lastSignTime,a.nature,
         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,
         date_format(um.last_follow_time,'%Y-%m-%d %H:%i:%S') lastFollowTime,
@@ -1386,6 +1386,9 @@
         <if test="level != null">
             and a.level = #{level,jdbcType=INTEGER}
         </if>
+        <if test="nature !=null">
+            and a.nature = #{nature,jdbcType=INTEGER}
+        </if>
     </select>
     <select id="findMainProductsList" resultType="com.goafanti.customer.bo.OutUserMianProducts">
         select oi.id ,u.id uid, u.nickname userName, oi.business_scope businessScope,

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

@@ -540,6 +540,7 @@
 			b.intended_project  intendedProject,
 			b.business_scope businessScope,
 			b.org_code orgCode,
+			a.nature,
 			d.name as adminName
 		from user a
 		left join user_mid um on a.id=um.uid