Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
e529b247
Commit
e529b247
authored
Nov 06, 2020
by
lizehua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询数据sql
parent
a8eb55c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
dbTemplate_view3d.xml
...sStart/src/main/resources/db/mapper/dbTemplate_view3d.xml
+13
-9
No files found.
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_view3d.xml
View file @
e529b247
...
@@ -502,19 +502,23 @@
...
@@ -502,19 +502,23 @@
ORDER BY ala.update_date DESC
ORDER BY ala.update_date DESC
limit 0,5
limit 0,5
</select>
</select>
<select
id=
"getEquipStatusTop5"
resultType=
"com.yeejoin.amos.fas.business.bo.SafetyExecuteBo"
>
<select
id=
"getEquipStatusTop5"
resultType=
"com.yeejoin.amos.fas.business.bo.SafetyExecuteBo"
>
SELECT
SELECT
fed
.id,
wlesi
.id,
fed.eq_point_name label
,
wlesi.`value` status
,
fed.e_value status
,
wlesi.create_date changeDate
,
fed.create_date changeDate
CONCAT(wlei.group_name,wlei.name) label
FROM
FROM
f_fire_equipment_data fed
wl_equipment_specific_index wlesi
LEFT JOIN wl_equipment_index wlei ON wlesi.equipment_index_id = wlei.id
left join wl_equipment_specific wles on wlesi.equipment_specific_id = wles.id
WHERE
WHERE
fed.org_code = #{orgCode} OR fed.org_code like CONCAT(#{orgCode},'-%')
wlesi.id=#{orgCode}
ORDER BY fed.create_date DESC
and (wlesi.`value` = 'true'
limit 0,5
OR wlesi.`value` = 'false')
ORDER BY wlesi.create_date DESC
limit 0,5
</select>
</select>
<select
id=
"getPintsByType"
resultType=
"hashmap"
>
<select
id=
"getPintsByType"
resultType=
"hashmap"
>
...
...
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