云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > 汽车销售系统毕业论文 - 图文

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

  • 62 次阅读
  • 3 次下载
  • 2025/6/27 23:58:36

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

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 -

搜索更多关于: 汽车销售系统毕业论文 - 图文 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

华北水利水电学院毕业论文 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(t

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com