- 开发语言:Java
- 架构:B/S
- 框架:SpringBoot
- 数据库:MySQL
- 编译工具:Idea、Eclipse、MyEclipse (选其一)
- 其他:jdk1.8、Tomcat 、maven
2 系统功能模块eclipse 下载
mysql 5.7 下载
jdk 1.8 下载
tomcat 8.0 下载
maven 3.5 下载
idea 下载
- 住宿管理(房间预定、入住登记、账单结算)
- 房间管理(房间设置、房型管理)
- 系统管理(员工管理、客房管理、修改密码)
- 财务统计(查看财务)
- 日志管理(查看日志)
SpringBoot+Vue在线考试系统
基于ssm的美食分享系统
基于ssm+vue的化妆品商城管理系统
基于ssm+vue的二手车拍卖管理系统
基于springboot的会员积分管理系统
@PostMapping("/updateOrderStatus") @ResponseBody public Map5.2 查看房间信息功能核心代码updateOrderStatus(String roomId,Integer roomTypeId,String ordersId, String statusName, HttpSession session){ Map data = new HashMap<>(); try { //修改订单状态 Integer result = ordersService.updateOrderStatus(roomId,roomTypeId,ordersId, statusName); data.put("message",result > 0 ? "取消预订成功": "取消预订失败"); data.put("state",200); } catch (Exception e) { e.printStackTrace(); data.put("message","取消预订失败"); data.put("state",500); } return data; }
@PostMapping("/getRoomByTypeName") @ResponseBody public ListgetRooms(String typeName,@RequestParam("statusName") String statusName){ List roomTypes = null; try { roomTypes = roomTypeService.listByTypeNameAndStatus(typeName,"预订".equals(statusName) ? new String[]{"可预订"}:new String[]{"可预订","可入住"}); } catch (Exception e) { e.printStackTrace(); } //如果roomTypes为零表示没房间直接创建一个新集合 return (roomTypes.size() == 0) ? new ArrayList () : roomTypes.get(0).getRooms(); }
注意:该项目只展示部分功能,如需了解,评论区咨询即可。
希望和大家多多交流!!
源码项目、定制开发、代码讲解、答辩辅导
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)