• 大小: 1.11MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-19
  • 语言: Java
  • 标签: 酒店  

资源简介

这款酒店管理系统,采用的是jsp编写的,很有实用价值

资源截图

代码片段和文件信息

package com.jb.cdjj.s2t033.wolfgroup.hotelmanagesystem.action;

import java.util.List;

import com.jb.cdjj.s2t033.wolfgroup.hotelmanagesystem.entity.BudgetMoneyInfo;
import com.jb.cdjj.s2t033.wolfgroup.hotelmanagesystem.entity.CashsInfo;
import com.jb.cdjj.s2t033.wolfgroup.hotelmanagesystem.entity.DepositsInfo;
import com.jb.cdjj.s2t033.wolfgroup.hotelmanagesystem.entity.GuestsInfo;
import com.jb.cdjj.s2t033.wolfgroup.hotelmanagesystem.entity.InroomsInfo;
import com.jb.cdjj.s2t033.wolfgroup.hotelmanagesystem.entity.RentsInfo;
import com.jb.cdjj.s2t033.wolfgroup.hotelmanagesystem.entity.RoomsInfo;
import com.jb.cdjj.s2t033.wolfgroup.hotelmanagesystem.factory.Config;
import com.jb.cdjj.s2t033.wolfgroup.hotelmanagesystem.factory.Factory;

/**
 * 续房逻辑类
 * @author qin
 *
 */
public class ContinueRoomAction {
Factory fac = null;
public ContinueRoomAction(){
try {
fac = (Factory)Class.forName(Config.FACTORYNAME).newInstance();
} catch (Exception e) {
e.printStackTrace();

}
public List getRoomlist(){
return fac.createRoomsDao().getRoomlist();
}
/**
 * 根据流水号返回顾客的所有信息
 * @param reckoningNO
 * @return
 */
public GuestsInfo getGuest(String reckoningNO){
return fac.createGuestsDao().getGuest(reckoningNO);

/**
 * 根据流水账号返回押金信息
 * @param reckoningNO
 * @return
 */
public DepositsInfo getDespositsInfoByReckoningNO(String reckoningNO){
return fac.createDepositsDao().getDespositsInfoByReckoningNO(reckoningNO);
}

/**
 * 返回房费的操作
 * @param budget
 * @param cashs
 * @param inrooms
 * @param rents
 * @return
 */
public boolean continueRoom(BudgetMoneyInfo budget CashsInfo cashs InroomsInfo inrooms RentsInfo rents) {
return fac.createInroomsDao().continueRoom(budget cashs inrooms rents);
}

/**
 * 根据流水账号返回 预收账款信息
 * @param reckoningNO
 * @return
 */
public BudgetMoneyInfo getBudgetMoneyInfo(String reckoningNO){
return fac.createBudgetMoneyDao().getBudgetMoneyInfo(reckoningNO);
}
/**
 * 方法:根据房费获得房费信息
 * @param reckoningNO
 * @return
 */
public List getRentsInfoListByReckoningNO(String reckoningNO){
return fac.createRentsDao().getRentsInfoListByReckoningNO(reckoningNO);
}

/**
 * 方法:根据流水账号返回现金信息
 * @param reckoningNO
 * @return
 */
public List getCashsInfoByReckoningNO(String reckoningNO){
return fac.createCashsDao().getCashsInfoByReckoningNO(reckoningNO);
}
/**
 * 方法:根据流水账号返回对应的入住信息
 * @param reckoningNO
 * @return
 */
public InroomsInfo getInroomsInfoByReckoningNO(String reckoningNO){
return fac.createInroomsDao().getInroomsInfoByReckoningNO(reckoningNO);
}

/**
 * 根据客房名返回对应的信息
 * @param roomNO
 * @return
 */
public InroomsInfo getInroomsInfoByRoomNO(String roomNO){
return fac.createInroomsDao().getInroomsInfoByRoomNO(roomNO);
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        622  2009-04-15 09:15  酒店管理\HotelManageSystem\.classpath

     文件        312  2009-04-15 09:15  酒店管理\HotelManageSystem\.mymetadata

     文件       1235  2009-01-19 05:11  酒店管理\HotelManageSystem\.project

     文件        847  2009-03-10 08:34  酒店管理\HotelManageSystem\.settings\org.eclipse.core.resources.prefs

     文件       4671  2009-02-26 10:25  酒店管理\HotelManageSystem\database\HotelManageSystem.sql

     文件       9799  2009-03-02 15:11  酒店管理\HotelManageSystem\HotelDB.sql

     文件       3011  2009-03-09 13:42  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\action\ContinueRoomAction.java

     文件       3386  2009-03-09 21:20  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\action\ExitRoomAction.java

     文件       3089  2009-03-09 13:42  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\action\InRoomAction.java

     文件       2596  2009-03-08 09:00  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\action\ReckoningAction.java

     文件       8508  2009-03-09 11:53  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\action\RoomStateAction.java

     文件       1169  2009-03-09 18:29  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\action\SelectCashViewInfoAction.java

     文件       1990  2009-03-09 14:18  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\action\SelectViewInfoAction.java

     文件       1537  2009-03-09 21:27  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\action\userInfoAction.java

     文件       1230  2009-03-03 10:46  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\IBudgetMoneyDao.java

     文件        849  2009-03-05 16:08  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\ICashsDao.java

     文件       1397  2009-03-03 10:45  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\IDepositsDao.java

     文件       1476  2009-03-09 13:44  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\IGuestsDao.java

     文件       3471  2009-03-09 21:17  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\IInroomsDao.java

     文件       1132  2009-03-03 11:36  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\impl\access\AccessBudgetMoneyDao.java

     文件        826  2009-03-05 16:11  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\impl\access\AccessCashsDao.java

     文件       1241  2009-03-03 11:35  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\impl\access\AccessDepositsDao.java

     文件       1282  2009-03-09 13:44  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\impl\access\AccessGuestsDao.java

     文件       2700  2009-03-09 21:18  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\impl\access\AccessInroomsDao.java

     文件       1228  2009-03-03 11:34  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\impl\access\AccessRentsDao.java

     文件       2759  2009-03-02 01:47  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\impl\access\AccessRoomsDao.java

     文件        952  2009-03-01 16:24  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\impl\access\AccessRoomTypesDao.java

     文件        898  2009-03-03 11:33  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\impl\access\AccessStorAndView.java

     文件       1214  2009-03-09 18:55  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\impl\access\AccessUsersDao.java

     文件       7729  2009-03-03 10:19  酒店管理\HotelManageSystem\src\com\jb\cdjj\s2t033\wolfgroup\hotelmanagesystem\dao\impl\sql\SqlBudgetMoneyDao.java

............此处省略374个文件信息

评论

共有 条评论