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
61e0757e
Commit
61e0757e
authored
Jul 01, 2022
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改bug
parent
eae9a9fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
16 deletions
+4
-16
FireBuildingServiceImpl.java
.../module/ccs/biz/service/impl/FireBuildingServiceImpl.java
+4
-16
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-ccs-biz/src/main/java/com/yeejoin/amos/boot/module/ccs/biz/service/impl/FireBuildingServiceImpl.java
View file @
61e0757e
...
...
@@ -103,37 +103,25 @@ public class FireBuildingServiceImpl extends BaseService<FireBuildingDto, FireBu
if
(
result
.
containsKey
(
"classify"
))
{
result
.
put
(
"buildType"
,
result
.
get
(
"classify"
));
}
if
(
result
.
containsKey
(
"photoUrl"
))
{
if
(
result
.
containsKey
(
"photoUrl"
)
&&
StrUtil
.
isNotEmpty
(
result
.
get
(
"photoUrl"
).
toString
())
)
{
String
[]
strArr
=
result
.
get
(
"photoUrl"
).
toString
().
split
(
","
);
List
<
String
>
list1
=
Arrays
.
asList
(
strArr
);
result
.
put
(
"img"
,
list1
);
if
(
CollUtil
.
isEmpty
(
list1
))
{
result
.
remove
(
"img"
,
""
);
}
}
if
(
result
.
containsKey
(
"fireRoadPhoto"
))
{
if
(
result
.
containsKey
(
"fireRoadPhoto"
)
&&
StrUtil
.
isNotEmpty
(
result
.
get
(
"fireRoadPhoto"
).
toString
())
)
{
String
[]
strArr
=
result
.
get
(
"fireRoadPhoto"
).
toString
().
split
(
","
);
List
<
String
>
list1
=
Arrays
.
asList
(
strArr
);
result
.
put
(
"fireExitsImg"
,
list1
);
if
(
CollUtil
.
isEmpty
(
list1
))
{
result
.
remove
(
"fireExitsImg"
,
""
);
}
}
if
(
result
.
containsKey
(
"build3photo"
))
{
if
(
result
.
containsKey
(
"build3photo"
)
&&
StrUtil
.
isNotEmpty
(
result
.
get
(
"build3photo"
).
toString
())
)
{
String
[]
strArr
=
result
.
get
(
"build3photo"
).
toString
().
split
(
","
);
List
<
String
>
list1
=
Arrays
.
asList
(
strArr
);
result
.
put
(
"elevationImg"
,
list1
);
if
(
CollUtil
.
isEmpty
(
list1
))
{
result
.
remove
(
"elevationImg"
,
""
);
}
}
if
(
result
.
containsKey
(
"buildPhoto"
))
{
if
(
result
.
containsKey
(
"buildPhoto"
)
&&
StrUtil
.
isNotEmpty
(
result
.
get
(
"buildPhoto"
).
toString
())
)
{
String
[]
strArr
=
result
.
get
(
"buildPhoto"
).
toString
().
split
(
","
);
List
<
String
>
list1
=
Arrays
.
asList
(
strArr
);
result
.
put
(
"planarGraphImg"
,
list1
);
if
(
CollUtil
.
isEmpty
(
list1
))
{
result
.
remove
(
"planarGraphImg"
);
}
}
return
result
;
}
...
...
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