手机号不为空

This commit is contained in:
wangw 2025-10-15 16:19:49 +08:00
parent d226882eec
commit 3c354bbced
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@
noOrder == 1 or oneOrder == 1 or fiveOrder == 1">
LEFT JOIN `order` o ON u.user_id = o.user_id and o.user_id is not null AND o.shop_id = #{shopId} AND o.status = 'done'
</if>
WHERE u.main_shop_id = #{mainShopId}
WHERE u.main_shop_id = #{mainShopId} and u.phone is not null
<!-- 性别筛选条件 -->
<if test="(sexMan == 1 or sexWoman == 1 or sexUnknown == 1)">
AND