删除缓存
This commit is contained in:
@@ -218,6 +218,12 @@ public class HyPartnerBaseInfoServiceImpl implements HyPartnerBaseInfoService {
|
||||
hyPartnerInterviewPlanDAO.updateLineId(newLindId,oldLineInfo.getId());
|
||||
hyInterviewDAO.updateLineId(newLindId,oldLineInfo.getId());
|
||||
hyPartnerCertificationInfoMapper.updateLineId(newLindId,oldLineInfo.getId());
|
||||
String cacheKeyBaseInfo = MessageFormat.format(RedisConstant.PARTNER_BASEINFO_CACHE_KEY, newPartnerId, newLindId);
|
||||
String cacheKeyClerkInfo = MessageFormat.format(RedisConstant.PARTNER_CLERKINFO_CACHE_KEY,newPartnerId, newLindId);
|
||||
String cacheKeyIntentInfo = MessageFormat.format(RedisConstant.PARTNER_INTENTINFO_CACHE_KEY, newPartnerId, newLindId);
|
||||
redisUtilPool.delKey(cacheKeyBaseInfo);
|
||||
redisUtilPool.delKey(cacheKeyClerkInfo);
|
||||
redisUtilPool.delKey(cacheKeyIntentInfo);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user