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

2026/1/23 2:28:23

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

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文档下载到电脑
搜索更多关于: 汽车销售系统毕业论文 - 图文 的文档
相关推荐
相关阅读
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 10

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219