项目编号:BS-XX-024
本系统基于SSM(spring+springmvc+mybatis)框架实现开发,前端基于BootStrap框架实现,数据库采用MYSQL,开发工具为IDEA或ECLIPSE。
本系统功能完整,界面简洁大方,运行无误,比较适合做毕业设计和课程设计使用。
本系统主要有两个角色,一个是物业管理员,一个是租赁方:
物业管理员登陆:可以实现房屋信息管理,租赁和合同信息管理,申请租赁房屋管理,租金管理,日程管理,租赁用户管理,故障报修管理。
租客登陆:可以查询房屋信息,申请租赁,管理个人租赁信息,申请退租,管理租金,故障报修,完善个人信息。
部分功能展示如下:
登陆地址:http://localhost:8080/parkMaster/login.action admin / 123456
物业房屋管理员登陆
登陆页面
添加房屋
租赁管理
退租列表
租赁合同
查看申核租赁申请
签订合同
故障处理
租金管理
日程管理
账户管理:手动在 user表中添加租赁用户
二,租客登陆进入
租赁申请管理
交租管理
故障报修
个人信息完善
页面太多,就不一一展示,本系统功能完整,界面简洁大方,运行无误,比较适合做毕业设计和课程设计使用。
部分实现代码:
package service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import pojo.Applyout; import pojo.Checkout; import pojo.Zulist; import dao.ApplyoutMapper; import dao.CheckoutMapper; import dao.HetongMapper; import dao.HouselistMapper; import dao.ZulistMapper; @Service @Transactional public class ApplyoutServiceImpl implements ApplyoutService { @Autowired private ApplyoutMapper applyoutMapper; @Autowired private HouselistMapper houselistMapper; @Autowired private HetongMapper hetongMapper; @Autowired private CheckoutMapper checkoutMapper; @Autowired private ZulistMapper zulistMapper; @Override public void insertapplyout(Zulist zulist) { Applyout applyout=new Applyout(); applyout.setHouse_id(zulist.getHouse_id()); applyout.setAddress(zulist.getAddress()); applyout.setStatus("申请中"); applyout.setUserlist_id(zulist.getUserlist_id()); applyoutMapper.insertapplyout(applyout); } @Override public List<Applyout> findallapplyout() { List<Applyout> list=applyoutMapper.findallapplyout(); return list; } @Override public void updateapplyout(Applyout applyout) { applyoutMapper.updateapplyout(applyout); } @Override public void agreeapplyout(Integer id) { Applyout applyout=applyoutMapper.findbyid(id); houselistMapper.deletehousebyhouseid(applyout.getHouse_id()); hetongMapper.deletehetong(applyout.getHouse_id()); Checkout checkout=new Checkout(); checkout.setHouse_id(applyout.getHouse_id()); checkout.setAddress(applyout.getAddress()); checkout.setStatus("已退租"); checkout.setUserlist_id(applyout.getUserlist_id()); checkoutMapper.insertcheckout(checkout); applyout.setStatus("已同意"); applyoutMapper.updateapplyoutbyhouse(applyout); zulistMapper.deletezulist(applyout.getHouse_id()); } @Override public void deleteapplyout(Integer id) { applyoutMapper.deleteapplyout(id); } }
package service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import pojo.Apply; import pojo.Houselist; import dao.ApplyMapper; import dao.HouselistMapper; @Service @Transactional public class ApplyServiceImpl implements ApplyService { @Autowired private ApplyMapper applyMapper; @Autowired private HouselistMapper houselistMapper; @Override public void insertapply(Apply apply) { applyMapper.insertapply(apply); } @Override public List<Apply> findapplylist() throws Exception { List<Apply> apply=applyMapper.findapplylist(); return apply; } @Override public Apply findbyhouse_id(String house_id) { Apply apply=applyMapper.findbyhouse_id(house_id); return apply; } @Override public void deletebyhouse_id(String house_id) { applyMapper.deletebyhouse_id(house_id); } @Override public void refuseapply(Houselist houselist) { houselistMapper.updatestatus(houselist); applyMapper.deletebyhouse_id(houselist.getHouseid()); } }
package service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import pojo.Checkout; import dao.CheckoutMapper; @Service @Transactional public class CheckoutServiceImpl implements CheckoutService { @Autowired private CheckoutMapper checkoutMapper; @Override public void insertcheckout(Checkout checkout) { checkoutMapper.insertcheckout(checkout); } @Override public List<Checkout> getallcheckout() { List<Checkout> checkout=checkoutMapper.getallcheckout(); return checkout; } @Override public void deletecheckout(Integer id) { checkoutMapper.deletecheckout(id); } }