没有对应线索
This commit is contained in:
@@ -522,16 +522,19 @@ public class ExhibitionServiceImpl implements ExhibitionService {
|
||||
//是否存在线索
|
||||
//查询线索信息
|
||||
MobileCheckDTO mobileCheckDTO = hyPartnerUserInfoDAO.selectByCheckMobile(signUpExhibitionDTO.getMobile());
|
||||
if(mobileCheckDTO==null){
|
||||
mobileCheckDTO = new MobileCheckDTO();
|
||||
}
|
||||
//线索不存在
|
||||
Boolean sendNotice = Boolean.TRUE;
|
||||
String investManager = mobileCheckDTO.getInvestmentManager();
|
||||
String partnerId = mobileCheckDTO.getPartnerId();
|
||||
Long lineId = mobileCheckDTO.getLineId();
|
||||
if (mobileCheckDTO == null||mobileCheckDTO.getLineStatus() == null){
|
||||
if (mobileCheckDTO.getMobile() == null||mobileCheckDTO.getLineStatus() == null){
|
||||
//走这里不需要发送通知
|
||||
sendNotice = Boolean.FALSE;
|
||||
//mobileCheckDTO为空 表示从没有授权过 mobileCheckDTO不为空 但是线索状态为空 表示授权过 但是没有线索
|
||||
if (mobileCheckDTO==null){
|
||||
if (mobileCheckDTO.getMobile()==null){
|
||||
partnerId = UUIDUtils.get32UUID();
|
||||
HyPartnerUserInfoDO resultUser = new HyPartnerUserInfoDO();
|
||||
resultUser.setUsername(signUpExhibitionDTO.getPartnerName()).setMobile(signUpExhibitionDTO.getMobile()).setPartnerId(partnerId).setCreateTime(new Date())
|
||||
|
||||
Reference in New Issue
Block a user