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
1dd6f3ab
Commit
1dd6f3ab
authored
Apr 11, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
3234ff09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dbTemplate_equipment_specific_index.xml
...sources/db/mapper/dbTemplate_equipment_specific_index.xml
+4
-4
No files found.
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_equipment_specific_index.xml
View file @
1dd6f3ab
...
...
@@ -143,14 +143,14 @@
<when
test =
"outAndOr != null and outAndOr != '' and outAndOr == 'and'"
>
<if
test=
"list != null and list.size() > 0"
>
<foreach
collection=
"list"
item=
"item"
index=
"index"
open=
"("
close=
")"
separator=
"and"
>
esi.equipment_index_key = #{item.equipSpeIndexKey} and esi.`value` = #{item.standardValue}
esi.equipment_index_key = #{item.equipSpeIndexKey} and es
.equipment_code = #{item.equipCode} and es
i.`value` = #{item.standardValue}
</foreach>
</if>
</when>
<otherwise>
<if
test=
"list != null and list.size() > 0"
>
<foreach
collection=
"list"
item=
"item"
index=
"index"
open=
"("
close=
")"
separator=
"or"
>
esi.equipment_index_key = #{item.equipSpeIndexKey} and esi.`value` = #{item.standardValue}
esi.equipment_index_key = #{item.equipSpeIndexKey} and es
.equipment_code = #{item.equipCode} and es
i.`value` = #{item.standardValue}
</foreach>
</if>
</otherwise>
...
...
@@ -181,14 +181,14 @@
<when
test =
"outAndOr != null and outAndOr != '' and outAndOr == 'and'"
>
<if
test=
"list != null and list.size() > 0"
>
<foreach
collection=
"list"
item=
"item"
index=
"index"
open=
"("
close=
")"
separator=
"and"
>
esi.equipment_index_key = #{item.equipSpeIndexKey} and esi.`value` = #{item.standardValue}
esi.equipment_index_key = #{item.equipSpeIndexKey} and es
.equipment_code = #{item.equipCode} and es
i.`value` = #{item.standardValue}
</foreach>
</if>
</when>
<otherwise>
<if
test=
"list != null and list.size() > 0"
>
<foreach
collection=
"list"
item=
"item"
index=
"index"
open=
"("
close=
")"
separator=
"or"
>
esi.equipment_index_key = #{item.equipSpeIndexKey} and esi.`value` = #{item.standardValue}
esi.equipment_index_key = #{item.equipSpeIndexKey} and es
.equipment_code = #{item.equipCode} and es
i.`value` = #{item.standardValue}
</foreach>
</if>
</otherwise>
...
...
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