Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ioc_sixiang_license
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zengtianlai3
ioc_sixiang_license
Commits
bb174c54
Commit
bb174c54
authored
Jun 16, 2022
by
zengtianlai3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改monitor
parent
8b373441
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
MonitorServiceImpl.java
.../iot/sixiang/license/service/impl/MonitorServiceImpl.java
+3
-4
application.yml
license/src/main/resources/application.yml
+1
-1
No files found.
license/src/main/java/iot/sixiang/license/service/impl/MonitorServiceImpl.java
View file @
bb174c54
...
@@ -67,8 +67,8 @@ public class MonitorServiceImpl extends ServiceImpl<MonitorMapper, Monitor> impl
...
@@ -67,8 +67,8 @@ public class MonitorServiceImpl extends ServiceImpl<MonitorMapper, Monitor> impl
for
(
Monitor
monitor
:
monitorList
)
{
for
(
Monitor
monitor
:
monitorList
)
{
Integer
hour
=
monitor
.
getHour
();
Integer
hour
=
monitor
.
getHour
();
if
(
i
==
hour
)
{
if
(
i
==
hour
)
{
count
=
monitor
.
getCount
();
count
+
=
monitor
.
getCount
();
break
;
}
}
}
}
listX
.
add
(
i
);
listX
.
add
(
i
);
...
@@ -92,8 +92,7 @@ public class MonitorServiceImpl extends ServiceImpl<MonitorMapper, Monitor> impl
...
@@ -92,8 +92,7 @@ public class MonitorServiceImpl extends ServiceImpl<MonitorMapper, Monitor> impl
for
(
Monitor
monitor
:
monitorList
)
{
for
(
Monitor
monitor
:
monitorList
)
{
LocalDate
tempDate
=
monitor
.
getDate
();
LocalDate
tempDate
=
monitor
.
getDate
();
if
(
target
.
isEqual
(
tempDate
))
{
if
(
target
.
isEqual
(
tempDate
))
{
count
=
monitor
.
getCount
();
count
+=
monitor
.
getCount
();
break
;
}
}
}
}
listX
.
add
(
i
);
listX
.
add
(
i
);
...
...
license/src/main/resources/application.yml
View file @
bb174c54
spring
:
spring
:
profiles
:
profiles
:
active
:
test
active
:
dev
application
:
application
:
name
:
iot_license
#当前服务的名称
name
:
iot_license
#当前服务的名称
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment