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
9de3f67b
Commit
9de3f67b
authored
Jan 15, 2025
by
Lambertliu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):管道登记功能开发
parent
26531076
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
4 deletions
+28
-4
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+28
-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/JgUseRegistrationServiceImpl.java
View file @
9de3f67b
...
...
@@ -3971,14 +3971,38 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
.
filter
(
Objects:
:
nonNull
)
.
mapToDouble
(
value
->
Double
.
parseDouble
((
String
)
value
))
.
sum
();
return
MapBuilder
.<
String
,
Object
>
create
()
MapBuilder
<
String
,
Object
>
resultBuilder
=
MapBuilder
.<
String
,
Object
>
create
()
.
put
(
"equipmentLists"
,
equList
)
.
put
(
"projectContraption"
,
projectContraption
.
getProjectContraption
())
.
put
(
"projectContraptionId"
,
projectContraptionSeq
)
.
put
(
"projectContraptionNo"
,
projectContraption
.
getProjectContraptionNo
())
.
put
(
"pipelineLength"
,
totalPipelineLength
)
.
build
();
.
put
(
"pipelineLength"
,
totalPipelineLength
);
setProjectContraptionInfo
(
projectContraptionSeq
,
resultBuilder
);
return
resultBuilder
.
build
();
}
private
void
setProjectContraptionInfo
(
String
projectContraptionSeq
,
MapBuilder
<
String
,
Object
>
re
)
{
LambdaQueryWrapper
<
IdxBizJgProjectConstruction
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
queryWrapper
.
eq
(
IdxBizJgProjectConstruction:
:
getProjectContraptionId
,
projectContraptionSeq
)
.
orderByDesc
(
IdxBizJgProjectConstruction:
:
getUscDate
).
last
(
"limit 1"
);
IdxBizJgProjectConstruction
construction
=
idxBizJgProjectConstructionMapper
.
selectOne
(
queryWrapper
);
if
(
construction
!=
null
){
re
.
put
(
"installLeaderName"
,
construction
.
getConstructionLeaderName
());
re
.
put
(
"installLeaderPhone"
,
construction
.
getConstructionLeaderPhone
());
re
.
put
(
"installStartDate"
,
construction
.
getUscDate
());
re
.
put
(
"installPropertyUnitName"
,
construction
.
getConstructionLeaderName
());
re
.
put
(
"installProxyStatementAttachment"
,
JSON
.
parse
(
construction
.
getProxyStatementAttachment
()));
re
.
put
(
"installContractAttachment"
,
JSON
.
parse
(
construction
.
getConstructionContractAttachment
()));
re
.
put
(
"insOtherAccessories"
,
JSON
.
parse
(
construction
.
getConstructionOtherAccessories
()));
re
.
put
(
"installStreet"
,
construction
.
getStreetName
());
re
.
put
(
"installProvince"
,
construction
.
getProvinceName
());
re
.
put
(
"installAddress"
,
construction
.
getAddress
());
re
.
put
(
"installCity"
,
construction
.
getCityName
());
re
.
put
(
"installIsXixian"
,
construction
.
getIsXixian
());
re
.
put
(
"installCounty"
,
construction
.
getCountyName
());
re
.
put
(
"uscUnitCreditCode"
,
construction
.
getUscUnitCreditCode
());
re
.
put
(
"uscUnitName"
,
construction
.
getUscUnitName
());
}
}
private
void
setConstructionInfo
(
String
projectContraptionSeq
,
Map
<
String
,
Object
>
re
)
{
...
...
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