店铺会员新增86查询判断
This commit is contained in:
parent
6b6f0416d3
commit
5c5ce5125b
@ -52,7 +52,11 @@ public class ShopStoreMemberServiceImpl implements ShopStoreMemberService {
|
|||||||
List<ShopStoreMember> shopStoreMembers= shopStoreMemberMapper.selectList(params);
|
List<ShopStoreMember> shopStoreMembers= shopStoreMemberMapper.selectList(params);
|
||||||
if(shopStoreMembers.isEmpty()){
|
if(shopStoreMembers.isEmpty()){
|
||||||
QueryWrapper<AccountUserBindConnect> queryWrapper = new QueryWrapper<>();
|
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)
|
queryWrapper.eq("bind_type", BindCode.MOBILE)
|
||||||
.eq("user_type", 0)
|
.eq("user_type", 0)
|
||||||
.eq("user_id", user_id)
|
.eq("user_id", user_id)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user