|
|
|
@@ -10,6 +10,7 @@ import com.iformall.common.ResultData; |
|
|
|
import com.iformall.domain.po.WxAppinfo; |
|
|
|
import com.iformall.domain.po.WxMerchantBUser; |
|
|
|
import com.iformall.domain.po.WxMsgValidationcode; |
|
|
|
import com.iformall.enums.EnumMerchantBUserStatus; |
|
|
|
import com.iformall.exception.MallinkException; |
|
|
|
import com.iformall.mapper.WxAppinfoMapper; |
|
|
|
import com.iformall.mapper.WxMerchantBUserMapper; |
|
|
|
@@ -85,10 +86,11 @@ public class WxMerchantBUserServiceImpl implements WxMerchantBUserService { |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public boolean hasphone(String phone) { |
|
|
|
public boolean hasphone(String phone, String tenantId) { |
|
|
|
WxMerchantBUser bUser = new WxMerchantBUser(); |
|
|
|
bUser.setTenantId(tenantId); |
|
|
|
bUser.setPhone(phone); |
|
|
|
bUser.setStatus(0); |
|
|
|
bUser.setStatus(EnumMerchantBUserStatus.NOT_BOUND.getCode()); |
|
|
|
List<WxMerchantBUser> list = wxMerchantBUserMapper.findList(bUser); |
|
|
|
return list.size()>=1?true:false; |
|
|
|
} |
|
|
|
|