第一范文网 - 专业文章范例文档资料分享平台

汽车销售系统毕业论文 - 图文

来源:用户分享 时间:2025/5/22 8:19:12 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

华北水利水电学院毕业论文

DepotDaoImpl dao=(DepotDaoImpl) DAOFactory.createDAO(DepotDaoImpl.class,conn);

int ret=dao.insert(dto); if(ret!=0){ return this.SUCCESS; } return this.FAILURE; }

protected String list(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException{

String type=request.getParameter(\ type = new String(type.getBytes(\ int orderId=Integer.parseInt(request.getParameter(\ CarDaoImpl dao=(CarDaoImpl) DAOFactory.createDAO(CarDaoImpl.class,conn);

paging=dao.getPaging(); this.initPaging(request); List list =dao.SQL(type,paging); if(list.size()==0){ message.add(\暂无此车\ return this.FAILURE; } request.setAttribute(\ request.setAttribute(\ request.setAttribute(\ return this.SUCCESS; }

@Override

protected String listByPaging(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { DepotDaoImpl dao=(DepotDaoImpl) DAOFactory.createDAO(DepotDaoImpl.class,conn);

paging=dao.getPaging(); this.initPaging(request);

List depotList=dao.listByPaging(paging); StaffDaoImpl dao2=(StaffDaoImpl) DAOFactory.createDAO(StaffDaoImpl.class,conn);

Map map=dao2.queryformap(); request.setAttribute(\ request.setAttribute(\ request.setAttribute(\ return this.SUCCESS; }

@Override

// protected String update(HttpServletRequest request,

- 37 -

华北水利水电学院毕业论文

// HttpServletResponse response) throws ServletException, IOException { // DepotDaoImpl dao = (DepotDaoImpl) DAOFactory.createDAO(DepotDaoImpl.class, conn);

// // }

protected DTO initDTO(HttpServletRequest request) { return null; }

protected boolean validate(DTO dto) { return false; }

protected String add(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { int stockId = Integer.parseInt(request.getParameter(\ DepotDaoImpl dao = (DepotDaoImpl) DAOFactory.createDAO(DepotDaoImpl.class, conn);

List carList = dao.carToDepot(stockId); request.setAttribute(\ request.setAttribute(\ return this.SUCCESS; }

public String find3(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { OrderListDaoImpl dao = (OrderListDaoImpl) DAOFactory.createDAO(OrderListDaoImpl.class, conn);

paging=dao.getPaging(); this.initPaging(request);

List list= dao.SQL(paging); request.setAttribute(\ request.setAttribute(\ return this.SUCCESS; }

public String find2(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { int ret=0;

String carId=request.getParameter(\

int depot=Integer.parseInt(request.getParameter(\int order=Integer.parseInt(request.getParameter(\

DepotDaoImpl dao = (DepotDaoImpl) DAOFactory.createDAO(DepotDaoImpl.class, conn);

ret=dao.SQL3(carId, depot, order); if(ret!=0){

- 38 -

华北水利水电学院毕业论文

return this.SUCCESS; }

return this.FAILURE; }

public String find1(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { int ret=0;

int stockId=Integer.parseInt(request.getParameter(\String carId=request.getParameter(\

DepotDaoImpl dao = (DepotDaoImpl) DAOFactory.createDAO(DepotDaoImpl.class, conn);

int depotId = Integer.parseInt(request.getParameter(\ DepotDTO dto=new DepotDTO(); dto.setDepotId(depotId); ret=dao.update(dto); CarDTO car=new CarDTO(); car.setEngineId(carId); car.setDepotId(depotId); ret=dao.SQL1(car);

StockListDTO stock=new StockListDTO(); stock.setStockId(stockId); int temp=dao.SQL2(stock);

request.setAttribute(\ if(ret!=0){ if(temp==0){ message.add(\号进货单入库已完成\ return this.FAILURE; } return this.SUCCESS; }

return this.FAILURE; }

public String others(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { int stockId = Integer.parseInt(request.getParameter(\ String carId=request.getParameter(\ DepotDaoImpl dao = (DepotDaoImpl) DAOFactory.createDAO(DepotDaoImpl.class, conn);

paging=dao.getPaging(); this.initPaging(request); List depotList = dao.list(paging); request.setAttribute(\ request.setAttribute(\ request.setAttribute(\ request.setAttribute(\ return this.SUCCESS; }

@Override

protected String update(HttpServletRequest request,

- 39 -

华北水利水电学院毕业论文

HttpServletResponse response) throws ServletException, IOException { return FAILURE;

}

protected String listPaging(HttpServletRequest request,HttpServletResponse response)throws ServletException, IOException{

StockListDaoImpl dao=(StockListDaoImpl) DAOFactory.createDAO(StockListDaoImpl.class,conn);

paging=dao.getPaging(); this.initPaging(request); List list=dao.SQL(paging); request.setAttribute(\ request.setAttribute(\ return this.SUCCESS; } }

1.15 5.4 销售管理

5.4.1 描述

该模块的主要功能就是对顾客的基本信息进行录入和修改,以及对客户订单的添加和修改功能。

5.4.2 模块流程图

- 40 -

搜索更多关于: 汽车销售系统毕业论文 - 图文 的文档
汽车销售系统毕业论文 - 图文.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c5pgic4w2xb6b8ve014aw_10.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top