|
|
@ -359,6 +359,7 @@ public class CustomerService {
|
|
|
|
private void handleDelCustomer(TurnBackDTO turnBackDTOS) {
|
|
|
|
private void handleDelCustomer(TurnBackDTO turnBackDTOS) {
|
|
|
|
String customerUserId = turnBackDTOS.getWxData().getUserId();
|
|
|
|
String customerUserId = turnBackDTOS.getWxData().getUserId();
|
|
|
|
if (StringUtils.isBlank(customerUserId)) {
|
|
|
|
if (StringUtils.isBlank(customerUserId)) {
|
|
|
|
|
|
|
|
log.error("没有 no customerUserId" + turnBackDTOS.toString());
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
privilageCpUserDOMapper.deleteCount(customerUserId, turnBackDTOS.getUserId());
|
|
|
|
privilageCpUserDOMapper.deleteCount(customerUserId, turnBackDTOS.getUserId());
|
|
|
@ -366,6 +367,7 @@ public class CustomerService {
|
|
|
|
customerQw.eq("external_userid", customerUserId).last("limit 1");
|
|
|
|
customerQw.eq("external_userid", customerUserId).last("limit 1");
|
|
|
|
OpCustomer customer = opCustomerDOMapper.selectOne(customerQw);
|
|
|
|
OpCustomer customer = opCustomerDOMapper.selectOne(customerQw);
|
|
|
|
if (customer == null) {
|
|
|
|
if (customer == null) {
|
|
|
|
|
|
|
|
log.error("没有 no external_userid" + turnBackDTOS.toString());
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//店铺信息
|
|
|
|
//店铺信息
|
|
|
|