|
|
@@ -1057,7 +1057,7 @@
|
|
|
and share_type=0 and source !=0
|
|
|
group by aid) b on a.id=b.aid
|
|
|
left join (select aid,count(aid) as timeCount from user where aid is not null
|
|
|
- and share_type=0 and source=1
|
|
|
+ and share_type=0 and source !=0
|
|
|
<if test="startTime != null and endTime != null">
|
|
|
and create_time between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
@@ -1079,7 +1079,7 @@
|
|
|
and share_type=0 and source !=0
|
|
|
group by aid) b on a.id=b.aid
|
|
|
left join (select aid,count(aid) as timeCount from user where aid is not null
|
|
|
- and share_type=0 and source=1
|
|
|
+ and share_type=0 and source !=0
|
|
|
<if test="startTime != null and endTime != null">
|
|
|
and create_time between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
@@ -1092,7 +1092,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="selectAdminCustomerDetailList" parameterType="java.lang.String" resultType="com.goafanti.admin.bo.AdminCustomerDetailBo">
|
|
|
- select a.id,a.nickname as name,c.contacts,c.contact_mobile as contactMobile,
|
|
|
+ select a.id,a.nickname as name,a.source,c.contacts,c.contact_mobile as contactMobile,
|
|
|
a.create_time as createTime,b.time_stamp as followTime
|
|
|
from user a
|
|
|
left join (select uid,max(time_stamp) as time_stamp from user_follow group by uid) b on a.id=b.uid
|
|
|
@@ -1101,7 +1101,7 @@
|
|
|
<if test="aid != null">
|
|
|
and a.aid= #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
- and a.share_type=0 and a.source=1
|
|
|
+ and a.share_type=0
|
|
|
<if test="startTime != null and endTime != null">
|
|
|
and a.create_time between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
@@ -1118,7 +1118,7 @@
|
|
|
<if test="aid != null">
|
|
|
and a.aid= #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
- and a.share_type=0 and a.source=1
|
|
|
+ and a.share_type=0
|
|
|
<if test="startTime != null and endTime != null">
|
|
|
and a.create_time between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
|
|
|
</if>
|