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
4581db7c
Commit
4581db7c
authored
Sep 05, 2024
by
朱晨阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
投融列表添加电站安装规模
parent
924f70ef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
FinancingInfoServiceImpl.java
...odule/hygf/biz/service/impl/FinancingInfoServiceImpl.java
+5
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/FinancingInfoServiceImpl.java
View file @
4581db7c
...
...
@@ -29,6 +29,7 @@ import com.yeejoin.amos.boot.module.hygf.api.entity.FinancingInfo;
import
com.yeejoin.amos.boot.module.hygf.api.entity.FinancingRectificationOrder
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.StdUserEmpower
;
import
com.yeejoin.amos.boot.module.hygf.api.mapper.FinancingInfoMapper
;
import
com.yeejoin.amos.boot.module.hygf.api.mapper.HouseholdContractMapper
;
import
com.yeejoin.amos.boot.module.hygf.api.service.IFinancingInfoService
;
import
com.yeejoin.amos.boot.module.hygf.api.util.RedisLockUtil
;
import
com.yeejoin.amos.feign.workflow.model.ActWorkflowBatchDTO
;
...
...
@@ -71,6 +72,8 @@ public class FinancingInfoServiceImpl extends BaseService<FinancingInfoDto, Fina
@Autowired
private
FinancingRectificationOrderServiceImpl
financingRectificationOrderService
;
@Autowired
private
HouseholdContractMapper
householdContractMapper
;
@Autowired
private
CommonServiceImpl
commonService
;
@Resource
(
type
=
RedisLockUtil
.
class
)
...
...
@@ -100,6 +103,8 @@ public class FinancingInfoServiceImpl extends BaseService<FinancingInfoDto, Fina
PageHelper
.
startPage
((
int
)
page
.
getCurrent
(),
(
int
)
page
.
getSize
());
List
<
Map
<
String
,
Object
>>
list
=
financingInfoMapper
.
getStationFinancingInfoList
(
params
,
amosOrgCodes
);
list
.
forEach
(
e
->
{
e
.
put
(
"scale"
,
householdContractMapper
.
getHygfCommercialScale
((
String
)
e
.
get
(
"peasantHouseholdNo"
)));
if
(
null
!=
e
.
get
(
"instanceId"
)
&&
e
.
get
(
"instanceId"
).
toString
().
contains
(
","
))
{
String
[]
instanceIds
=
e
.
get
(
"instanceId"
).
toString
().
split
(
","
);
e
.
put
(
"instanceId"
,
instanceIds
[
0
]);
...
...
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