|
|
@ -173,9 +173,7 @@ public class CustomerService {
|
|
|
|
customerWrapper.eq("wechat_uni_id", turnBackDTOS.getWxData().getUnionId()).last("limit 1");
|
|
|
|
customerWrapper.eq("wechat_uni_id", turnBackDTOS.getWxData().getUnionId()).last("limit 1");
|
|
|
|
OpCustomer opCustomer = opCustomerDOMapper.selectOne(customerWrapper);
|
|
|
|
OpCustomer opCustomer = opCustomerDOMapper.selectOne(customerWrapper);
|
|
|
|
//店铺信息
|
|
|
|
//店铺信息
|
|
|
|
QueryWrapper<PrivilageCpUserStoreDO> poiWrapper = new QueryWrapper<>();
|
|
|
|
PrivilageCpUserStoreDO poiStore = privilageCpUserStoreDOMapper.selectOneCpUser(turnBackDTOS.getUserId());
|
|
|
|
poiWrapper.eq("cp_user_id", turnBackDTOS.getUserId()).last("limit 1");
|
|
|
|
|
|
|
|
PrivilageCpUserStoreDO poiStore = privilageCpUserStoreDOMapper.selectOne(poiWrapper);
|
|
|
|
|
|
|
|
if (poiStore == null) {
|
|
|
|
if (poiStore == null) {
|
|
|
|
log.info("店铺信息是空的不操作");
|
|
|
|
log.info("店铺信息是空的不操作");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|