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
ba421025
Commit
ba421025
authored
Jul 06, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监盘接口相关代码提交
parent
a612be28
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
StationBasicMapper.xml
...xiop-api/src/main/resources/mapper/StationBasicMapper.xml
+1
-1
StationBasicController.java
...t/module/jxiop/biz/controller/StationBasicController.java
+1
-1
MonitoringServiceIMQTTmpl.java
...ule/jxiop/biz/service/impl/MonitoringServiceIMQTTmpl.java
+2
-2
application.properties
...iop-monitor-biz/src/main/resources/application.properties
+4
-4
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/StationBasicMapper.xml
View file @
ba421025
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
station_basic.station_type stationType,
station_basic.station_type stationType,
station_basic.station_flag stationFlag,
station_basic.station_flag stationFlag,
station_basic.area_code areaCode,
station_basic.area_code areaCode,
station_basic.jump
P
ath,
station_basic.jump
_p
ath,
station_basic.risk_level riskLevel,
station_basic.risk_level riskLevel,
station_basic.belong_area belongArea,
station_basic.belong_area belongArea,
station_coordinate.longitude,
station_coordinate.longitude,
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/StationBasicController.java
View file @
ba421025
...
@@ -175,7 +175,7 @@ public class StationBasicController extends BaseController {
...
@@ -175,7 +175,7 @@ public class StationBasicController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"场站地图数据"
,
notes
=
"场站地图数据"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"场站地图数据"
,
notes
=
"场站地图数据"
)
@GetMapping
(
value
=
"/listforMap"
)
@GetMapping
(
value
=
"/listforMap"
)
public
ResponseModel
<
List
<
StationInfoDto
>>
getStationList
(
@RequestParam
(
value
=
"areaCode"
,
required
=
false
)
String
areaCode
,
@RequestParam
(
value
=
"type"
,
required
=
false
)
String
type
)
{
public
ResponseModel
<
List
<
StationInfoDto
>>
getStationList
(
@RequestParam
(
value
=
"areaCode"
,
required
=
false
)
String
areaCode
,
@RequestParam
(
value
=
"type"
,
required
=
false
,
defaultValue
=
"qj"
)
String
type
)
{
return
ResponseHelper
.
buildResponse
(
stationBasicServiceImpl
.
getStationList
(
areaCode
,
type
));
return
ResponseHelper
.
buildResponse
(
stationBasicServiceImpl
.
getStationList
(
areaCode
,
type
));
}
}
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitoringServiceIMQTTmpl.java
View file @
ba421025
...
@@ -39,7 +39,7 @@ public class MonitoringServiceIMQTTmpl {
...
@@ -39,7 +39,7 @@ public class MonitoringServiceIMQTTmpl {
EmqKeeper
emqKeeper
;
EmqKeeper
emqKeeper
;
@Scheduled
(
cron
=
"
*/50 *
* * * *"
)
@Scheduled
(
cron
=
"
0 0/1
* * * *"
)
public
void
getTotalSocialContribution
()
{
public
void
getTotalSocialContribution
()
{
Page
<
SocialContributionDto
>
socialContributionDtoPage
=
new
Page
<
SocialContributionDto
>();
Page
<
SocialContributionDto
>
socialContributionDtoPage
=
new
Page
<
SocialContributionDto
>();
logger
.
error
(
"--------------------------社会贡献定时执行----------------------------------------------"
);
logger
.
error
(
"--------------------------社会贡献定时执行----------------------------------------------"
);
...
@@ -89,7 +89,7 @@ public class MonitoringServiceIMQTTmpl {
...
@@ -89,7 +89,7 @@ public class MonitoringServiceIMQTTmpl {
}
}
@Scheduled
(
cron
=
"
*
/30 * * * * *"
)
@Scheduled
(
cron
=
"
0
/30 * * * * *"
)
public
void
getCompletionOfPowerIndicatorsByProvinceName
()
{
public
void
getCompletionOfPowerIndicatorsByProvinceName
()
{
Page
<
SocialContributionDto
>
socialContributionDtoPage
=
new
Page
<
SocialContributionDto
>();
Page
<
SocialContributionDto
>
socialContributionDtoPage
=
new
Page
<
SocialContributionDto
>();
logger
.
error
(
"--------------------------区域实时数据消息开始发送----------------------------------------------"
);
logger
.
error
(
"--------------------------区域实时数据消息开始发送----------------------------------------------"
);
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/resources/application.properties
View file @
ba421025
...
@@ -66,8 +66,8 @@ privilege.fegin.name=AMOS-API-PRIVILEGE
...
@@ -66,8 +66,8 @@ privilege.fegin.name=AMOS-API-PRIVILEGE
feign.client.config.default.connect-timeout
=
20000
feign.client.config.default.connect-timeout
=
20000
feign.client.config.default.read-timeout
=
20000
feign.client.config.default.read-timeout
=
20000
#场站实时数据
#场站实时数据
station.task.cron
=
0/10 * *
* * ?
station.task.cron
=
* * */10
* * ?
#是否切片
#是否切片
station.isok
=
tru
e
station.isok
=
fals
e
#风机更新数据切片量
#风机更新数据切片量
station.section
=
10
station.section
=
1000
\ No newline at end of file
\ 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