Design and implementation of hotel guest room information management system based on JavaSSM+MySQL

Table of contents

Chapter 1 Introduction 1
(1) Research background of the subject 1
(2) Current status and development trends at home and abroad 3
(3) Paper structure and content 4
Chapter 2 Introduction to related technologies 4
(1) Java 4
(2) servlrt 5
(3) HTML 5
(4) JavaScript 6
(5) CSS 6
(6) myeclipse 6
Chapter 3 Requirements Analysis 7
(1) System goals 7
(2) System requirements 8
(3) Functional requirements 8
(4) System performance requirements 8
(5 ) Development Technology 9
Chapter 4 Overall System Function 10
(1) System Function Structure 10
(2) System Function Flow Chart 11
Chapter 5 Database Design 11
(1) Database Definition 11
(2) Database Table 11
(3) View Definition 14
Chapter 6 Functional Modules 14
(1) Overall System Structure Design 14
(2) Software Interface Design 16
(3) Software System Programming 27
Chapter 7 Debugging and Results 27
(1) Initialization System Login 27
(2) Housing Inquiry 28
Chapter 8 Summary 29
References 30
Acknowledgments 31
Chapter 3 Requirements Analysis

(1) System objectives
This system needs to meet the following system design objectives.
(1) Practicality principle: truly serve the actual work of hotel staff and design a practical hotel room management system according to the actual process of hotel room management.
(2) Security principle: Information security services must be provided for hotel rooms to ensure that hotel information is not leaked.
(3) Principle of operability: This hotel room management system is oriented to hotel staff, so the system operation must be simple, convenient, fast, and user-friendly.
(4) Principle of scalability: Adopt developed standards and interfaces to facilitate the expansion of the system to larger scale and functions.

(二)系统需求

According to the concept of hotel room management system, this hotel room management system must meet the following needs:
(1) Have the function of setting hotel room types and room information
(2) Quickly and accurately understand the hotel room status for booking and check-out
(3) Provide multiple means to check room reservation information
(4) Provide the function of modifying reservations and modifying check-out
(5) Provide simple functions for hotel staff to add residents and renew rooms

(三)功能需求

(1) The administrator can log in using the login module in the system settings.
(2) The guest room management module is mainly used to set up and query guest rooms.
(3) The reservation management module mainly handles accommodation registration, housing time, room type and resident information.
(4) The check-in module mainly allows customers to book a room and start checking in.
(5) The account query module is mainly responsible for querying accounts and customer settlements, room transfer registration, room renewal and check-out settlement.
(6) The query statistics module is mainly used to query accommodation and check-out and to provide reminders on accommodation fees.
(7) The daily settlement module is mainly responsible for report management of registration advance collection, room sales, and statistics on room sales.
(8) The database module collects statistics on guest room information, resident information and income information and is not easy to lose.
(9) System maintenance mainly involves data backup and recovery.

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>MOONLIGHT H0TEL</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <link rel="stylesheet" href="css/styles.css">
  <link rel="stylesheet" href="css/default.css">
  <link rel="stylesheet" href="css/style.css">
  <link rel="stylesheet" href="//at.alicdn.com/t/font_956203_hmjb6zplhjn.css">
  <script type="text/javascript" src="js/jquery.js"></script>
  <script type="text/javascript" src="http://cdn.bootcss.com/jqueryui/1.11.0/jquery-ui.min.js"></script>
  </head>
  
  <body>
  <div class='login'>
    <div class='login_title'>
      <span>MOONLIGHT H0TEL</span>
    </div>
    <div class='login_fields'>
      <div class='login_fields__user'>
        <div class='icon'>
          <img src='img/user_icon_copy.png'>
        </div>
        <input placeholder='用户名' type='text' id="username">
          <div class='validation'>
            <img src='img/tick.png'>
          </div>
      </div>
      <div class='login_fields__password'>
        <div class='icon'>
          <img src='img/lock_icon_copy.png'>
        </div>
        <input placeholder='密码' type='password' id="password">
        <div class='validation'>
          <img src='img/tick.png'>
        </div>
      </div>
      <div class='login_fields__submit'>
        <input type='submit' value='登录' id="ok">
        <div class='forgot'>
          <a href='#'>忘记密码?</a>
        </div>
      </div>
    </div>
     <div class='error'>
      <h2>验证失败</h2>
      <a href="index.jsp">请重新登录!</a>
    </div>
    <div class='success'>
      <h2>验证成功</h2>
      <%  
        if(session.getAttribute("un") != null){
    
    
      %>
      <p>欢迎登录~<%=session.getAttribute("un")%></p>
      <%}%>
      <h3 class="mainJsp">进入首页</h3>
    </div>
    <div class='disclaimer'>
      <p>WELCOM MOONLIGHT H0TEL</p>
    </div>
  </div>
  <div class='authent'>
    <img src='img/puff.svg'>
    <p>正在验证,请稍等</p>
  </div>
  <script type="text/javascript" src='js/stopExecutionOnTimeout.js?t=1'></script>
  </body>
  <script type="text/javascript" src="js/login.js"></script>
</html>

Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/newlw/article/details/133574514