Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
e03e60cf
Commit
e03e60cf
authored
Sep 06, 2024
by
朱晨阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
待发货电站添加字段
parent
232fdc49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
PreparationMoneyServiceImpl.java
...le/hygf/biz/service/impl/PreparationMoneyServiceImpl.java
+17
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PreparationMoneyServiceImpl.java
View file @
e03e60cf
...
...
@@ -75,7 +75,6 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
private
UnitInfoServiceImpl
unitInfoService
;
@Autowired
private
PreparationMoneyLogServiceImpl
preparationMoneyLogService
;
@Autowired
RegionalCompaniesMapper
regionalCompaniesMapper
;
@Autowired
...
...
@@ -85,6 +84,10 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
@Autowired
DesignInformationMapper
designInformationMapper
;
@Autowired
HouseholdContractMapper
householdContractMapper
;
@Autowired
PowerStationEngineeringInfoMapper
powerStationEngineeringInfoMapper
;
@Autowired
PreparationMoneyLogMapper
preparationMoneyLogMapper
;
@Autowired
PeasantHouseholdMapper
peasantHouseholdMapper
;
...
...
@@ -1176,7 +1179,19 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
PageHelper
.
startPage
(
current
,
size
);
List
<
Map
<
String
,
Object
>>
resultPage
=
preparationMoneyMapper
.
preparationStation
(
preparationMoneyState
,
ownersName
,
regionalcompaniesSeq
,
developerId
,
state
);
PageInfo
<
Map
<
String
,
Object
>>
page
=
new
PageInfo
(
resultPage
);
if
(
resultPage
!=
null
&&
resultPage
.
size
()
>
0
)
{
resultPage
.
forEach
(
e
->
{
System
.
out
.
println
(
"+++++++++++++++"
+
e
.
get
(
"peasantHouseholdNo"
));
if
(
e
.
get
(
"peasantHouseholdNo"
)
!=
null
)
{
e
.
put
(
"scale"
,
householdContractMapper
.
getHygfCommercialScale
((
String
)
e
.
get
(
"peasantHouseholdNo"
)));
e
.
put
(
"realScale"
,
powerStationEngineeringInfoMapper
.
getRealScaleByPeasantHouseholdNo
((
String
)
e
.
get
(
"peasantHouseholdNo"
)));
}
});
}
PageInfo
<
Map
<
String
,
Object
>>
page
=
new
PageInfo
(
resultPage
);
Page
<
Map
<
String
,
Object
>>
pagenew
=
new
Page
<>();
pagenew
.
setTotal
(
page
.
getTotal
());
pagenew
.
setSize
(
size
);
...
...
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