是否有认识的人 逻辑添加

This commit is contained in:
苏竹红
2023-09-15 12:23:22 +08:00
parent 96550202b4
commit c62c2a5192
6 changed files with 81 additions and 1 deletions

View File

@@ -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;
}