基于ssm的一个酒店管理系统


基于ssm的一个酒店管理系统,spring+struts+mybatis项目搭建的环境前端+后台数据库整套,适合除学着的学习,希望可以给与帮助
资源截图
代码片段和文件信息
package com.yy.action;


import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.opensymphony.xwork2.ActionSupport;
import com.yy.po.Guest;


import com.yy.service.impl.CommonMenuImplService;
import com.yy.service.impl.CommonMenuImplService2;
import com.yy.util.SendMsg;


public class chensui2Action extends ActionSupport{
Mapject> map  =null;

public CommonMenuImplService2 getCommonMenuImplService2() {
return commonMenuImplService2;
}

public void setCommonMenuImplService2(
CommonMenuImplService2 commonMenuImplService2) {
this.commonMenuImplService2 = commonMenuImplService2;
}

private CommonMenuImplService2 commonMenuImplService2;//实现类
private Guest guest;
private String select;
private String guestName;
private String inTime;
private String outTime;
private String call;
public void setCall(String call) {
this.call = call;
}
public String getOutTime() {
return outTime;
}

public void setOutTime(String outTime) {
this.outTime = outTime;
}

public String getInTime() {
return inTime;
}

public void setInTime(String inTime) {
this.inTime = inTime;
}

public String getGuestName() {
return guestName;
}

public void setGuestName(String guestName) {
this.guestName = guestName;
}

public String getSelect() {
return select;
}

public void setSelect(String select) {
this.select = select;
}

private String  guestId;
private String str;
public String getStr() {
return str;
}

public void setStr(String str) {
this.str = str;
}

public Guest getGuest() {
return guest;
}

public void setGuest(Guest guest) {
this.guest = guest;
}

public String getGuestId() {
return guestId;
}

public void setGuestId(String guestId) {
this.guestId = guestId;
}

public List getList() {
return list;
}

public void setList(List list) {
this.list = list;
}

public int getDate() {
return date;
}

public void setDate(int date) {
this.date = date;
}

private List list=null;
private int date; /*用于AJAX回传值判断*/
private boolean cspanduan=true;
private static final long serialVersionUID = 1L;
private CommonMenuImplService2 implService;
public void setImplService(CommonMenuImplService2 implService) {
this.implService = implService;
}

//微信进入
public String weixin() throws Exception {
list=commonMenuImplService2.getUserListByweixin();
if(list!=null){
return SUCCESS;
}else{
return ERROR;
}

}
//微信预定
public String weixinyuding() throws Exception {
guest= new Guest();
guest.setGuestId(Integer.parseInt(guestId));
guest.setGuestName(guestName);
DateFormat fmts =new SimpleDateFormat(“yyyy-MM-dd“);
try {
Date date1 = fmts.parse(inTime);
guest.setInTime(date1);
Date date21 = fmts.parse(outTime);

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-06 17:22  HotelSystem2.0
     文件        6512  2017-09-03 16:11  HotelSystem2.0.classpath
     目录           0  2018-05-06 17:23  HotelSystem2.0.myeclipse
     文件         315  2017-08-25 11:39  HotelSystem2.0.mymetadata
     文件        1420  2017-08-23 14:29  HotelSystem2.0.project
     目录           0  2018-05-06 17:22  HotelSystem2.0.settings
     文件         500  2017-08-23 14:18  HotelSystem2.0.settings.jsdtscope
     文件         330  2017-08-23 14:18  HotelSystem2.0.settingsorg.eclipse.jdt.core.prefs
     文件          49  2017-08-23 14:18  HotelSystem2.0.settingsorg.eclipse.wst.jsdt.ui.superType.container
     文件           6  2017-08-23 14:18  HotelSystem2.0.settingsorg.eclipse.wst.jsdt.ui.superType.name
     目录           0  2018-05-06 17:22  HotelSystem2.0WebRoot
     目录           0  2018-05-06 17:22  HotelSystem2.0WebRootmeta-INF
     文件          36  2017-08-23 14:18  HotelSystem2.0WebRootmeta-INFMANIFEST.MF
     目录           0  2018-05-06 17:22  HotelSystem2.0WebRootscripts
     文件       14637  2017-08-03 20:39  HotelSystem2.0WebRootscriptsChurAlert.min.js
     文件        2668  2017-08-03 20:39  HotelSystem2.0WebRootscriptsalert.js
     文件       22337  2017-08-03 20:39  HotelSystem2.0WebRootscriptsootstrap.min.js
     文件        1726  2017-08-03 20:39  HotelSystem2.0WebRootscriptschur-alert.1.0.js
     文件        8263  2017-08-03 20:39  HotelSystem2.0WebRootscriptschur.min.js
     文件        4328  2017-08-03 20:39  HotelSystem2.0WebRootscriptscollapse.js
     文件        2774  2017-08-03 20:39  HotelSystem2.0WebRootscriptsdropdown.js
     文件        1371  2017-08-03 20:39  HotelSystem2.0WebRootscriptsindex.js
     文件      252881  2017-08-03 20:39  HotelSystem2.0WebRootscriptsjquery-1.7.2.js
     文件      207694  2017-08-03 20:39  HotelSystem2.0WebRootscriptsjquery-ui-1.8.22.custom.min.js
     文件      281269  2017-08-03 20:39  HotelSystem2.0WebRootscriptsjquery.easyui.min.js
     文件       23926  2017-08-03 20:39  HotelSystem2.0WebRootscriptsjquery.spritely-0.6.js
     目录           0  2018-05-06 17:22  HotelSystem2.0WebRootscriptsskins
     目录           0  2018-05-06 17:22  HotelSystem2.0WebRootscriptsskinslue
     文件        5106  2017-08-03 20:39  HotelSystem2.0WebRootscriptsskinsluelue_s.png
     文件         819  2017-08-03 20:39  HotelSystem2.0WebRootscriptsskinsluelue_s2.png
     目录           0  2018-05-06 17:22  HotelSystem2.0WebRootscriptsskinslueie6
............此处省略893个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)