From 5c5ce5125b757eb78abcd0427fdbfcd031e893a5 Mon Sep 17 00:00:00 2001 From: liyj <1617420630@qq.com> Date: Thu, 15 Jan 2026 10:38:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E4=BC=9A=E5=91=98=E6=96=B0?= =?UTF-8?q?=E5=A2=9E86=E6=9F=A5=E8=AF=A2=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../account/service/impl/ShopStoreMemberServiceImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mall-account/src/main/java/com/suisung/mall/account/service/impl/ShopStoreMemberServiceImpl.java b/mall-account/src/main/java/com/suisung/mall/account/service/impl/ShopStoreMemberServiceImpl.java index 209e8ade..875bf78a 100644 --- a/mall-account/src/main/java/com/suisung/mall/account/service/impl/ShopStoreMemberServiceImpl.java +++ b/mall-account/src/main/java/com/suisung/mall/account/service/impl/ShopStoreMemberServiceImpl.java @@ -52,7 +52,11 @@ public class ShopStoreMemberServiceImpl implements ShopStoreMemberService { List shopStoreMembers= shopStoreMemberMapper.selectList(params); if(shopStoreMembers.isEmpty()){ QueryWrapper queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("bind_id", "+86"+updateAccountUserInfo.getUser_mobile()); + String bind_id= updateAccountUserInfo.getUser_mobile(); + if(!bind_id.contains("+86")){ + bind_id="+86"+ updateAccountUserInfo.getUser_mobile(); + } + queryWrapper.eq("bind_id", bind_id); queryWrapper.eq("bind_type", BindCode.MOBILE) .eq("user_type", 0) .eq("user_id", user_id)