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
3fe9a2df
Commit
3fe9a2df
authored
Aug 09, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时同步数据
parent
82178a0c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
107 additions
and
0 deletions
+107
-0
ESDailyPowerGeneration.java
...s/boot/module/jxiop/biz/ESDto/ESDailyPowerGeneration.java
+37
-0
ESMoonPowerGeneration.java
...os/boot/module/jxiop/biz/ESDto/ESMoonPowerGeneration.java
+25
-0
ESYearPowerGeneration.java
...os/boot/module/jxiop/biz/ESDto/ESYearPowerGeneration.java
+26
-0
PowerGeneration.java
...amos/boot/module/jxiop/biz/scheduled/PowerGeneration.java
+14
-0
CommonServiceImpl.java
...boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
+5
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/ESDto/ESDailyPowerGeneration.java
0 → 100644
View file @
3fe9a2df
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
ESDto
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.github.classgraph.json.Id
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
org.springframework.data.elasticsearch.annotations.DateFormat
;
import
org.springframework.data.elasticsearch.annotations.Document
;
import
org.springframework.data.elasticsearch.annotations.Field
;
import
org.springframework.data.elasticsearch.annotations.FieldType
;
import
java.util.Date
;
/**
* @description:
* @author: tw
* @createDate: 2023/8/9
*/
@Data
@Accessors
(
chain
=
true
)
@Document
(
indexName
=
"jxiop_dailyPowerGeneration"
)
public
class
ESDailyPowerGeneration
extends
ESEquipments
{
@Field
(
type
=
FieldType
.
Keyword
)
private
String
stationType
;
//场站类型
@Field
(
type
=
FieldType
.
Keyword
)
private
String
day
;
//时间标识
}
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/ESDto/ESMoonPowerGeneration.java
0 → 100644
View file @
3fe9a2df
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
ESDto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
org.springframework.data.elasticsearch.annotations.Document
;
import
org.springframework.data.elasticsearch.annotations.Field
;
import
org.springframework.data.elasticsearch.annotations.FieldType
;
/**
* @description:
* @author: tw
* @createDate: 2023/8/9
*/
@Data
@Accessors
(
chain
=
true
)
@Document
(
indexName
=
"jxiop_moonPowerGeneration"
)
public
class
ESMoonPowerGeneration
extends
ESEquipments
{
@Field
(
type
=
FieldType
.
Keyword
)
private
String
stationType
;
//场站类型
@Field
(
type
=
FieldType
.
Keyword
)
private
String
day
;
//时间标识
}
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/ESDto/ESYearPowerGeneration.java
0 → 100644
View file @
3fe9a2df
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
ESDto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
org.springframework.data.elasticsearch.annotations.Document
;
import
org.springframework.data.elasticsearch.annotations.Field
;
import
org.springframework.data.elasticsearch.annotations.FieldType
;
/**
* @description:
* @author: tw
* @createDate: 2023/8/9
*/
@Data
@Accessors
(
chain
=
true
)
@Document
(
indexName
=
"jxiop_yearPowerGeneration"
)
public
class
ESYearPowerGeneration
extends
ESEquipments
{
@Field
(
type
=
FieldType
.
Keyword
)
private
String
stationType
;
//场站类型
@Field
(
type
=
FieldType
.
Keyword
)
private
String
day
;
//时间标识
}
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/scheduled/PowerGeneration.java
0 → 100644
View file @
3fe9a2df
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
scheduled
;
/**
* @description:
* @author: tw
* @createDate: 2023/8/9
*/
public
class
PowerGeneration
{
}
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
View file @
3fe9a2df
...
@@ -122,6 +122,11 @@ public class CommonServiceImpl {
...
@@ -122,6 +122,11 @@ public class CommonServiceImpl {
/**
/**
* @deprecated 获取指标值总和
* @deprecated 获取指标值总和
* @param gatewayId 网关id 用于拼接sql语句
* @param gatewayId 网关id 用于拼接sql语句
...
...
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