增加三字码字段

Wangyanyixiang_branch
RichardWang 6 months ago
parent b882879d6b
commit 0647a38283

@ -12,7 +12,21 @@ public class flight { //
private String f_delay=null;//ÑÓÎóÂÊ
private String f_food=null;//²ÍʳÇé¿ö
private String f_wide=null;//×ùλ¿í¶È
private String f_depcode=null;//出发地三字码
private String f_dstcode=null;//目的地三字码
public String getF_depcode() {
return f_depcode;
}
public void setF_depcode(String f_depcode) {
this.f_depcode=f_depcode;
}
public String getF_dstcode() {
return f_dstcode;
}
public void setF_dstcode(String f_dstcode) {
this.f_dstcode=f_dstcode;
}
public String getF_wide() {
return f_wide;
}

@ -98,6 +98,8 @@ public class search_fly extends HttpServlet {
flight_info.setF_delay(res.getString(10));
flight_info.setF_food(res.getString(11));
flight_info.setF_wide(res.getString(12));
flight_info.setF_depcode(res.getString(13));
flight_info.setF_dstcode(res.getString(14));
flightlist.add(flight_info);
}
req.setAttribute("date", date);
@ -105,7 +107,7 @@ public class search_fly extends HttpServlet {
req.setAttribute("destination", destination);
req.setAttribute("flightlist", flightlist);
} catch (SQLException e) {
System.out.println("閿欒淇℃伅锛<EFBFBD>" + e);
System.out.println("SQL错误信息是" + e);
} finally {
conn.closeDB();
}

Loading…
Cancel
Save