Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
api
Overview
Overview
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
首航-临时账号
api
Commits
ed47477f
Commit
ed47477f
authored
Dec 22, 2020
by
java-温文海
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug'
parent
740b3b7e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
24 deletions
+6
-24
StatisticalDao.xml
resources/mapper/modules/airport/StatisticalDao.xml
+6
-24
No files found.
resources/mapper/modules/airport/StatisticalDao.xml
View file @
ed47477f
...
@@ -148,16 +148,10 @@
...
@@ -148,16 +148,10 @@
where a.verif_status='02' AND a.del_flag = #{DEL_FLAG_NORMAL}
where a.verif_status='02' AND a.del_flag = #{DEL_FLAG_NORMAL}
<if
test=
"routeNo != null and routeNo != ''"
>
<if
test=
"routeNo != null and routeNo != ''"
>
AND a.route_no LIKE
AND a.route_no LIKE CONCAT('%', #{routeNo}, '%')
<if
test=
"dbName == 'oracle'"
>
'%'||#{routeNo}||'%')
</if>
<if
test=
"dbName == 'mssql'"
>
'%'+#{routeNo}+'%')
</if>
<if
test=
"dbName == 'mysql'"
>
CONCAT('%', #{routeNo}, '%')
</if>
</if>
</if>
<if
test=
"verifNo != null and verifNo != ''"
>
<if
test=
"verifNo != null and verifNo != ''"
>
AND a.verif_no LIKE
AND a.verif_no LIKE CONCAT('%', #{verifNo}, '%')
<if
test=
"dbName == 'oracle'"
>
'%'||#{verifNo}||'%')
</if>
<if
test=
"dbName == 'mssql'"
>
'%'+#{verifNo}+'%')
</if>
<if
test=
"dbName == 'mysql'"
>
CONCAT('%', #{verifNo}, '%')
</if>
</if>
</if>
<if
test=
"verifType != null and verifType != ''"
>
<if
test=
"verifType != null and verifType != ''"
>
AND a.verif_type = #{verifType}
AND a.verif_type = #{verifType}
...
@@ -196,26 +190,14 @@
...
@@ -196,26 +190,14 @@
<!--当出发地不为空,目的地为空 -->
<!--当出发地不为空,目的地为空 -->
<if
test=
"(bean.depIata != null and bean.depIata != '') "
>
<if
test=
"(bean.depIata != null and bean.depIata != '') "
>
AND ( favt.dep_iata LIKE
AND ( favt.dep_iata LIKE CONCAT('%', #{bean.depIata}, '%')
<if
test=
"dbName == 'oracle'"
>
'%'||#{bean.depIata}||'%'
</if>
or favt.arr_iata LIKE CONCAT('%', #{bean.depIata}, '%')
<if
test=
"dbName == 'mssql'"
>
'%'+#{bean.depIata}+'%'
</if>
<if
test=
"dbName == 'mysql'"
>
CONCAT('%', #{bean.depIata}, '%')
</if>
or favt.arr_iata LIKE
<if
test=
"dbName == 'oracle'"
>
'%'||#{bean.depIata}||'%'
</if>
<if
test=
"dbName == 'mssql'"
>
'%'+#{bean.depIata}+'%'
</if>
<if
test=
"dbName == 'mysql'"
>
CONCAT('%', #{bean.depIata}, '%')
</if>
)
)
</if>
</if>
<!--当出发地为空,目的地不为空 -->
<!--当出发地为空,目的地不为空 -->
<if
test=
" (bean.arrIata != null and bean.arrIata != '')"
>
<if
test=
" (bean.arrIata != null and bean.arrIata != '')"
>
and ( favt.dep_iata LIKE
and ( favt.dep_iata LIKE CONCAT('%', #{bean.arrIata}, '%')
<if
test=
"dbName == 'oracle'"
>
'%'||#{bean.arrIata}||'%'
</if>
or favt.arr_iata LIKE CONCAT('%', #{bean.arrIata}, '%')
<if
test=
"dbName == 'mssql'"
>
'%'+#{bean.arrIata}+'%'
</if>
<if
test=
"dbName == 'mysql'"
>
CONCAT('%', #{bean.arrIata}, '%')
</if>
or favt.arr_iata LIKE
<if
test=
"dbName == 'oracle'"
>
'%'||#{bean.arrIata}||'%'
</if>
<if
test=
"dbName == 'mssql'"
>
'%'+#{bean.arrIata}+'%'
</if>
<if
test=
"dbName == 'mysql'"
>
CONCAT('%', #{bean.arrIata}, '%')
</if>
)
)
</if>
</if>
<if
test=
"bean.beginTime != null and bean.beginTime != '' and bean.endTime !=null and bean.endTime != ''"
>
<if
test=
"bean.beginTime != null and bean.beginTime != '' and bean.endTime !=null and bean.endTime != ''"
>
...
...
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