案例萃取,案例浏览记录

This commit is contained in:
yang
2024-09-11 15:34:46 +08:00
parent 9e3183b93d
commit c02c9246b3

View File

@@ -1448,6 +1448,7 @@ public class CasesServiceImpl implements ICasesService {
browsingHistoryVo.setBrowsingHistoryId(userDynamic.getId()); browsingHistoryVo.setBrowsingHistoryId(userDynamic.getId());
browsingHistoryVo.setContentInfo(userDynamic.getContentInfo()); browsingHistoryVo.setContentInfo(userDynamic.getContentInfo());
browsingHistoryVo.setEventTime(userDynamic.getEventTime()); browsingHistoryVo.setEventTime(userDynamic.getEventTime());
browsingHistoryVo.setContentId(userDynamic.getContentId());
browsingHistoryVo.setId(null); browsingHistoryVo.setId(null);
if (map.containsKey(userDynamic.getContentId())){ if (map.containsKey(userDynamic.getContentId())){
// 确保copy案例时不会覆盖数据 // 确保copy案例时不会覆盖数据