完成订票和预定成功等功能:
String date = this.getRequest().getParameter(\"chuFaRiQi\");
String chuFaDi = RailwayTicket.Function.encodingFunction.getMethodEncoding(this.getRequest().getParameter(\"chuFaDi\").trim());
String muDiDi = RailwayTicket.Function.encodingFunction.getMethodEncoding(this.getRequest().getParameter(\"muDiDi\").trim());
List lstTrain = this.sellTicketService.queryTrain(chuFaDi, muDiDi);
JSONObject jsObj = new JSONObject();
JSONArray jsArr = new JSONArray();
for(int i = 0; i < 24> 0; i++){
strDaySpan = \"两日到达\";
} else {
if(daySpan > 0 || flag){
strDaySpan = \"次日到达\";
} else {
strDaySpan = \"当日到达\";
}
}
List lst = this.sellTicketService.queryTrainSeatInfo(Integer.parseInt(obj[0].toString()), date);
List lstExist = (List) lst.get(0);
List lstNotExist = (List) lst.get(1);
// 查询各类坐席座位数
int intChuFaSNO = Integer.parseInt(obj[8].toString());
int intDaoDaSNO = Integer.parseInt(obj[9].toString());
Double interv = Double.parseDouble(obj[10].toString());