经纪人
This commit is contained in:
parent
93f67a83f3
commit
95273aafa2
|
@ -197,7 +197,7 @@
|
||||||
ifnull((select count(*)
|
ifnull((select count(*)
|
||||||
from tb_user ac
|
from tb_user ac
|
||||||
where ac.bl_fxy_code = y.invitation_code
|
where ac.bl_fxy_code = y.invitation_code
|
||||||
and date_format(aa.create_time, '%Y-%m-%d') = date_format(now(),'%Y-%m-%d')),0
|
and date_format(ac.create_time, '%Y-%m-%d') = date_format(now(),'%Y-%m-%d')),0
|
||||||
) as curUserCount,
|
) as curUserCount,
|
||||||
ifnull(t1.ordersCount,0)+ifnull(t2.ordersCount,0) as ordersCount,
|
ifnull(t1.ordersCount,0)+ifnull(t2.ordersCount,0) as ordersCount,
|
||||||
ifnull(t4.ordersCount,0)+ifnull(t5.ordersCount,0) as curOrdersCount,
|
ifnull(t4.ordersCount,0)+ifnull(t5.ordersCount,0) as curOrdersCount,
|
||||||
|
|
Loading…
Reference in New Issue