Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-new-platform
Commits
0416204c
Commit
0416204c
authored
Mar 26, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加告警消息统计逻辑
parent
8a4139c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
device-manager/src/main/java/com/mortals/xhx/module/device/service/impl/DeviceMessageStatServiceImpl.java
...ule/device/service/impl/DeviceMessageStatServiceImpl.java
+3
-0
No files found.
device-manager/src/main/java/com/mortals/xhx/module/device/service/impl/DeviceMessageStatServiceImpl.java
View file @
0416204c
...
...
@@ -61,6 +61,9 @@ public class DeviceMessageStatServiceImpl extends AbstractCRUDServiceImpl<Device
deviceStatEntity
=
new
DeviceMessageStatEntity
();
deviceStatEntity
.
initAttrValue
();
deviceStatEntity
.
setSiteId
(
siteId
);
deviceStatEntity
.
setProductId
(
productEntity
.
getId
());
deviceStatEntity
.
setProductName
(
productEntity
.
getProductName
());
deviceStatEntity
.
setProductCode
(
productEntity
.
getProductCode
());
deviceStatEntity
.
setCreateTime
(
new
Date
());
deviceStatEntity
.
setYear
(
calendar
.
get
(
Calendar
.
YEAR
));
deviceStatEntity
.
setMonth
(
calendar
.
get
(
Calendar
.
MONTH
)
+
1
);
...
...
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