|
|
@ -288,8 +288,9 @@ public class CustomerService {
|
|
|
|
OpCustomer opCustomer = new OpCustomer(turnBackDTO.getName(), turnBackDTO.getPhone());
|
|
|
|
OpCustomer opCustomer = new OpCustomer(turnBackDTO.getName(), turnBackDTO.getPhone());
|
|
|
|
opCustomer.setUpdateBy(Constants.SYS_OPERATION);
|
|
|
|
opCustomer.setUpdateBy(Constants.SYS_OPERATION);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 根据手机号码去重
|
|
|
|
QueryWrapper<OpVip> wrapper = new QueryWrapper<>();
|
|
|
|
QueryWrapper<OpVip> wrapper = new QueryWrapper<>();
|
|
|
|
wrapper.eq("phone", turnBackDTO.getVipData().getPhone()).eq("name", turnBackDTO.getVipData().getName());
|
|
|
|
wrapper.eq("phone", turnBackDTO.getVipData().getPhone());
|
|
|
|
OpVip opVip = opVipDOMapper.selectOne(wrapper);
|
|
|
|
OpVip opVip = opVipDOMapper.selectOne(wrapper);
|
|
|
|
OpVip opVip1 = new OpVip();
|
|
|
|
OpVip opVip1 = new OpVip();
|
|
|
|
opVip1.setStatus(1L);
|
|
|
|
opVip1.setStatus(1L);
|
|
|
|