Authored by bblu

时间统一用应用服务时间

... ... @@ -248,6 +248,7 @@ public class AddVirtualUserTimer {
String[] whileArr = null;
String whiteStr = "";
DrawlineUserQueue queueUser = null;
int currentTime = (int) (System.currentTimeMillis() / 1000);
for (DrawlineActivity activity : activityList) {
whiteStr = whileMap.get(activity.getId());
if (StringUtils.isEmpty(whiteStr)) {
... ... @@ -265,6 +266,8 @@ public class AddVirtualUserTimer {
queueUser.setUid(Integer.parseInt(white));
queueUser.setUserType((byte) UserTypeEnum.REAL_USER.getValue());
queueUser.setStatus((byte) 1);
queueUser.setCreateTime(currentTime);
queueUser.setUpdateTime(currentTime);
//插入排队表
drawlineUserQueueDAO.insertAutoSort(queueUser);
//一次只插入一条白名单
... ...