freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

企業(yè)網(wǎng)站的數(shù)據(jù)庫畢業(yè)設(shè)計(jì)-資料下載頁

2025-06-16 22:30本頁面
  

【正文】 = new Product()。((productID))。((serialNumber))。((name))。((brand))。((model))。((price))。((picture))。畢業(yè)論文(設(shè)計(jì))((description))。(product)。}} catch (Exception e) {()。} finally {(conn, pstmt, rs)。}return list。}/** * 根據(jù)產(chǎn)品 ID 刪除相關(guān)產(chǎn)品信息 * * @param productID * 產(chǎn)品 ID * @return 執(zhí)行 SQL 語句影響數(shù)據(jù)庫的行數(shù) */public int deleteProductByID(String productID) {String sql = delete from product where productID = ? 。String[] param = new String[] { productID }。int count = (sql, param)。return count。}/** * 添加產(chǎn)品信息 * * @param product * 封裝了信息的產(chǎn)品對(duì)象畢業(yè)論文(設(shè)計(jì)) * @return 執(zhí)行 SQL 語句所影響數(shù)據(jù)庫的行數(shù) */public int insertProduct(Product product) {String sql = insert into product values(?,?,?,?, + ()+ ,?,?)。String[] param = new String[] { (),(), (), (),(), () }。return (sql, param)。}/** * 根據(jù)商品 ID 和對(duì)象參數(shù)修改商品信息 * @param product 封裝了數(shù)據(jù)的商品對(duì)象 * @return 返回執(zhí)行 SQL 語句,數(shù)據(jù)庫影響行數(shù) */public int updateProduct(Product product) {String sql = update product set serialnumber=?,name=?,brand=?,model=?,price=+ ()+ ,picture=?,description=? where productID=+ ()。String[] param = new String[] { (),(), (), (),(), () }。return (sql, param)。}}(3)客戶留言在導(dǎo)航菜單中點(diǎn)擊“ 客戶留言 ”可鏈接到客戶留言的功能模塊.如圖 所示畢業(yè)論文(設(shè)計(jì))圖 客戶留言代碼實(shí)現(xiàn)如下:package 。import 。import 。import 。import 。import 。import 。public class MessageDao extends BaseDao {private Connection conn = null。private PreparedStatement pstmt = null。private ResultSet rs = null。畢業(yè)論文(設(shè)計(jì))public int insertMessage(Message message) {String sql = insert into message values(?,?,?,?,0) 。String[] param = new String[] { (),(), (),() }。return (sql, param)。}public List selectMessage() {List list = new ArrayList()。String sql = select * from message 。try {conn = ()。pstmt = (sql)。rs = ()。while (()) {Message message = new Message()。((messageID))。((title))。((content))。((writer))。((writeDate))。((count))。(message)。}} catch (Exception e) {()。} finally {(conn, pstmt, rs)。}return list。畢業(yè)論文(設(shè)計(jì))}public Message selectMessageByID(String messageID) {Message message = null。String sql = select * from message where messageID = ? 。try {conn = ()。pstmt = (sql)。(1, messageID)。rs = ()。if (()) {message = new Message()。((messageID))。((title))。((content))。((writer))。((writeDate))。((count))。}} catch (Exception e) {()。} finally {(conn, pstmt, rs)。}return message。}public int updateCount(String messageID){int count=0。String sql=update message set count=count+1 where messageID= ? 。try{conn = ()。畢業(yè)論文(設(shè)計(jì))pstmt = (sql)。(1, messageID)。count=()。}catch(Exception e){()。}return count。}}(4) 網(wǎng)站后臺(tái)登錄界面代碼實(shí)現(xiàn)如下:package 。import 。import 。import 。import 。import 。import 。畢業(yè)論文(設(shè)計(jì))public class UserDao extends BaseDao {private Connection conn。private PreparedStatement pstmt。private ResultSet rs。/** * 根據(jù)用戶名和密碼,查找相關(guān)用戶信息 * * @param userName * @param password * @return 用戶對(duì)象 */public Users findUsers(String userName, String password) {Users user = null。String sql = select * from users where userName=? and password=? 。try {conn = ()。pstmt = (sql)。(1, userName)。(2, password)。rs = ()。if (()) {user = new Users()。((userID))。(userName)。(password)。((status))。畢業(yè)論文(設(shè)計(jì))}} catch (Exception e) {()。} finally {(conn, pstmt, rs)。}return user。}/** * 判斷數(shù)據(jù)庫中當(dāng)前用戶名是否存在 * @param userName 用戶名 * @return 存在返回 true,否則返回 false */public boolean findUsers(String userName){String sql = select * from users where userName=? 。try {conn = ()。pstmt = (sql)。(1, userName)。rs = ()。if (()) {return true。}} catch (Exception e) {()。} finally {(conn, pstmt, rs)。}return false。}畢業(yè)論文(設(shè)計(jì))/** * 添加用戶信息 * @param userName * @param password * @return 操作數(shù)據(jù)庫影響行數(shù) */public int insertUser(String userName, String password,int status) {String sql = insert into users values(?,?,?) 。String[] params = new String[] { userName, password ,status+}。return (sql, params)。}/** * 查找所有的注冊(cè)用戶信息 * @return 用戶列表 */public List selectAllUser(){List list=new ArrayList()。String sql = select * from users 。try {conn = ()。pstmt = (sql)。rs = ()。while(()) {Users user = new Users()。((userID))。((userName))。((password))。((status))。(user)。畢業(yè)論文(設(shè)計(jì))}} catch (Exception e) {()。} finally {(conn, pstmt, rs)。}return list。}/** * 根據(jù)用戶 ID,進(jìn)行刪除操作 * @param userID * @return 執(zhí)行 SQL 語句所影響的數(shù)據(jù)庫行數(shù) */public int deleteUserByID(String userID){String sql=delete from users where userID = ? 。String[] param = new String[]{ userID }。return (sql, param)。}}參考文獻(xiàn)[1]JAVA2 實(shí)用教程 耿祥義等編著 清華大學(xué)出版社[2]Web 開發(fā)實(shí)訓(xùn)教程 楊學(xué)瑜等編著 中國(guó)水利水電出版社[3]JAVA Web 應(yīng)用開發(fā)與實(shí)踐 梁勝斌等編著 清華大學(xué)出版社[4] 《精通 JSPWEB 開發(fā)技術(shù)與典型應(yīng)用》普通出版物 張新曼編著 人民郵電出版本畢業(yè)論文(設(shè)計(jì))[5] 《JSP 網(wǎng)絡(luò)編程從入門到精通》 普通出版物 鄒竹彪編著 清華大學(xué)出版社結(jié)束語經(jīng)過一段時(shí)間的學(xué)習(xí)與制作,企業(yè)網(wǎng)站的設(shè)計(jì)制作基本上已經(jīng)告一段落??偨Y(jié)這次制作畢業(yè)設(shè)計(jì)的過程,對(duì)我來說是一個(gè)將所學(xué)知識(shí)從書本運(yùn)用到實(shí)際操作的初次體驗(yàn)。通過這次的制作與設(shè)計(jì)讓我了解了一個(gè)網(wǎng)站形成的基本過程和基本綱領(lǐng)構(gòu)架,加深了我畢業(yè)論文(設(shè)計(jì))對(duì)現(xiàn)在計(jì)算機(jī)技術(shù)、通訊技術(shù)、英特網(wǎng)技術(shù)等的認(rèn)識(shí),還有對(duì)制作網(wǎng)站上用到的jsp、mysql 等設(shè)計(jì)與制作網(wǎng)站的工具有了更多的了解,得到了深入的理解同時(shí)更熟練地使用這些工具。相信這些知識(shí)都將對(duì)我的工作帶來很大的幫助。在這次的畢業(yè)設(shè)計(jì)中使我得學(xué)習(xí)了比以前更多的知識(shí),提高了自己的學(xué)習(xí)和操作能力。這次設(shè)計(jì)由于時(shí)間、條件和個(gè)人能力的限制,加之設(shè)計(jì)經(jīng)驗(yàn)的不足,在網(wǎng)站的整體設(shè)計(jì)及各模塊功能可能設(shè)計(jì)的不完全,有待于進(jìn)一步的完善和改進(jìn)。這些情況希望能在今后的不斷學(xué)習(xí)與應(yīng)用中把它擴(kuò)充得更加豐富,以適應(yīng)不同層次使用者的需求。同時(shí)現(xiàn)在網(wǎng)站的設(shè)計(jì)技術(shù)與要求在不斷地更新,不斷地提高,我想以后還要有很長(zhǎng)的一段學(xué)習(xí)與實(shí)踐的時(shí)間,才能在設(shè)計(jì)與制作網(wǎng)站方面有所完善。現(xiàn)請(qǐng)各位指導(dǎo)老師對(duì)我這段時(shí)間努力學(xué)習(xí),努力設(shè)計(jì)制作所得的作品進(jìn)行檢測(cè),并加以指
點(diǎn)擊復(fù)制文檔內(nèi)容
電大資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1