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
bc1c7c8c
Commit
bc1c7c8c
authored
Nov 13, 2020
by
java-温文海
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
航线论证查询和导出
parent
08acdc22
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
StatisticalDao.xml
resources/mapper/modules/airport/StatisticalDao.xml
+39
-0
No files found.
resources/mapper/modules/airport/StatisticalDao.xml
View file @
bc1c7c8c
...
@@ -169,4 +169,42 @@
...
@@ -169,4 +169,42 @@
GROUP BY verifNo,routeNo
GROUP BY verifNo,routeNo
</select>
</select>
<select
id=
"getList"
resultType=
"com.ejweb.modules.airport.entity.StatisticalListEntity"
>
SELECT
favt.arr_iata AS arrIata,
favt.arr_iata_name AS arrIataName,
favt.dep_iata AS depIata,
favt.dep_iata_name AS depIataName,
favt.depart_id AS departId,
favt.roundtrip_type AS roundtripType,
favt.verif_id AS verifId,
favt.verif_no AS verifNo,
favt.last_airline_time AS lastAirlineTime,
CASE
WHEN
DATE_SUB( #{benchmarkingTime}, INTERVAL 180 DAY )
<![CDATA[<=]]>
favt.last_airline_time
AND
favt.last_airline_time
<![CDATA[<=]]>
DATE_SUB( #{benchmarkingTime}, INTERVAL - 180 DAY )
THEN
1
ELSE
0
END AS airlineStatus,
favt.airline_json AS airlineJson,
favt.update_date as updateTime
FROM
foc_airline_verify_test favt
WHERE
favt.del_flag = #{DEL_FLAG_NORMAL}
<if
test=
"depIata != null and depIata != ''"
>
and favt.dep_iata = #{depIata}
</if>
<if
test=
"arrIata != null and arrIata != ''"
>
and favt.arr_iata = #{arrIata}
</if>
</select>
</mapper>
</mapper>
\ No newline at end of file
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