Commit b3f2a21f by 徐高华

朋友圈结束3天内刷新数据

parent 054d28f3
...@@ -203,7 +203,9 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService ...@@ -203,7 +203,9 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
Long attendId = dto.getAttendId() ; Long attendId = dto.getAttendId() ;
TabQwMomentPlanAttend attend = this.qwMomentPlanAttendMapper.getById(attendId) ; TabQwMomentPlanAttend attend = this.qwMomentPlanAttendMapper.getById(attendId) ;
TabQwMomentPlan plan = this.qwMomentPlanMapper.getById(planId) ; TabQwMomentPlan plan = this.qwMomentPlanMapper.getById(planId) ;
this.qwMomentPlanService.getQwData(attend,1,plan.getMomentId()); if(null !=plan && plan.getStatusFlag()==1 && plan.getEndDate().getTime() + 1000*60*60*24*3L > System.currentTimeMillis()) {
this.qwMomentPlanService.getQwData(attend, 1, plan.getMomentId());
}
return ServiceResponse.success(dto); return ServiceResponse.success(dto);
} }
......
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