|
|
|
@ -194,7 +194,9 @@ public class CustomerService {
|
|
|
|
|
insertCustomer.setName(turnBackDTOS.getName());
|
|
|
|
|
insertCustomer.setAvatarUrl(turnBackDTOS.getWxData().getAvatarUrl());
|
|
|
|
|
insertCustomer.setPhone(turnBackDTOS.getPhone());
|
|
|
|
|
insertCustomer.setShopName(shop.getName());
|
|
|
|
|
if (shop != null && StringUtils.isNotBlank(shop.getName())){
|
|
|
|
|
insertCustomer.setShopName(shop.getName());
|
|
|
|
|
}
|
|
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
insertCustomer.setCreateTime(sdf.parse(turnBackDTOS.getJoinTime()));
|
|
|
|
|
if (null != opCustomer) {
|
|
|
|
|