|
|
|
@ -187,7 +187,7 @@ public class CustomerService {
|
|
|
|
|
//做插入使用 --如果没有客户信息就先创建客户信息如果有就判断是否有客户导购得关系,如果没有就添加有就不管
|
|
|
|
|
OpCustomer insertCustomer = new OpCustomer();
|
|
|
|
|
insertCustomer.setWechatUniId(turnBackDTOS.getWxData().getUnionId());
|
|
|
|
|
insertCustomer.setName(turnBackDTOS.getName());
|
|
|
|
|
insertCustomer.setName(EmployeeService.filterEmoji(turnBackDTOS.getName()));
|
|
|
|
|
insertCustomer.setAvatarUrl(turnBackDTOS.getWxData().getAvatarUrl());
|
|
|
|
|
insertCustomer.setPhone(turnBackDTOS.getPhone());
|
|
|
|
|
if (null != opCustomer) {
|
|
|
|
@ -226,7 +226,7 @@ public class CustomerService {
|
|
|
|
|
*/
|
|
|
|
|
private void vipCheck(TurnBackDTO turnBackDTO) throws Exception {
|
|
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
OpCustomer opCustomer = new OpCustomer(turnBackDTO.getName(), turnBackDTO.getPhone());
|
|
|
|
|
OpCustomer opCustomer = new OpCustomer(EmployeeService.filterEmoji(turnBackDTO.getName()), turnBackDTO.getPhone());
|
|
|
|
|
opCustomer.setUpdateBy(Constants.SYS_OPERATION);
|
|
|
|
|
|
|
|
|
|
QueryWrapper<OpVip> wrapper = new QueryWrapper<>();
|
|
|
|
|