Commit 5dc5a98e authored by xuxin's avatar xuxin

用户打开店铺记录在保存记录的同时删除过期的记录

parent 4f14c5ed
...@@ -148,7 +148,7 @@ public class HistoryServiceImpl implements HistoryService { ...@@ -148,7 +148,7 @@ public class HistoryServiceImpl implements HistoryService {
@Override @Override
public void addBrowserWinLog(String username, WinHistory winHistory) { public void addBrowserWinLog(String username, WinHistory winHistory) {
browserWinLogRepository.deleteBeforeWinLog(username, 7); browserWinLogRepository.deleteBeforeWinLog(username, 3);
browserWinLogRepository.addWinLog(username, winHistory); browserWinLogRepository.addWinLog(username, winHistory);
} }
} }
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 to comment