Commit bf60a7ad by huangjy

feat:睡眠定时器时间

parent bd36f727
......@@ -302,6 +302,7 @@ public class PlatElderSleepServiceImpl extends ServiceImpl<PlatElderSleepMapper,
startSleepTime = entry.getKey();
}
sleepMinute++;
continue;
}
if (StringUtils.isEmpty(startSleepTime) && sleepMinute == 0) {
continue;
......@@ -740,7 +741,7 @@ public class PlatElderSleepServiceImpl extends ServiceImpl<PlatElderSleepMapper,
public List<String> getLastDayHourRange() {
int count = 24;
LocalDateTime localDateTime = getDayStart(LocalDate.now());
LocalDateTime localDateTime = LocalDateTime.now();
List<String> list = Lists.newArrayList();
String startTime;
String endTime;
......
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 sign in to comment