|
|
@@ -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,
|