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
0970fef0
Commit
0970fef0
authored
Jun 27, 2022
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改bug
parent
ac110d27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
FireStationInfoMapper.xml
...s-api/src/main/resources/mapper/FireStationInfoMapper.xml
+1
-1
MqttReceiveServiceImpl.java
...t/module/ccs/biz/service/impl/MqttReceiveServiceImpl.java
+2
-2
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-ccs-api/src/main/resources/mapper/FireStationInfoMapper.xml
View file @
0970fef0
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
<if
test=
"stationCode != null and stationCode != ''"
>
<if
test=
"stationCode != null and stationCode != ''"
>
and s.station_code = #{stationCode}
and s.station_code = #{stationCode}
</if>
</if>
and s.
signal_report_date = t.date
and s.
confirm_date like concat(t.date,'%')
</where>
</where>
) as alarmNums,
) as alarmNums,
date
date
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-ccs-biz/src/main/java/com/yeejoin/amos/boot/module/ccs/biz/service/impl/MqttReceiveServiceImpl.java
View file @
0970fef0
...
@@ -56,8 +56,8 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
...
@@ -56,8 +56,8 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
"insert"
.
equals
(
receiveData
.
getActive
())
&&
ObjectUtil
.
isNotEmpty
(
receiveData
.
getAlarmEventLog
()))
{
"insert"
.
equals
(
receiveData
.
getActive
())
&&
ObjectUtil
.
isNotEmpty
(
receiveData
.
getAlarmEventLog
()))
{
AlarmEventLogVO
alarmEventLog
=
receiveData
.
getAlarmEventLog
();
AlarmEventLogVO
alarmEventLog
=
receiveData
.
getAlarmEventLog
();
if
(
StrUtil
.
isNotEmpty
(
alarmEventLog
.
getObjcectType
())
&&
"equip"
.
equals
(
alarmEventLog
.
getObjcectType
())
&&
if
(
StrUtil
.
isNotEmpty
(
alarmEventLog
.
getObjcectType
())
&&
"equip
ment
"
.
equals
(
alarmEventLog
.
getObjcectType
())
&&
StrUtil
.
isNotEmpty
(
alarmEventLog
.
getObjcectIndexType
())
&&
"
fireAlarm
"
.
equals
(
alarmEventLog
.
getObjcectIndexType
()))
{
StrUtil
.
isNotEmpty
(
alarmEventLog
.
getObjcectIndexType
())
&&
"
FIREALARM
"
.
equals
(
alarmEventLog
.
getObjcectIndexType
()))
{
FireEquipmentSignalLog
fireEquipmentSignalLog
=
new
FireEquipmentSignalLog
();
FireEquipmentSignalLog
fireEquipmentSignalLog
=
new
FireEquipmentSignalLog
();
fireEquipmentSignalLog
.
setStationName
(
alarmEventLog
.
getBizOrgName
());
fireEquipmentSignalLog
.
setStationName
(
alarmEventLog
.
getBizOrgName
());
fireEquipmentSignalLog
.
setStationCode
(
alarmEventLog
.
getOrgCode
());
fireEquipmentSignalLog
.
setStationCode
(
alarmEventLog
.
getOrgCode
());
...
...
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