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
fbee338c
Commit
fbee338c
authored
Sep 02, 2024
by
朱晨阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
户用管理和并网管理列表添加字段
parent
17576467
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
BasicGridAcceptanceDto.java
...amos/boot/module/hygf/api/dto/BasicGridAcceptanceDto.java
+3
-0
BasicGridAcceptanceServiceImpl.java
...hygf/biz/service/impl/BasicGridAcceptanceServiceImpl.java
+11
-0
PeasantHouseholdServiceImpl.java
...le/hygf/biz/service/impl/PeasantHouseholdServiceImpl.java
+10
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/BasicGridAcceptanceDto.java
View file @
fbee338c
...
@@ -73,4 +73,7 @@ public class BasicGridAcceptanceDto extends BaseDto {
...
@@ -73,4 +73,7 @@ public class BasicGridAcceptanceDto extends BaseDto {
//并网登记id
//并网登记id
private
Long
fonGridId
;
private
Long
fonGridId
;
// 电站安装规模(kW)
private
String
scale
;
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/BasicGridAcceptanceServiceImpl.java
View file @
fbee338c
...
@@ -54,6 +54,8 @@ public class BasicGridAcceptanceServiceImpl
...
@@ -54,6 +54,8 @@ public class BasicGridAcceptanceServiceImpl
@Autowired
@Autowired
PeasantHouseholdMapper
peasantHouseholdMapper
;
PeasantHouseholdMapper
peasantHouseholdMapper
;
@Autowired
@Autowired
HouseholdContractMapper
householdContractMapper
;
@Autowired
private
CommonServiceImpl
commonService
;
private
CommonServiceImpl
commonService
;
private
final
String
OK
=
"0"
;
private
final
String
OK
=
"0"
;
...
@@ -82,6 +84,15 @@ public class BasicGridAcceptanceServiceImpl
...
@@ -82,6 +84,15 @@ public class BasicGridAcceptanceServiceImpl
pageNew
.
setCurrent
(
current
);
pageNew
.
setCurrent
(
current
);
pageNew
.
setTotal
(
page
.
getTotal
());
pageNew
.
setTotal
(
page
.
getTotal
());
pageNew
.
setSize
(
size
);
pageNew
.
setSize
(
size
);
if
(
page
.
getList
()
!=
null
&&
page
.
getList
().
size
()
>
0
)
{
page
.
getList
().
forEach
(
e
->
{
if
(
e
.
getPeasantHouseholdNo
()
!=
null
)
{
e
.
setScale
(
householdContractMapper
.
getHygfCommercialScale
(
e
.
getPeasantHouseholdNo
()));
}
});
}
pageNew
.
setRecords
(
page
.
getList
());
pageNew
.
setRecords
(
page
.
getList
());
return
pageNew
;
return
pageNew
;
}
}
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PeasantHouseholdServiceImpl.java
View file @
fbee338c
...
@@ -271,6 +271,16 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
...
@@ -271,6 +271,16 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
pagenew
.
setCurrent
(
current
);
pagenew
.
setCurrent
(
current
);
pagenew
.
setTotal
(
objectPageInfo
.
getTotal
());
pagenew
.
setTotal
(
objectPageInfo
.
getTotal
());
pagenew
.
setSize
(
size
);
pagenew
.
setSize
(
size
);
if
(
newRecords
!=
null
&&
newRecords
.
size
()
>
0
)
{
newRecords
.
forEach
(
e
->
{
if
(
e
.
getSurveyInformationId
()
!=
null
)
{
e
.
setScale
(
peasantHouseholdMapper
.
getHygfCommercialScale
(
e
.
getSurveyInformationId
()));
}
});
}
pagenew
.
setRecords
(
newRecords
);
pagenew
.
setRecords
(
newRecords
);
return
pagenew
;
return
pagenew
;
...
...
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