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
da97a385
Commit
da97a385
authored
Nov 30, 2020
by
zhengjiawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
marger修复
parent
0adcd6e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dbTemplate_equipment_specific.xml
...ain/resources/db/mapper/dbTemplate_equipment_specific.xml
+4
-4
No files found.
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_equipment_specific.xml
View file @
da97a385
...
@@ -86,14 +86,14 @@
...
@@ -86,14 +86,14 @@
</select>
</select>
<select
id=
"getFireEquiments"
resultType=
"com.yeejoin.amos.fas.business.vo.EquipmentSpeVo"
>
<select
id=
"getFireEquiments"
resultType=
"com.yeejoin.amos.fas.business.vo.EquipmentSpeVo"
>
select
select
sto.
id as id ,
sto.equipment_specific_
id as id ,
equ.code as f_code,
equ.code as f_code,
det.name as f_name
det.name as f_name
from
from
wl_stock_detail as sto
wl_stock_detail as sto
left join wl_equipment_detail as det on sto.equipment_detail_id = det.id
left join wl_equipment_detail as det on sto.equipment_detail_id = det.id
left join wl_equipment as equ on det.equipment_id = equ.id
left join wl_equipment as equ on det.equipment_id = equ.id
left join f_equipment_fire_equipment as fire on sto.
id = fire.fire_equipment_id
left join f_equipment_fire_equipment as fire on sto.equipment_specific_
id = fire.fire_equipment_id
where sto.amount
<![CDATA[>]]>
0
where sto.amount
<![CDATA[>]]>
0
<if
test=
"fname != null and fname!='null' "
>
<if
test=
"fname != null and fname!='null' "
>
and det.name like CONCAT('%',#{fname},'%' )
and det.name like CONCAT('%',#{fname},'%' )
...
@@ -119,9 +119,9 @@
...
@@ -119,9 +119,9 @@
d.important_equipment_id = #{importantEquipId} ) isBound
d.important_equipment_id = #{importantEquipId} ) isBound
from
from
f_equipment_fire_equipment as fire
f_equipment_fire_equipment as fire
left join wl_stock_detail as sto on fire.fire_equipment_id = sto.
id
left join wl_stock_detail as sto on fire.fire_equipment_id = sto.equipment_specific_
id
left join wl_equipment_specific as spe on sto.qr_code = spe.qr_code
left join wl_equipment_specific as spe on sto.qr_code = spe.qr_code
left join wl_equipment_specific_index as speind on spe.
id = speind.equipment_specific_id
left join wl_equipment_specific_index as speind on sto.equipment_specific_
id = speind.equipment_specific_id
left join wl_equipment_index as equindex on speind.equipment_index_id = equindex.id
left join wl_equipment_index as equindex on speind.equipment_index_id = equindex.id
where equindex.type_code ='BREAKDOWN'
where equindex.type_code ='BREAKDOWN'
<if
test=
"importantEquipId != null "
>
<if
test=
"importantEquipId != null "
>
...
...
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