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
25ff30a2
Commit
25ff30a2
authored
Feb 23, 2022
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备实时数据推送相关代码优化
parent
c55cc223
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
MqttReceiveServiceImpl.java
...join/equipmanage/service/impl/MqttReceiveServiceImpl.java
+0
-0
CarPropertyMapper.xml
...tem-equip/src/main/resources/mapper/CarPropertyMapper.xml
+6
-4
EquipmentSpecificIndexMapper.xml
...rc/main/resources/mapper/EquipmentSpecificIndexMapper.xml
+1
-1
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 @
25ff30a2
This diff is collapsed.
Click to expand it.
amos-boot-system-equip/src/main/resources/mapper/CarPropertyMapper.xml
View file @
25ff30a2
...
@@ -8,15 +8,17 @@
...
@@ -8,15 +8,17 @@
wcp.value AS value,
wcp.value AS value,
wcp.remark AS remark,
wcp.remark AS remark,
wcp.equipment_index_id AS equipmentIndexId,
wcp.equipment_index_id AS equipmentIndexId,
wei.name_key AS nameKey
wei.name_key AS nameKey,
wcp.is_alarm as isAlarm,
wcp.emergency_level_color as emergencyLevelColor,
wcp.emergency_level as emergencyLevel,
wcp.emergency_level_describe as emergencyLevelDescribe
FROM
FROM
wl_car_property wcp
wl_car_property wcp
LEFT JOIN wl_car AS wc ON wc.id = wcp.car_id
LEFT JOIN wl_car AS wc ON wc.id = wcp.car_id
LEFT JOIN wl_equipment_index AS wei ON wei.id = wcp.equipment_index_id
LEFT JOIN wl_equipment_index AS wei ON wei.id = wcp.equipment_index_id
WHERE
WHERE
wc.iot_code = #{iotCode}
wc.iot_code = #{iotCode} and wei.is_iot = true
AND
TRIM(wei.name_key) != '' AND wei.name_key IS NOT NULL
</select>
</select>
<select
id=
"getCarPropertyList"
resultType=
"com.yeejoin.equipmanage.common.entity.vo.CarPropertyVo"
>
<select
id=
"getCarPropertyList"
resultType=
"com.yeejoin.equipmanage.common.entity.vo.CarPropertyVo"
>
SELECT
SELECT
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificIndexMapper.xml
View file @
25ff30a2
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
LEFT JOIN wl_equipment_detail ed ON ed.id = wes.equipment_detail_id
LEFT JOIN wl_equipment_detail ed ON ed.id = wes.equipment_detail_id
LEFT JOIN wl_equipment_index AS wei ON wei.id = wesi.equipment_index_id
LEFT JOIN wl_equipment_index AS wei ON wei.id = wesi.equipment_index_id
WHERE
WHERE
wes.iot_code = #{iotCode}
wes.iot_code = #{iotCode}
and wei.is_iot = true
</select>
</select>
<select
id=
"getEquipmentSpeIndexByIotCode"
<select
id=
"getEquipmentSpeIndexByIotCode"
...
...
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