...
|
...
|
@@ -16,10 +16,12 @@ import com.yoho.activity.queue.service.IDrawlineUserActivityInfoService; |
|
|
import com.yoho.core.rest.client.ServiceCaller;
|
|
|
import com.yoho.error.exception.ServiceException;
|
|
|
import com.yoho.queue.dal.IDrawlineActivityDAO;
|
|
|
import com.yoho.queue.dal.IDrawlineActivityLuckydrawDAO;
|
|
|
import com.yoho.queue.dal.IDrawlineLuckyUserDAO;
|
|
|
import com.yoho.queue.dal.IDrawlinePrizeSettingDAO;
|
|
|
import com.yoho.queue.dal.IDrawlineUserQueueDAO;
|
|
|
import com.yoho.queue.dal.model.DrawlineActivity;
|
|
|
import com.yoho.queue.dal.model.DrawlineActivityLuckydraw;
|
|
|
import com.yoho.queue.dal.model.DrawlineLuckyUser;
|
|
|
import com.yoho.queue.dal.model.DrawlinePrizeSetting;
|
|
|
import com.yoho.queue.dal.model.DrawlineUserQueue;
|
...
|
...
|
@@ -44,7 +46,10 @@ public class DrawlineUserActivityInfoServiceImpl implements IDrawlineUserActivit |
|
|
@Autowired
|
|
|
private IDrawlineLuckyUserDAO drawlineLuckyUserDAO;
|
|
|
@Autowired
|
|
|
private IDrawlineActivityDAO drawlineActivityDAO;
|
|
|
private IDrawlineActivityDAO drawlineActivityDAO;
|
|
|
@Autowired
|
|
|
private IDrawlineActivityLuckydrawDAO drawlineActivityLuckydrawDAO;
|
|
|
|
|
|
@Autowired
|
|
|
private ServiceCaller service;
|
|
|
@Autowired
|
...
|
...
|
@@ -136,7 +141,11 @@ public class DrawlineUserActivityInfoServiceImpl implements IDrawlineUserActivit |
|
|
isActivityEnd = true;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//手工开奖也算活动结束
|
|
|
DrawlineActivityLuckydraw activityLuckydraw = drawlineActivityLuckydrawDAO.selectByIdAndStatus(activityId, "1");
|
|
|
if(null !=activityLuckydraw){
|
|
|
isActivityEnd = true;
|
|
|
}
|
|
|
// 10、构造prompt(活动结束了才有提示信息)
|
|
|
DlUserActivityInfoPrompt prompt = null;
|
|
|
if (isActivityEnd) {
|
...
|
...
|
|