Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
data_management_system
Project
Project
Details
Activity
Releases
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
张伯涛
data_management_system
Commits
e9d2656c
Commit
e9d2656c
authored
Nov 30, 2022
by
zhuangxinwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
方舱导出模板
parent
d5f26673
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
FcryController.java
.../java/com/ruoyi/web/controller/system/FcryController.java
+36
-0
No files found.
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/FcryController.java
View file @
e9d2656c
...
@@ -99,6 +99,42 @@ public class FcryController extends BaseController
...
@@ -99,6 +99,42 @@ public class FcryController extends BaseController
}
else
{
}
else
{
fcryExport
.
setCommunity
(
""
);
fcryExport
.
setCommunity
(
""
);
}
}
if
(
StringUtils
.
isNotEmpty
(
fcryExport
.
getArea
()))
{
List
<
SysDictData
>
communities
=
DictUtils
.
getDictCache
(
"residential_area"
);
List
<
String
>
labels
=
communities
.
stream
().
filter
(
i
->
fcryExport
.
getArea
().
equals
(
i
.
getDictValue
()))
.
map
(
SysDictData:
:
getDictLabel
).
collect
(
Collectors
.
toList
());
if
(!
labels
.
isEmpty
())
{
fcryExport
.
setArea
(
labels
.
get
(
0
));
}
else
{
fcryExport
.
setArea
(
""
);
}
}
else
{
fcryExport
.
setArea
(
""
);
}
if
(
StringUtils
.
isNotEmpty
(
fcryExport
.
getCommittee
()))
{
List
<
SysDictData
>
communities
=
DictUtils
.
getDictCache
(
"committee"
);
List
<
String
>
labels
=
communities
.
stream
().
filter
(
i
->
fcryExport
.
getCommittee
().
equals
(
i
.
getDictValue
()))
.
map
(
SysDictData:
:
getDictLabel
).
collect
(
Collectors
.
toList
());
if
(!
labels
.
isEmpty
())
{
fcryExport
.
setCommittee
(
labels
.
get
(
0
));
}
else
{
fcryExport
.
setCommittee
(
""
);
}
}
else
{
fcryExport
.
setCommittee
(
""
);
}
if
(
StringUtils
.
isNotEmpty
(
fcryExport
.
getStreet
()))
{
List
<
SysDictData
>
communities
=
DictUtils
.
getDictCache
(
"street_town"
);
List
<
String
>
labels
=
communities
.
stream
().
filter
(
i
->
fcryExport
.
getStreet
().
equals
(
i
.
getDictValue
()))
.
map
(
SysDictData:
:
getDictLabel
).
collect
(
Collectors
.
toList
());
if
(!
labels
.
isEmpty
())
{
fcryExport
.
setStreet
(
labels
.
get
(
0
));
}
else
{
fcryExport
.
setStreet
(
""
);
}
}
else
{
fcryExport
.
setStreet
(
""
);
}
}
}
util
.
exportExcel
(
response
,
list
,
"方舱人员数据"
);
util
.
exportExcel
(
response
,
list
,
"方舱人员数据"
);
}
}
...
...
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