Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
task3.0
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
首航-临时账号
task3.0
Commits
c5e2f51b
Commit
c5e2f51b
authored
Aug 01, 2023
by
罗胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023-08-31 罗胜
1.油量分析跨天签派放行数据未拉取处理
parent
cfd1da4d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
DspReleaseInfoTask.java
src/main/java/com/foc/DspReleaseInfoTask.java
+4
-2
StatisticalMapper.xml
src/main/resources/mapper/StatisticalMapper.xml
+3
-3
No files found.
src/main/java/com/foc/DspReleaseInfoTask.java
View file @
c5e2f51b
...
@@ -42,7 +42,9 @@ public class DspReleaseInfoTask {
...
@@ -42,7 +42,9 @@ public class DspReleaseInfoTask {
dates
.
add
(
LocalDate
.
now
());
dates
.
add
(
LocalDate
.
now
());
}
}
DspReleaseInfoService
.
addInfo
(
dates
);
DspReleaseInfoService
.
addInfo
(
dates
);
DspReleaseInfoService
.
addPltPlan
(
LocalDate
.
now
().
plusDays
(-
1
));
for
(
int
i
=
1
;
i
<=
2
;
i
++)
{
// DspReleaseInfoService.addPltPlan(LocalDate.parse("2023-02-05", DateTimeFormatter.ofPattern("yyyy-MM-dd")));
DspReleaseInfoService
.
addPltPlan
(
LocalDate
.
now
().
plusDays
(-
i
));
}
// DspReleaseInfoService.addPltPlan(LocalDate.parse("2023-07-22", DateTimeFormatter.ofPattern("yyyy-MM-dd")));
}
}
}
}
src/main/resources/mapper/StatisticalMapper.xml
View file @
c5e2f51b
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
LEFT JOIN foc_airports a ON d.dep_stn = a.airport_iata
LEFT JOIN foc_airports a ON d.dep_stn = a.airport_iata
LEFT JOIN foc_airports fa ON d.arr_stn = fa.airport_iata
LEFT JOIN foc_airports fa ON d.arr_stn = fa.airport_iata
WHERE
WHERE
d.stc IN ('J', 'A', 'G', 'H')
d.stc IN ('J', 'A', 'G', 'H'
,'C'
)
AND d.`status`!='CNL'
AND d.`status`!='CNL'
AND d.`atd_chn`
<
= #{date}
AND d.`atd_chn`
<
= #{date}
GROUP BY
GROUP BY
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
DATE_FORMAT(std_chn,'%Y/%m/%d') as lastAirlineTime
DATE_FORMAT(std_chn,'%Y/%m/%d') as lastAirlineTime
from foc_flight_dynamics
from foc_flight_dynamics
where dep_stn=#{entity.depIata} and arr_stn=#{entity.arrIata}
where dep_stn=#{entity.depIata} and arr_stn=#{entity.arrIata}
AND stc IN ('J', 'A', 'G', 'H') AND est_status is not null and est_status !=''
AND stc IN ('J', 'A', 'G', 'H'
,'C'
) AND est_status is not null and est_status !=''
AND `status`!='CNL'
AND `status`!='CNL'
AND `atd_chn`
<
= #{date}
AND `atd_chn`
<
= #{date}
and ac_type in
and ac_type in
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
select datop_chn,dep_stn,arr_stn,std_chn,sta_chn,flight_no,stc
select datop_chn,dep_stn,arr_stn,std_chn,sta_chn,flight_no,stc
from foc_flight_dynamics
from foc_flight_dynamics
where datop_chn=#{date}
where datop_chn=#{date}
and stc IN ('J', 'A', 'G', 'H')
and stc IN ('J', 'A', 'G', 'H'
,'C'
)
</select>
</select>
<insert
id=
"addDynamicsList"
parameterType=
"com.foc.entity.Dynamics"
>
<insert
id=
"addDynamicsList"
parameterType=
"com.foc.entity.Dynamics"
>
...
...
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