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
62374488
Commit
62374488
authored
Mar 28, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复分析计算
parent
ea99dc0e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
25 deletions
+28
-25
SmartAnalyseEnum.java
...oin/amos/boot/module/jxiop/biz/Enum/SmartAnalyseEnum.java
+27
-24
TdEngineConfig.java
...oin/amos/boot/module/jxiop/biz/config/TdEngineConfig.java
+1
-1
AnalyseController.java
...s/boot/module/jxiop/biz/controller/AnalyseController.java
+0
-0
CommonServiceImpl.java
...boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
+0
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/Enum/SmartAnalyseEnum.java
View file @
62374488
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
Enum
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
Enum
;
public
enum
SmartAnalyseEnum
{
public
enum
SmartAnalyseEnum
{
FAN_QJHF
(
"FAN_QJHF"
,
"风机区间变量划分"
),
FAN_XGX
(
"FAN_XGX"
,
"风机相关性"
),
FAN_ZXZ
(
"FAN_ZXZ"
,
"风机中心值
"
),
FAN_QJHF
(
"FAN_QJHF"
,
"风机区间变量划分
"
),
PV_QJHF
(
"PV_QJHF"
,
"光伏区间变量划分
"
),
FAN_XGX
(
"FAN_XGX"
,
"风机相关性
"
),
PV_XGX
(
"PV_XGX"
,
"光伏相关性
"
),
FAN_ZXZ
(
"FAN_ZXZ"
,
"风机中心值
"
),
PV_ZXZ
(
"PV_ZXZ"
,
"光伏中心值"
);
PV_QJHF
(
"PV_QJHF"
,
"光伏区间变量划分"
),
private
String
key
;
PV_XGX
(
"PV_XGX"
,
"光伏相关性"
),
private
String
name
;
public
String
getKey
()
{
PV_ZXZ
(
"PV_ZXZ"
,
"光伏中心值"
);
return
key
;
}
public
void
setKey
(
String
key
)
{
private
String
key
;
this
.
key
=
key
;
}
public
String
getName
()
{
private
String
name
;
return
name
;
}
public
void
setName
(
String
name
)
{
public
String
getKey
(
)
{
this
.
name
=
name
;
return
key
;
}
}
SmartAnalyseEnum
(
String
key
,
String
name
)
{
public
void
setKey
(
String
key
)
{
this
.
key
=
key
;
this
.
key
=
key
;
this
.
name
=
name
;
}
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
SmartAnalyseEnum
(
String
key
,
String
name
)
{
this
.
key
=
key
;
this
.
name
=
name
;
}
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/config/TdEngineConfig.java
View file @
62374488
...
@@ -76,7 +76,7 @@ public class TdEngineConfig {
...
@@ -76,7 +76,7 @@ public class TdEngineConfig {
final
MybatisSqlSessionFactoryBean
sessionFactory
=
new
MybatisSqlSessionFactoryBean
();
final
MybatisSqlSessionFactoryBean
sessionFactory
=
new
MybatisSqlSessionFactoryBean
();
sessionFactory
.
setDataSource
(
culsterDataSource
);
sessionFactory
.
setDataSource
(
culsterDataSource
);
sessionFactory
.
setMapperLocations
(
new
PathMatchingResourcePatternResolver
()
sessionFactory
.
setMapperLocations
(
new
PathMatchingResourcePatternResolver
()
.
getResources
(
TdEngineConfig
.
MAPPER_LOCATION
));
.
getResources
(
MAPPER_LOCATION
));
sessionFactory
.
setTypeAliasesPackage
(
"com.yeejoin.amos.boot.module.jxiop.biz.entity"
);
sessionFactory
.
setTypeAliasesPackage
(
"com.yeejoin.amos.boot.module.jxiop.biz.entity"
);
//mybatis 数据库字段与实体类属性驼峰映射配置
//mybatis 数据库字段与实体类属性驼峰映射配置
sessionFactory
.
getObject
().
getConfiguration
().
setMapUnderscoreToCamelCase
(
true
);
sessionFactory
.
getObject
().
getConfiguration
().
setMapUnderscoreToCamelCase
(
true
);
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/AnalyseController.java
View file @
62374488
This diff is collapsed.
Click to expand it.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
View file @
62374488
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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