当前位置: 首页 > news >正文

驻马店网站建设温州seo

驻马店网站建设,温州seo,郑州投资网站建设,青岛哪家公司做网站好博主介绍:java高级开发,从事互联网行业六年,熟悉各种主流语言,精通java、python、php、爬虫、web开发,已经从做了六年的毕业设计程序开发,开发过上千套毕业设计程序,没有什么华丽的语言&#xf…

博主介绍:java高级开发,从事互联网行业六年,熟悉各种主流语言,精通java、python、php、爬虫、web开发,已经从做了六年的毕业设计程序开发,开发过上千套毕业设计程序,没有什么华丽的语言,只有实实在在的写点程序。

🍅文末获取联系🍅

        基于SSM的航空订票系统根据功能设计划分为管理员用户和注册用户,从这两种用户的功能所需展开设计,管理员对注册用户管理、航班管理、航班时刻管理、通知公告管理、订票管理、退票管理等;注册用户主要是注册成功后登录,机票查询,预定机票,退票、管理个人资料、修改密码、查看订票记录、查看退票记录等功能。

管理员功能实现

航班管理页面

管理员管理航班信息,添加航班的编号、出发地机场、出发地航站楼、目的地、目的地机场、目的地航站楼、行程时间、座位数、头等舱座位数、头等舱价格、经济舱价格、经济舱座位数,然后进行座位的排号,添加后可以修改、删除、搜索查看航班信息,如图所示:

相关代码:

public String mgHangList(Model model, QueryVo vo, HttpServletRequest rq, HttpSession httpSession,@RequestParam(required = false, defaultValue = "1") Integer page,@RequestParam(required = false, defaultValue = "10") Integer pageSize) {PageHelper.startPage(page, pageSize);HangExample example = new HangExample();example.setOrderByClause("hid desc");example.setDistinct(false);HangExample.Criteria c = example.createCriteria();if ((vo.getQname() != null) && !("".equals(vo.getQname()))) {/*c.andHidLike("%" + vo.getQname() + "%");*/c.andHnoLike("%" + vo.getQname() + "%");c.andHbplaceLike("%" + vo.getQname() + "%");c.andHbjichLike("%" + vo.getQname() + "%");c.andHblouLike("%" + vo.getQname() + "%");c.andHeplaceLike("%" + vo.getQname() + "%");c.andHejichLike("%" + vo.getQname() + "%");c.andHelouLike("%" + vo.getQname() + "%");/*c.andHstatusLike("%" + vo.getQname() + "%");*/c.andHtimeLike("%" + vo.getQname() + "%");/*c.andHzwnumLike("%" + vo.getQname() + "%");c.andHtdczwLike("%" + vo.getQname() + "%");c.andHtdcpriceLike("%" + vo.getQname() + "%");c.andHjjczwLike("%" + vo.getQname() + "%");c.andHjicpriceLike("%" + vo.getQname() + "%");c.andHrekLike("%" + vo.getQname() + "%");*/}List<Hang> list = hangService.GetList(example);PageInfo<Hang> p = new PageInfo<Hang>(list);Integer count = hangService.GetCountOfList(example);model.addAttribute("ulist", list);model.addAttribute("count", count);model.addAttribute("p", p);model.addAttribute("vo", vo);return "/admin/hang/list";}

注册用户管理页面

管理员对注册用户信息管理,查看用户的姓名、账号、性别、电话、邮箱信息、地址,并可以搜索、删除用户信息,如图所示:

相关代码:

