Commit dd60382c by 徐高华

null

parent 137147b4
...@@ -79,6 +79,9 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService ...@@ -79,6 +79,9 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
// 0已失效 1待完成 2已完成 // 0已失效 1待完成 2已完成
Integer sendStatus = qdto.getSendStatus() ; Integer sendStatus = qdto.getSendStatus() ;
TabQwMomentPlan plan = this.qwMomentPlanMapper.getById(qdto.getPlanId()) ; TabQwMomentPlan plan = this.qwMomentPlanMapper.getById(qdto.getPlanId()) ;
if(null == plan) {
return ServiceResponse.failure("9999","活动不存在") ;
}
boolean isEnd = plan.getStatusFlag()==2 || plan.getEndDate().getTime() <= System.currentTimeMillis() ; boolean isEnd = plan.getStatusFlag()==2 || plan.getEndDate().getTime() <= System.currentTimeMillis() ;
if(null != sendStatus && isEnd && sendStatus==1) { if(null != sendStatus && isEnd && sendStatus==1) {
return ServiceResponse.success(new Page<>()); return ServiceResponse.success(new Page<>());
......
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