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
2abbc541
Commit
2abbc541
authored
Sep 15, 2023
by
chenzhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://39.98.45.134:8090/moa/amos-boot-biz
into developer
parents
b0f59d6b
e21a7391
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
2 deletions
+13
-2
TreeDto.java
...a/com/yeejoin/amos/boot/module/jxiop/api/dto/TreeDto.java
+5
-0
StationBasicMapper.xml
...xiop-api/src/main/resources/mapper/StationBasicMapper.xml
+2
-1
CommonConstans.java
.../amos/boot/module/jxiop/biz/constants/CommonConstans.java
+4
-0
MonitorFanIdxController.java
.../module/jxiop/biz/controller/MonitorFanIdxController.java
+1
-0
CommonServiceImpl.java
...boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
+1
-1
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+0
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/dto/TreeDto.java
View file @
2abbc541
...
@@ -34,6 +34,11 @@ public class TreeDto {
...
@@ -34,6 +34,11 @@ public class TreeDto {
private
Integer
isOnClick
;
private
Integer
isOnClick
;
/**
/**
* 风机首页-配置页面场景ID
*/
private
String
sceneId
;
/**
* 子节点
* 子节点
*/
*/
private
List
<
TreeDto
>
children
;
private
List
<
TreeDto
>
children
;
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/StationBasicMapper.xml
View file @
2abbc541
...
@@ -160,7 +160,8 @@
...
@@ -160,7 +160,8 @@
sequence_nbr as code,
sequence_nbr as code,
station_type as parentCode,
station_type as parentCode,
sequence_nbr as id,
sequence_nbr as id,
'1' as isOnclick
'1' as isOnclick,
scene_id as sceneId
from station_basic
from station_basic
<where>
<where>
<if
test=
"regionCode != null and regionCode != ''"
>
<if
test=
"regionCode != null and regionCode != ''"
>
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/constants/CommonConstans.java
View file @
2abbc541
...
@@ -79,16 +79,20 @@ public class CommonConstans {
...
@@ -79,16 +79,20 @@ public class CommonConstans {
};
};
//es EquipIndexName 查绚关键字
//es EquipIndexName 查绚关键字
public
static
final
String
QueryStringEquipmentIndexName
=
"equipmentIndexName.keyword"
;
public
static
final
String
QueryStringEquipmentIndexName
=
"equipmentIndexName.keyword"
;
//es EquipIndexName 查绚关键字
public
static
final
String
QueryStringEquipmentIndexNameNotKeyword
=
"equipmentIndexName"
;
//es gatewayId 查绚关键字
//es gatewayId 查绚关键字
public
static
final
String
QueryStringGateWayId
=
"gatewayId.keyword"
;
public
static
final
String
QueryStringGateWayId
=
"gatewayId.keyword"
;
public
static
final
String
QueryStringFrontMoudle
=
"frontModule.keyword"
;
public
static
final
String
QueryStringFrontMoudle
=
"frontModule.keyword"
;
public
static
final
String
QueryStringSystemType
=
"systemType"
;
public
static
final
String
QueryStringSystemType
=
"systemType"
;
public
static
final
String
QueryStringSystemTypeKeyword
=
"systemType.keyword"
;
public
static
final
String
QueryStringEquipmentNumber
=
"equipmentNumber"
;
public
static
final
String
QueryStringEquipmentNumber
=
"equipmentNumber"
;
public
static
final
String
QueryStringValue
=
"value"
;
public
static
final
String
QueryStringValue
=
"value"
;
public
static
final
String
QueryStringValueKeyword
=
"value.keyword"
;
public
static
final
String
QueryStringValueKeyword
=
"value.keyword"
;
public
static
final
String
QueryStringDataType
=
"dataType"
;
public
static
final
String
QueryStringDataType
=
"dataType"
;
public
static
final
String
QueryStringDisplayName
=
"displayName"
;
public
static
final
String
QueryStringDisplayName
=
"displayName"
;
public
static
final
String
QueryStringIsAlarm
=
"isAlarm"
;
public
static
final
String
QueryStringIsAlarm
=
"isAlarm"
;
public
static
final
String
QueryStringIsAlarmKeyword
=
"isAlarm.keyword"
;
public
static
final
String
Twodecimalplaces
=
"%.2f"
;
public
static
final
String
Twodecimalplaces
=
"%.2f"
;
public
static
final
String
Fourdecimalplaces
=
"%.4f"
;
public
static
final
String
Fourdecimalplaces
=
"%.4f"
;
public
static
final
String
QueryStringFrontMoudleNotKeyWord
=
"frontModule"
;
public
static
final
String
QueryStringFrontMoudleNotKeyWord
=
"frontModule"
;
...
...
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 @
2abbc541
...
@@ -763,6 +763,7 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -763,6 +763,7 @@ public class MonitorFanIdxController extends BaseController {
List
<
Map
<
String
,
Object
>>
statusMonitoring
=
monitorFanIndicator
.
solarPowerOperation
(
gatewayId
);
List
<
Map
<
String
,
Object
>>
statusMonitoring
=
monitorFanIndicator
.
solarPowerOperation
(
gatewayId
);
List
<
Map
<
String
,
Object
>>
collect
=
statusMonitoring
.
stream
()
List
<
Map
<
String
,
Object
>>
collect
=
statusMonitoring
.
stream
()
.
sorted
(
Comparator
.
comparing
(
t
->
Integer
.
parseInt
(
t
.
get
(
"sort"
).
toString
())))
.
skip
((
long
)
(
current
-
1
)
*
size
)
.
skip
((
long
)
(
current
-
1
)
*
size
)
.
limit
(
size
)
.
limit
(
size
)
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
...
...
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 @
2abbc541
...
@@ -519,7 +519,7 @@ public class CommonServiceImpl {
...
@@ -519,7 +519,7 @@ public class CommonServiceImpl {
List
<
T
>
list
=
searchHitList
.
stream
().
map
(
hit
->
hit
.
getContent
()).
collect
(
Collectors
.
toList
());
List
<
T
>
list
=
searchHitList
.
stream
().
map
(
hit
->
hit
.
getContent
()).
collect
(
Collectors
.
toList
());
return
list
;
return
list
;
}
}
return
n
ull
;
return
n
ew
ArrayList
<>()
;
}
}
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
View file @
2abbc541
This diff is collapsed.
Click to expand it.
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