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
8a113ed6
Commit
8a113ed6
authored
Sep 20, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增统计表
parent
ab60131f
Hide whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
1866 additions
and
7 deletions
+1866
-7
JpCollectorHistoryAllDto.java
...os/boot/module/hygf/api/dto/JpCollectorHistoryAllDto.java
+39
-0
JpCollectorHistoryMonthDto.java
.../boot/module/hygf/api/dto/JpCollectorHistoryMonthDto.java
+42
-0
JpCollectorHistoryYearDto.java
...s/boot/module/hygf/api/dto/JpCollectorHistoryYearDto.java
+42
-0
JpInvertorElecHistoryAllDto.java
...boot/module/hygf/api/dto/JpInvertorElecHistoryAllDto.java
+60
-0
JpInvertorElecHistoryMonthDto.java
...ot/module/hygf/api/dto/JpInvertorElecHistoryMonthDto.java
+63
-0
JpInvertorElecHistoryYearDto.java
...oot/module/hygf/api/dto/JpInvertorElecHistoryYearDto.java
+63
-0
JpCollectorHistoryAll.java
...os/boot/module/hygf/api/entity/JpCollectorHistoryAll.java
+55
-0
JpCollectorHistoryMonth.java
.../boot/module/hygf/api/entity/JpCollectorHistoryMonth.java
+61
-0
JpCollectorHistoryYear.java
...s/boot/module/hygf/api/entity/JpCollectorHistoryYear.java
+61
-0
JpInvertorElecHistoryAll.java
...boot/module/hygf/api/entity/JpInvertorElecHistoryAll.java
+85
-0
JpInvertorElecHistoryMonth.java
...ot/module/hygf/api/entity/JpInvertorElecHistoryMonth.java
+91
-0
JpInvertorElecHistoryYear.java
...oot/module/hygf/api/entity/JpInvertorElecHistoryYear.java
+91
-0
IJpCollectorHistoryAllService.java
...odule/hygf/api/service/IJpCollectorHistoryAllService.java
+12
-0
IJpCollectorHistoryMonthService.java
...ule/hygf/api/service/IJpCollectorHistoryMonthService.java
+12
-0
IJpCollectorHistoryYearService.java
...dule/hygf/api/service/IJpCollectorHistoryYearService.java
+12
-0
IJpInvertorElecHistoryAllService.java
...le/hygf/api/service/IJpInvertorElecHistoryAllService.java
+12
-0
IJpInvertorElecHistoryMonthService.java
.../hygf/api/service/IJpInvertorElecHistoryMonthService.java
+12
-0
IJpInvertorElecHistoryYearService.java
...e/hygf/api/service/IJpInvertorElecHistoryYearService.java
+12
-0
ITdHygfJpStationPowerHistoryService.java
...hygf/api/service/ITdHygfJpStationPowerHistoryService.java
+5
-0
JpCollectorHistoryAllMapper.java
.../hygf/api/tdenginemapper/JpCollectorHistoryAllMapper.java
+14
-0
JpCollectorHistoryMonthMapper.java
...ygf/api/tdenginemapper/JpCollectorHistoryMonthMapper.java
+14
-0
JpCollectorHistoryYearMapper.java
...hygf/api/tdenginemapper/JpCollectorHistoryYearMapper.java
+14
-0
JpInvertorElecHistoryAllMapper.java
...gf/api/tdenginemapper/JpInvertorElecHistoryAllMapper.java
+14
-0
JpInvertorElecHistoryMonthMapper.java
.../api/tdenginemapper/JpInvertorElecHistoryMonthMapper.java
+14
-0
JpInvertorElecHistoryYearMapper.java
...f/api/tdenginemapper/JpInvertorElecHistoryYearMapper.java
+14
-0
TdHygfJpStationPowerHistoryMapper.java
...api/tdenginemapper/TdHygfJpStationPowerHistoryMapper.java
+4
-1
JpCollectorHistoryAllMapper.xml
...resources/mapper/tdengine/JpCollectorHistoryAllMapper.xml
+5
-0
JpCollectorHistoryMonthMapper.xml
...sources/mapper/tdengine/JpCollectorHistoryMonthMapper.xml
+5
-0
JpCollectorHistoryYearMapper.xml
...esources/mapper/tdengine/JpCollectorHistoryYearMapper.xml
+5
-0
JpInvertorElecHistoryAllMapper.xml
...ources/mapper/tdengine/JpInvertorElecHistoryAllMapper.xml
+5
-0
JpInvertorElecHistoryMonthMapper.xml
...rces/mapper/tdengine/JpInvertorElecHistoryMonthMapper.xml
+5
-0
JpInvertorElecHistoryYearMapper.xml
...urces/mapper/tdengine/JpInvertorElecHistoryYearMapper.xml
+5
-0
TdHygfJpStationPowerHistoryMapper.xml
...ces/mapper/tdengine/TdHygfJpStationPowerHistoryMapper.xml
+5
-0
JpCollectorHistoryAllController.java
.../hygf/biz/controller/JpCollectorHistoryAllController.java
+116
-0
JpCollectorHistoryMonthController.java
...ygf/biz/controller/JpCollectorHistoryMonthController.java
+116
-0
JpCollectorHistoryYearController.java
...hygf/biz/controller/JpCollectorHistoryYearController.java
+116
-0
JpInvertorElecHistoryAllController.java
...gf/biz/controller/JpInvertorElecHistoryAllController.java
+116
-0
JpInvertorElecHistoryMonthController.java
.../biz/controller/JpInvertorElecHistoryMonthController.java
+116
-0
JpInvertorElecHistoryYearController.java
...f/biz/controller/JpInvertorElecHistoryYearController.java
+116
-0
JpCollectorHistoryAllServiceImpl.java
...gf/biz/service/impl/JpCollectorHistoryAllServiceImpl.java
+34
-0
JpCollectorHistoryMonthServiceImpl.java
.../biz/service/impl/JpCollectorHistoryMonthServiceImpl.java
+34
-0
JpCollectorHistoryYearServiceImpl.java
...f/biz/service/impl/JpCollectorHistoryYearServiceImpl.java
+34
-0
JpInvertorElecHistoryAllServiceImpl.java
...biz/service/impl/JpInvertorElecHistoryAllServiceImpl.java
+34
-0
JpInvertorElecHistoryMonthServiceImpl.java
...z/service/impl/JpInvertorElecHistoryMonthServiceImpl.java
+34
-0
JpInvertorElecHistoryYearServiceImpl.java
...iz/service/impl/JpInvertorElecHistoryYearServiceImpl.java
+34
-0
JpStationServiceImpl.java
...ot/module/hygf/biz/service/impl/JpStationServiceImpl.java
+3
-6
TdHygfJpStationPowerHistoryServiceImpl.java
.../service/impl/TdHygfJpStationPowerHistoryServiceImpl.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/JpCollectorHistoryAllDto.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
/**
* 户用光伏监盘采集器历史表
*
* @author system_generator
* @date 2023-09-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"JpCollectorHistoryAllDto"
,
description
=
"户用光伏监盘采集器历史表"
)
public
class
JpCollectorHistoryAllDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"sn编码"
)
private
String
snCode
;
@ApiModelProperty
(
value
=
"信号强度"
)
private
Double
signalStrength
;
@ApiModelProperty
(
value
=
"第三方电站id"
)
private
String
thirdStationId
;
@ApiModelProperty
(
value
=
"第三方厂商标识"
)
private
String
thirdCode
;
@ApiModelProperty
(
value
=
"年"
)
private
String
year
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/JpCollectorHistoryMonthDto.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
/**
* 户用光伏监盘采集器历史表
*
* @author system_generator
* @date 2023-09-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"JpCollectorHistoryMonthDto"
,
description
=
"户用光伏监盘采集器历史表"
)
public
class
JpCollectorHistoryMonthDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"sn编码"
)
private
String
snCode
;
@ApiModelProperty
(
value
=
"信号强度"
)
private
Double
signalStrength
;
@ApiModelProperty
(
value
=
"第三方电站id"
)
private
String
thirdStationId
;
@ApiModelProperty
(
value
=
"第三方厂商标识"
)
private
String
thirdCode
;
@ApiModelProperty
(
value
=
"日期"
)
private
String
day
;
@ApiModelProperty
(
value
=
"年月"
)
private
String
yearMonth
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/JpCollectorHistoryYearDto.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
/**
* 户用光伏监盘采集器历史表
*
* @author system_generator
* @date 2023-09-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"JpCollectorHistoryYearDto"
,
description
=
"户用光伏监盘采集器历史表"
)
public
class
JpCollectorHistoryYearDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"sn编码"
)
private
String
snCode
;
@ApiModelProperty
(
value
=
"信号强度"
)
private
Double
signalStrength
;
@ApiModelProperty
(
value
=
"第三方电站id"
)
private
String
thirdStationId
;
@ApiModelProperty
(
value
=
"第三方厂商标识"
)
private
String
thirdCode
;
@ApiModelProperty
(
value
=
"日期"
)
private
String
month
;
@ApiModelProperty
(
value
=
"年"
)
private
String
year
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/JpInvertorElecHistoryAllDto.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
/**
* 户用光伏监盘逆变器电能历史表
*
* @author system_generator
* @date 2023-09-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"JpInvertorElecHistoryAllDto"
,
description
=
"户用光伏监盘逆变器电能历史表"
)
public
class
JpInvertorElecHistoryAllDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"sn编码"
)
private
String
snCode
;
@ApiModelProperty
(
value
=
"U交流电压"
)
@TableField
(
"U_AC_voltage"
)
private
Double
uAcVoltage
;
@ApiModelProperty
(
value
=
"V交流电压"
)
@TableField
(
"V_AC_voltage"
)
private
Double
vAcVoltage
;
@ApiModelProperty
(
value
=
"W交流电压"
)
@TableField
(
"W_AC_voltage"
)
private
Double
wAcVoltage
;
@ApiModelProperty
(
value
=
"U交流电流"
)
@TableField
(
"U_AC_current"
)
private
Double
uAcCurrent
;
@ApiModelProperty
(
value
=
"V交流电流"
)
@TableField
(
"V_AC_current"
)
private
Double
vAcCurrent
;
@ApiModelProperty
(
value
=
"W交流电流"
)
@TableField
(
"W_AC_current"
)
private
Double
wAcCurrent
;
@ApiModelProperty
(
value
=
"第三方电站id"
)
private
String
thirdStationId
;
@ApiModelProperty
(
value
=
"第三方厂商标识"
)
private
String
thirdCode
;
@ApiModelProperty
(
value
=
"年"
)
private
String
year
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/JpInvertorElecHistoryMonthDto.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
/**
* 户用光伏监盘逆变器电能历史表
*
* @author system_generator
* @date 2023-09-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"JpInvertorElecHistoryMonthDto"
,
description
=
"户用光伏监盘逆变器电能历史表"
)
public
class
JpInvertorElecHistoryMonthDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"sn编码"
)
private
String
snCode
;
@ApiModelProperty
(
value
=
"U交流电压"
)
@TableField
(
"U_AC_voltage"
)
private
Double
uAcVoltage
;
@ApiModelProperty
(
value
=
"V交流电压"
)
@TableField
(
"V_AC_voltage"
)
private
Double
vAcVoltage
;
@ApiModelProperty
(
value
=
"W交流电压"
)
@TableField
(
"W_AC_voltage"
)
private
Double
wAcVoltage
;
@ApiModelProperty
(
value
=
"U交流电流"
)
@TableField
(
"U_AC_current"
)
private
Double
uAcCurrent
;
@ApiModelProperty
(
value
=
"V交流电流"
)
@TableField
(
"V_AC_current"
)
private
Double
vAcCurrent
;
@ApiModelProperty
(
value
=
"W交流电流"
)
@TableField
(
"W_AC_current"
)
private
Double
wAcCurrent
;
@ApiModelProperty
(
value
=
"第三方电站id"
)
private
String
thirdStationId
;
@ApiModelProperty
(
value
=
"第三方厂商标识"
)
private
String
thirdCode
;
@ApiModelProperty
(
value
=
"日期"
)
private
String
day
;
@ApiModelProperty
(
value
=
"年月"
)
private
String
yearMonth
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/JpInvertorElecHistoryYearDto.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
/**
* 户用光伏监盘逆变器电能历史表
*
* @author system_generator
* @date 2023-09-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"JpInvertorElecHistoryYearDto"
,
description
=
"户用光伏监盘逆变器电能历史表"
)
public
class
JpInvertorElecHistoryYearDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"sn编码"
)
private
String
snCode
;
@ApiModelProperty
(
value
=
"U交流电压"
)
@TableField
(
"U_AC_voltage"
)
private
Double
uAcVoltage
;
@ApiModelProperty
(
value
=
"V交流电压"
)
@TableField
(
"V_AC_voltage"
)
private
Double
vAcVoltage
;
@ApiModelProperty
(
value
=
"W交流电压"
)
@TableField
(
"W_AC_voltage"
)
private
Double
wAcVoltage
;
@ApiModelProperty
(
value
=
"U交流电流"
)
@TableField
(
"U_AC_current"
)
private
Double
uAcCurrent
;
@ApiModelProperty
(
value
=
"V交流电流"
)
@TableField
(
"V_AC_current"
)
private
Double
vAcCurrent
;
@ApiModelProperty
(
value
=
"W交流电流"
)
@TableField
(
"W_AC_current"
)
private
Double
wAcCurrent
;
@ApiModelProperty
(
value
=
"第三方电站id"
)
private
String
thirdStationId
;
@ApiModelProperty
(
value
=
"第三方厂商标识"
)
private
String
thirdCode
;
@ApiModelProperty
(
value
=
"日期"
)
private
String
day
;
@ApiModelProperty
(
value
=
"年月"
)
private
String
yearMonth
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/JpCollectorHistoryAll.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 户用光伏监盘采集器历史表
*
* @author system_generator
* @date 2023-09-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"td_hygf_jp_collector_history_all"
)
public
class
JpCollectorHistoryAll
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* sn编码
*/
@TableField
(
"sn_code"
)
private
String
snCode
;
/**
* 信号强度
*/
@TableField
(
"signal_strength"
)
private
Double
signalStrength
;
/**
* 第三方电站id
*/
@TableField
(
"third_station_id"
)
private
String
thirdStationId
;
/**
* 第三方厂商标识
*/
@TableField
(
"third_code"
)
private
String
thirdCode
;
/**
* 年
*/
@TableField
(
"year"
)
private
String
year
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/JpCollectorHistoryMonth.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 户用光伏监盘采集器历史表
*
* @author system_generator
* @date 2023-09-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"td_hygf_jp_collector_history_month"
)
public
class
JpCollectorHistoryMonth
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* sn编码
*/
@TableField
(
"sn_code"
)
private
String
snCode
;
/**
* 信号强度
*/
@TableField
(
"signal_strength"
)
private
Double
signalStrength
;
/**
* 第三方电站id
*/
@TableField
(
"third_station_id"
)
private
String
thirdStationId
;
/**
* 第三方厂商标识
*/
@TableField
(
"third_code"
)
private
String
thirdCode
;
/**
* 日期
*/
@TableField
(
"day"
)
private
String
day
;
/**
* 年月
*/
@TableField
(
"year_month"
)
private
String
yearMonth
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/JpCollectorHistoryYear.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 户用光伏监盘采集器历史表
*
* @author system_generator
* @date 2023-09-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"td_hygf_jp_collector_history_year"
)
public
class
JpCollectorHistoryYear
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* sn编码
*/
@TableField
(
"sn_code"
)
private
String
snCode
;
/**
* 信号强度
*/
@TableField
(
"signal_strength"
)
private
Double
signalStrength
;
/**
* 第三方电站id
*/
@TableField
(
"third_station_id"
)
private
String
thirdStationId
;
/**
* 第三方厂商标识
*/
@TableField
(
"third_code"
)
private
String
thirdCode
;
/**
* 日期
*/
@TableField
(
"month"
)
private
String
month
;
/**
* 年
*/
@TableField
(
"year"
)
private
String
year
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/JpInvertorElecHistoryAll.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 户用光伏监盘逆变器电能历史表
*
* @author system_generator
* @date 2023-09-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"td_hygf_jp_invertor_elec_history_all"
)
public
class
JpInvertorElecHistoryAll
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* sn编码
*/
@TableField
(
"sn_code"
)
private
String
snCode
;
/**
* U交流电压
*/
@TableField
(
"U_AC_voltage"
)
private
Double
uAcVoltage
;
/**
* V交流电压
*/
@TableField
(
"V_AC_voltage"
)
private
Double
vAcVoltage
;
/**
* W交流电压
*/
@TableField
(
"W_AC_voltage"
)
private
Double
wAcVoltage
;
/**
* U交流电流
*/
@TableField
(
"U_AC_current"
)
private
Double
uAcCurrent
;
/**
* V交流电流
*/
@TableField
(
"V_AC_current"
)
private
Double
vAcCurrent
;
/**
* W交流电流
*/
@TableField
(
"W_AC_current"
)
private
Double
wAcCurrent
;
/**
* 第三方电站id
*/
@TableField
(
"third_station_id"
)
private
String
thirdStationId
;
/**
* 第三方厂商标识
*/
@TableField
(
"third_code"
)
private
String
thirdCode
;
/**
* 年
*/
@TableField
(
"year"
)
private
String
year
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/JpInvertorElecHistoryMonth.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 户用光伏监盘逆变器电能历史表
*
* @author system_generator
* @date 2023-09-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"td_hygf_jp_invertor_elec_history_month"
)
public
class
JpInvertorElecHistoryMonth
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* sn编码
*/
@TableField
(
"sn_code"
)
private
String
snCode
;
/**
* U交流电压
*/
@TableField
(
"U_AC_voltage"
)
private
Double
uAcVoltage
;
/**
* V交流电压
*/
@TableField
(
"V_AC_voltage"
)
private
Double
vAcVoltage
;
/**
* W交流电压
*/
@TableField
(
"W_AC_voltage"
)
private
Double
wAcVoltage
;
/**
* U交流电流
*/
@TableField
(
"U_AC_current"
)
private
Double
uAcCurrent
;
/**
* V交流电流
*/
@TableField
(
"V_AC_current"
)
private
Double
vAcCurrent
;
/**
* W交流电流
*/
@TableField
(
"W_AC_current"
)
private
Double
wAcCurrent
;
/**
* 第三方电站id
*/
@TableField
(
"third_station_id"
)
private
String
thirdStationId
;
/**
* 第三方厂商标识
*/
@TableField
(
"third_code"
)
private
String
thirdCode
;
/**
* 日期
*/
@TableField
(
"day"
)
private
String
day
;
/**
* 年月
*/
@TableField
(
"year_month"
)
private
String
yearMonth
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/JpInvertorElecHistoryYear.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 户用光伏监盘逆变器电能历史表
*
* @author system_generator
* @date 2023-09-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"td_hygf_jp_invertor_elec_history_year"
)
public
class
JpInvertorElecHistoryYear
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* sn编码
*/
@TableField
(
"sn_code"
)
private
String
snCode
;
/**
* U交流电压
*/
@TableField
(
"U_AC_voltage"
)
private
Double
uAcVoltage
;
/**
* V交流电压
*/
@TableField
(
"V_AC_voltage"
)
private
Double
vAcVoltage
;
/**
* W交流电压
*/
@TableField
(
"W_AC_voltage"
)
private
Double
wAcVoltage
;
/**
* U交流电流
*/
@TableField
(
"U_AC_current"
)
private
Double
uAcCurrent
;
/**
* V交流电流
*/
@TableField
(
"V_AC_current"
)
private
Double
vAcCurrent
;
/**
* W交流电流
*/
@TableField
(
"W_AC_current"
)
private
Double
wAcCurrent
;
/**
* 第三方电站id
*/
@TableField
(
"third_station_id"
)
private
String
thirdStationId
;
/**
* 第三方厂商标识
*/
@TableField
(
"third_code"
)
private
String
thirdCode
;
/**
* 日期
*/
@TableField
(
"day"
)
private
String
day
;
/**
* 年月
*/
@TableField
(
"year_month"
)
private
String
yearMonth
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/service/IJpCollectorHistoryAllService.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
service
;
/**
* 户用光伏监盘采集器历史表接口类
*
* @author system_generator
* @date 2023-09-20
*/
public
interface
IJpCollectorHistoryAllService
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/service/IJpCollectorHistoryMonthService.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
service
;
/**
* 户用光伏监盘采集器历史表接口类
*
* @author system_generator
* @date 2023-09-20
*/
public
interface
IJpCollectorHistoryMonthService
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/service/IJpCollectorHistoryYearService.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
service
;
/**
* 户用光伏监盘采集器历史表接口类
*
* @author system_generator
* @date 2023-09-20
*/
public
interface
IJpCollectorHistoryYearService
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/service/IJpInvertorElecHistoryAllService.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
service
;
/**
* 户用光伏监盘逆变器电能历史表接口类
*
* @author system_generator
* @date 2023-09-20
*/
public
interface
IJpInvertorElecHistoryAllService
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/service/IJpInvertorElecHistoryMonthService.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
service
;
/**
* 户用光伏监盘逆变器电能历史表接口类
*
* @author system_generator
* @date 2023-09-20
*/
public
interface
IJpInvertorElecHistoryMonthService
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/service/IJpInvertorElecHistoryYearService.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
service
;
/**
* 户用光伏监盘逆变器电能历史表接口类
*
* @author system_generator
* @date 2023-09-20
*/
public
interface
IJpInvertorElecHistoryYearService
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/service/ITdHygfJpStationPowerHistoryService.java
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
service
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
service
;
import
java.util.Map
;
/**
/**
* 户用光伏监盘电站功率表接口类
* 户用光伏监盘电站功率表接口类
*
*
...
@@ -9,4 +11,7 @@ package com.yeejoin.amos.boot.module.hygf.api.service;
...
@@ -9,4 +11,7 @@ package com.yeejoin.amos.boot.module.hygf.api.service;
*/
*/
public
interface
ITdHygfJpStationPowerHistoryService
{
public
interface
ITdHygfJpStationPowerHistoryService
{
Map
<
String
,
Double
>
getacgNum
();
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/tdenginemapper/JpCollectorHistoryAllMapper.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
tdenginemapper
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.JpCollectorHistoryAll
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* 户用光伏监盘采集器历史表 Mapper 接口
*
* @author system_generator
* @date 2023-09-20
*/
public
interface
JpCollectorHistoryAllMapper
extends
BaseMapper
<
JpCollectorHistoryAll
>
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/tdenginemapper/JpCollectorHistoryMonthMapper.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
tdenginemapper
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.JpCollectorHistoryMonth
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* 户用光伏监盘采集器历史表 Mapper 接口
*
* @author system_generator
* @date 2023-09-20
*/
public
interface
JpCollectorHistoryMonthMapper
extends
BaseMapper
<
JpCollectorHistoryMonth
>
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/tdenginemapper/JpCollectorHistoryYearMapper.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
tdenginemapper
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.JpCollectorHistoryYear
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* 户用光伏监盘采集器历史表 Mapper 接口
*
* @author system_generator
* @date 2023-09-20
*/
public
interface
JpCollectorHistoryYearMapper
extends
BaseMapper
<
JpCollectorHistoryYear
>
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/tdenginemapper/JpInvertorElecHistoryAllMapper.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
tdenginemapper
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.JpInvertorElecHistoryAll
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* 户用光伏监盘逆变器电能历史表 Mapper 接口
*
* @author system_generator
* @date 2023-09-20
*/
public
interface
JpInvertorElecHistoryAllMapper
extends
BaseMapper
<
JpInvertorElecHistoryAll
>
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/tdenginemapper/JpInvertorElecHistoryMonthMapper.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
tdenginemapper
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.JpInvertorElecHistoryMonth
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* 户用光伏监盘逆变器电能历史表 Mapper 接口
*
* @author system_generator
* @date 2023-09-20
*/
public
interface
JpInvertorElecHistoryMonthMapper
extends
BaseMapper
<
JpInvertorElecHistoryMonth
>
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/tdenginemapper/JpInvertorElecHistoryYearMapper.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
tdenginemapper
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.JpInvertorElecHistoryYear
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* 户用光伏监盘逆变器电能历史表 Mapper 接口
*
* @author system_generator
* @date 2023-09-20
*/
public
interface
JpInvertorElecHistoryYearMapper
extends
BaseMapper
<
JpInvertorElecHistoryYear
>
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/tdenginemapper/TdHygfJpStationPowerHistoryMapper.java
View file @
8a113ed6
...
@@ -2,6 +2,9 @@ package com.yeejoin.amos.boot.module.hygf.api.tdenginemapper;
...
@@ -2,6 +2,9 @@ package com.yeejoin.amos.boot.module.hygf.api.tdenginemapper;
import
com.yeejoin.amos.boot.module.hygf.api.entity.TdHygfJpStationPowerHistory
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.TdHygfJpStationPowerHistory
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.Map
;
/**
/**
* 户用光伏监盘电站功率表 Mapper 接口
* 户用光伏监盘电站功率表 Mapper 接口
...
@@ -10,5 +13,5 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
...
@@ -10,5 +13,5 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* @date 2023-09-19
* @date 2023-09-19
*/
*/
public
interface
TdHygfJpStationPowerHistoryMapper
extends
BaseMapper
<
TdHygfJpStationPowerHistory
>
{
public
interface
TdHygfJpStationPowerHistoryMapper
extends
BaseMapper
<
TdHygfJpStationPowerHistory
>
{
Map
<
String
,
Double
>
getacgNum
(
@Param
(
"date"
)
String
date
);
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/tdengine/JpCollectorHistoryAllMapper.xml
0 → 100644
View file @
8a113ed6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpCollectorHistoryAllMapper"
>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/tdengine/JpCollectorHistoryMonthMapper.xml
0 → 100644
View file @
8a113ed6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpCollectorHistoryMonthMapper"
>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/tdengine/JpCollectorHistoryYearMapper.xml
0 → 100644
View file @
8a113ed6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpCollectorHistoryYearMapper"
>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/tdengine/JpInvertorElecHistoryAllMapper.xml
0 → 100644
View file @
8a113ed6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpInvertorElecHistoryAllMapper"
>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/tdengine/JpInvertorElecHistoryMonthMapper.xml
0 → 100644
View file @
8a113ed6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpInvertorElecHistoryMonthMapper"
>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/tdengine/JpInvertorElecHistoryYearMapper.xml
0 → 100644
View file @
8a113ed6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpInvertorElecHistoryYearMapper"
>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/tdengine/TdHygfJpStationPowerHistoryMapper.xml
View file @
8a113ed6
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.TdHygfJpStationPowerHistoryMapper"
>
<mapper
namespace=
"com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.TdHygfJpStationPowerHistoryMapper"
>
<select
id=
"getCountTdHygfJpInverterWarn"
resultType=
"map"
>
SELECT AVG(power) acgNum FROM house_pv_data.td_hygf_jp_station_power_history WHERE created_time > #{date} INTERVAL(1d);
</select>
</mapper>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/JpCollectorHistoryAllController.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.hygf.biz.service.impl.JpCollectorHistoryAllServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.JpCollectorHistoryAllDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
* 户用光伏监盘采集器历史表
*
* @author system_generator
* @date 2023-09-20
*/
@RestController
@Api
(
tags
=
"户用光伏监盘采集器历史表Api"
)
@RequestMapping
(
value
=
"/jp-collector-history-all"
)
public
class
JpCollectorHistoryAllController
extends
BaseController
{
@Autowired
JpCollectorHistoryAllServiceImpl
jpCollectorHistoryAllServiceImpl
;
/**
* 新增户用光伏监盘采集器历史表
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增户用光伏监盘采集器历史表"
,
notes
=
"新增户用光伏监盘采集器历史表"
)
public
ResponseModel
<
JpCollectorHistoryAllDto
>
save
(
@RequestBody
JpCollectorHistoryAllDto
model
)
{
model
=
jpCollectorHistoryAllServiceImpl
.
createWithModel
(
model
);
return
ResponseHelper
.
buildResponse
(
model
);
}
/**
* 根据sequenceNbr更新
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"根据sequenceNbr更新户用光伏监盘采集器历史表"
,
notes
=
"根据sequenceNbr更新户用光伏监盘采集器历史表"
)
public
ResponseModel
<
JpCollectorHistoryAllDto
>
updateBySequenceNbrJpCollectorHistoryAll
(
@RequestBody
JpCollectorHistoryAllDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryAllServiceImpl
.
updateWithModel
(
model
));
}
/**
* 根据sequenceNbr删除
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@DeleteMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据sequenceNbr删除户用光伏监盘采集器历史表"
,
notes
=
"根据sequenceNbr删除户用光伏监盘采集器历史表"
)
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
HttpServletRequest
request
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
){
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryAllServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个户用光伏监盘采集器历史表"
,
notes
=
"根据sequenceNbr查询单个户用光伏监盘采集器历史表"
)
public
ResponseModel
<
JpCollectorHistoryAllDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryAllServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"户用光伏监盘采集器历史表分页查询"
,
notes
=
"户用光伏监盘采集器历史表分页查询"
)
public
ResponseModel
<
Page
<
JpCollectorHistoryAllDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
JpCollectorHistoryAllDto
>
page
=
new
Page
<
JpCollectorHistoryAllDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryAllServiceImpl
.
queryForJpCollectorHistoryAllPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"户用光伏监盘采集器历史表列表全部数据查询"
,
notes
=
"户用光伏监盘采集器历史表列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
JpCollectorHistoryAllDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryAllServiceImpl
.
queryForJpCollectorHistoryAllList
());
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/JpCollectorHistoryMonthController.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.hygf.biz.service.impl.JpCollectorHistoryMonthServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.JpCollectorHistoryMonthDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
* 户用光伏监盘采集器历史表
*
* @author system_generator
* @date 2023-09-20
*/
@RestController
@Api
(
tags
=
"户用光伏监盘采集器历史表Api"
)
@RequestMapping
(
value
=
"/jp-collector-history-month"
)
public
class
JpCollectorHistoryMonthController
extends
BaseController
{
@Autowired
JpCollectorHistoryMonthServiceImpl
jpCollectorHistoryMonthServiceImpl
;
/**
* 新增户用光伏监盘采集器历史表
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增户用光伏监盘采集器历史表"
,
notes
=
"新增户用光伏监盘采集器历史表"
)
public
ResponseModel
<
JpCollectorHistoryMonthDto
>
save
(
@RequestBody
JpCollectorHistoryMonthDto
model
)
{
model
=
jpCollectorHistoryMonthServiceImpl
.
createWithModel
(
model
);
return
ResponseHelper
.
buildResponse
(
model
);
}
/**
* 根据sequenceNbr更新
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"根据sequenceNbr更新户用光伏监盘采集器历史表"
,
notes
=
"根据sequenceNbr更新户用光伏监盘采集器历史表"
)
public
ResponseModel
<
JpCollectorHistoryMonthDto
>
updateBySequenceNbrJpCollectorHistoryMonth
(
@RequestBody
JpCollectorHistoryMonthDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryMonthServiceImpl
.
updateWithModel
(
model
));
}
/**
* 根据sequenceNbr删除
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@DeleteMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据sequenceNbr删除户用光伏监盘采集器历史表"
,
notes
=
"根据sequenceNbr删除户用光伏监盘采集器历史表"
)
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
HttpServletRequest
request
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
){
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryMonthServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个户用光伏监盘采集器历史表"
,
notes
=
"根据sequenceNbr查询单个户用光伏监盘采集器历史表"
)
public
ResponseModel
<
JpCollectorHistoryMonthDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryMonthServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"户用光伏监盘采集器历史表分页查询"
,
notes
=
"户用光伏监盘采集器历史表分页查询"
)
public
ResponseModel
<
Page
<
JpCollectorHistoryMonthDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
JpCollectorHistoryMonthDto
>
page
=
new
Page
<
JpCollectorHistoryMonthDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryMonthServiceImpl
.
queryForJpCollectorHistoryMonthPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"户用光伏监盘采集器历史表列表全部数据查询"
,
notes
=
"户用光伏监盘采集器历史表列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
JpCollectorHistoryMonthDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryMonthServiceImpl
.
queryForJpCollectorHistoryMonthList
());
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/JpCollectorHistoryYearController.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.hygf.biz.service.impl.JpCollectorHistoryYearServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.JpCollectorHistoryYearDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
* 户用光伏监盘采集器历史表
*
* @author system_generator
* @date 2023-09-20
*/
@RestController
@Api
(
tags
=
"户用光伏监盘采集器历史表Api"
)
@RequestMapping
(
value
=
"/jp-collector-history-year"
)
public
class
JpCollectorHistoryYearController
extends
BaseController
{
@Autowired
JpCollectorHistoryYearServiceImpl
jpCollectorHistoryYearServiceImpl
;
/**
* 新增户用光伏监盘采集器历史表
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增户用光伏监盘采集器历史表"
,
notes
=
"新增户用光伏监盘采集器历史表"
)
public
ResponseModel
<
JpCollectorHistoryYearDto
>
save
(
@RequestBody
JpCollectorHistoryYearDto
model
)
{
model
=
jpCollectorHistoryYearServiceImpl
.
createWithModel
(
model
);
return
ResponseHelper
.
buildResponse
(
model
);
}
/**
* 根据sequenceNbr更新
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"根据sequenceNbr更新户用光伏监盘采集器历史表"
,
notes
=
"根据sequenceNbr更新户用光伏监盘采集器历史表"
)
public
ResponseModel
<
JpCollectorHistoryYearDto
>
updateBySequenceNbrJpCollectorHistoryYear
(
@RequestBody
JpCollectorHistoryYearDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryYearServiceImpl
.
updateWithModel
(
model
));
}
/**
* 根据sequenceNbr删除
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@DeleteMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据sequenceNbr删除户用光伏监盘采集器历史表"
,
notes
=
"根据sequenceNbr删除户用光伏监盘采集器历史表"
)
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
HttpServletRequest
request
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
){
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryYearServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个户用光伏监盘采集器历史表"
,
notes
=
"根据sequenceNbr查询单个户用光伏监盘采集器历史表"
)
public
ResponseModel
<
JpCollectorHistoryYearDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryYearServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"户用光伏监盘采集器历史表分页查询"
,
notes
=
"户用光伏监盘采集器历史表分页查询"
)
public
ResponseModel
<
Page
<
JpCollectorHistoryYearDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
JpCollectorHistoryYearDto
>
page
=
new
Page
<
JpCollectorHistoryYearDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryYearServiceImpl
.
queryForJpCollectorHistoryYearPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"户用光伏监盘采集器历史表列表全部数据查询"
,
notes
=
"户用光伏监盘采集器历史表列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
JpCollectorHistoryYearDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
jpCollectorHistoryYearServiceImpl
.
queryForJpCollectorHistoryYearList
());
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/JpInvertorElecHistoryAllController.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.hygf.biz.service.impl.JpInvertorElecHistoryAllServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.JpInvertorElecHistoryAllDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
* 户用光伏监盘逆变器电能历史表
*
* @author system_generator
* @date 2023-09-20
*/
@RestController
@Api
(
tags
=
"户用光伏监盘逆变器电能历史表Api"
)
@RequestMapping
(
value
=
"/jp-invertor-elec-history-all"
)
public
class
JpInvertorElecHistoryAllController
extends
BaseController
{
@Autowired
JpInvertorElecHistoryAllServiceImpl
jpInvertorElecHistoryAllServiceImpl
;
/**
* 新增户用光伏监盘逆变器电能历史表
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增户用光伏监盘逆变器电能历史表"
,
notes
=
"新增户用光伏监盘逆变器电能历史表"
)
public
ResponseModel
<
JpInvertorElecHistoryAllDto
>
save
(
@RequestBody
JpInvertorElecHistoryAllDto
model
)
{
model
=
jpInvertorElecHistoryAllServiceImpl
.
createWithModel
(
model
);
return
ResponseHelper
.
buildResponse
(
model
);
}
/**
* 根据sequenceNbr更新
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"根据sequenceNbr更新户用光伏监盘逆变器电能历史表"
,
notes
=
"根据sequenceNbr更新户用光伏监盘逆变器电能历史表"
)
public
ResponseModel
<
JpInvertorElecHistoryAllDto
>
updateBySequenceNbrJpInvertorElecHistoryAll
(
@RequestBody
JpInvertorElecHistoryAllDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryAllServiceImpl
.
updateWithModel
(
model
));
}
/**
* 根据sequenceNbr删除
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@DeleteMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据sequenceNbr删除户用光伏监盘逆变器电能历史表"
,
notes
=
"根据sequenceNbr删除户用光伏监盘逆变器电能历史表"
)
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
HttpServletRequest
request
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
){
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryAllServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个户用光伏监盘逆变器电能历史表"
,
notes
=
"根据sequenceNbr查询单个户用光伏监盘逆变器电能历史表"
)
public
ResponseModel
<
JpInvertorElecHistoryAllDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryAllServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"户用光伏监盘逆变器电能历史表分页查询"
,
notes
=
"户用光伏监盘逆变器电能历史表分页查询"
)
public
ResponseModel
<
Page
<
JpInvertorElecHistoryAllDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
JpInvertorElecHistoryAllDto
>
page
=
new
Page
<
JpInvertorElecHistoryAllDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryAllServiceImpl
.
queryForJpInvertorElecHistoryAllPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"户用光伏监盘逆变器电能历史表列表全部数据查询"
,
notes
=
"户用光伏监盘逆变器电能历史表列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
JpInvertorElecHistoryAllDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryAllServiceImpl
.
queryForJpInvertorElecHistoryAllList
());
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/JpInvertorElecHistoryMonthController.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.hygf.biz.service.impl.JpInvertorElecHistoryMonthServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.JpInvertorElecHistoryMonthDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
* 户用光伏监盘逆变器电能历史表
*
* @author system_generator
* @date 2023-09-20
*/
@RestController
@Api
(
tags
=
"户用光伏监盘逆变器电能历史表Api"
)
@RequestMapping
(
value
=
"/jp-invertor-elec-history-month"
)
public
class
JpInvertorElecHistoryMonthController
extends
BaseController
{
@Autowired
JpInvertorElecHistoryMonthServiceImpl
jpInvertorElecHistoryMonthServiceImpl
;
/**
* 新增户用光伏监盘逆变器电能历史表
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增户用光伏监盘逆变器电能历史表"
,
notes
=
"新增户用光伏监盘逆变器电能历史表"
)
public
ResponseModel
<
JpInvertorElecHistoryMonthDto
>
save
(
@RequestBody
JpInvertorElecHistoryMonthDto
model
)
{
model
=
jpInvertorElecHistoryMonthServiceImpl
.
createWithModel
(
model
);
return
ResponseHelper
.
buildResponse
(
model
);
}
/**
* 根据sequenceNbr更新
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"根据sequenceNbr更新户用光伏监盘逆变器电能历史表"
,
notes
=
"根据sequenceNbr更新户用光伏监盘逆变器电能历史表"
)
public
ResponseModel
<
JpInvertorElecHistoryMonthDto
>
updateBySequenceNbrJpInvertorElecHistoryMonth
(
@RequestBody
JpInvertorElecHistoryMonthDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryMonthServiceImpl
.
updateWithModel
(
model
));
}
/**
* 根据sequenceNbr删除
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@DeleteMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据sequenceNbr删除户用光伏监盘逆变器电能历史表"
,
notes
=
"根据sequenceNbr删除户用光伏监盘逆变器电能历史表"
)
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
HttpServletRequest
request
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
){
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryMonthServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个户用光伏监盘逆变器电能历史表"
,
notes
=
"根据sequenceNbr查询单个户用光伏监盘逆变器电能历史表"
)
public
ResponseModel
<
JpInvertorElecHistoryMonthDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryMonthServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"户用光伏监盘逆变器电能历史表分页查询"
,
notes
=
"户用光伏监盘逆变器电能历史表分页查询"
)
public
ResponseModel
<
Page
<
JpInvertorElecHistoryMonthDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
JpInvertorElecHistoryMonthDto
>
page
=
new
Page
<
JpInvertorElecHistoryMonthDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryMonthServiceImpl
.
queryForJpInvertorElecHistoryMonthPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"户用光伏监盘逆变器电能历史表列表全部数据查询"
,
notes
=
"户用光伏监盘逆变器电能历史表列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
JpInvertorElecHistoryMonthDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryMonthServiceImpl
.
queryForJpInvertorElecHistoryMonthList
());
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/JpInvertorElecHistoryYearController.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.hygf.biz.service.impl.JpInvertorElecHistoryYearServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.JpInvertorElecHistoryYearDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
* 户用光伏监盘逆变器电能历史表
*
* @author system_generator
* @date 2023-09-20
*/
@RestController
@Api
(
tags
=
"户用光伏监盘逆变器电能历史表Api"
)
@RequestMapping
(
value
=
"/jp-invertor-elec-history-year"
)
public
class
JpInvertorElecHistoryYearController
extends
BaseController
{
@Autowired
JpInvertorElecHistoryYearServiceImpl
jpInvertorElecHistoryYearServiceImpl
;
/**
* 新增户用光伏监盘逆变器电能历史表
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增户用光伏监盘逆变器电能历史表"
,
notes
=
"新增户用光伏监盘逆变器电能历史表"
)
public
ResponseModel
<
JpInvertorElecHistoryYearDto
>
save
(
@RequestBody
JpInvertorElecHistoryYearDto
model
)
{
model
=
jpInvertorElecHistoryYearServiceImpl
.
createWithModel
(
model
);
return
ResponseHelper
.
buildResponse
(
model
);
}
/**
* 根据sequenceNbr更新
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"根据sequenceNbr更新户用光伏监盘逆变器电能历史表"
,
notes
=
"根据sequenceNbr更新户用光伏监盘逆变器电能历史表"
)
public
ResponseModel
<
JpInvertorElecHistoryYearDto
>
updateBySequenceNbrJpInvertorElecHistoryYear
(
@RequestBody
JpInvertorElecHistoryYearDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryYearServiceImpl
.
updateWithModel
(
model
));
}
/**
* 根据sequenceNbr删除
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@DeleteMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据sequenceNbr删除户用光伏监盘逆变器电能历史表"
,
notes
=
"根据sequenceNbr删除户用光伏监盘逆变器电能历史表"
)
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
HttpServletRequest
request
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
){
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryYearServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个户用光伏监盘逆变器电能历史表"
,
notes
=
"根据sequenceNbr查询单个户用光伏监盘逆变器电能历史表"
)
public
ResponseModel
<
JpInvertorElecHistoryYearDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryYearServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"户用光伏监盘逆变器电能历史表分页查询"
,
notes
=
"户用光伏监盘逆变器电能历史表分页查询"
)
public
ResponseModel
<
Page
<
JpInvertorElecHistoryYearDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
JpInvertorElecHistoryYearDto
>
page
=
new
Page
<
JpInvertorElecHistoryYearDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryYearServiceImpl
.
queryForJpInvertorElecHistoryYearPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"户用光伏监盘逆变器电能历史表列表全部数据查询"
,
notes
=
"户用光伏监盘逆变器电能历史表列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
JpInvertorElecHistoryYearDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
jpInvertorElecHistoryYearServiceImpl
.
queryForJpInvertorElecHistoryYearList
());
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/JpCollectorHistoryAllServiceImpl.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.JpCollectorHistoryAll
;
import
com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpCollectorHistoryAllMapper
;
import
com.yeejoin.amos.boot.module.hygf.api.service.IJpCollectorHistoryAllService
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.JpCollectorHistoryAllDto
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 户用光伏监盘采集器历史表服务实现类
*
* @author system_generator
* @date 2023-09-20
*/
@Service
public
class
JpCollectorHistoryAllServiceImpl
extends
BaseService
<
JpCollectorHistoryAllDto
,
JpCollectorHistoryAll
,
JpCollectorHistoryAllMapper
>
implements
IJpCollectorHistoryAllService
{
/**
* 分页查询
*/
public
Page
<
JpCollectorHistoryAllDto
>
queryForJpCollectorHistoryAllPage
(
Page
<
JpCollectorHistoryAllDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
JpCollectorHistoryAllDto
>
queryForJpCollectorHistoryAllList
()
{
return
this
.
queryForList
(
""
,
false
);
}
}
\ No newline at end of file
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/JpCollectorHistoryMonthServiceImpl.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.JpCollectorHistoryMonth
;
import
com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpCollectorHistoryMonthMapper
;
import
com.yeejoin.amos.boot.module.hygf.api.service.IJpCollectorHistoryMonthService
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.JpCollectorHistoryMonthDto
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 户用光伏监盘采集器历史表服务实现类
*
* @author system_generator
* @date 2023-09-20
*/
@Service
public
class
JpCollectorHistoryMonthServiceImpl
extends
BaseService
<
JpCollectorHistoryMonthDto
,
JpCollectorHistoryMonth
,
JpCollectorHistoryMonthMapper
>
implements
IJpCollectorHistoryMonthService
{
/**
* 分页查询
*/
public
Page
<
JpCollectorHistoryMonthDto
>
queryForJpCollectorHistoryMonthPage
(
Page
<
JpCollectorHistoryMonthDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
JpCollectorHistoryMonthDto
>
queryForJpCollectorHistoryMonthList
()
{
return
this
.
queryForList
(
""
,
false
);
}
}
\ No newline at end of file
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/JpCollectorHistoryYearServiceImpl.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.JpCollectorHistoryYear
;
import
com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpCollectorHistoryYearMapper
;
import
com.yeejoin.amos.boot.module.hygf.api.service.IJpCollectorHistoryYearService
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.JpCollectorHistoryYearDto
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 户用光伏监盘采集器历史表服务实现类
*
* @author system_generator
* @date 2023-09-20
*/
@Service
public
class
JpCollectorHistoryYearServiceImpl
extends
BaseService
<
JpCollectorHistoryYearDto
,
JpCollectorHistoryYear
,
JpCollectorHistoryYearMapper
>
implements
IJpCollectorHistoryYearService
{
/**
* 分页查询
*/
public
Page
<
JpCollectorHistoryYearDto
>
queryForJpCollectorHistoryYearPage
(
Page
<
JpCollectorHistoryYearDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
JpCollectorHistoryYearDto
>
queryForJpCollectorHistoryYearList
()
{
return
this
.
queryForList
(
""
,
false
);
}
}
\ No newline at end of file
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/JpInvertorElecHistoryAllServiceImpl.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.JpInvertorElecHistoryAll
;
import
com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpInvertorElecHistoryAllMapper
;
import
com.yeejoin.amos.boot.module.hygf.api.service.IJpInvertorElecHistoryAllService
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.JpInvertorElecHistoryAllDto
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 户用光伏监盘逆变器电能历史表服务实现类
*
* @author system_generator
* @date 2023-09-20
*/
@Service
public
class
JpInvertorElecHistoryAllServiceImpl
extends
BaseService
<
JpInvertorElecHistoryAllDto
,
JpInvertorElecHistoryAll
,
JpInvertorElecHistoryAllMapper
>
implements
IJpInvertorElecHistoryAllService
{
/**
* 分页查询
*/
public
Page
<
JpInvertorElecHistoryAllDto
>
queryForJpInvertorElecHistoryAllPage
(
Page
<
JpInvertorElecHistoryAllDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
JpInvertorElecHistoryAllDto
>
queryForJpInvertorElecHistoryAllList
()
{
return
this
.
queryForList
(
""
,
false
);
}
}
\ No newline at end of file
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/JpInvertorElecHistoryMonthServiceImpl.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.JpInvertorElecHistoryMonth
;
import
com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpInvertorElecHistoryMonthMapper
;
import
com.yeejoin.amos.boot.module.hygf.api.service.IJpInvertorElecHistoryMonthService
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.JpInvertorElecHistoryMonthDto
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 户用光伏监盘逆变器电能历史表服务实现类
*
* @author system_generator
* @date 2023-09-20
*/
@Service
public
class
JpInvertorElecHistoryMonthServiceImpl
extends
BaseService
<
JpInvertorElecHistoryMonthDto
,
JpInvertorElecHistoryMonth
,
JpInvertorElecHistoryMonthMapper
>
implements
IJpInvertorElecHistoryMonthService
{
/**
* 分页查询
*/
public
Page
<
JpInvertorElecHistoryMonthDto
>
queryForJpInvertorElecHistoryMonthPage
(
Page
<
JpInvertorElecHistoryMonthDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
JpInvertorElecHistoryMonthDto
>
queryForJpInvertorElecHistoryMonthList
()
{
return
this
.
queryForList
(
""
,
false
);
}
}
\ No newline at end of file
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/JpInvertorElecHistoryYearServiceImpl.java
0 → 100644
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.JpInvertorElecHistoryYear
;
import
com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpInvertorElecHistoryYearMapper
;
import
com.yeejoin.amos.boot.module.hygf.api.service.IJpInvertorElecHistoryYearService
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.JpInvertorElecHistoryYearDto
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 户用光伏监盘逆变器电能历史表服务实现类
*
* @author system_generator
* @date 2023-09-20
*/
@Service
public
class
JpInvertorElecHistoryYearServiceImpl
extends
BaseService
<
JpInvertorElecHistoryYearDto
,
JpInvertorElecHistoryYear
,
JpInvertorElecHistoryYearMapper
>
implements
IJpInvertorElecHistoryYearService
{
/**
* 分页查询
*/
public
Page
<
JpInvertorElecHistoryYearDto
>
queryForJpInvertorElecHistoryYearPage
(
Page
<
JpInvertorElecHistoryYearDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
JpInvertorElecHistoryYearDto
>
queryForJpInvertorElecHistoryYearList
()
{
return
this
.
queryForList
(
""
,
false
);
}
}
\ No newline at end of file
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/JpStationServiceImpl.java
View file @
8a113ed6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
service
.
impl
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.ReviewDto
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.ReviewDto
;
...
@@ -40,10 +41,5 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
...
@@ -40,10 +41,5 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
return
pagenew
;
return
pagenew
;
}
}
/**
* 列表查询 示例
*/
public
List
<
JpStationDto
>
queryForJpStationList
()
{
return
this
.
queryForList
(
""
,
false
);
}
}
}
\ No newline at end of file
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/TdHygfJpStationPowerHistoryServiceImpl.java
View file @
8a113ed6
...
@@ -4,10 +4,12 @@ import com.yeejoin.amos.boot.module.hygf.api.entity.TdHygfJpStationPowerHistory;
...
@@ -4,10 +4,12 @@ import com.yeejoin.amos.boot.module.hygf.api.entity.TdHygfJpStationPowerHistory;
import
com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.TdHygfJpStationPowerHistoryMapper
;
import
com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.TdHygfJpStationPowerHistoryMapper
;
import
com.yeejoin.amos.boot.module.hygf.api.service.ITdHygfJpStationPowerHistoryService
;
import
com.yeejoin.amos.boot.module.hygf.api.service.ITdHygfJpStationPowerHistoryService
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.TdHygfJpStationPowerHistoryDto
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.TdHygfJpStationPowerHistoryDto
;
import
org.springframework.scheduling.annotation.Async
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* 户用光伏监盘电站功率表服务实现类
* 户用光伏监盘电站功率表服务实现类
...
@@ -30,4 +32,11 @@ public class TdHygfJpStationPowerHistoryServiceImpl extends BaseService<TdHygfJp
...
@@ -30,4 +32,11 @@ public class TdHygfJpStationPowerHistoryServiceImpl extends BaseService<TdHygfJp
public
List
<
TdHygfJpStationPowerHistoryDto
>
queryForTdHygfJpStationPowerHistoryList
()
{
public
List
<
TdHygfJpStationPowerHistoryDto
>
queryForTdHygfJpStationPowerHistoryList
()
{
return
this
.
queryForList
(
""
,
false
);
return
this
.
queryForList
(
""
,
false
);
}
}
@Override
@Async
public
Map
<
String
,
Double
>
getacgNum
()
{
return
null
;
}
}
}
\ No newline at end of file
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