修改用户统计
This commit is contained in:
parent
670ffce0a2
commit
f6976dd77e
@ -211,7 +211,7 @@
|
|||||||
<select id="userSum" resultType="map">
|
<select id="userSum" resultType="map">
|
||||||
select
|
select
|
||||||
count(xau.app_user_id) userSum,
|
count(xau.app_user_id) userSum,
|
||||||
(select count(DISTINCT user_id) from xhpc_charge_order where create_time >= #{time}) userVitality
|
(select count(DISTINCT user_id) from xhpc_charge_order where create_time >= #{time} and tenant_id =#{tenantId}) userVitality
|
||||||
from xhpc_app_user xau where 1=1
|
from xhpc_app_user xau where 1=1
|
||||||
<if test="phone != null and phone != ''">
|
<if test="phone != null and phone != ''">
|
||||||
and xau.phone like concat('%', #{phone}, '%')
|
and xau.phone like concat('%', #{phone}, '%')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user