Commit 18fa217a by zwb

修改简历导入

parent 2266fcfb
......@@ -129,4 +129,9 @@ public interface ResumeCacheService {
*/
void delResumeListCache(Long userId);
/**
* 删除模块数据
*/
void delResumeModelCache(Long resumeId);
}
......@@ -226,6 +226,7 @@ public class NewEditionResumeServiceImpl implements NewEditionResumeService {
this.functionResumeBaseMapper.updateById(resumeNew);
this.resumeCacheService.saveUserResumeListCache(resumeNew, finalUser.getId());
this.resumeCacheService.delResumeListCache(finalUser.getId());
this.resumeCacheService.delResumeModelCache(resumeNew.getId());
Map<String, Object> templateMap = new HashMap<>();
templateMap.put("templateId", resumeNew.getTemplateId());
......
......@@ -295,4 +295,10 @@ public class ResumeCacheServiceImpl implements ResumeCacheService {
String key = REDIS_RESUME_LIST_KEY_V2.formatted(userId);
redisTemplate.delete(key);
}
@Override
public void delResumeModelCache(Long resumeId) {
String key = REDIS_RESUME_MODEL_LIST_KEY.formatted(resumeId);
redisTemplate.delete(key);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment