Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
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
项目统一框架
amos-boot-biz
Commits
285586bc
Commit
285586bc
authored
Sep 22, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数据异常导致展示为"null"
parent
0b36e29e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
AlertCalledServiceImpl.java
...ule/elevator/biz/service/impl/AlertCalledServiceImpl.java
+1
-1
ESElevatorServiceImpl.java
...dule/elevator/biz/service/impl/ESElevatorServiceImpl.java
+1
-0
No files found.
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/java/com/yeejoin/amos/boot/module/elevator/biz/service/impl/AlertCalledServiceImpl.java
View file @
285586bc
...
...
@@ -162,7 +162,7 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
alertCalledDto
.
setCity
(
String
.
valueOf
(
map
.
get
(
"city"
)));
alertCalledDto
.
setDistrict
(
String
.
valueOf
(
map
.
get
(
"district"
)));
alertCalledDto
.
setUseStatus
(
String
.
valueOf
(
map
.
get
(
"useStatus"
)));
alertCalledDto
.
setUseSiteCategory
(
String
.
valueOf
(
map
.
get
(
"useSiteCategory"
)));
alertCalledDto
.
setUseSiteCategory
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"useSiteCategory"
))
||
"null"
.
equals
(
String
.
valueOf
(
map
.
get
(
"useSiteCategory"
)))
?
null
:
String
.
valueOf
(
map
.
get
(
"useSiteCategory"
)));
alertCalledDto
.
setUseUnit
(
String
.
valueOf
(
map
.
get
(
"useUnit"
)));
alertCalledDto
.
setRegionCode
(
String
.
valueOf
(
map
.
get
(
"regionCode"
)));
}
...
...
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/java/com/yeejoin/amos/boot/module/elevator/biz/service/impl/ESElevatorServiceImpl.java
View file @
285586bc
...
...
@@ -480,6 +480,7 @@ public class ESElevatorServiceImpl {
JSONObject
jsonObject
=
(
JSONObject
)
JSONObject
.
toJSON
(
searchHit
.
getContent
());
SpecialEquipmentDto
esElevatorDto
=
JSONObject
.
toJavaObject
(
jsonObject
,
SpecialEquipmentDto
.
class
);
esElevatorDto
.
setCategoryCode
(
"3000"
);
esElevatorDto
.
setInnerNum
(
ObjectUtils
.
isEmpty
(
esElevatorDto
.
getInnerNum
())
||
"null"
.
equals
(
esElevatorDto
.
getInnerNum
())
?
null
:
esElevatorDto
.
getInnerNum
());
list
.
add
(
esElevatorDto
);
}
total
=
searchHits
.
getTotalHits
();
...
...
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