|
@@ -260,7 +260,7 @@ public class XiaomanCustomerServiceImpl extends ServiceImpl<XiaomanCustomerMappe
|
|
|
.eq(CustomerUser::getCustomerId,customer.getId()).remove();
|
|
|
|
|
|
for (CustomerInfoVo.Customer cus :vo.getCustomers()) {
|
|
|
- if (StringUtils.isNotEmpty(cus.getEmail())) {
|
|
|
+ //if (StringUtils.isNotEmpty(cus.getEmail())) {
|
|
|
CustomerUser customerUser = new CustomerUser();
|
|
|
customerUser.setCustomerId(customer.getId());
|
|
|
customerUser.setName(cus.getName());
|
|
@@ -282,7 +282,7 @@ public class XiaomanCustomerServiceImpl extends ServiceImpl<XiaomanCustomerMappe
|
|
|
customerUser.setPhone(cus.getTel());
|
|
|
customerUser.setContactJson(JSON.toJSONString(maps));
|
|
|
customerUserService.save(customerUser);
|
|
|
- }
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
// Map<String, CustomerUser> collect = customerUserService.lambdaQuery()
|