Commit 388d5483 by 徐高华

朋友圈

parent 2ddd62e8
...@@ -495,7 +495,7 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService { ...@@ -495,7 +495,7 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
@Override @Override
public void getQwData(TabQwMomentPlanAttend task , int type ,String planMomentId) { public void getQwData(TabQwMomentPlanAttend task , int type ,String planMomentId) {
logger.info("获取企微的统计={},{},{}",JSONObject.toJSONString(task),task,planMomentId); logger.info("获取企微的统计={},{},{}",JSONObject.toJSONString(task),type,planMomentId);
if(StringUtils.isNotBlank(planMomentId)) { if(StringUtils.isNotBlank(planMomentId)) {
task.setMomentId(planMomentId); task.setMomentId(planMomentId);
} }
...@@ -510,11 +510,11 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService { ...@@ -510,11 +510,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(task.getPlanId() , like , comment) ; this.qwMomentPlanMapper.updateQwData(task.getPlanId() , 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