修改用户统计

This commit is contained in:
yuyang 2022-03-02 13:32:17 +08:00
parent 376f3bd4f7
commit 670ffce0a2

View File

@ -212,7 +212,7 @@
select
count(xau.app_user_id) userSum,
(select count(DISTINCT user_id) from xhpc_charge_order where create_time >= #{time}) userVitality
from xhpc_app_user xau
from xhpc_app_user xau where 1=1
<if test="phone != null and phone != ''">
and xau.phone like concat('%', #{phone}, '%')
</if>