Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
emport-api
Overview
Overview
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
刘泽志
emport-api
Commits
2fae3a2b
Commit
2fae3a2b
authored
Sep 21, 2023
by
guoxw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
元字段管理字段同步去重
parent
e7bffc2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
DataFieldController.java
...yf/his/web/controller/dataImport/DataFieldController.java
+1
-1
No files found.
admin-api/src/main/java/com/tbyf/his/web/controller/dataImport/DataFieldController.java
View file @
2fae3a2b
...
@@ -397,7 +397,7 @@ public class DataFieldController {
...
@@ -397,7 +397,7 @@ public class DataFieldController {
}
}
List
<
FieldDbDiffVO
>
list
=
new
ArrayList
<>();
List
<
FieldDbDiffVO
>
list
=
new
ArrayList
<>();
templateList
.
forEach
(
item
->
{
templateList
.
forEach
(
item
->
{
Optional
<
FieldDbDiffVO
>
first
=
list
.
stream
().
filter
(
l
->
StringUtils
.
equalsIgnoreCase
(
item
.
getDataSourceId
(),
item
.
getTableName
())).
findFirst
();
Optional
<
FieldDbDiffVO
>
first
=
list
.
stream
().
filter
(
l
->
StringUtils
.
equalsIgnoreCase
(
l
.
getDatasourceId
(),
item
.
getDataSourceId
())
&&
StringUtils
.
equalsIgnoreCase
(
l
.
getTableName
(),
item
.
getTableName
())).
findFirst
();
if
(!
first
.
isPresent
())
{
if
(!
first
.
isPresent
())
{
FieldDbDiffVO
vo
=
new
FieldDbDiffVO
();
FieldDbDiffVO
vo
=
new
FieldDbDiffVO
();
vo
.
setDatasourceId
(
item
.
getDataSourceId
());
vo
.
setDatasourceId
(
item
.
getDataSourceId
());
...
...
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