• 大小: 3.32M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-27
  • 标签:

资源简介

javaweb MySQL eclipse,网上商城类似淘宝网

代码片段和文件信息

package cn.com.gezipu.Dao;



import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;

import cn.com.gezipu.db.DBConnection;
import cn.com.gezupu.envity.Order;



public class adressDao {




public static boolean addOrder(Order orderString username) {
boolean bool = false;
DBConnection dbConn = new DBConnection();
Connection conn = dbConn.getConnection();
Statement stmt = null;
ResultSet rs = null;
String sql = “update db_order set order_id=‘“+order.getOrderid()+“‘order_address=‘“+order.getAddress()+“‘tel=‘“+order.getPhone()+“‘order_date=‘“+order.getDate()+“‘ where order_username=‘“+username+“‘“;
try {
conn = dbConn.getConnection();

stmt = conn.create

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-12-10 15:02  gezipu\
     文件        1034  2019-12-10 15:02  gezipu\.classpath
     文件        1039  2019-12-10 15:02  gezipu\.project
     目录           0  2019-12-10 15:02  gezipu\.settings\
     文件         567  2019-12-10 15:02  gezipu\.settings\.jsdtscope
     文件          87  2019-12-10 15:02  gezipu\.settings\org.eclipse.core.resources.prefs
     文件         364  2019-12-10 15:02  gezipu\.settings\org.eclipse.jdt.core.prefs
     文件         470  2019-12-10 15:02  gezipu\.settings\org.eclipse.wst.common.component
     文件         305  2019-12-10 15:02  gezipu\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2019-12-10 15:02  gezipu\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2019-12-10 15:02  gezipu\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2019-12-10 15:02  gezipu\build\
     目录           0  2019-12-10 15:02  gezipu\build\classes\
     目录           0  2019-12-10 15:02  gezipu\build\classes\cn\
     目录           0  2019-12-10 15:02  gezipu\build\classes\cn\com\
     目录           0  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\
     目录           0  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\Dao\
     文件        2038  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\Dao\adressDao.class
     文件        4118  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\Dao\Control.class
     文件        1994  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\Dao\getPriceDao.class
     文件        2233  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\Dao\insertOrderDao.class
     文件        2929  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\Dao\jpgDao.class
     文件        3814  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\Dao\Operator.class
     文件        3979  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\Dao\SearchDao.class
     文件        3003  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\Dao\toBuyListDao.class
     文件        1861  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\Dao\updateBuyCarDao.class
     文件        3245  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\Dao\UserDAO.class
     目录           0  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\db\
     文件        1550  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\db\DBConnection.class
     目录           0  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\servlet\
     文件        2069  2019-12-10 15:02  gezipu\build\classes\cn\com\gezipu\servlet\AddByCarServlet.class
............此处省略118个文件信息

评论

共有 条评论