Commit c5e2f51b by 罗胜

2023-08-31 罗胜

1.油量分析跨天签派放行数据未拉取处理
parent cfd1da4d
......@@ -42,7 +42,9 @@ public class DspReleaseInfoTask {
dates.add(LocalDate.now());
}
DspReleaseInfoService.addInfo(dates);
DspReleaseInfoService.addPltPlan(LocalDate.now().plusDays(-1));
// DspReleaseInfoService.addPltPlan(LocalDate.parse("2023-02-05", DateTimeFormatter.ofPattern("yyyy-MM-dd")));
for (int i = 1; i <=2 ; i++) {
DspReleaseInfoService.addPltPlan(LocalDate.now().plusDays(-i));
}
// DspReleaseInfoService.addPltPlan(LocalDate.parse("2023-07-22", DateTimeFormatter.ofPattern("yyyy-MM-dd")));
}
}
......@@ -17,7 +17,7 @@
LEFT JOIN foc_airports a ON d.dep_stn = a.airport_iata
LEFT JOIN foc_airports fa ON d.arr_stn = fa.airport_iata
WHERE
d.stc IN ('J', 'A', 'G', 'H')
d.stc IN ('J', 'A', 'G', 'H','C')
AND d.`status`!='CNL'
AND d.`atd_chn` &lt;= #{date}
GROUP BY
......@@ -30,7 +30,7 @@
DATE_FORMAT(std_chn,'%Y/%m/%d') as lastAirlineTime
from foc_flight_dynamics
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 `atd_chn` &lt;= #{date}
and ac_type in
......@@ -252,7 +252,7 @@
select datop_chn,dep_stn,arr_stn,std_chn,sta_chn,flight_no,stc
from foc_flight_dynamics
where datop_chn=#{date}
and stc IN ('J', 'A', 'G', 'H')
and stc IN ('J', 'A', 'G', 'H','C')
</select>
<insert id="addDynamicsList" parameterType="com.foc.entity.Dynamics">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment