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
066efa74
Commit
066efa74
authored
Aug 29, 2024
by
KeYong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_dl_bugfix_0723' into develop_dl_bugfix_0723
parents
07bc97e1
17a20acc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
MqttReceiveServiceImpl.java
...join/equipmanage/service/impl/MqttReceiveServiceImpl.java
+1
-1
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+1
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/MqttReceiveServiceImpl.java
View file @
066efa74
...
@@ -1468,7 +1468,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
...
@@ -1468,7 +1468,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
private
void
doWaterStationWarning
(
String
bizOrgCode
,
String
bizOrgName
)
{
private
void
doWaterStationWarning
(
String
bizOrgCode
,
String
bizOrgName
)
{
List
<
Map
<
String
,
Object
>>
result
=
poolStatisticController
.
getStationWaterPanelInfo
(
bizOrgCode
).
getResult
();
List
<
Map
<
String
,
Object
>>
result
=
poolStatisticController
.
getStationWaterPanelInfo
(
bizOrgCode
).
getResult
();
String
indexValue
=
result
.
stream
()
String
indexValue
=
result
.
stream
()
.
map
(
map
->
(
BigDecimal
)
map
.
get
(
"volumeBigDecimal"
))
.
map
(
map
->
(
BigDecimal
)
map
.
get
OrDefault
(
"volumeBigDecimal"
,
new
BigDecimal
(
0
)
))
.
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
).
toString
();
.
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
).
toString
();
doWaterStationInfo
(
bizOrgCode
,
bizOrgName
,
indexValue
);
doWaterStationInfo
(
bizOrgCode
,
bizOrgName
,
indexValue
);
}
}
...
...
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
066efa74
...
@@ -7158,7 +7158,7 @@
...
@@ -7158,7 +7158,7 @@
FROM
FROM
(
(
(SELECT
(SELECT
sum( n.num )
sum( n.num )
as indexNum
FROM
FROM
(
(
SELECT
SELECT
...
@@ -7175,7 +7175,6 @@
...
@@ -7175,7 +7175,6 @@
GROUP BY
GROUP BY
a.id
a.id
) n
) n
)
) AS indexNum,
) AS indexNum,
(SELECT count( 1 ) AS equipNum FROM wl_equipment_specific es LEFT JOIN wl_equipment e ON e.`code` = es.equipment_code WHERE e.is_iot = 1
(SELECT count( 1 ) AS equipNum FROM wl_equipment_specific es LEFT JOIN wl_equipment e ON e.`code` = es.equipment_code WHERE e.is_iot = 1
<if
test=
"bizOrgCode!=null and bizOrgCode!=''"
>
<if
test=
"bizOrgCode!=null and bizOrgCode!=''"
>
...
...
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