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