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
56677fe9
Commit
56677fe9
authored
Sep 02, 2024
by
朱晨阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电站管理列表添加字段
parent
763a1e03
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
PowerStationDto.java
...eejoin/amos/boot/module/hygf/api/dto/PowerStationDto.java
+3
-0
PowerStationServiceImpl.java
...module/hygf/biz/service/impl/PowerStationServiceImpl.java
+15
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/PowerStationDto.java
View file @
56677fe9
...
...
@@ -94,4 +94,7 @@ public class PowerStationDto extends BaseDto {
@ApiModelProperty
(
value
=
"合同状态"
)
private
String
status
;
@ApiModelProperty
(
value
=
"电站安装规模"
)
private
String
scale
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PowerStationServiceImpl.java
View file @
56677fe9
...
...
@@ -118,8 +118,21 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
// return
// this.queryForPowerStationPage(page,powerStationCode,ownersName,serviceAgent);
return
this
.
queryPage
((
int
)
page
.
getCurrent
(),
(
int
)
page
.
getSize
(),
powerStationCode
,
ownersName
,
serviceAgent
,
regionalCompaniesName
,
processStatus
);
Page
<
PowerStationDto
>
powerStationDtoPage
=
this
.
queryPage
((
int
)
page
.
getCurrent
(),
(
int
)
page
.
getSize
(),
powerStationCode
,
ownersName
,
serviceAgent
,
regionalCompaniesName
,
processStatus
);
if
(
powerStationDtoPage
.
getRecords
()
!=
null
&&
powerStationDtoPage
.
getRecords
().
size
()
>
0
)
{
powerStationDtoPage
.
getRecords
().
forEach
(
e
->
{
if
(
e
.
getPowerStationCode
()
!=
null
)
{
e
.
setScale
(
householdContractMapper
.
getHygfCommercialScale
(
e
.
getPowerStationCode
()));
}
});
}
return
powerStationDtoPage
;
}
// 查询电站审核记录
...
...
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