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
f2a8b77f
Commit
f2a8b77f
authored
Jul 07, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
0d282424
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
MaintenanceResourceDataController.java
...pmanage/controller/MaintenanceResourceDataController.java
+13
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/MaintenanceResourceDataController.java
View file @
f2a8b77f
...
...
@@ -8,6 +8,8 @@ import java.util.List;
import
javax.servlet.http.HttpServletResponse
;
import
com.yeejoin.equipmanage.common.utils.StringUtil
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.CollectionUtils
;
...
...
@@ -197,7 +199,17 @@ public class MaintenanceResourceDataController extends AbstractBaseController {
pageBean
=
new
Page
<>(
0
,
Long
.
MAX_VALUE
);
}
page
=
maintenanceResourceDataService
.
page
(
pageBean
,
queryWrapper
);
page
.
getRecords
().
stream
().
forEach
(
e
->
e
.
setLocation
(
e
.
getBuildingName
()
==
null
?
""
:
e
.
getBuildingName
()+
e
.
getLocation
()
==
null
?
""
:
e
.
getLocation
())
);
page
.
getRecords
().
stream
().
forEach
(
e
->{
String
add
=
""
;
if
(!
ValidationUtil
.
isEmpty
(
e
.
getBuildingName
())){
add
=
add
+
e
.
getBuildingName
();
};
if
(!
ValidationUtil
.
isEmpty
(
e
.
getLocation
())){
add
=
add
+
e
.
getLocation
();
}
e
.
setLocation
(
add
);
}
);
return
page
;
}
...
...
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