fix
This commit is contained in:
@@ -160,20 +160,22 @@ public class HyPartnerIntentInfoServiceImpl implements HyPartnerIntentInfoServic
|
||||
return intentInfoVO;
|
||||
}
|
||||
HyPartnerIntentInfoDO intentInfoDO = hyPartnerIntentInfoDAO.getByPartnerIdAndLineId(userInfoVO.getPartnerId(), lineId);
|
||||
PartnerIntentInfoVO intentInfoVO = null;
|
||||
if (intentInfoDO != null){
|
||||
PartnerIntentInfoVO intentInfoVO = convertPartnerIntentApplyInfoDOToVO(intentInfoDO);
|
||||
if(StringUtils.isBlank(intentInfoVO.getLiveArea())){
|
||||
intentInfoVO.setLiveArea(userInfoVO.getLiveArea());
|
||||
}
|
||||
if(StringUtils.isBlank(intentInfoVO.getWantShopArea())){
|
||||
intentInfoVO.setWantShopArea(userInfoVO.getWantShopArea());
|
||||
}
|
||||
if(Objects.isNull(intentInfoVO.getAcceptAdjustType())){
|
||||
intentInfoVO.setAcceptAdjustType(userInfoVO.getAcceptAdjustType());
|
||||
}
|
||||
return intentInfoVO;
|
||||
intentInfoVO = convertPartnerIntentApplyInfoDOToVO(intentInfoDO);
|
||||
}else {
|
||||
intentInfoVO = new PartnerIntentInfoVO();
|
||||
}
|
||||
return null;
|
||||
if(StringUtils.isBlank(intentInfoVO.getLiveArea())){
|
||||
intentInfoVO.setLiveArea(userInfoVO.getLiveArea());
|
||||
}
|
||||
if(StringUtils.isBlank(intentInfoVO.getWantShopArea())){
|
||||
intentInfoVO.setWantShopArea(userInfoVO.getWantShopArea());
|
||||
}
|
||||
if(Objects.isNull(intentInfoVO.getAcceptAdjustType())){
|
||||
intentInfoVO.setAcceptAdjustType(userInfoVO.getAcceptAdjustType());
|
||||
}
|
||||
return intentInfoVO;
|
||||
}
|
||||
|
||||
private void fillIntentInfo(HyPartnerIntentInfoDO intentInfoDO, PartnerIntentInfoRequest request) {
|
||||
|
||||
Reference in New Issue
Block a user