是否有认识的人 逻辑添加
This commit is contained in:
@@ -219,6 +219,11 @@ public class HyPartnerIntentInfoServiceImpl implements HyPartnerIntentInfoServic
|
||||
BeanUtil.copyProperties(intentInfoDO, beforeIntentInfoUpdate);
|
||||
fillIntentInfo(intentInfoDO, request);
|
||||
hyPartnerIntentInfoDAO.updateByPrimaryKeySelective(intentInfoDO);
|
||||
//PC端 AcquaintanceFlag 不传值 移动端修改必填
|
||||
if (request.getAcquaintanceFlag()!=null){
|
||||
hyPartnerIntentInfoDAO.updateAcquaintanceFlag(intentInfoDO.getId(),request.getAcquaintanceFlag(), request.getAcquaintanceName(),
|
||||
request.getAcquaintanceRelationshipType(),request.getOtherRelationshipType());
|
||||
}
|
||||
BeanUtil.copyProperties(intentInfoDO, afterIntentInfoUpdate);
|
||||
}
|
||||
redisUtilPool.delKey(cacheKey);
|
||||
@@ -499,6 +504,10 @@ public class HyPartnerIntentInfoServiceImpl implements HyPartnerIntentInfoServic
|
||||
if(StringUtils.isNotEmpty(hyPartnerIntentInfoDO.getWantShopInfo())){
|
||||
partnerIntentInfoVO.setWantShopInfo(JSONObject.parseArray(hyPartnerIntentInfoDO.getWantShopInfo(), WantShopInfoVO.class));
|
||||
}
|
||||
partnerIntentInfoVO.setAcquaintanceFlag(hyPartnerIntentInfoDO.getAcquaintanceFlag());
|
||||
partnerIntentInfoVO.setAcquaintanceName(hyPartnerIntentInfoDO.getAcquaintanceName());
|
||||
partnerIntentInfoVO.setAcquaintanceRelationshipType(hyPartnerIntentInfoDO.getAcquaintanceRelationshipType());
|
||||
partnerIntentInfoVO.setOtherRelationshipType(hyPartnerIntentInfoDO.getOtherRelationshipType());
|
||||
return partnerIntentInfoVO;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user