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
a1abbe56
Commit
a1abbe56
authored
Sep 22, 2023
by
wujiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://39.98.45.134:8090/moa/amos-boot-biz
into developer
parents
c2eced98
5833900e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
0 deletions
+37
-0
JpCollectorDto.java
...yeejoin/amos/boot/module/hygf/api/dto/JpCollectorDto.java
+5
-0
JpInverterDto.java
.../yeejoin/amos/boot/module/hygf/api/dto/JpInverterDto.java
+3
-0
JpCollector.java
...yeejoin/amos/boot/module/hygf/api/entity/JpCollector.java
+12
-0
JpInverter.java
.../yeejoin/amos/boot/module/hygf/api/entity/JpInverter.java
+12
-0
JpInverterServiceImpl.java
...t/module/hygf/biz/service/impl/JpInverterServiceImpl.java
+5
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/JpCollectorDto.java
View file @
a1abbe56
...
...
@@ -63,4 +63,9 @@ public class JpCollectorDto extends BaseDto {
@ApiModelProperty
(
value
=
"第三方厂商标识"
)
private
String
thirdCode
;
@ApiModelProperty
(
value
=
"所属电站"
)
private
String
stationName
;
@ApiModelProperty
(
value
=
"电站地址"
)
private
String
addr
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/JpInverterDto.java
View file @
a1abbe56
...
...
@@ -91,4 +91,7 @@ public class JpInverterDto extends BaseDto {
@ApiModelProperty
(
value
=
"累计发电量"
)
private
Double
totalPowerGeneration
;
@ApiModelProperty
(
value
=
"所属电站"
)
private
String
stationName
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/JpCollector.java
View file @
a1abbe56
...
...
@@ -106,4 +106,16 @@ public class JpCollector extends BaseEntity {
@TableField
(
"third_code"
)
private
String
thirdCode
;
/**
* 所属电站
*/
@TableField
(
"station_name"
)
private
String
stationName
;
/**
* 电站地址
*/
@TableField
(
"addr"
)
private
String
addr
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/JpInverter.java
View file @
a1abbe56
...
...
@@ -160,4 +160,16 @@ public class JpInverter extends BaseEntity {
@TableField
(
"total_power_generation"
)
private
Double
totalPowerGeneration
;
/**
* 所属电站
*/
@TableField
(
"station_name"
)
private
String
stationName
;
/**
* 电站地址
*/
@TableField
(
"addr"
)
private
String
addr
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/JpInverterServiceImpl.java
View file @
a1abbe56
...
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.hygf.biz.service.impl;
import
java.util.List
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.stereotype.Service
;
import
org.typroject.tyboot.core.foundation.utils.Bean
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
...
...
@@ -32,6 +33,10 @@ public class JpInverterServiceImpl extends BaseService<JpInverterDto, JpInverter
if
(
jpInverterDto
.
getState
()
!=
null
)
{
wrapper
.
eq
(
JpInverter:
:
getState
,
jpInverterDto
.
getState
());
}
if
(
StringUtils
.
isNotEmpty
(
jpInverterDto
.
getSnCode
()))
{
wrapper
.
likeRight
(
JpInverter:
:
getSnCode
,
jpInverterDto
.
getSnCode
());
}
wrapper
.
orderByDesc
(
JpInverter:
:
getUpdateTime
);
entiryPage
=
(
Page
<
JpInverter
>)
this
.
page
(
entiryPage
,
wrapper
);
if
(!
ValidationUtil
.
isEmpty
(
entiryPage
.
getRecords
()))
{
page
.
setTotal
(
entiryPage
.
getTotal
());
...
...
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