|
|
@@ -911,7 +911,7 @@
|
|
|
sum(if(share_type=2,1,0))signCount from `user` where type=1 and new_channel=0
|
|
|
group by aid) b on a.id=b.aid
|
|
|
left join (select aid, sum(if(share_type=0 and source in (1),1,0))inputCount,
|
|
|
- sum(if(share_type=0 and source in (2),1,0))transferCount, sum(if(share_type=0 and source in (3),1,0))receiveCount
|
|
|
+ sum(if(share_type=0 and source in (3),1,0))transferCount, sum(if(share_type=0 and source in (2),1,0))receiveCount
|
|
|
from `user` where type=1 and new_channel=0
|
|
|
<if test="startTime != null and endTime != null">
|
|
|
and transfer_time between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
|