Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
a7a73fb4
Commit
a7a73fb4
authored
Jun 06, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改返回结果
parent
76b872ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
MonitorFanIdxController.java
.../module/jxiop/biz/controller/MonitorFanIdxController.java
+8
-8
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/MonitorFanIdxController.java
View file @
a7a73fb4
...
@@ -438,7 +438,7 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -438,7 +438,7 @@ public class MonitorFanIdxController extends BaseController {
@ApiOperation
(
value
=
"集电线路图左侧 集电线列表"
)
@ApiOperation
(
value
=
"集电线路图左侧 集电线列表"
)
@GetMapping
(
"/jdTree"
)
@GetMapping
(
"/jdTree"
)
@Scheduled
(
cron
=
"0/10 * * * * ? "
)
@Scheduled
(
cron
=
"0/10 * * * * ? "
)
public
ResponseModel
<
IPage
<
Map
<
String
,
Object
>>
>
getStatusJDX
()
{
public
ResponseModel
<
Object
>
getStatusJDX
()
{
LambdaQueryWrapper
<
StationBasic
>
wrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
StationBasic
>
wrapper
=
new
LambdaQueryWrapper
<>();
List
<
StationBasic
>
stationBasics
=
stationBasicMapper
.
selectList
(
wrapper
);
List
<
StationBasic
>
stationBasics
=
stationBasicMapper
.
selectList
(
wrapper
);
for
(
StationBasic
stationBasic
:
stationBasics
)
{
for
(
StationBasic
stationBasic
:
stationBasics
)
{
...
@@ -458,7 +458,7 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -458,7 +458,7 @@ public class MonitorFanIdxController extends BaseController {
@ApiOperation
(
value
=
"集电线路图右侧 风机列表"
)
@ApiOperation
(
value
=
"集电线路图右侧 风机列表"
)
@GetMapping
(
"/fjList"
)
@GetMapping
(
"/fjList"
)
@Scheduled
(
cron
=
"0/10 * * * * ? "
)
@Scheduled
(
cron
=
"0/10 * * * * ? "
)
public
ResponseModel
getListByFJ
()
{
public
ResponseModel
<
Object
>
getListByFJ
()
{
LambdaQueryWrapper
<
StationBasic
>
wrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
StationBasic
>
wrapper
=
new
LambdaQueryWrapper
<>();
...
@@ -515,7 +515,7 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -515,7 +515,7 @@ public class MonitorFanIdxController extends BaseController {
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"模拟量列表消息"
)
@ApiOperation
(
value
=
"模拟量列表消息"
)
@GetMapping
(
"/getAnalogQuantityInfo"
)
@GetMapping
(
"/getAnalogQuantityInfo"
)
public
ResponseModel
getAnalogQuantityInfo
(
@RequestParam
(
value
=
"stationId"
)
String
stationId
,
@RequestParam
(
value
=
"routeName"
)
String
routeName
)
{
public
ResponseModel
<
Object
>
getAnalogQuantityInfo
(
@RequestParam
(
value
=
"stationId"
)
String
stationId
,
@RequestParam
(
value
=
"routeName"
)
String
routeName
)
{
StationBasic
stationBasic
=
stationBasicMapper
.
selectById
(
stationId
);
StationBasic
stationBasic
=
stationBasicMapper
.
selectById
(
stationId
);
String
gatewayId
=
stationBasic
.
getBoosterGatewayId
();
String
gatewayId
=
stationBasic
.
getBoosterGatewayId
();
monitorFanIndicator
.
getAnalogQuantityInfo
(
gatewayId
,
stationBasic
.
getSequenceNbr
().
toString
(),
routeName
);
monitorFanIndicator
.
getAnalogQuantityInfo
(
gatewayId
,
stationBasic
.
getSequenceNbr
().
toString
(),
routeName
);
...
@@ -526,7 +526,7 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -526,7 +526,7 @@ public class MonitorFanIdxController extends BaseController {
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"升压站主屏消息接口"
)
@ApiOperation
(
value
=
"升压站主屏消息接口"
)
@GetMapping
(
"/getMajorAnalogQuantityByPage"
)
@GetMapping
(
"/getMajorAnalogQuantityByPage"
)
public
ResponseModel
getMajorAnalogQuantityByPage
(
@RequestParam
(
required
=
false
)
String
stationId
)
{
public
ResponseModel
<
Object
>
getMajorAnalogQuantityByPage
(
@RequestParam
(
required
=
false
)
String
stationId
)
{
StationBasic
stationBasic
=
stationBasicMapper
.
selectById
(
stationId
);
StationBasic
stationBasic
=
stationBasicMapper
.
selectById
(
stationId
);
String
gatewayId
=
stationBasic
.
getBoosterGatewayId
();
String
gatewayId
=
stationBasic
.
getBoosterGatewayId
();
if
(
stationBasic
.
getStationName
().
contains
(
"夏造"
))
{
if
(
stationBasic
.
getStationName
().
contains
(
"夏造"
))
{
...
@@ -579,7 +579,7 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -579,7 +579,7 @@ public class MonitorFanIdxController extends BaseController {
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"开关图片API/消息"
)
@ApiOperation
(
value
=
"开关图片API/消息"
)
@GetMapping
(
"/switchUrl"
)
@GetMapping
(
"/switchUrl"
)
public
ResponseModel
<
Map
<
String
,
Object
>
>
getElectricQuantityList
(
public
ResponseModel
<
Object
>
getElectricQuantityList
(
@RequestParam
(
value
=
"stationId"
)
String
stationId
@RequestParam
(
value
=
"stationId"
)
String
stationId
)
{
)
{
...
@@ -596,7 +596,7 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -596,7 +596,7 @@ public class MonitorFanIdxController extends BaseController {
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"动态面板页面消息"
)
@ApiOperation
(
value
=
"动态面板页面消息"
)
@GetMapping
(
"/pageTopic"
)
@GetMapping
(
"/pageTopic"
)
public
ResponseModel
<
Map
<
String
,
Object
>
>
sendPageTopic
(
public
ResponseModel
<
Object
>
sendPageTopic
(
@RequestParam
(
value
=
"stationId"
)
String
stationId
,
@RequestParam
(
value
=
"equipName"
)
String
equipName
@RequestParam
(
value
=
"stationId"
)
String
stationId
,
@RequestParam
(
value
=
"equipName"
)
String
equipName
)
{
)
{
...
@@ -779,7 +779,7 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -779,7 +779,7 @@ public class MonitorFanIdxController extends BaseController {
@ApiOperation
(
value
=
"箱变实时开关状态"
)
@ApiOperation
(
value
=
"箱变实时开关状态"
)
@GetMapping
(
"/equipSwitchStatus"
)
@GetMapping
(
"/equipSwitchStatus"
)
@Scheduled
(
cron
=
"0/10 * * * * ? "
)
@Scheduled
(
cron
=
"0/10 * * * * ? "
)
public
ResponseModel
<
Map
<
String
,
Object
>
>
getEquipSwitchStatus
()
{
public
ResponseModel
<
Object
>
getEquipSwitchStatus
()
{
LambdaQueryWrapper
<
StationBasic
>
wrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
StationBasic
>
wrapper
=
new
LambdaQueryWrapper
<>();
...
@@ -853,7 +853,7 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -853,7 +853,7 @@ public class MonitorFanIdxController extends BaseController {
@ApiOperation
(
value
=
"集电线路图右侧 光伏列表"
)
@ApiOperation
(
value
=
"集电线路图右侧 光伏列表"
)
@GetMapping
(
"/gfList"
)
@GetMapping
(
"/gfList"
)
@Scheduled
(
cron
=
"0/10 * * * * ? "
)
@Scheduled
(
cron
=
"0/10 * * * * ? "
)
public
ResponseModel
getListByNbq
()
{
public
ResponseModel
<
Object
>
getListByNbq
()
{
LambdaQueryWrapper
<
StationBasic
>
wrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
StationBasic
>
wrapper
=
new
LambdaQueryWrapper
<>();
...
...
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