店铺会员新增86查询判断
This commit is contained in:
parent
fa2b179c58
commit
eb7ca3cdaa
@ -52,7 +52,11 @@ public class ShopStoreMemberServiceImpl implements ShopStoreMemberService {
|
||||
List<ShopStoreMember> shopStoreMembers= shopStoreMemberMapper.selectList(params);
|
||||
if(shopStoreMembers.isEmpty()){
|
||||
QueryWrapper<AccountUserBindConnect> 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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user