📄 farefacade.java
字号:
package facade;
import java.util.List;
import java.sql.Connection;
import persistent.FarePersistent;
import persistent.FareVo;
import persistent.FlightMsg;
public class FareFacade
{
FarePersistent up = new FarePersistent();
public List getAllCity(Connection con) throws Exception
{
return up.getAllCity(con);
}
public List getAllFlight(Connection con) throws Exception
{
return up.getAllFlight(con);
}
public List getAllFlightID(Connection con) throws Exception
{
return up.getAllFlightID(con);
}
public List getFlightMsg(Connection con,String cityname)throws Exception
{
return up.getFlightMsg(con, cityname);
}
public FareVo getFlightFare(Connection con,String flightname)throws Exception
{
return up.getFlightFare(con, flightname);
}
public FlightMsg getFlightSchedule(Connection con,String schedulename)throws Exception
{
return up.getFlightSchedule(con,schedulename);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -