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
260ea63c
Commit
260ea63c
authored
Feb 11, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):bug-26985 历史无证燃气管道导入报错
parent
99ca7203
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
DataDockServiceImpl.java
.../boot/module/jg/biz/service/impl/DataDockServiceImpl.java
+12
-4
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/DataDockServiceImpl.java
View file @
260ea63c
...
...
@@ -1563,10 +1563,10 @@ public class DataDockServiceImpl {
String
equListCode
=
String
.
valueOf
(
equipInfo
.
get
(
"EQU_LIST"
));
String
equCategoryCode
=
String
.
valueOf
(
equipInfo
.
get
(
"EQU_CATEGORY"
));
String
equDefineCode
=
String
.
valueOf
(
equipInfo
.
get
(
"EQU_DEFINE"
));
String
receiveOrgCode
=
String
.
valueOf
(
equipInfo
.
get
(
"RECEIVE_ORG_CODE"
)
);
String
receiveOrgCode
=
Optional
.
ofNullable
(
equipInfo
.
get
(
"RECEIVE_ORG_CODE"
)).
map
(
String:
:
valueOf
).
orElse
(
null
);
String
inspectUnitCreditCode
=
Optional
.
ofNullable
(
equLists
.
get
(
0
).
getInspectOrgCode
()).
orElse
(
""
);
String
inspectUnitName
=
Optional
.
ofNullable
(
equLists
.
get
(
0
).
getInspectOrgName
()).
orElse
(
""
);
String
useOrgCode
=
String
.
valueOf
(
equipInfo
.
get
(
"USE_ORG_CODE"
)
);
String
useOrgCode
=
Optional
.
ofNullable
(
equipInfo
.
get
(
"USE_ORG_CODE"
)).
map
(
String:
:
valueOf
).
orElse
(
null
);
String
province
=
String
.
valueOf
(
equipInfo
.
get
(
"province"
));
String
city
=
String
.
valueOf
(
equipInfo
.
get
(
"city"
));
String
county
=
String
.
valueOf
(
equipInfo
.
get
(
"county"
));
...
...
@@ -1598,8 +1598,16 @@ public class DataDockServiceImpl {
.
setOrgBranchName
(
orgBranchCode
.
split
(
"_"
).
length
>
1
?
orgBranchCode
.
split
(
"_"
)[
1
]
:
""
)
.
setUseOrgCode
(
useOrgCode
)
.
setVehicleApanage
(
String
.
valueOf
(
equipInfo
.
get
(
"VEHICLE_APANAGE"
)))
.
setReceiveOrgCode
(
receiveOrgCode
.
split
(
"_"
)[
0
])
.
setReceiveOrgName
(
receiveOrgCode
.
split
(
"_"
)[
1
])
.
setReceiveOrgCode
(
Optional
.
ofNullable
(
receiveOrgCode
)
.
map
(
code
->
code
.
split
(
"_"
))
.
filter
(
parts
->
parts
.
length
>
0
)
.
map
(
parts
->
parts
[
0
])
.
orElse
(
null
))
.
setReceiveOrgName
(
Optional
.
ofNullable
(
receiveOrgCode
)
.
map
(
code
->
code
.
split
(
"_"
))
.
filter
(
parts
->
parts
.
length
>
1
)
.
map
(
parts
->
parts
[
1
])
.
orElse
(
null
))
.
setProjectContraption
(
String
.
valueOf
(
equipInfo
.
get
(
"PROJECT_CONTRAPTION"
)))
.
setProjectContraptionNo
(
String
.
valueOf
(
equipInfo
.
get
(
"PROJECT_CONTRAPTION_NO"
)))
.
setProductPhoto
(
toJSONString
(
equipInfo
.
get
(
"PRODUCT_PHOTO"
)))
...
...
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