Commit d28946e6 by 徐高华

朋友圈埋点调整

parent b55cba1f
......@@ -155,9 +155,11 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
plan.setBeginDate(plan.getPublishTime());
Date endTime = DateUtil.getEndTimeOfDay(DateUtil.addDay(plan.getBeginDate(), plan.getExpireDays()));
plan.setEndDate(endTime);
if(null == planId) {
if(null == planId || null == this.qwMomentPlanMapper.getById(planId)) {
createFlag = true ;
if(null == planId) {
planId = UniqueIdUtils.uniqueLong();
}
dto.setPlanId(planId);
plan.setPlanId(planId);
plan.setCreateTime(now);
......
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