Commit 1fa2123d authored by zhaowei's avatar zhaowei

时间范围

parent eb2ac345
......@@ -82,7 +82,7 @@ public class DrawManagerImpl implements IDrawManager {
}
LocalDateTime nowTime = LocalDateTime.now();
LocalDateTime start = nowTime.minusDays(1);
LocalDateTime start = LocalDateTimeUtil.beginOfDay(nowTime);
LocalDateTime end = LocalDateTimeUtil.endOfDay(nowTime);
Integer maxDrawCountLimit = businessConfig.getDrawMaxCount();
Integer alreadyDrawCount = accountPrizeService.gainAlreadyDrawCount(request.getPhone(), start, end);
......
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