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
b2dc7870
Commit
b2dc7870
authored
Dec 29, 2020
by
luoh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
油量接口,接口请求时间优化
parent
381a90a7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
OilAnalysisDao.xml
resources/mapper/modules/airport/OilAnalysisDao.xml
+4
-4
OilAnalysisDao.java
src/com/ejweb/modules/airport/dao/OilAnalysisDao.java
+1
-0
OilAnalysisService.java
src/com/ejweb/modules/airport/service/OilAnalysisService.java
+1
-0
No files found.
resources/mapper/modules/airport/OilAnalysisDao.xml
View file @
b2dc7870
...
...
@@ -21,12 +21,10 @@
from foc_flight_dynamics_sta sta
left join foc_airports airArr on airArr.airport_iata = sta.arr_iata_id
left join foc_airports airdep on airdep.airport_iata = sta.dep_iata_id
left join foc_flight_dynamics fd on DATE_FORMAT(fd.std_chn, '%Y-%m-%d')=DATE_FORMAT(sta.std, '%Y-%m-%d') and
fd.flight_no=sta.flight_no
left join foc_ac_type_compare ac on ac.ac_type = fd.ac_type
left join foc_ac_type_oil fat on fat.ac_no = sta.ac_no
left join foc_ac_type_compare ac on ac.ac_type = fat.ac_type
left join sys_user u on u.login_name = sta.dispatcher_name
where 1=1
<if
test=
"arrIata!=null and arrIata!='' "
>
...
...
@@ -67,6 +65,7 @@
group by sta.std,sta.flight_no
order by sta.std desc
</select>
</mapper>
\ No newline at end of file
src/com/ejweb/modules/airport/dao/OilAnalysisDao.java
View file @
b2dc7870
...
...
@@ -11,4 +11,5 @@ import java.util.List;
public
interface
OilAnalysisDao
extends
BaseDao
{
// 查询油量分析数据
List
<
OilAnalysisEntity
>
getOilAnalysisData
(
OilAnalysisBean
bean
);
}
src/com/ejweb/modules/airport/service/OilAnalysisService.java
View file @
b2dc7870
...
...
@@ -135,6 +135,7 @@ public class OilAnalysisService extends BaseService<OilAnalysisDao> {
page
.
setCount
(
pageInfo
.
getTotal
());
page
.
setTotalPage
(
pageInfo
.
getPages
());
page
.
setList
(
pageInfo
.
getList
());
return
page
;
}
...
...
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