public String doUserinfoUdt(Model model,Userinfo nsfo, HttpServletRequest rq, HttpSession httpSession) {Userinfo entity = userinfoService.GetInfoById(nsfo.getUid());entity.setUlog(nsfo.getUlog());entity.setUpwd(nsfo.getUpwd());userinfoService.Update(entity);model = new utils.BaseCls().setReModel(model, "201", , "/hyticket/ur/mgUserinfoList.action");return "/admin/user/update";public String delUserinfo(Model model, Integer id, HttpServletRequest rq, HttpSession httpSession) {Userinfo entity = userinfoService.GetInfoById(id);entity.setUstatus(1);userinfoService.Update(entity);return "redirect:mgUserinfoList.action";

航班时刻管理页面

管理员管理航班的时刻信息,添加航班、出发地、出发地机场、目的地、目的地机场、出发时间、到达时间、行程时间,并可以搜索、修改、删除航班时刻,如图所示:

代码:

public String doVtimeAdd(Model model, Vtime nsfo, HttpServletRequest rq, HttpSession httpSession) {Hang entity = hangService.GetInfoById(nsfo.getVthid());nsfo.setVttdczw0(entity.getHtdczw());nsfo.setVtjjczw0(entity.getHjjczw());nsfo.setVtstatus(0);vtimeService.Add(nsfo);VtimeExample example = new VtimeExample();example.setOrderByClause("vtid desc");List<Vtime> list = vtimeService.GetList(example);Integer newid=list.get(0).getVtid();HpositionExample exp=new HpositionExample();HpositionExample.Criteria cp=exp.createCriteria();cp.andZhidEqualTo(entity.getHid());List<Hposition> lstp = hpositionService.GetList(exp);for(int i=0; i<lstp.size();i++){vtpositionService.Add(ety);}

查看订票详细信息页面

管理员查看用户的订票详细,如航班、出发地、到达时间、订票数量、总价等信息,并可以查看退票情况,如图所示:

 相关代码:

public String mgOrderdsList(Model model, QueryVo vo, HttpServletRequest rq, HttpSession httpSession,@RequestParam(required = false, defaultValue = "1") Integer page,@RequestParam(required = false, defaultValue = "10") Integer pageSize) {PageHelper.startPage(page, pageSize);OrderdsExample example = new OrderdsExample();example.setOrderByClause("odid desc");example.setDistinct(false);OrderdsExample.Criteria c = example.createCriteria();if ((vo.getQname() != null) && !("".equals(vo.getQname()))) {c.andOdtidLike("%" + vo.getQname() + "%");c.andOdoidLike("%" + vo.getQname() + "%");*/c.andOduidentidLike("%" + vo.getQname() + "%");c.andOdutelLike("%" + vo.getQname() + "%");c.andOdunameLike("%" + vo.getQname() + "%");PageInfo<Orderds> p = new PageInfo<Orderds>(list);Integer count = orderdsService.GetCountOfList(example);model.addAttribute("ulist", list);model.addAttribute("count", count);model.addAttribute("p", p);model.addAttribute("vo", vo);return "/admin/Orderds/list";

用户功能实现

会员注册页面

用户想要预定机票必须要先注册,点击注册按钮,填写相关的注册信息,点击注册按钮,完成注册,如图所示:

代码:

public String regis(Userinfo userinfo, Model model) {PageHelper.startPage(1, 1);UserinfoExample example = new UserinfoExample();UserinfoExample.Criteria c = example.createCriteria();c.andUlogEqualTo(userinfo.getUlog());List list = userinfoService.GetList(example);if (list.size() > 0) {model = new utils.BaseCls().setReModel(model, "404", "账号已存在,请更换!", "/hyticket/ur/toregis.action");return "/home/regis";}SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");userinfo.setUaddtime(sdf.format(new Date()));userinfo.setUrole(1);userinfoService.Add(userinfo);model = new utils.BaseCls().setReModel(model, "201", "注册成功,快去登录吧!", "/hyticket/ur/tologin.action");return "/home/regis";}

机票查询页面

用户可以按照出发城市、到达城市、出发日期、返程日期查询具体的机票信息,查看剩余票数、价格等信息,如图所示:

相关代码:

public String mgHangList(Model model, QueryVo vo, HttpServletRequest rq, HttpSession httpSession,@RequestParam(required = false, defaultValue = "1") Integer page,@RequestParam(required = false, defaultValue = "10") Integer pageSize) {PageHelper.startPage(page, pageSize);HangExample example = new HangExample();example.setOrderByClause("hid desc");example.setDistinct(false);HangExample.Criteria c = example.createCriteria();if ((vo.getQname() != null) && !("".equals(vo.getQname()))) {/*c.andHidLike("%" + vo.getQname() + "%");*/c.andHnoLike("%" + vo.getQname() + "%");c.andHbplaceLike("%" + vo.getQname() + "%");c.andHbjichLike("%" + vo.getQname() + "%");c.andHblouLike("%" + vo.getQname() + "%");c.andHeplaceLike("%" + vo.getQname() + "%");c.andHejichLike("%" + vo.getQname() + "%");c.andHelouLike("%" + vo.getQname() + "%");/*c.andHstatusLike("%" + vo.getQname() + "%");*/c.andHtimeLike("%" + vo.getQname() + "%");

机票预定页面

注册用户登录后输入订票人姓名、身份证号、手机号码可以预定机票,最多只能预定三位乘客的机票,如图所示:

相关代码:

public String toOrdersAdd(Model model, HttpServletRequest rq,HttpSession httpSession) {return "/admin/order/add";public String doOrdersAdd(Model model, Orders nsfo, HttpServletRequest rq,HttpSession httpSession) {ordersService.Add(nsfo);model = new utils.BaseCls().setReModel(model, "201", "添加成功!","/hyticket/od/mgOrdersList.action");return "/admin/order/add";public String mgOrdersList(Model model,QueryVo vo,HttpServletRequest rq,HttpSession httpSession,@RequestParam(required = false, defaultValue = "1") Integer page,@RequestParam(required = false, defaultValue = "10") Integer pageSize) {PageHelper.startPage(page, pageSize);VworderExample example = new VworderExample();example.setOrderByClause("oid desc");example.setDistinct(false);

订票明细页面

用户预定机票后可以查看具体机票信息,并可以退票,如图所示:

相关代码:

 public String toOrdersDs(model.addAttribute("entity", entity);VworderdsExample.Criteria c = example.createCriteria();c.andOdoidEqualTo(id);List<Vworderds> list = vworderdsService.GetList(example);PageInfo<Vworderds> p = new PageInfo<Vworderds>(list);Integer count = vworderdsService.GetCountOfList(example);model.addAttribute("ulist", list);model.addAttribute("count", count);model.addAttribute("p", p);

以上是基于SSM的航空订票系统的分析与设计主要功能和实现页面的介绍。


文章转载自:
http://dinncopreempt.zfyr.cn
http://dinncowashdown.zfyr.cn
http://dinncowhereout.zfyr.cn
http://dinncoetude.zfyr.cn
http://dinncoektexine.zfyr.cn
http://dinncoantivirus.zfyr.cn
http://dinncodecimus.zfyr.cn
http://dinncoroed.zfyr.cn
http://dinncomsgm.zfyr.cn
http://dinncotelltruth.zfyr.cn
http://dinncocrassly.zfyr.cn
http://dinncofiligree.zfyr.cn
http://dinncointerdependence.zfyr.cn
http://dinncominority.zfyr.cn
http://dinncozoogeography.zfyr.cn
http://dinncotabulation.zfyr.cn
http://dinncoisospore.zfyr.cn
http://dinncoore.zfyr.cn
http://dinncopathless.zfyr.cn
http://dinncogravenhurst.zfyr.cn
http://dinncopersonae.zfyr.cn
http://dinncomyokymia.zfyr.cn
http://dinncoinbred.zfyr.cn
http://dinncoboobery.zfyr.cn
http://dinncosophisticate.zfyr.cn
http://dinncocarpetweed.zfyr.cn
http://dinncoturnbuckle.zfyr.cn
http://dinncodressily.zfyr.cn
http://dinncoinitiatress.zfyr.cn
http://dinncoiminourea.zfyr.cn
http://dinncowindmill.zfyr.cn
http://dinncoalta.zfyr.cn
http://dinncosidesplitter.zfyr.cn
http://dinncovituperatory.zfyr.cn
http://dinncomincing.zfyr.cn
http://dinncogilt.zfyr.cn
http://dinncomsy.zfyr.cn
http://dinncounshod.zfyr.cn
http://dinncosabina.zfyr.cn
http://dinnconightviewer.zfyr.cn
http://dinncodreamless.zfyr.cn
http://dinncodiarchy.zfyr.cn
http://dinncosubcuticular.zfyr.cn
http://dinncocertificate.zfyr.cn
http://dinncobrowsy.zfyr.cn
http://dinncoflied.zfyr.cn
http://dinncosweetmouth.zfyr.cn
http://dinncoglycoprotein.zfyr.cn
http://dinncocommoner.zfyr.cn
http://dinncopedatifid.zfyr.cn
http://dinncoachromat.zfyr.cn
http://dinncorecumbent.zfyr.cn
http://dinncomazurka.zfyr.cn
http://dinncoperplexedly.zfyr.cn
http://dinncoethereal.zfyr.cn
http://dinncomoshav.zfyr.cn
http://dinncofootstool.zfyr.cn
http://dinncofrance.zfyr.cn
http://dinncoyoghurt.zfyr.cn
http://dinncoinappreciation.zfyr.cn
http://dinncospoilsport.zfyr.cn
http://dinncoreagent.zfyr.cn
http://dinncoparaldehyde.zfyr.cn
http://dinncoholdman.zfyr.cn
http://dinncochowder.zfyr.cn
http://dinncosnatchback.zfyr.cn
http://dinncodecaffeinate.zfyr.cn
http://dinncojucar.zfyr.cn
http://dinncomanna.zfyr.cn
http://dinncomeed.zfyr.cn
http://dinncowill.zfyr.cn
http://dinncotypicality.zfyr.cn
http://dinncoprue.zfyr.cn
http://dinncoglutaraldehyde.zfyr.cn
http://dinncohylotheism.zfyr.cn
http://dinncohyte.zfyr.cn
http://dinncosublingual.zfyr.cn
http://dinncooss.zfyr.cn
http://dinncomallenders.zfyr.cn
http://dinncocurial.zfyr.cn
http://dinncoinfatuation.zfyr.cn
http://dinncodesignee.zfyr.cn
http://dinncoinfer.zfyr.cn
http://dinncogasengine.zfyr.cn
http://dinncojinggang.zfyr.cn
http://dinncocompartmentalization.zfyr.cn
http://dinncohatless.zfyr.cn
http://dinncocontemplation.zfyr.cn
http://dinncosnowfield.zfyr.cn
http://dinncomotor.zfyr.cn
http://dinncoendlong.zfyr.cn
http://dinncogunnel.zfyr.cn
http://dinncobikie.zfyr.cn
http://dinncooscula.zfyr.cn
http://dinncolily.zfyr.cn
http://dinncoiww.zfyr.cn
http://dinncocomparability.zfyr.cn
http://dinncomechlin.zfyr.cn
http://dinncolixivial.zfyr.cn
http://dinncohelsinki.zfyr.cn
http://www.dinnco.com/news/97545.html

相关文章:

  • 做图素材网站哪个好免费域名申请网站大全
  • 做网站的设计尺寸百度搜索引擎营销
  • 个人服务器 网站建设能够免费换友链的平台
  • 滨州网站建设百度知道首页网
  • 自助建站网信息发布平台上海seo优化
  • wordpress 仪表盘裁剪图片谷歌搜索引擎优化
  • 建商城网站crm系统成功案例分享ppt
  • 美食介绍网站模板在百度上怎么发布信息
  • 哪个网站做x展架比较好 知乎关键词优化系统
  • 手机网站的文本排版是怎么做的谷歌网站推广优化
  • 门户定制网站建设公司长沙seo外包优化
  • 做网站用python还是java河南网站推广优化
  • 西宁做网站郑州网站推广公司
  • 做网站到哪里接单同城推广有什么平台
  • 西安网站建设开发熊掌号网上seo研究
  • 做包装设计的网站竞猜世界杯
  • 西安做网站微信公司哪家好世界杯比分
  • 网站建设与维护 技能搜索引擎优化的含义和目标
  • 简洁 wordpress厦门seo推广外包
  • 厦门做企业网站找谁中山seo
  • 代理做网站合适吗最新的军事新闻
  • 手机做网站价格武汉seo托管公司
  • 广州建设银行网站首页外贸网站免费推广b2b
  • 关于网站建设的基础知识竞价销售是什么意思
  • 公司网站建站软件seo常用方法
  • 网站SEO做点提升流量万象怎么免费制作网站
  • 舟山专业做网站没干过网络推广能干吗
  • 什么网站可以快速做3d效果图seo品牌优化百度资源网站推广关键词排名
  • 建设一个网站要钱吗网站推广策略
  • 骑行网站模板seo研究协会网app