基于javaweb+springboot的小区物业管理系统(java+Springboot+ssm+mysql+maven+jsp)
一、项目简述
功能:分为管理员及普通业主角色,业主信息,社区房 屋,维护管理,社区车辆,停车场管理,社区投诉,社区 缴费,社区业务信息维护等等功能。
二、项目运行
环境配置: Jdk1.8 + Tomcat8.5 + mysql + Eclispe (IntelliJ IDEA,Eclispe,MyEclispe,Sts 都支持)
项目技术: JSP +SpringBoot + MyBatis + html+ css + JavaScript + JQuery + Ajax + Fileupload + maven等等。
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
@RequestMapping("/updatehouse")public String updatehouse(Model model,@RequestParam ("homeid") int homeid) {Housenumber house=hService.selectByPrimaryKey(homeid);model.addAttribute("house", house);return "updatehouse";}/*** @category 跟新房屋信息* @param model* @param house* @return*/@RequestMapping("/updatehouse1")public String updatehouse1(Model model, Housenumber house) {String type=house.getStatus();
public String adornAll(Model model) {List<Adorn> list = adornService.findAll();model.addAttribute("adornlist", list);return "adorn";}/*** 按类型删除*/@RequestMapping("/findbystate")public String findByState(Model model, String state) {List<Adorn> list = adornService.findByState(state);model.addAttribute("adornlist", list);return "adorn";}}绿化的控制器:/**
hService.insert(house);return "redirect:showhouse.action?type=a";}}装修控制器:/*** @category 装修控制器* */@Controllerpublic class AdornController {
public String deleteone(int afid) {afforestService.deleteByPrimaryKey(afid);return "redirect:afforestact1.action";}/*** 根据id 完成时间 提交时间 模糊查询* @param model* @param md* @return*/
}/*** 根据ID查询所有内容*/@RequestMapping("/findAfforestByid")public String find(Model model,int afid) {Afforest afforest=new Afforest();afforest=afforestService.findAfforestById(afid);model.addAttribute("aflist", afforest);return "showafforest";}
return "adorn";}/*** 按类型删除*/@RequestMapping("/findbystate")public String findByState(Model model, String state) {List<Adorn> list = adornService.findByState(state);model.addAttribute("adornlist", list);return "adorn";
public class AfforestController {@AutowiredAfforestService afforestService;/*** 查看所有绿化信息*/@RequestMapping("/afforestact1")public String afforestact(Model model) {List<Afforest>list=afforestService.selectByExample();model.addAttribute("aflist", list);return "showafforest"