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
0723b59f
Commit
0723b59f
authored
Dec 01, 2022
by
zhuangxinwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小区导入
parent
d651c780
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
FkqkServiceImpl.java
...n/java/com/ruoyi/system/service/impl/FkqkServiceImpl.java
+5
-4
index.vue
ruoyi-ui/src/views/system/fkqk/index.vue
+1
-0
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/FkqkServiceImpl.java
View file @
0723b59f
...
@@ -128,12 +128,12 @@ public class FkqkServiceImpl implements IFkqkService
...
@@ -128,12 +128,12 @@ public class FkqkServiceImpl implements IFkqkService
List
<
Fkqk
>
trueList
=
new
ArrayList
<>();
List
<
Fkqk
>
trueList
=
new
ArrayList
<>();
List
<
Fkqk
>
failureList
=
new
ArrayList
<>();
List
<
Fkqk
>
failureList
=
new
ArrayList
<>();
for
(
Fkqk
fkqk
:
residentialList
){
for
(
Fkqk
fkqk
:
residentialList
){
if
(
StringUtils
.
isNotEmpty
(
fkqk
.
getStreet
())
&&
StringUtils
.
isNotEmpty
(
fkqk
.
getCommunity
())
if
(
StringUtils
.
isNotEmpty
(
fkqk
.
getArea
())
&&
StringUtils
.
isNotEmpty
(
fkqk
.
getFkHs
())
&&
StringUtils
.
isNotEmpty
(
fkqk
.
getFkHs
())
&&
StringUtils
.
isNotEmpty
(
fkqk
.
getFkRs
())
&&
StringUtils
.
isNotEmpty
(
fkqk
.
getFkRs
())
&&
fkqk
.
getFkTime
()
!=
null
){
&&
fkqk
.
getFkTime
()
!=
null
){
String
communityValue
=
""
;
String
communityValue
=
""
;
String
committeeValue
=
""
;
String
committeeValue
=
""
;
String
streetValue
=
""
;
String
streetValue
=
""
;
String
areaValue
=
""
;
Date
now
;
Date
now
;
Calendar
c
=
Calendar
.
getInstance
();
Calendar
c
=
Calendar
.
getInstance
();
now
=
new
Date
(
c
.
get
(
Calendar
.
YEAR
),
c
.
get
(
Calendar
.
MONTH
)
+
1
,
c
.
get
(
Calendar
.
DAY_OF_MONTH
));
now
=
new
Date
(
c
.
get
(
Calendar
.
YEAR
),
c
.
get
(
Calendar
.
MONTH
)
+
1
,
c
.
get
(
Calendar
.
DAY_OF_MONTH
));
...
@@ -178,7 +178,7 @@ public class FkqkServiceImpl implements IFkqkService
...
@@ -178,7 +178,7 @@ public class FkqkServiceImpl implements IFkqkService
List
<
String
>
values
=
area
.
stream
().
filter
(
l
->
fkqk
.
getArea
().
equals
(
l
.
getDictLabel
()))
List
<
String
>
values
=
area
.
stream
().
filter
(
l
->
fkqk
.
getArea
().
equals
(
l
.
getDictLabel
()))
.
map
(
SysDictData:
:
getDictValue
).
collect
(
Collectors
.
toList
());
.
map
(
SysDictData:
:
getDictValue
).
collect
(
Collectors
.
toList
());
if
(!
values
.
isEmpty
())
if
(!
values
.
isEmpty
())
fkqk
.
setArea
(
values
.
get
(
0
)
);
areaValue
=
values
.
get
(
0
);
else
{
else
{
failureList
.
add
(
fkqk
);
failureList
.
add
(
fkqk
);
continue
;
continue
;
...
@@ -203,6 +203,7 @@ public class FkqkServiceImpl implements IFkqkService
...
@@ -203,6 +203,7 @@ public class FkqkServiceImpl implements IFkqkService
fkqk
.
setCommunity
(
communityValue
);
fkqk
.
setCommunity
(
communityValue
);
fkqk
.
setCommittee
(
committeeValue
);
fkqk
.
setCommittee
(
committeeValue
);
fkqk
.
setStreet
(
streetValue
);
fkqk
.
setStreet
(
streetValue
);
fkqk
.
setArea
(
areaValue
);
// fkqk.setStreet(sysDictDataHave.get(0).getDictValue());
// fkqk.setStreet(sysDictDataHave.get(0).getDictValue());
fkqk
.
setCreateBy
(
createBy
);
fkqk
.
setCreateBy
(
createBy
);
fkqk
.
setCreateTime
(
DateUtils
.
getNowDate
());
fkqk
.
setCreateTime
(
DateUtils
.
getNowDate
());
...
...
ruoyi-ui/src/views/system/fkqk/index.vue
View file @
0723b59f
...
@@ -1002,6 +1002,7 @@ export default {
...
@@ -1002,6 +1002,7 @@ export default {
/** 新增按钮操作 */
/** 新增按钮操作 */
handleAdd
()
{
handleAdd
()
{
this
.
reset
();
this
.
reset
();
this
.
form
.
area
=
'1'
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"添加小区封控情况"
;
this
.
title
=
"添加小区封控情况"
;
},
},
...
...
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