Compare commits

..

No commits in common. "94bf7664ab43c36ba4e9f1a29e891bee8e0978a4" and "692263438cac1614459afb35d6de064440fc69a3" have entirely different histories.

2 changed files with 1 additions and 8 deletions

View File

@ -107,7 +107,7 @@
a.out_trade_no,
a.pay_time,
b.nickname,
a.real_name,
b.nickname as realName,
a.uid,
a.user_phone,
a.confirm_phone,

View File

@ -89,14 +89,11 @@ public class PromoterServiceImpl implements PromoterService {
promoter.setUserId(memberUserDO.getId());
promoter.setCreateTime(LocalDateTime.now());
promoterMapper.insert(promoter);
memberUserDO.setPromoterId(memberUserDO.getId());
memberUserService.updateById(memberUserDO);
// 返回
return promoter.getId();
}
@Override
@Transactional
public Long appCreatePromoter(AppPromoterCreateReqVO createReqVO) {
//判断手机号是否注册
MemberUserDO memberUserDO = memberUserService.getUserByMobile(createReqVO.getMobile());
@ -130,8 +127,6 @@ public class PromoterServiceImpl implements PromoterService {
promoter.setCreateTime(LocalDateTime.now());
promoter.setSourceType(createReqVO.getSourceType());
promoterMapper.insert(promoter);
memberUserDO.setPromoterId(memberUserDO.getId());
memberUserService.updateById(memberUserDO);
// 返回
return promoter.getId();
}
@ -283,8 +278,6 @@ public class PromoterServiceImpl implements PromoterService {
}
promoter.setDeptId(deptRespDTO.getId());
promoterMapper.insert(promoter);
memberUserDO.setPromoterId(memberUserDO.getId());
memberUserService.updateById(memberUserDO);
respVO.getCreateUsernames().add(importUser.getNickName());
return;
});