Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bb82cc60
authored
Dec 21, 2023
by
huangjy
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix:补充字段
parent
8b15d268
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
server-service/src/main/java/com/makeit/external/strategy/HuiNengStrategy.java
server-service/src/main/java/com/makeit/external/strategy/HuiNengStrategy.java
View file @
bb82cc60
...
@@ -49,6 +49,7 @@ public class HuiNengStrategy implements OpenApiBaseStrategy {
...
@@ -49,6 +49,7 @@ public class HuiNengStrategy implements OpenApiBaseStrategy {
HuinengHealthReportDTO
dto
=
new
HuinengHealthReportDTO
();
HuinengHealthReportDTO
dto
=
new
HuinengHealthReportDTO
();
dto
.
setId
(
platDevice
.
getOriDeviceId
());
dto
.
setId
(
platDevice
.
getOriDeviceId
());
dto
.
setDeviceType
(
"健康监测设备"
);
dto
.
setDeviceType
(
"健康监测设备"
);
dto
.
setDeviceModel
(
platDevice
.
getProductId
());
dto
.
setDtype
(
"实时上报"
);
dto
.
setDtype
(
"实时上报"
);
dto
.
setUid
(
platDevice
.
getOriDeviceId
());
dto
.
setUid
(
platDevice
.
getOriDeviceId
());
dto
.
setPk
(
platDevice
.
getProductId
());
dto
.
setPk
(
platDevice
.
getProductId
());
...
@@ -68,7 +69,7 @@ public class HuiNengStrategy implements OpenApiBaseStrategy {
...
@@ -68,7 +69,7 @@ public class HuiNengStrategy implements OpenApiBaseStrategy {
reportInfo
.
setSleepQuality
(
""
);
reportInfo
.
setSleepQuality
(
""
);
reportInfo
.
setMedicationStatus
(
""
);
reportInfo
.
setMedicationStatus
(
""
);
reportInfo
.
setAlarmReason
(
""
);
reportInfo
.
setAlarmReason
(
""
);
reportInfo
.
setAlarmType
(
""
);
reportInfo
.
setAlarmType
(
"
1
"
);
reportInfo
.
setAlarmTime
(
""
);
reportInfo
.
setAlarmTime
(
""
);
reportInfo
.
setEventName
(
"设备上报"
);
reportInfo
.
setEventName
(
"设备上报"
);
reportInfo
.
setEventType
(
"1"
);
reportInfo
.
setEventType
(
"1"
);
...
@@ -112,6 +113,7 @@ public class HuiNengStrategy implements OpenApiBaseStrategy {
...
@@ -112,6 +113,7 @@ public class HuiNengStrategy implements OpenApiBaseStrategy {
dto
.
setDtype
(
"报警上报"
);
dto
.
setDtype
(
"报警上报"
);
dto
.
setUid
(
platDevice
.
getOriDeviceId
());
dto
.
setUid
(
platDevice
.
getOriDeviceId
());
dto
.
setPk
(
platDevice
.
getProductId
());
dto
.
setPk
(
platDevice
.
getProductId
());
dto
.
setDeviceModel
(
platDevice
.
getProductId
());
dto
.
setDid
(
platDevice
.
getOriDeviceId
());
dto
.
setDid
(
platDevice
.
getOriDeviceId
());
dto
.
setSite
(
""
);
dto
.
setSite
(
""
);
dto
.
setLatitude
(
""
);
dto
.
setLatitude
(
""
);
...
...
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