Commit eb5a4f53 by 徐高华

朋友圈

parent 669f45c0
...@@ -234,13 +234,13 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService ...@@ -234,13 +234,13 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
@Override @Override
public void updateMomentId(Long attendId , int times) { public void updateMomentId(Long attendId , int times) {
TabQwMomentPlanAttend tab = this.qwMomentPlanAttendMapper.getById(attendId) ; TabQwMomentPlanAttend tab = this.qwMomentPlanAttendMapper.getById(attendId) ;
if(times > 10) {
return;
}
String momentId = this.getMomentId(tab.getStaffId() , tab.getSendTime() , times) ; String momentId = this.getMomentId(tab.getStaffId() , tab.getSendTime() , times) ;
if(StringUtils.isNotBlank(momentId)) { if(StringUtils.isNotBlank(momentId)) {
this.qwMomentPlanAttendMapper.updateMomentId(attendId, momentId); this.qwMomentPlanAttendMapper.updateMomentId(attendId, momentId);
}else { }else {
if(times >= 10) {
return;
}
logger.info("未获取到,延迟获取={},{}",tab.getPlanId(),tab.getStaffId()) ; logger.info("未获取到,延迟获取={},{}",tab.getPlanId(),tab.getStaffId()) ;
CommonMQDTO mq = new CommonMQDTO() ; CommonMQDTO mq = new CommonMQDTO() ;
mq.setType(7) ; mq.setType(7) ;
......
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