Authored by chaogeng

活动详情添加活动开始属性

@@ -104,6 +104,13 @@ public class ActivitySettingServiceImpl implements IActivitySettingService { @@ -104,6 +104,13 @@ public class ActivitySettingServiceImpl implements IActivitySettingService {
104 }else{ 104 }else{
105 rspBO.setIsEnd(0); 105 rspBO.setIsEnd(0);
106 } 106 }
  107 + if(DateUtils.getCurrentTimeSecond() < beginTime){
  108 + rspBO.setIsBegin(0);
  109 + }else if(DateUtils.getCurrentTimeSecond() > endTime){
  110 + rspBO.setIsBegin(2);
  111 + }else{
  112 + rspBO.setIsBegin(1);
  113 + }
107 if(activityLuckydraw != null && activityLuckydraw.getDrawStatus() == 1){ 114 if(activityLuckydraw != null && activityLuckydraw.getDrawStatus() == 1){
108 rspBO.setIsDrawEnd(1); 115 rspBO.setIsDrawEnd(1);
109 }else{ 116 }else{