Commit 2725dc96 by 徐高华

朋友圈

parent 388d5483
...@@ -483,11 +483,11 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService { ...@@ -483,11 +483,11 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
if (null != bo && (null != bo.getLinkCount() || null != bo.getCommentCount())) { if (null != bo && (null != bo.getLinkCount() || null != bo.getCommentCount())) {
int like = 0 ; int like = 0 ;
int comment = 0 ; int comment = 0 ;
if(bo.getLinkCount() == null) { if(bo.getLinkCount() != null) {
like = 0 ; like = bo.getLinkCount() ;
} }
if(bo.getCommentCount() == null) { if(bo.getCommentCount() != null) {
comment = 0 ; comment = bo.getCommentCount() ;
} }
this.qwMomentPlanMapper.updateQwData(planId , like , comment) ; this.qwMomentPlanMapper.updateQwData(planId , like , comment) ;
} }
......
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