Showing
1 changed file
with
7 additions
and
0 deletions
@@ -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{ |
-
Please register or login to post a comment