diff --git a/xhpc-modules/xhpc-user/src/main/resources/mapper/XhpcAppUserMapper.xml b/xhpc-modules/xhpc-user/src/main/resources/mapper/XhpcAppUserMapper.xml index 1033a3db..ece56885 100644 --- a/xhpc-modules/xhpc-user/src/main/resources/mapper/XhpcAppUserMapper.xml +++ b/xhpc-modules/xhpc-user/src/main/resources/mapper/XhpcAppUserMapper.xml @@ -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 and xau.phone like concat('%', #{phone}, '%')