資源簡介
酒店的餐飲管理系統,實現日常的訂餐管理,餐桌管理,酒店管理,結賬管理。適合于畢業設計。
代碼片段和文件信息
package?com.alex.restrantol.base;
import?java.sql.*;
public?class?baseDao?{
public?Connection?getConn()?{
try?{
Class.forName(“com.microsoft.sqlserver.jdbc.SQLServerDriver“);
return?DriverManager.getConnection(
“jdbc:sqlserver://localhost:1433;DatabaseName=restrant“?“sa“
“123“);
}?catch?(Exception?e)?{
e.printStackTrace();
}
return?null;
}
public?void?closeAll(Connection?con?PreparedStatement?ps?ResultSet?rs)?{
try?{
if?(rs?!=?null)?{
rs.close();
}
}?catch?(SQLException?e)?{
e.printStackTrace();
}
try?{
if?(ps?!=?null)?{
ps.close();
}
}?catch?(SQLException?e)?{
e.printStackTrace();
}
try?{
if?(con?!=?null?&&?(!con.isClosed()))?{
con.close();
}
}?catch?(SQLExcep
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????549??2014-05-11?17:18??restrant\.classpath
?????文件??????????0??2009-11-16?18:09??restrant\.me
?????文件???????3032??2009-11-16?18:09??restrant\.me
?????文件?????????80??2009-11-16?18:09??restrant\.me
?????文件????????842??2009-11-16?18:09??restrant\.me
?????文件??????16286??2009-11-16?18:09??restrant\.me
?????文件??????????0??2009-11-16?18:09??restrant\.me
?????文件??????????1??2009-11-16?18:09??restrant\.me
?????文件?????????57??2009-11-16?18:09??restrant\.me
?????文件??????????1??2009-11-16?18:09??restrant\.me
?????文件?????????77??2009-11-16?18:09??restrant\.me
?????文件????????319??2009-11-16?18:09??restrant\.me
?????文件?????????83??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
?????文件????????104??2009-11-16?18:09??restrant\.me
............此處省略264個文件信息
評論
共有 條評論