Commit bb174c54 authored by zengtianlai3's avatar zengtianlai3

修改monitor

parent 8b373441
......@@ -67,8 +67,8 @@ public class MonitorServiceImpl extends ServiceImpl<MonitorMapper, Monitor> impl
for (Monitor monitor : monitorList) {
Integer hour = monitor.getHour();
if (i == hour) {
count = monitor.getCount();
break;
count += monitor.getCount();
}
}
listX.add(i);
......@@ -92,8 +92,7 @@ public class MonitorServiceImpl extends ServiceImpl<MonitorMapper, Monitor> impl
for (Monitor monitor : monitorList) {
LocalDate tempDate = monitor.getDate();
if (target.isEqual(tempDate)) {
count = monitor.getCount();
break;
count += monitor.getCount();
}
}
listX.add(i);
......
spring:
profiles:
active: test
active: dev
application:
name: iot_license #当前服务的名称
\ No newline at end of file
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