Package oss.ngocminh.lego.data

Examples of oss.ngocminh.lego.data.Invoice


   * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
   */
  protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    List<Entity> orders = (List<Entity>)
        request.getSession().getAttribute("orders");
    Invoice invoice = new Invoice();
    invoice.put("orders", orders);
    invoice.put("user", SessionUtils.getUser(request));
    invoice.put("shipType", request.getAttribute("shipType"));
    invoice.put("payType", request.getAttribute("payType"));
    invoice.put("note", request.getAttribute("note"));
    invoice.put("address_id", request.getAttribute("address_id"));
    invoice.put("time", new Date());
   
    Connection conn = null;
    try {
      conn = getConnection();
      invoiceDAO = new InvoiceDAO();
View Full Code Here

TOP

Related Classes of oss.ngocminh.lego.data.Invoice

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.