91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.69MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-11-15
  • 語言: Java
  • 標簽:

資源簡介

Java酒店管理系統課程設計,采用Java+Eclipse+MySQL進行開發,分為了管理員和普通用戶,普通用戶需要注冊,管理員是內置的admin賬號 完成時間20160706 提示: 1、項目里面的hotelSystem_20160706\src\hadwin\mainMethodEntrance.java是整個項目的入口 2、由于連注冊的時候需要用到數據庫hotelSystem_20160706\src\db\Jdbc.java是關于數據的連接部分,在這里可以修改為自己的數據庫名和user和password 3、建議只在MySQL中(其他數據庫連接時需要做相應的修改),創建一個hotelsystem數據庫(表什么的都不用建立),然后在2中修改成你自己的數據庫賬號和密碼,然后直接用管理員賬戶admin(賬戶密碼都是),進入后點擊菜單上面的系統管理->數據回滾—>然后選中hotelSystem_20160706\hotelsystem.sql這個是我用的數據備份里面初始化了一些數據和表結構,這樣子就可以很簡單的恢復了項目的數據庫數據和結構 4、數據庫這塊正確了,就是正確的打開該項目的方式。如果3的方式不會的話,也可以將hotelSystem_20160706\hotelsystem.sql代碼語句在MySQL里面執行一遍就行了 5、由于個人水平,代碼肯定還有一些不完善的地方需要完善,見諒 20160706 Runs Wang

資源截圖

代碼片段和文件信息

package?dao;

import?java.sql.Connection;
import?java.sql.PreparedStatement;
import?java.sql.SQLException;

import?db.Jdbc;

public?class?EntityDaoForChangePassword?{
/**
?*?這里需要實現的是通過用戶名來修改密碼
?*?@throws?SQLException?
?*?
?*/
public?void?changePassword(String?accountString?passwordNew)?throws?SQLException{
//獲取數據庫連接
Connection?conn=Jdbc.getConnection();
//SQL
String?sql=“?update?keren?set?KerenPassword=??“+
???????????“?where?KerenAccount=??“;
//預編譯
PreparedStatement?stmt=conn.prepareStatement(sql);
stmt.setString(1?passwordNew);
stmt.setString(2?account);
//正式執行
stmt.execute();
}

}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-07-06?08:04??hotelSystem_20160706\
?????文件?????????310??2016-07-06?08:01??hotelSystem_20160706\.classpath
?????文件?????????386??2016-07-06?08:01??hotelSystem_20160706\.project
?????目錄???????????0??2016-07-06?08:01??hotelSystem_20160706\bin\
?????目錄???????????0??2016-07-06?08:01??hotelSystem_20160706\bin\dao\
?????文件????????1052??2016-07-06?08:01??hotelSystem_20160706\bin\dao\EntityDaoForChangePassword.class
?????文件????????3281??2016-07-06?08:01??hotelSystem_20160706\bin\dao\EntityDaoForkeren_room.class
?????文件????????6983??2016-07-06?08:01??hotelSystem_20160706\bin\dao\EntityDaoForLabor.class
?????文件????????2342??2016-07-06?08:01??hotelSystem_20160706\bin\dao\EntityDaoForLogin.class
?????文件????????2919??2016-07-06?08:01??hotelSystem_20160706\bin\dao\EntityDaoForReserveRoom.class
?????文件????????5931??2016-07-06?08:01??hotelSystem_20160706\bin\dao\EntityDaoForUser.class
?????文件????????1443??2016-07-06?08:01??hotelSystem_20160706\bin\dao\EntityDaoForUserName.class
?????文件????????1258??2016-07-06?08:01??hotelSystem_20160706\bin\dao\EntityDaoForUserRegister.class
?????目錄???????????0??2016-07-06?08:01??hotelSystem_20160706\bin\db\
?????文件????????1184??2016-07-06?08:01??hotelSystem_20160706\bin\db\Jdbc.class
?????目錄???????????0??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\
?????文件????????1023??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\addLaborframe$1.class
?????文件????????2905??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\addLaborframe$jButtonAction.class
?????文件????????9057??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\addLaborframe.class
?????文件????????1017??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\addUserframe$1.class
?????文件????????2338??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\addUserframe$jButtonAction.class
?????文件????????8886??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\addUserframe.class
?????文件????????1120??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\changePasswordframe$1.class
?????文件????????2493??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\changePasswordframe$2.class
?????文件????????3976??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\changePasswordframe.class
?????文件?????????769??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\DateChooserframe2_20160621$ClickButton.class
?????文件????????1294??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\DateChooserframe2_20160621.class
?????文件????????1041??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\deleteLaborframe$1.class
?????文件?????????860??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\deleteLaborframe$2.class
?????文件????????1214??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\deleteLaborframe$3.class
?????文件????????2984??2016-07-06?08:01??hotelSystem_20160706\bin\hadwin\deleteLaborframe$4.class
............此處省略259個文件信息

評論

共有 條評論

相關資源