Commit 3b8cfd21 by 梅存智

修复管理后台查询资讯列表会增加阅读数量

parent 241052de
...@@ -1051,7 +1051,7 @@ public class InformationServiceImpl extends ServiceImpl<InformationMapper, Infor ...@@ -1051,7 +1051,7 @@ public class InformationServiceImpl extends ServiceImpl<InformationMapper, Infor
info.setAdmireNum(eventTrackService.getNum("event_admire_"+info.getTypeOne(),info.getId())); info.setAdmireNum(eventTrackService.getNum("event_admire_"+info.getTypeOne(),info.getId()));
info.setFavoriteNum(eventTrackService.getNum("event_comment_"+info.getTypeOne(),info.getId())); info.setFavoriteNum(eventTrackService.getNum("event_comment_"+info.getTypeOne(),info.getId()));
info.setRelayNum(eventTrackService.getNum("event_relay_"+info.getTypeOne(),info.getId())); info.setRelayNum(eventTrackService.getNum("event_relay_"+info.getTypeOne(),info.getId()));
info.setReadNum(informationReadNumberService.getInformationReadCount(info.getId())); info.setReadNum(informationReadNumberService.getInformationReadCountPc(info.getId()));
} }
} }
page.setRecords(list); page.setRecords(list);
......
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