IDnum);return0;}return1;}intordernumcheck(passengerList*PList,intordernum){passengernode*p=PList->head->next;printfC%-8s%-20s%-20s%-10s%-8s%\nz,,〃订单号〃,〃姓名〃,〃证件号〃,〃航班号〃,数量〃);for(;p!=NULL;p=p->next){if(p->ordernum==ordernum){printf("%-8d%-20s%-20s%T0s%-8d%\n",p->ordernum,p->name,p->IDp->f1ightnum,p-〉ticketnum);return1;}}printf(z,\t\t抱歉,没有订单号为闹的订单信息!\n",order_num);return0;}voidcheck_all_passenger(passengerList*PList){passengernode*p=PList->head~>next;intm=0;printfC%-8s%-20s%-20s%-10s%-8s%\nz,,z,订单号〃,〃姓名〃,〃证件号〃,〃航班号〃,数量〃);for(;p!=NULL;p=p->next){printf("%-8d%-20s%-20s%T0s%-8d%\n",p->order_num,p->name,p->TDnum,p->flight_nurn,p->ticket_num);m=l;}if(m==0)printf(/z\t\t订单信息为空!\rT);}voidpassengercheck(passengerList*PList)〃订票num,〃订票charname[20],IDnum[15];intordernum;chara;printf(,z\t\t请选择订单査询方式:\n〃);