一、项目技术
后端框架:springboot
前端框架:elementUI+vue
主要实现了用户登录、社区信息展示、物业公告、社区设施、物业人员信息。
进入物业系统管理后端。实现了社区的管理,包括基本信息管理、周边设施管理、物业公告管理。楼盘管理包括楼宇管理、房间管理,社区保障管理,包括报修管理、投诉管理,收费管理,包括收费类型管理,用户管理包括物业人员管理、住户信息管理及系统管理。
二、项目截图:
package com.kum.controller; import com.alibaba.fastjson.JSONObject; import com.kum.domain.AjaxResult; import com.kum.domain.entity.SysNotice; import com.kum.service.SysNoticeService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.*; @RestController @RequestMapping("/system/notice") public class SysNoticeController { @Autowired private SysNoticeService sysNoticeService; @GetMapping("/list") public AjaxResult getList(){ return AjaxResult.success(sysNoticeService.list()); } @PreAuthorize("@ps.hasPermi('system:notice:save')") @PostMapping("/save") public AjaxResult saveFacilities(@RequestBody SysNotice sysNotice) { sysNoticeService.save(sysNotice); return AjaxResult.success(); } @PreAuthorize("@ps.hasPermi('system:notice:delete')") @PostMapping("/delete") public AjaxResult deleteFacilities(@RequestBody JSONObject jsonObject) { if(sysNoticeService.delete(jsonObject.getString("id"))){ return AjaxResult.success(); } return AjaxResult.error(); } }
package com.kum.controller;
import com.alibaba.fastjson.JSONObject;
import com.kum.domain.AjaxResult;
import com.kum.domain.entity.SysRepair;
import com.kum.service.SysRepairService;
import com.kum.utils.RequestUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/system/repair")
public class SysRepairController {
@Autowired
private SysRepairService sysRepairService;
@GetMapping("/list")
public AjaxResult getList() {
return AjaxResult.success(sysRepairService.list());
}
@GetMapping("/list/user")
public AjaxResult getListByUserId() {
String userId = RequestUtils.getCurrentLoginUser().getUser().getId();
return AjaxResult.success(sysRepairService.findByUserId(userId));
}
@PreAuthorize("@ps.hasPermi('system:repair:save')")
@PostMapping("/add")
public AjaxResult addFacilities(@RequestBody SysRepair sysRepair) {
sysRepairService.add(sysRepair);
return AjaxResult.success();
}
@PreAuthorize("@ps.hasPermi('system:repair:examine')")
@PostMapping("/examine")
public AjaxResult examineFacilities(@RequestBody SysRepair sysRepair) {
sysRepairService.examine(sysRepair);
return AjaxResult.success();
}
@PreAuthorize("@ps.hasPermi('system:repair:delete')")
@PostMapping("/delete")
public AjaxResult deleteFacilities(@RequestBody JSONObject jsonObject) {
if (sysRepairService.delete(jsonObject.getString("id"))) {
return AjaxResult.success();
}
return AjaxResult.error();
}
}
获取完整源码:
大家点赞、收藏、关注、评论啦 、查看 👇🏻 👇🏻 👇🏻微信公众号获取联系 👇🏻 👇🏻 👇🏻
免费领取下载链接-公众号输入口令:044