From 238da2c6e323bda5930724126ae16c9bbea767f8 Mon Sep 17 00:00:00 2001 From: hansha Date: Sat, 16 Mar 2024 17:19:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=A1=A8=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E3=80=81=E5=AD=97=E6=AE=B5=E4=BF=AE=E6=94=B9=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../szxc/controller/SzxcJmInfoController.java | 24 +- .../szxc/controller/SzxcLdInfoController.java | 104 +++ .../szxc/controller/SzxcLunboController.java | 104 +++ .../SzxcPublicActivilyController.java | 104 +++ .../controller/SzxcVisitRecardController.java | 2 +- .../controller/SzxcWorkGuideController.java | 104 +++ .../controller/SzxcXcRecardController.java | 2 +- .../szxc/controller/SzxcXqInfoController.java | 104 +++ .../com/ruoyi/szxc/domain/SzxcJmInfo.java | 248 ++++-- .../com/ruoyi/szxc/domain/SzxcLdInfo.java | 223 +++++ .../java/com/ruoyi/szxc/domain/SzxcLunbo.java | 84 ++ .../ruoyi/szxc/domain/SzxcPublicActivily.java | 200 +++++ .../ruoyi/szxc/domain/SzxcVisitRecard.java | 16 +- .../com/ruoyi/szxc/domain/SzxcWorkGuide.java | 84 ++ .../com/ruoyi/szxc/domain/SzxcXcRecard.java | 52 +- .../com/ruoyi/szxc/domain/SzxcXqInfo.java | 226 ++++++ .../ruoyi/szxc/mapper/SzxcJmInfoMapper.java | 5 +- .../ruoyi/szxc/mapper/SzxcLdInfoMapper.java | 61 ++ .../ruoyi/szxc/mapper/SzxcLunboMapper.java | 61 ++ .../szxc/mapper/SzxcPublicActivilyMapper.java | 61 ++ .../szxc/mapper/SzxcVisitRecardMapper.java | 2 +- .../szxc/mapper/SzxcWorkGuideMapper.java | 61 ++ .../ruoyi/szxc/mapper/SzxcXcRecardMapper.java | 2 +- .../ruoyi/szxc/mapper/SzxcXqInfoMapper.java | 61 ++ .../szxc/service/ISzxcJmInfoService.java | 5 +- .../szxc/service/ISzxcLdInfoService.java | 61 ++ .../ruoyi/szxc/service/ISzxcLunboService.java | 61 ++ .../service/ISzxcPublicActivilyService.java | 61 ++ .../szxc/service/ISzxcVisitRecardService.java | 2 +- .../szxc/service/ISzxcWorkGuideService.java | 61 ++ .../szxc/service/ISzxcXcRecardService.java | 2 +- .../szxc/service/ISzxcXqInfoService.java | 61 ++ .../service/impl/SzxcJmInfoServiceImpl.java | 11 +- .../service/impl/SzxcLdInfoServiceImpl.java | 96 +++ .../service/impl/SzxcLunboServiceImpl.java | 96 +++ .../impl/SzxcPublicActivilyServiceImpl.java | 96 +++ .../impl/SzxcVisitRecardServiceImpl.java | 2 +- .../impl/SzxcWorkGuideServiceImpl.java | 96 +++ .../service/impl/SzxcXcRecardServiceImpl.java | 2 +- .../service/impl/SzxcXqInfoServiceImpl.java | 96 +++ .../mapper/szxc/SzxcJmInfoMapper.xml | 60 +- .../mapper/szxc/SzxcLdInfoMapper.xml | 132 +++ .../resources/mapper/szxc/SzxcLunboMapper.xml | 86 ++ .../mapper/szxc/SzxcPublicActivilyMapper.xml | 126 +++ .../mapper/szxc/SzxcVisitRecardMapper.xml | 7 +- .../mapper/szxc/SzxcWorkGuideMapper.xml | 86 ++ .../mapper/szxc/SzxcXcRecardMapper.xml | 37 +- .../mapper/szxc/SzxcXqInfoMapper.xml | 132 +++ ruoyi-ui/src/api/szxc/activily.js | 44 + ruoyi-ui/src/api/szxc/guide.js | 44 + ruoyi-ui/src/api/szxc/ldinfo.js | 44 + ruoyi-ui/src/api/szxc/lunbo.js | 44 + ruoyi-ui/src/api/szxc/xqinfo.js | 44 + ruoyi-ui/src/views/szxc/activily/index.vue | 399 +++++++++ ruoyi-ui/src/views/szxc/guide/index.vue | 263 ++++++ ruoyi-ui/src/views/szxc/jminfo/index.vue | 767 +++++++++--------- ruoyi-ui/src/views/szxc/ldinfo/index.vue | 412 ++++++++++ ruoyi-ui/src/views/szxc/lunbo/index.vue | 274 +++++++ ruoyi-ui/src/views/szxc/visitrecard/index.vue | 14 + ruoyi-ui/src/views/szxc/xcrecard/index.vue | 60 +- ruoyi-ui/src/views/szxc/xqinfo/index.vue | 407 ++++++++++ 61 files changed, 5729 insertions(+), 557 deletions(-) create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcLdInfoController.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcLunboController.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcPublicActivilyController.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcWorkGuideController.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcXqInfoController.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcLdInfo.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcLunbo.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcPublicActivily.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcWorkGuide.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcXqInfo.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcLdInfoMapper.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcLunboMapper.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcPublicActivilyMapper.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcWorkGuideMapper.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcXqInfoMapper.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcLdInfoService.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcLunboService.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcPublicActivilyService.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcWorkGuideService.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcXqInfoService.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcLdInfoServiceImpl.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcLunboServiceImpl.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcPublicActivilyServiceImpl.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcWorkGuideServiceImpl.java create mode 100644 ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcXqInfoServiceImpl.java create mode 100644 ruoyi-szxc/src/main/resources/mapper/szxc/SzxcLdInfoMapper.xml create mode 100644 ruoyi-szxc/src/main/resources/mapper/szxc/SzxcLunboMapper.xml create mode 100644 ruoyi-szxc/src/main/resources/mapper/szxc/SzxcPublicActivilyMapper.xml create mode 100644 ruoyi-szxc/src/main/resources/mapper/szxc/SzxcWorkGuideMapper.xml create mode 100644 ruoyi-szxc/src/main/resources/mapper/szxc/SzxcXqInfoMapper.xml create mode 100644 ruoyi-ui/src/api/szxc/activily.js create mode 100644 ruoyi-ui/src/api/szxc/guide.js create mode 100644 ruoyi-ui/src/api/szxc/ldinfo.js create mode 100644 ruoyi-ui/src/api/szxc/lunbo.js create mode 100644 ruoyi-ui/src/api/szxc/xqinfo.js create mode 100644 ruoyi-ui/src/views/szxc/activily/index.vue create mode 100644 ruoyi-ui/src/views/szxc/guide/index.vue create mode 100644 ruoyi-ui/src/views/szxc/ldinfo/index.vue create mode 100644 ruoyi-ui/src/views/szxc/lunbo/index.vue create mode 100644 ruoyi-ui/src/views/szxc/xqinfo/index.vue diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcJmInfoController.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcJmInfoController.java index 0e7b796..3ebd9db 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcJmInfoController.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcJmInfoController.java @@ -1,31 +1,25 @@ package com.ruoyi.szxc.controller; -import java.util.List; -import javax.servlet.http.HttpServletResponse; -import org.springframework.security.access.prepost.PreAuthorize; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.page.TableDataInfo; import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.utils.poi.ExcelUtil; import com.ruoyi.szxc.domain.SzxcJmInfo; import com.ruoyi.szxc.service.ISzxcJmInfoService; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.common.core.page.TableDataInfo; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; /** * 居民信息Controller * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ @RestController @RequestMapping("/szxc/jminfo") diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcLdInfoController.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcLdInfoController.java new file mode 100644 index 0000000..2920927 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcLdInfoController.java @@ -0,0 +1,104 @@ +package com.ruoyi.szxc.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.szxc.domain.SzxcLdInfo; +import com.ruoyi.szxc.service.ISzxcLdInfoService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 楼栋信息Controller + * + * @author hs + * @date 2024-03-16 + */ +@RestController +@RequestMapping("/szxc/ldinfo") +public class SzxcLdInfoController extends BaseController +{ + @Autowired + private ISzxcLdInfoService szxcLdInfoService; + + /** + * 查询楼栋信息列表 + */ + @PreAuthorize("@ss.hasPermi('szxc:ldinfo:list')") + @GetMapping("/list") + public TableDataInfo list(SzxcLdInfo szxcLdInfo) + { + startPage(); + List list = szxcLdInfoService.selectSzxcLdInfoList(szxcLdInfo); + return getDataTable(list); + } + + /** + * 导出楼栋信息列表 + */ + @PreAuthorize("@ss.hasPermi('szxc:ldinfo:export')") + @Log(title = "楼栋信息", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SzxcLdInfo szxcLdInfo) + { + List list = szxcLdInfoService.selectSzxcLdInfoList(szxcLdInfo); + ExcelUtil util = new ExcelUtil(SzxcLdInfo.class); + util.exportExcel(response, list, "楼栋信息数据"); + } + + /** + * 获取楼栋信息详细信息 + */ + @PreAuthorize("@ss.hasPermi('szxc:ldinfo:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(szxcLdInfoService.selectSzxcLdInfoById(id)); + } + + /** + * 新增楼栋信息 + */ + @PreAuthorize("@ss.hasPermi('szxc:ldinfo:add')") + @Log(title = "楼栋信息", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SzxcLdInfo szxcLdInfo) + { + return toAjax(szxcLdInfoService.insertSzxcLdInfo(szxcLdInfo)); + } + + /** + * 修改楼栋信息 + */ + @PreAuthorize("@ss.hasPermi('szxc:ldinfo:edit')") + @Log(title = "楼栋信息", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SzxcLdInfo szxcLdInfo) + { + return toAjax(szxcLdInfoService.updateSzxcLdInfo(szxcLdInfo)); + } + + /** + * 删除楼栋信息 + */ + @PreAuthorize("@ss.hasPermi('szxc:ldinfo:remove')") + @Log(title = "楼栋信息", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(szxcLdInfoService.deleteSzxcLdInfoByIds(ids)); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcLunboController.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcLunboController.java new file mode 100644 index 0000000..22aabda --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcLunboController.java @@ -0,0 +1,104 @@ +package com.ruoyi.szxc.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.szxc.domain.SzxcLunbo; +import com.ruoyi.szxc.service.ISzxcLunboService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 轮播设置Controller + * + * @author hs + * @date 2024-03-16 + */ +@RestController +@RequestMapping("/szxc/lunbo") +public class SzxcLunboController extends BaseController +{ + @Autowired + private ISzxcLunboService szxcLunboService; + + /** + * 查询轮播设置列表 + */ + @PreAuthorize("@ss.hasPermi('szxc:lunbo:list')") + @GetMapping("/list") + public TableDataInfo list(SzxcLunbo szxcLunbo) + { + startPage(); + List list = szxcLunboService.selectSzxcLunboList(szxcLunbo); + return getDataTable(list); + } + + /** + * 导出轮播设置列表 + */ + @PreAuthorize("@ss.hasPermi('szxc:lunbo:export')") + @Log(title = "轮播设置", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SzxcLunbo szxcLunbo) + { + List list = szxcLunboService.selectSzxcLunboList(szxcLunbo); + ExcelUtil util = new ExcelUtil(SzxcLunbo.class); + util.exportExcel(response, list, "轮播设置数据"); + } + + /** + * 获取轮播设置详细信息 + */ + @PreAuthorize("@ss.hasPermi('szxc:lunbo:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(szxcLunboService.selectSzxcLunboById(id)); + } + + /** + * 新增轮播设置 + */ + @PreAuthorize("@ss.hasPermi('szxc:lunbo:add')") + @Log(title = "轮播设置", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SzxcLunbo szxcLunbo) + { + return toAjax(szxcLunboService.insertSzxcLunbo(szxcLunbo)); + } + + /** + * 修改轮播设置 + */ + @PreAuthorize("@ss.hasPermi('szxc:lunbo:edit')") + @Log(title = "轮播设置", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SzxcLunbo szxcLunbo) + { + return toAjax(szxcLunboService.updateSzxcLunbo(szxcLunbo)); + } + + /** + * 删除轮播设置 + */ + @PreAuthorize("@ss.hasPermi('szxc:lunbo:remove')") + @Log(title = "轮播设置", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(szxcLunboService.deleteSzxcLunboByIds(ids)); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcPublicActivilyController.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcPublicActivilyController.java new file mode 100644 index 0000000..a1949a2 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcPublicActivilyController.java @@ -0,0 +1,104 @@ +package com.ruoyi.szxc.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.szxc.domain.SzxcPublicActivily; +import com.ruoyi.szxc.service.ISzxcPublicActivilyService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 公益活动Controller + * + * @author hs + * @date 2024-03-16 + */ +@RestController +@RequestMapping("/szxc/activily") +public class SzxcPublicActivilyController extends BaseController +{ + @Autowired + private ISzxcPublicActivilyService szxcPublicActivilyService; + + /** + * 查询公益活动列表 + */ + @PreAuthorize("@ss.hasPermi('szxc:activily:list')") + @GetMapping("/list") + public TableDataInfo list(SzxcPublicActivily szxcPublicActivily) + { + startPage(); + List list = szxcPublicActivilyService.selectSzxcPublicActivilyList(szxcPublicActivily); + return getDataTable(list); + } + + /** + * 导出公益活动列表 + */ + @PreAuthorize("@ss.hasPermi('szxc:activily:export')") + @Log(title = "公益活动", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SzxcPublicActivily szxcPublicActivily) + { + List list = szxcPublicActivilyService.selectSzxcPublicActivilyList(szxcPublicActivily); + ExcelUtil util = new ExcelUtil(SzxcPublicActivily.class); + util.exportExcel(response, list, "公益活动数据"); + } + + /** + * 获取公益活动详细信息 + */ + @PreAuthorize("@ss.hasPermi('szxc:activily:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(szxcPublicActivilyService.selectSzxcPublicActivilyById(id)); + } + + /** + * 新增公益活动 + */ + @PreAuthorize("@ss.hasPermi('szxc:activily:add')") + @Log(title = "公益活动", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SzxcPublicActivily szxcPublicActivily) + { + return toAjax(szxcPublicActivilyService.insertSzxcPublicActivily(szxcPublicActivily)); + } + + /** + * 修改公益活动 + */ + @PreAuthorize("@ss.hasPermi('szxc:activily:edit')") + @Log(title = "公益活动", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SzxcPublicActivily szxcPublicActivily) + { + return toAjax(szxcPublicActivilyService.updateSzxcPublicActivily(szxcPublicActivily)); + } + + /** + * 删除公益活动 + */ + @PreAuthorize("@ss.hasPermi('szxc:activily:remove')") + @Log(title = "公益活动", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(szxcPublicActivilyService.deleteSzxcPublicActivilyByIds(ids)); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcVisitRecardController.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcVisitRecardController.java index 24a2822..8f903b4 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcVisitRecardController.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcVisitRecardController.java @@ -25,7 +25,7 @@ import com.ruoyi.common.core.page.TableDataInfo; * 走访记录Controller * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ @RestController @RequestMapping("/szxc/visitrecard") diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcWorkGuideController.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcWorkGuideController.java new file mode 100644 index 0000000..cf770b4 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcWorkGuideController.java @@ -0,0 +1,104 @@ +package com.ruoyi.szxc.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.szxc.domain.SzxcWorkGuide; +import com.ruoyi.szxc.service.ISzxcWorkGuideService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 办事指南Controller + * + * @author hs + * @date 2024-03-16 + */ +@RestController +@RequestMapping("/szxc/guide") +public class SzxcWorkGuideController extends BaseController +{ + @Autowired + private ISzxcWorkGuideService szxcWorkGuideService; + + /** + * 查询办事指南列表 + */ + @PreAuthorize("@ss.hasPermi('szxc:guide:list')") + @GetMapping("/list") + public TableDataInfo list(SzxcWorkGuide szxcWorkGuide) + { + startPage(); + List list = szxcWorkGuideService.selectSzxcWorkGuideList(szxcWorkGuide); + return getDataTable(list); + } + + /** + * 导出办事指南列表 + */ + @PreAuthorize("@ss.hasPermi('szxc:guide:export')") + @Log(title = "办事指南", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SzxcWorkGuide szxcWorkGuide) + { + List list = szxcWorkGuideService.selectSzxcWorkGuideList(szxcWorkGuide); + ExcelUtil util = new ExcelUtil(SzxcWorkGuide.class); + util.exportExcel(response, list, "办事指南数据"); + } + + /** + * 获取办事指南详细信息 + */ + @PreAuthorize("@ss.hasPermi('szxc:guide:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(szxcWorkGuideService.selectSzxcWorkGuideById(id)); + } + + /** + * 新增办事指南 + */ + @PreAuthorize("@ss.hasPermi('szxc:guide:add')") + @Log(title = "办事指南", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SzxcWorkGuide szxcWorkGuide) + { + return toAjax(szxcWorkGuideService.insertSzxcWorkGuide(szxcWorkGuide)); + } + + /** + * 修改办事指南 + */ + @PreAuthorize("@ss.hasPermi('szxc:guide:edit')") + @Log(title = "办事指南", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SzxcWorkGuide szxcWorkGuide) + { + return toAjax(szxcWorkGuideService.updateSzxcWorkGuide(szxcWorkGuide)); + } + + /** + * 删除办事指南 + */ + @PreAuthorize("@ss.hasPermi('szxc:guide:remove')") + @Log(title = "办事指南", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(szxcWorkGuideService.deleteSzxcWorkGuideByIds(ids)); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcXcRecardController.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcXcRecardController.java index d545eb5..da87a86 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcXcRecardController.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcXcRecardController.java @@ -25,7 +25,7 @@ import com.ruoyi.common.core.page.TableDataInfo; * 巡查记录Controller * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ @RestController @RequestMapping("/szxc/xcrecard") diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcXqInfoController.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcXqInfoController.java new file mode 100644 index 0000000..9316bcc --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/controller/SzxcXqInfoController.java @@ -0,0 +1,104 @@ +package com.ruoyi.szxc.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.szxc.domain.SzxcXqInfo; +import com.ruoyi.szxc.service.ISzxcXqInfoService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 小区信息Controller + * + * @author hs + * @date 2024-03-16 + */ +@RestController +@RequestMapping("/szxc/xqinfo") +public class SzxcXqInfoController extends BaseController +{ + @Autowired + private ISzxcXqInfoService szxcXqInfoService; + + /** + * 查询小区信息列表 + */ + @PreAuthorize("@ss.hasPermi('szxc:xqinfo:list')") + @GetMapping("/list") + public TableDataInfo list(SzxcXqInfo szxcXqInfo) + { + startPage(); + List list = szxcXqInfoService.selectSzxcXqInfoList(szxcXqInfo); + return getDataTable(list); + } + + /** + * 导出小区信息列表 + */ + @PreAuthorize("@ss.hasPermi('szxc:xqinfo:export')") + @Log(title = "小区信息", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SzxcXqInfo szxcXqInfo) + { + List list = szxcXqInfoService.selectSzxcXqInfoList(szxcXqInfo); + ExcelUtil util = new ExcelUtil(SzxcXqInfo.class); + util.exportExcel(response, list, "小区信息数据"); + } + + /** + * 获取小区信息详细信息 + */ + @PreAuthorize("@ss.hasPermi('szxc:xqinfo:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(szxcXqInfoService.selectSzxcXqInfoById(id)); + } + + /** + * 新增小区信息 + */ + @PreAuthorize("@ss.hasPermi('szxc:xqinfo:add')") + @Log(title = "小区信息", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SzxcXqInfo szxcXqInfo) + { + return toAjax(szxcXqInfoService.insertSzxcXqInfo(szxcXqInfo)); + } + + /** + * 修改小区信息 + */ + @PreAuthorize("@ss.hasPermi('szxc:xqinfo:edit')") + @Log(title = "小区信息", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SzxcXqInfo szxcXqInfo) + { + return toAjax(szxcXqInfoService.updateSzxcXqInfo(szxcXqInfo)); + } + + /** + * 删除小区信息 + */ + @PreAuthorize("@ss.hasPermi('szxc:xqinfo:remove')") + @Log(title = "小区信息", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(szxcXqInfoService.deleteSzxcXqInfoByIds(ids)); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcJmInfo.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcJmInfo.java index a283ab4..c049317 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcJmInfo.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcJmInfo.java @@ -10,7 +10,7 @@ import java.util.Date; /** * 居民信息对象 szxc_jm_info - * + * * @author hs * @date 2024-03-16 */ @@ -66,8 +66,8 @@ public class SzxcJmInfo extends BaseEntity @Excel(name = "与户主关系") private String relation; - /** 籍贯性质 */ - @Excel(name = "籍贯性质") + /** 户籍性质 */ + @Excel(name = "户籍性质") private String jgNature; /** 是否常住(0是 1否) */ @@ -82,6 +82,38 @@ public class SzxcJmInfo extends BaseEntity @Excel(name = "手机号") private String phone; + /** 现居住地 */ + @Excel(name = "现居住地") + private String currentAddress; + + /** 本人情况 */ + @Excel(name = "本人情况") + private String brqk; + + /** 婚姻 */ + @Excel(name = "婚姻") + private String hy; + + /** 学历 */ + @Excel(name = "学历") + private String xueli; + + /** 政治面貌 */ + @Excel(name = "政治面貌") + private String zzmm; + + /** 宗教信仰 */ + @Excel(name = "宗教信仰") + private String zjxy; + + /** 健康状况 */ + @Excel(name = "健康状况") + private String jkzk; + + /** 疾病描述 */ + @Excel(name = "疾病描述") + private String ills; + /** 是否户主 0:户主 1:非户主 */ @Excel(name = "是否户主 0:户主 1:非户主") private String head; @@ -98,183 +130,255 @@ public class SzxcJmInfo extends BaseEntity @Excel(name = "创建者ID") private Long userId; - public void setId(Long id) + public void setId(Long id) { this.id = id; } - public Long getId() + public Long getId() { return id; } - public void setDeptId(Long deptId) + public void setDeptId(Long deptId) { this.deptId = deptId; } - public Long getDeptId() + public Long getDeptId() { return deptId; } - public void setDeptName(String deptName) + public void setDeptName(String deptName) { this.deptName = deptName; } - public String getDeptName() + public String getDeptName() { return deptName; } - public void setName(String name) + public void setName(String name) { this.name = name; } - public String getName() + public String getName() { return name; } - public void setOldName(String oldName) + public void setOldName(String oldName) { this.oldName = oldName; } - public String getOldName() + public String getOldName() { return oldName; } - public void setNationality(String nationality) + public void setNationality(String nationality) { this.nationality = nationality; } - public String getNationality() + public String getNationality() { return nationality; } - public void setCardId(String cardId) + public void setCardId(String cardId) { this.cardId = cardId; } - public String getCardId() + public String getCardId() { return cardId; } - public void setBornDate(Date bornDate) + public void setBornDate(Date bornDate) { this.bornDate = bornDate; } - public Date getBornDate() + public Date getBornDate() { return bornDate; } - public void setAge(Long age) + public void setAge(Long age) { this.age = age; } - public Long getAge() + public Long getAge() { return age; } - public void setSex(String sex) + public void setSex(String sex) { this.sex = sex; } - public String getSex() + public String getSex() { return sex; } - public void setJg(String jg) + public void setJg(String jg) { this.jg = jg; } - public String getJg() + public String getJg() { return jg; } - public void setRelation(String relation) + public void setRelation(String relation) { this.relation = relation; } - public String getRelation() + public String getRelation() { return relation; } - public void setJgNature(String jgNature) + public void setJgNature(String jgNature) { this.jgNature = jgNature; } - public String getJgNature() + public String getJgNature() { return jgNature; } - public void setLongLive(String longLive) + public void setLongLive(String longLive) { this.longLive = longLive; } - public String getLongLive() + public String getLongLive() { return longLive; } - public void setHjAddress(String hjAddress) + public void setHjAddress(String hjAddress) { this.hjAddress = hjAddress; } - public String getHjAddress() + public String getHjAddress() { return hjAddress; } - public void setPhone(String phone) + public void setPhone(String phone) { this.phone = phone; } - public String getPhone() + public String getPhone() { return phone; } - public void setHead(String head) + public void setCurrentAddress(String currentAddress) + { + this.currentAddress = currentAddress; + } + + public String getCurrentAddress() + { + return currentAddress; + } + public void setBrqk(String brqk) + { + this.brqk = brqk; + } + + public String getBrqk() + { + return brqk; + } + public void setHy(String hy) + { + this.hy = hy; + } + + public String getHy() + { + return hy; + } + public void setXueli(String xueli) + { + this.xueli = xueli; + } + + public String getXueli() + { + return xueli; + } + public void setZzmm(String zzmm) + { + this.zzmm = zzmm; + } + + public String getZzmm() + { + return zzmm; + } + public void setZjxy(String zjxy) + { + this.zjxy = zjxy; + } + + public String getZjxy() + { + return zjxy; + } + public void setJkzk(String jkzk) + { + this.jkzk = jkzk; + } + + public String getJkzk() + { + return jkzk; + } + public void setIlls(String ills) + { + this.ills = ills; + } + + public String getIlls() + { + return ills; + } + public void setHead(String head) { this.head = head; } - public String getHead() + public String getHead() { return head; } - public void setSameHeadIds(String sameHeadIds) + public void setSameHeadIds(String sameHeadIds) { this.sameHeadIds = sameHeadIds; } - public String getSameHeadIds() + public String getSameHeadIds() { return sameHeadIds; } - public void setOff(String off) + public void setOff(String off) { this.off = off; } - public String getOff() + public String getOff() { return off; } - public void setUserId(Long userId) + public void setUserId(Long userId) { this.userId = userId; } - public Long getUserId() + public Long getUserId() { return userId; } @@ -282,30 +386,38 @@ public class SzxcJmInfo extends BaseEntity @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("id", getId()) - .append("deptId", getDeptId()) - .append("deptName", getDeptName()) - .append("name", getName()) - .append("oldName", getOldName()) - .append("nationality", getNationality()) - .append("cardId", getCardId()) - .append("bornDate", getBornDate()) - .append("age", getAge()) - .append("sex", getSex()) - .append("jg", getJg()) - .append("relation", getRelation()) - .append("jgNature", getJgNature()) - .append("longLive", getLongLive()) - .append("hjAddress", getHjAddress()) - .append("phone", getPhone()) - .append("head", getHead()) - .append("sameHeadIds", getSameHeadIds()) - .append("off", getOff()) - .append("createBy", getCreateBy()) - .append("createTime", getCreateTime()) - .append("updateBy", getUpdateBy()) - .append("updateTime", getUpdateTime()) - .append("userId", getUserId()) - .toString(); + .append("id", getId()) + .append("deptId", getDeptId()) + .append("deptName", getDeptName()) + .append("name", getName()) + .append("oldName", getOldName()) + .append("nationality", getNationality()) + .append("cardId", getCardId()) + .append("bornDate", getBornDate()) + .append("age", getAge()) + .append("sex", getSex()) + .append("jg", getJg()) + .append("relation", getRelation()) + .append("jgNature", getJgNature()) + .append("longLive", getLongLive()) + .append("hjAddress", getHjAddress()) + .append("phone", getPhone()) + .append("currentAddress", getCurrentAddress()) + .append("brqk", getBrqk()) + .append("hy", getHy()) + .append("xueli", getXueli()) + .append("zzmm", getZzmm()) + .append("zjxy", getZjxy()) + .append("jkzk", getJkzk()) + .append("ills", getIlls()) + .append("head", getHead()) + .append("sameHeadIds", getSameHeadIds()) + .append("off", getOff()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("userId", getUserId()) + .toString(); } } diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcLdInfo.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcLdInfo.java new file mode 100644 index 0000000..fb9539f --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcLdInfo.java @@ -0,0 +1,223 @@ +package com.ruoyi.szxc.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 楼栋信息对象 szxc_ld_info + * + * @author hs + * @date 2024-03-16 + */ +public class SzxcLdInfo extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** id */ + private Long id; + + /** 所属小区 */ + @Excel(name = "所属小区") + private Long xqId; + + /** 楼栋名称 */ + @Excel(name = "楼栋名称") + private String ldName; + + /** 类型(0小区楼栋1独立房2其它) */ + @Excel(name = "类型(0小区楼栋1独立房2其它)") + private String xqType; + + /** 类别字典 */ + @Excel(name = "类别字典") + private String ldSort; + + /** 楼栋结构字典 */ + @Excel(name = "楼栋结构字典") + private String ldjg; + + /** 取暖方式 */ + @Excel(name = "取暖方式") + private String qnfs; + + /** 楼层数 */ + @Excel(name = "楼层数") + private Long lcNum; + + /** 单元数 */ + @Excel(name = "单元数") + private Long unitNum; + + /** 户数 */ + @Excel(name = "户数") + private Long huNum; + + /** 楼栋描述 */ + @Excel(name = "楼栋描述") + private String ldDescribe; + + /** 部门id */ + @Excel(name = "部门id") + private Long deptId; + + /** 所属网格 */ + @Excel(name = "所属网格") + private String deptName; + + /** 创建者ID */ + @Excel(name = "创建者ID") + private Long userId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setXqId(Long xqId) + { + this.xqId = xqId; + } + + public Long getXqId() + { + return xqId; + } + public void setLdName(String ldName) + { + this.ldName = ldName; + } + + public String getLdName() + { + return ldName; + } + public void setXqType(String xqType) + { + this.xqType = xqType; + } + + public String getXqType() + { + return xqType; + } + public void setLdSort(String ldSort) + { + this.ldSort = ldSort; + } + + public String getLdSort() + { + return ldSort; + } + public void setLdjg(String ldjg) + { + this.ldjg = ldjg; + } + + public String getLdjg() + { + return ldjg; + } + public void setQnfs(String qnfs) + { + this.qnfs = qnfs; + } + + public String getQnfs() + { + return qnfs; + } + public void setLcNum(Long lcNum) + { + this.lcNum = lcNum; + } + + public Long getLcNum() + { + return lcNum; + } + public void setUnitNum(Long unitNum) + { + this.unitNum = unitNum; + } + + public Long getUnitNum() + { + return unitNum; + } + public void setHuNum(Long huNum) + { + this.huNum = huNum; + } + + public Long getHuNum() + { + return huNum; + } + public void setLdDescribe(String ldDescribe) + { + this.ldDescribe = ldDescribe; + } + + public String getLdDescribe() + { + return ldDescribe; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + public void setDeptName(String deptName) + { + this.deptName = deptName; + } + + public String getDeptName() + { + return deptName; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("xqId", getXqId()) + .append("ldName", getLdName()) + .append("xqType", getXqType()) + .append("ldSort", getLdSort()) + .append("ldjg", getLdjg()) + .append("qnfs", getQnfs()) + .append("lcNum", getLcNum()) + .append("unitNum", getUnitNum()) + .append("huNum", getHuNum()) + .append("ldDescribe", getLdDescribe()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("deptId", getDeptId()) + .append("deptName", getDeptName()) + .append("userId", getUserId()) + .toString(); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcLunbo.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcLunbo.java new file mode 100644 index 0000000..6251e76 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcLunbo.java @@ -0,0 +1,84 @@ +package com.ruoyi.szxc.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 轮播设置对象 szxc_lunbo + * + * @author hs + * @date 2024-03-16 + */ +public class SzxcLunbo extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** id */ + private Long id; + + /** 标题 */ + @Excel(name = "标题") + private String title; + + /** 图片地址 */ + @Excel(name = "图片地址") + private String picture; + + /** 简介 */ + @Excel(name = "简介") + private String content; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setPicture(String picture) + { + this.picture = picture; + } + + public String getPicture() + { + return picture; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("title", getTitle()) + .append("picture", getPicture()) + .append("content", getContent()) + .append("remark", getRemark()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcPublicActivily.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcPublicActivily.java new file mode 100644 index 0000000..0dd5c73 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcPublicActivily.java @@ -0,0 +1,200 @@ +package com.ruoyi.szxc.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 公益活动对象 szxc_public_activily + * + * @author hs + * @date 2024-03-16 + */ +public class SzxcPublicActivily extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** id */ + private Long id; + + /** 标题 */ + @Excel(name = "标题") + private String title; + + /** 负责人 */ + @Excel(name = "负责人") + private String leader; + + /** 联系电话 */ + @Excel(name = "联系电话") + private String phone; + + /** 类型(公告/咨询) */ + @Excel(name = "类型(公告/咨询)") + private String type; + + /** 活动介绍 */ + @Excel(name = "活动介绍") + private String content; + + /** 级别(县/乡/村) */ + @Excel(name = "级别(县/乡/村)") + private String leave; + + /** 创建时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date startTime; + + /** 创建时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date endTime; + + /** 部门id */ + @Excel(name = "部门id") + private Long deptId; + + /** 所属网格 */ + @Excel(name = "所属网格") + private String deptName; + + /** 创建者ID */ + @Excel(name = "创建者ID") + private Long userId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setLeader(String leader) + { + this.leader = leader; + } + + public String getLeader() + { + return leader; + } + public void setPhone(String phone) + { + this.phone = phone; + } + + public String getPhone() + { + return phone; + } + public void setType(String type) + { + this.type = type; + } + + public String getType() + { + return type; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setLeave(String leave) + { + this.leave = leave; + } + + public String getLeave() + { + return leave; + } + public void setStartTime(Date startTime) + { + this.startTime = startTime; + } + + public Date getStartTime() + { + return startTime; + } + public void setEndTime(Date endTime) + { + this.endTime = endTime; + } + + public Date getEndTime() + { + return endTime; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + public void setDeptName(String deptName) + { + this.deptName = deptName; + } + + public String getDeptName() + { + return deptName; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("title", getTitle()) + .append("leader", getLeader()) + .append("phone", getPhone()) + .append("type", getType()) + .append("content", getContent()) + .append("leave", getLeave()) + .append("startTime", getStartTime()) + .append("endTime", getEndTime()) + .append("createBy", getCreateBy()) + .append("remark", getRemark()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("deptId", getDeptId()) + .append("deptName", getDeptName()) + .append("userId", getUserId()) + .toString(); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcVisitRecard.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcVisitRecard.java index 6f89a8a..ffb800b 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcVisitRecard.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcVisitRecard.java @@ -11,7 +11,7 @@ import com.ruoyi.common.core.domain.BaseEntity; * 走访记录对象 szxc_visit_recard * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ public class SzxcVisitRecard extends BaseEntity { @@ -38,6 +38,10 @@ public class SzxcVisitRecard extends BaseEntity @Excel(name = "类别") private String type; + /** 走访对像id */ + @Excel(name = "走访对像id") + private Long jmId; + /** 走访对象 */ @Excel(name = "走访对象") private String visitObj; @@ -115,6 +119,15 @@ public class SzxcVisitRecard extends BaseEntity { return type; } + public void setJmId(Long jmId) + { + this.jmId = jmId; + } + + public Long getJmId() + { + return jmId; + } public void setVisitObj(String visitObj) { this.visitObj = visitObj; @@ -196,6 +209,7 @@ public class SzxcVisitRecard extends BaseEntity .append("submitDate", getSubmitDate()) .append("visitDate", getVisitDate()) .append("type", getType()) + .append("jmId", getJmId()) .append("visitObj", getVisitObj()) .append("title", getTitle()) .append("picture", getPicture()) diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcWorkGuide.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcWorkGuide.java new file mode 100644 index 0000000..61a846c --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcWorkGuide.java @@ -0,0 +1,84 @@ +package com.ruoyi.szxc.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 办事指南对象 szxc_work_guide + * + * @author hs + * @date 2024-03-16 + */ +public class SzxcWorkGuide extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** id */ + private Long id; + + /** 标题 */ + @Excel(name = "标题") + private String title; + + /** 简介 */ + @Excel(name = "简介") + private String content; + + /** 状态 */ + @Excel(name = "状态") + private String status; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("title", getTitle()) + .append("content", getContent()) + .append("status", getStatus()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcXcRecard.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcXcRecard.java index 7cf434d..c53f710 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcXcRecard.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcXcRecard.java @@ -11,7 +11,7 @@ import com.ruoyi.common.core.domain.BaseEntity; * 巡查记录对象 szxc_xc_recard * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ public class SzxcXcRecard extends BaseEntity { @@ -22,7 +22,7 @@ public class SzxcXcRecard extends BaseEntity /** 巡查人 */ @Excel(name = "巡查人") - private String visiterName; + private String xcName; /** 提报日期 */ @JsonFormat(pattern = "yyyy-MM-dd") @@ -32,15 +32,19 @@ public class SzxcXcRecard extends BaseEntity /** 巡查日期 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "巡查日期", width = 30, dateFormat = "yyyy-MM-dd") - private Date visitDate; + private Date xcDate; /** 巡查类别 */ @Excel(name = "巡查类别") private String type; + /** 巡查对像id */ + @Excel(name = "巡查对像id") + private Long jmId; + /** 被巡查对象 */ @Excel(name = "被巡查对象") - private String visitObj; + private String xcObj; /** 巡查主题 */ @Excel(name = "巡查主题") @@ -83,14 +87,14 @@ public class SzxcXcRecard extends BaseEntity { return id; } - public void setVisiterName(String visiterName) + public void setXcName(String xcName) { - this.visiterName = visiterName; + this.xcName = xcName; } - public String getVisiterName() + public String getXcName() { - return visiterName; + return xcName; } public void setSubmitDate(Date submitDate) { @@ -101,14 +105,14 @@ public class SzxcXcRecard extends BaseEntity { return submitDate; } - public void setVisitDate(Date visitDate) + public void setXcDate(Date xcDate) { - this.visitDate = visitDate; + this.xcDate = xcDate; } - public Date getVisitDate() + public Date getXcDate() { - return visitDate; + return xcDate; } public void setType(String type) { @@ -119,14 +123,23 @@ public class SzxcXcRecard extends BaseEntity { return type; } - public void setVisitObj(String visitObj) + public void setJmId(Long jmId) + { + this.jmId = jmId; + } + + public Long getJmId() + { + return jmId; + } + public void setXcObj(String xcObj) { - this.visitObj = visitObj; + this.xcObj = xcObj; } - public String getVisitObj() + public String getXcObj() { - return visitObj; + return xcObj; } public void setTitle(String title) { @@ -205,11 +218,12 @@ public class SzxcXcRecard extends BaseEntity public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) - .append("visiterName", getVisiterName()) + .append("xcName", getXcName()) .append("submitDate", getSubmitDate()) - .append("visitDate", getVisitDate()) + .append("xcDate", getXcDate()) .append("type", getType()) - .append("visitObj", getVisitObj()) + .append("jmId", getJmId()) + .append("xcObj", getXcObj()) .append("title", getTitle()) .append("picture", getPicture()) .append("content", getContent()) diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcXqInfo.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcXqInfo.java new file mode 100644 index 0000000..7741356 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/domain/SzxcXqInfo.java @@ -0,0 +1,226 @@ +package com.ruoyi.szxc.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 小区信息对象 szxc_xq_info + * + * @author hs + * @date 2024-03-16 + */ +public class SzxcXqInfo extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** id */ + private Long id; + + /** 类型(0老旧1新2片区散户) */ + @Excel(name = "类型(0老旧1新2片区散户)") + private String xqType; + + /** 楼栋数 */ + @Excel(name = "楼栋数") + private Long ldNum; + + /** 建筑面积 */ + @Excel(name = "建筑面积") + private String jzArea; + + /** 占地面积 */ + @Excel(name = "占地面积") + private String zdArea; + + /** 物业管理方式(0物业公司1业主自治2其他) */ + @Excel(name = "物业管理方式(0物业公司1业主自治2其他)") + private String wyType; + + /** 物业负责人 */ + @Excel(name = "物业负责人") + private String wyResponse; + + /** 联系电话 */ + @Excel(name = "联系电话") + private String wyPhone; + + /** 小区地址 */ + @Excel(name = "小区地址") + private String xqAddress; + + /** 建成日期 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "建成日期", width = 30, dateFormat = "yyyy-MM-dd") + private Date buildDate; + + /** 小区描述 */ + @Excel(name = "小区描述") + private String xqDescribe; + + /** 部门id */ + @Excel(name = "部门id") + private Long deptId; + + /** 所属网格 */ + @Excel(name = "所属网格") + private String deptName; + + /** 创建者ID */ + @Excel(name = "创建者ID") + private Long userId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setXqType(String xqType) + { + this.xqType = xqType; + } + + public String getXqType() + { + return xqType; + } + public void setLdNum(Long ldNum) + { + this.ldNum = ldNum; + } + + public Long getLdNum() + { + return ldNum; + } + public void setJzArea(String jzArea) + { + this.jzArea = jzArea; + } + + public String getJzArea() + { + return jzArea; + } + public void setZdArea(String zdArea) + { + this.zdArea = zdArea; + } + + public String getZdArea() + { + return zdArea; + } + public void setWyType(String wyType) + { + this.wyType = wyType; + } + + public String getWyType() + { + return wyType; + } + public void setWyResponse(String wyResponse) + { + this.wyResponse = wyResponse; + } + + public String getWyResponse() + { + return wyResponse; + } + public void setWyPhone(String wyPhone) + { + this.wyPhone = wyPhone; + } + + public String getWyPhone() + { + return wyPhone; + } + public void setXqAddress(String xqAddress) + { + this.xqAddress = xqAddress; + } + + public String getXqAddress() + { + return xqAddress; + } + public void setBuildDate(Date buildDate) + { + this.buildDate = buildDate; + } + + public Date getBuildDate() + { + return buildDate; + } + public void setXqDescribe(String xqDescribe) + { + this.xqDescribe = xqDescribe; + } + + public String getXqDescribe() + { + return xqDescribe; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + public void setDeptName(String deptName) + { + this.deptName = deptName; + } + + public String getDeptName() + { + return deptName; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("xqType", getXqType()) + .append("ldNum", getLdNum()) + .append("jzArea", getJzArea()) + .append("zdArea", getZdArea()) + .append("wyType", getWyType()) + .append("wyResponse", getWyResponse()) + .append("wyPhone", getWyPhone()) + .append("xqAddress", getXqAddress()) + .append("buildDate", getBuildDate()) + .append("xqDescribe", getXqDescribe()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("deptId", getDeptId()) + .append("deptName", getDeptName()) + .append("userId", getUserId()) + .toString(); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcJmInfoMapper.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcJmInfoMapper.java index fdab3ce..80a1d6a 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcJmInfoMapper.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcJmInfoMapper.java @@ -1,13 +1,14 @@ package com.ruoyi.szxc.mapper; -import java.util.List; import com.ruoyi.szxc.domain.SzxcJmInfo; +import java.util.List; + /** * 居民信息Mapper接口 * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ public interface SzxcJmInfoMapper { diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcLdInfoMapper.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcLdInfoMapper.java new file mode 100644 index 0000000..bb77a3e --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcLdInfoMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.szxc.mapper; + +import java.util.List; +import com.ruoyi.szxc.domain.SzxcLdInfo; + +/** + * 楼栋信息Mapper接口 + * + * @author hs + * @date 2024-03-16 + */ +public interface SzxcLdInfoMapper +{ + /** + * 查询楼栋信息 + * + * @param id 楼栋信息主键 + * @return 楼栋信息 + */ + public SzxcLdInfo selectSzxcLdInfoById(Long id); + + /** + * 查询楼栋信息列表 + * + * @param szxcLdInfo 楼栋信息 + * @return 楼栋信息集合 + */ + public List selectSzxcLdInfoList(SzxcLdInfo szxcLdInfo); + + /** + * 新增楼栋信息 + * + * @param szxcLdInfo 楼栋信息 + * @return 结果 + */ + public int insertSzxcLdInfo(SzxcLdInfo szxcLdInfo); + + /** + * 修改楼栋信息 + * + * @param szxcLdInfo 楼栋信息 + * @return 结果 + */ + public int updateSzxcLdInfo(SzxcLdInfo szxcLdInfo); + + /** + * 删除楼栋信息 + * + * @param id 楼栋信息主键 + * @return 结果 + */ + public int deleteSzxcLdInfoById(Long id); + + /** + * 批量删除楼栋信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSzxcLdInfoByIds(Long[] ids); +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcLunboMapper.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcLunboMapper.java new file mode 100644 index 0000000..ca5c722 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcLunboMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.szxc.mapper; + +import java.util.List; +import com.ruoyi.szxc.domain.SzxcLunbo; + +/** + * 轮播设置Mapper接口 + * + * @author hs + * @date 2024-03-16 + */ +public interface SzxcLunboMapper +{ + /** + * 查询轮播设置 + * + * @param id 轮播设置主键 + * @return 轮播设置 + */ + public SzxcLunbo selectSzxcLunboById(Long id); + + /** + * 查询轮播设置列表 + * + * @param szxcLunbo 轮播设置 + * @return 轮播设置集合 + */ + public List selectSzxcLunboList(SzxcLunbo szxcLunbo); + + /** + * 新增轮播设置 + * + * @param szxcLunbo 轮播设置 + * @return 结果 + */ + public int insertSzxcLunbo(SzxcLunbo szxcLunbo); + + /** + * 修改轮播设置 + * + * @param szxcLunbo 轮播设置 + * @return 结果 + */ + public int updateSzxcLunbo(SzxcLunbo szxcLunbo); + + /** + * 删除轮播设置 + * + * @param id 轮播设置主键 + * @return 结果 + */ + public int deleteSzxcLunboById(Long id); + + /** + * 批量删除轮播设置 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSzxcLunboByIds(Long[] ids); +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcPublicActivilyMapper.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcPublicActivilyMapper.java new file mode 100644 index 0000000..104c83f --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcPublicActivilyMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.szxc.mapper; + +import java.util.List; +import com.ruoyi.szxc.domain.SzxcPublicActivily; + +/** + * 公益活动Mapper接口 + * + * @author hs + * @date 2024-03-16 + */ +public interface SzxcPublicActivilyMapper +{ + /** + * 查询公益活动 + * + * @param id 公益活动主键 + * @return 公益活动 + */ + public SzxcPublicActivily selectSzxcPublicActivilyById(Long id); + + /** + * 查询公益活动列表 + * + * @param szxcPublicActivily 公益活动 + * @return 公益活动集合 + */ + public List selectSzxcPublicActivilyList(SzxcPublicActivily szxcPublicActivily); + + /** + * 新增公益活动 + * + * @param szxcPublicActivily 公益活动 + * @return 结果 + */ + public int insertSzxcPublicActivily(SzxcPublicActivily szxcPublicActivily); + + /** + * 修改公益活动 + * + * @param szxcPublicActivily 公益活动 + * @return 结果 + */ + public int updateSzxcPublicActivily(SzxcPublicActivily szxcPublicActivily); + + /** + * 删除公益活动 + * + * @param id 公益活动主键 + * @return 结果 + */ + public int deleteSzxcPublicActivilyById(Long id); + + /** + * 批量删除公益活动 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSzxcPublicActivilyByIds(Long[] ids); +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcVisitRecardMapper.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcVisitRecardMapper.java index c15beb3..03e3bf5 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcVisitRecardMapper.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcVisitRecardMapper.java @@ -7,7 +7,7 @@ import com.ruoyi.szxc.domain.SzxcVisitRecard; * 走访记录Mapper接口 * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ public interface SzxcVisitRecardMapper { diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcWorkGuideMapper.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcWorkGuideMapper.java new file mode 100644 index 0000000..ce16f69 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcWorkGuideMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.szxc.mapper; + +import java.util.List; +import com.ruoyi.szxc.domain.SzxcWorkGuide; + +/** + * 办事指南Mapper接口 + * + * @author hs + * @date 2024-03-16 + */ +public interface SzxcWorkGuideMapper +{ + /** + * 查询办事指南 + * + * @param id 办事指南主键 + * @return 办事指南 + */ + public SzxcWorkGuide selectSzxcWorkGuideById(Long id); + + /** + * 查询办事指南列表 + * + * @param szxcWorkGuide 办事指南 + * @return 办事指南集合 + */ + public List selectSzxcWorkGuideList(SzxcWorkGuide szxcWorkGuide); + + /** + * 新增办事指南 + * + * @param szxcWorkGuide 办事指南 + * @return 结果 + */ + public int insertSzxcWorkGuide(SzxcWorkGuide szxcWorkGuide); + + /** + * 修改办事指南 + * + * @param szxcWorkGuide 办事指南 + * @return 结果 + */ + public int updateSzxcWorkGuide(SzxcWorkGuide szxcWorkGuide); + + /** + * 删除办事指南 + * + * @param id 办事指南主键 + * @return 结果 + */ + public int deleteSzxcWorkGuideById(Long id); + + /** + * 批量删除办事指南 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSzxcWorkGuideByIds(Long[] ids); +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcXcRecardMapper.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcXcRecardMapper.java index e017f14..e037713 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcXcRecardMapper.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcXcRecardMapper.java @@ -7,7 +7,7 @@ import com.ruoyi.szxc.domain.SzxcXcRecard; * 巡查记录Mapper接口 * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ public interface SzxcXcRecardMapper { diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcXqInfoMapper.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcXqInfoMapper.java new file mode 100644 index 0000000..0e41553 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/mapper/SzxcXqInfoMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.szxc.mapper; + +import java.util.List; +import com.ruoyi.szxc.domain.SzxcXqInfo; + +/** + * 小区信息Mapper接口 + * + * @author hs + * @date 2024-03-16 + */ +public interface SzxcXqInfoMapper +{ + /** + * 查询小区信息 + * + * @param id 小区信息主键 + * @return 小区信息 + */ + public SzxcXqInfo selectSzxcXqInfoById(Long id); + + /** + * 查询小区信息列表 + * + * @param szxcXqInfo 小区信息 + * @return 小区信息集合 + */ + public List selectSzxcXqInfoList(SzxcXqInfo szxcXqInfo); + + /** + * 新增小区信息 + * + * @param szxcXqInfo 小区信息 + * @return 结果 + */ + public int insertSzxcXqInfo(SzxcXqInfo szxcXqInfo); + + /** + * 修改小区信息 + * + * @param szxcXqInfo 小区信息 + * @return 结果 + */ + public int updateSzxcXqInfo(SzxcXqInfo szxcXqInfo); + + /** + * 删除小区信息 + * + * @param id 小区信息主键 + * @return 结果 + */ + public int deleteSzxcXqInfoById(Long id); + + /** + * 批量删除小区信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteSzxcXqInfoByIds(Long[] ids); +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcJmInfoService.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcJmInfoService.java index 3b300e7..6a710b2 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcJmInfoService.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcJmInfoService.java @@ -1,13 +1,14 @@ package com.ruoyi.szxc.service; -import java.util.List; import com.ruoyi.szxc.domain.SzxcJmInfo; +import java.util.List; + /** * 居民信息Service接口 * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ public interface ISzxcJmInfoService { diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcLdInfoService.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcLdInfoService.java new file mode 100644 index 0000000..879de8d --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcLdInfoService.java @@ -0,0 +1,61 @@ +package com.ruoyi.szxc.service; + +import java.util.List; +import com.ruoyi.szxc.domain.SzxcLdInfo; + +/** + * 楼栋信息Service接口 + * + * @author hs + * @date 2024-03-16 + */ +public interface ISzxcLdInfoService +{ + /** + * 查询楼栋信息 + * + * @param id 楼栋信息主键 + * @return 楼栋信息 + */ + public SzxcLdInfo selectSzxcLdInfoById(Long id); + + /** + * 查询楼栋信息列表 + * + * @param szxcLdInfo 楼栋信息 + * @return 楼栋信息集合 + */ + public List selectSzxcLdInfoList(SzxcLdInfo szxcLdInfo); + + /** + * 新增楼栋信息 + * + * @param szxcLdInfo 楼栋信息 + * @return 结果 + */ + public int insertSzxcLdInfo(SzxcLdInfo szxcLdInfo); + + /** + * 修改楼栋信息 + * + * @param szxcLdInfo 楼栋信息 + * @return 结果 + */ + public int updateSzxcLdInfo(SzxcLdInfo szxcLdInfo); + + /** + * 批量删除楼栋信息 + * + * @param ids 需要删除的楼栋信息主键集合 + * @return 结果 + */ + public int deleteSzxcLdInfoByIds(Long[] ids); + + /** + * 删除楼栋信息信息 + * + * @param id 楼栋信息主键 + * @return 结果 + */ + public int deleteSzxcLdInfoById(Long id); +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcLunboService.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcLunboService.java new file mode 100644 index 0000000..f5b9e90 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcLunboService.java @@ -0,0 +1,61 @@ +package com.ruoyi.szxc.service; + +import java.util.List; +import com.ruoyi.szxc.domain.SzxcLunbo; + +/** + * 轮播设置Service接口 + * + * @author hs + * @date 2024-03-16 + */ +public interface ISzxcLunboService +{ + /** + * 查询轮播设置 + * + * @param id 轮播设置主键 + * @return 轮播设置 + */ + public SzxcLunbo selectSzxcLunboById(Long id); + + /** + * 查询轮播设置列表 + * + * @param szxcLunbo 轮播设置 + * @return 轮播设置集合 + */ + public List selectSzxcLunboList(SzxcLunbo szxcLunbo); + + /** + * 新增轮播设置 + * + * @param szxcLunbo 轮播设置 + * @return 结果 + */ + public int insertSzxcLunbo(SzxcLunbo szxcLunbo); + + /** + * 修改轮播设置 + * + * @param szxcLunbo 轮播设置 + * @return 结果 + */ + public int updateSzxcLunbo(SzxcLunbo szxcLunbo); + + /** + * 批量删除轮播设置 + * + * @param ids 需要删除的轮播设置主键集合 + * @return 结果 + */ + public int deleteSzxcLunboByIds(Long[] ids); + + /** + * 删除轮播设置信息 + * + * @param id 轮播设置主键 + * @return 结果 + */ + public int deleteSzxcLunboById(Long id); +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcPublicActivilyService.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcPublicActivilyService.java new file mode 100644 index 0000000..bef9ea1 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcPublicActivilyService.java @@ -0,0 +1,61 @@ +package com.ruoyi.szxc.service; + +import java.util.List; +import com.ruoyi.szxc.domain.SzxcPublicActivily; + +/** + * 公益活动Service接口 + * + * @author hs + * @date 2024-03-16 + */ +public interface ISzxcPublicActivilyService +{ + /** + * 查询公益活动 + * + * @param id 公益活动主键 + * @return 公益活动 + */ + public SzxcPublicActivily selectSzxcPublicActivilyById(Long id); + + /** + * 查询公益活动列表 + * + * @param szxcPublicActivily 公益活动 + * @return 公益活动集合 + */ + public List selectSzxcPublicActivilyList(SzxcPublicActivily szxcPublicActivily); + + /** + * 新增公益活动 + * + * @param szxcPublicActivily 公益活动 + * @return 结果 + */ + public int insertSzxcPublicActivily(SzxcPublicActivily szxcPublicActivily); + + /** + * 修改公益活动 + * + * @param szxcPublicActivily 公益活动 + * @return 结果 + */ + public int updateSzxcPublicActivily(SzxcPublicActivily szxcPublicActivily); + + /** + * 批量删除公益活动 + * + * @param ids 需要删除的公益活动主键集合 + * @return 结果 + */ + public int deleteSzxcPublicActivilyByIds(Long[] ids); + + /** + * 删除公益活动信息 + * + * @param id 公益活动主键 + * @return 结果 + */ + public int deleteSzxcPublicActivilyById(Long id); +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcVisitRecardService.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcVisitRecardService.java index b11c4f1..42e624b 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcVisitRecardService.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcVisitRecardService.java @@ -7,7 +7,7 @@ import com.ruoyi.szxc.domain.SzxcVisitRecard; * 走访记录Service接口 * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ public interface ISzxcVisitRecardService { diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcWorkGuideService.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcWorkGuideService.java new file mode 100644 index 0000000..194c8f5 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcWorkGuideService.java @@ -0,0 +1,61 @@ +package com.ruoyi.szxc.service; + +import java.util.List; +import com.ruoyi.szxc.domain.SzxcWorkGuide; + +/** + * 办事指南Service接口 + * + * @author hs + * @date 2024-03-16 + */ +public interface ISzxcWorkGuideService +{ + /** + * 查询办事指南 + * + * @param id 办事指南主键 + * @return 办事指南 + */ + public SzxcWorkGuide selectSzxcWorkGuideById(Long id); + + /** + * 查询办事指南列表 + * + * @param szxcWorkGuide 办事指南 + * @return 办事指南集合 + */ + public List selectSzxcWorkGuideList(SzxcWorkGuide szxcWorkGuide); + + /** + * 新增办事指南 + * + * @param szxcWorkGuide 办事指南 + * @return 结果 + */ + public int insertSzxcWorkGuide(SzxcWorkGuide szxcWorkGuide); + + /** + * 修改办事指南 + * + * @param szxcWorkGuide 办事指南 + * @return 结果 + */ + public int updateSzxcWorkGuide(SzxcWorkGuide szxcWorkGuide); + + /** + * 批量删除办事指南 + * + * @param ids 需要删除的办事指南主键集合 + * @return 结果 + */ + public int deleteSzxcWorkGuideByIds(Long[] ids); + + /** + * 删除办事指南信息 + * + * @param id 办事指南主键 + * @return 结果 + */ + public int deleteSzxcWorkGuideById(Long id); +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcXcRecardService.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcXcRecardService.java index 231bf75..184a2c4 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcXcRecardService.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcXcRecardService.java @@ -7,7 +7,7 @@ import com.ruoyi.szxc.domain.SzxcXcRecard; * 巡查记录Service接口 * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ public interface ISzxcXcRecardService { diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcXqInfoService.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcXqInfoService.java new file mode 100644 index 0000000..3a9a07e --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/ISzxcXqInfoService.java @@ -0,0 +1,61 @@ +package com.ruoyi.szxc.service; + +import java.util.List; +import com.ruoyi.szxc.domain.SzxcXqInfo; + +/** + * 小区信息Service接口 + * + * @author hs + * @date 2024-03-16 + */ +public interface ISzxcXqInfoService +{ + /** + * 查询小区信息 + * + * @param id 小区信息主键 + * @return 小区信息 + */ + public SzxcXqInfo selectSzxcXqInfoById(Long id); + + /** + * 查询小区信息列表 + * + * @param szxcXqInfo 小区信息 + * @return 小区信息集合 + */ + public List selectSzxcXqInfoList(SzxcXqInfo szxcXqInfo); + + /** + * 新增小区信息 + * + * @param szxcXqInfo 小区信息 + * @return 结果 + */ + public int insertSzxcXqInfo(SzxcXqInfo szxcXqInfo); + + /** + * 修改小区信息 + * + * @param szxcXqInfo 小区信息 + * @return 结果 + */ + public int updateSzxcXqInfo(SzxcXqInfo szxcXqInfo); + + /** + * 批量删除小区信息 + * + * @param ids 需要删除的小区信息主键集合 + * @return 结果 + */ + public int deleteSzxcXqInfoByIds(Long[] ids); + + /** + * 删除小区信息信息 + * + * @param id 小区信息主键 + * @return 结果 + */ + public int deleteSzxcXqInfoById(Long id); +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcJmInfoServiceImpl.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcJmInfoServiceImpl.java index a3cc866..6735c49 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcJmInfoServiceImpl.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcJmInfoServiceImpl.java @@ -1,18 +1,19 @@ package com.ruoyi.szxc.service.impl; -import java.util.List; import com.ruoyi.common.utils.DateUtils; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import com.ruoyi.szxc.mapper.SzxcJmInfoMapper; import com.ruoyi.szxc.domain.SzxcJmInfo; +import com.ruoyi.szxc.mapper.SzxcJmInfoMapper; import com.ruoyi.szxc.service.ISzxcJmInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; /** * 居民信息Service业务层处理 * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ @Service public class SzxcJmInfoServiceImpl implements ISzxcJmInfoService diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcLdInfoServiceImpl.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcLdInfoServiceImpl.java new file mode 100644 index 0000000..66ce002 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcLdInfoServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.szxc.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.szxc.mapper.SzxcLdInfoMapper; +import com.ruoyi.szxc.domain.SzxcLdInfo; +import com.ruoyi.szxc.service.ISzxcLdInfoService; + +/** + * 楼栋信息Service业务层处理 + * + * @author hs + * @date 2024-03-16 + */ +@Service +public class SzxcLdInfoServiceImpl implements ISzxcLdInfoService +{ + @Autowired + private SzxcLdInfoMapper szxcLdInfoMapper; + + /** + * 查询楼栋信息 + * + * @param id 楼栋信息主键 + * @return 楼栋信息 + */ + @Override + public SzxcLdInfo selectSzxcLdInfoById(Long id) + { + return szxcLdInfoMapper.selectSzxcLdInfoById(id); + } + + /** + * 查询楼栋信息列表 + * + * @param szxcLdInfo 楼栋信息 + * @return 楼栋信息 + */ + @Override + public List selectSzxcLdInfoList(SzxcLdInfo szxcLdInfo) + { + return szxcLdInfoMapper.selectSzxcLdInfoList(szxcLdInfo); + } + + /** + * 新增楼栋信息 + * + * @param szxcLdInfo 楼栋信息 + * @return 结果 + */ + @Override + public int insertSzxcLdInfo(SzxcLdInfo szxcLdInfo) + { + szxcLdInfo.setCreateTime(DateUtils.getNowDate()); + return szxcLdInfoMapper.insertSzxcLdInfo(szxcLdInfo); + } + + /** + * 修改楼栋信息 + * + * @param szxcLdInfo 楼栋信息 + * @return 结果 + */ + @Override + public int updateSzxcLdInfo(SzxcLdInfo szxcLdInfo) + { + szxcLdInfo.setUpdateTime(DateUtils.getNowDate()); + return szxcLdInfoMapper.updateSzxcLdInfo(szxcLdInfo); + } + + /** + * 批量删除楼栋信息 + * + * @param ids 需要删除的楼栋信息主键 + * @return 结果 + */ + @Override + public int deleteSzxcLdInfoByIds(Long[] ids) + { + return szxcLdInfoMapper.deleteSzxcLdInfoByIds(ids); + } + + /** + * 删除楼栋信息信息 + * + * @param id 楼栋信息主键 + * @return 结果 + */ + @Override + public int deleteSzxcLdInfoById(Long id) + { + return szxcLdInfoMapper.deleteSzxcLdInfoById(id); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcLunboServiceImpl.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcLunboServiceImpl.java new file mode 100644 index 0000000..e86da65 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcLunboServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.szxc.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.szxc.mapper.SzxcLunboMapper; +import com.ruoyi.szxc.domain.SzxcLunbo; +import com.ruoyi.szxc.service.ISzxcLunboService; + +/** + * 轮播设置Service业务层处理 + * + * @author hs + * @date 2024-03-16 + */ +@Service +public class SzxcLunboServiceImpl implements ISzxcLunboService +{ + @Autowired + private SzxcLunboMapper szxcLunboMapper; + + /** + * 查询轮播设置 + * + * @param id 轮播设置主键 + * @return 轮播设置 + */ + @Override + public SzxcLunbo selectSzxcLunboById(Long id) + { + return szxcLunboMapper.selectSzxcLunboById(id); + } + + /** + * 查询轮播设置列表 + * + * @param szxcLunbo 轮播设置 + * @return 轮播设置 + */ + @Override + public List selectSzxcLunboList(SzxcLunbo szxcLunbo) + { + return szxcLunboMapper.selectSzxcLunboList(szxcLunbo); + } + + /** + * 新增轮播设置 + * + * @param szxcLunbo 轮播设置 + * @return 结果 + */ + @Override + public int insertSzxcLunbo(SzxcLunbo szxcLunbo) + { + szxcLunbo.setCreateTime(DateUtils.getNowDate()); + return szxcLunboMapper.insertSzxcLunbo(szxcLunbo); + } + + /** + * 修改轮播设置 + * + * @param szxcLunbo 轮播设置 + * @return 结果 + */ + @Override + public int updateSzxcLunbo(SzxcLunbo szxcLunbo) + { + szxcLunbo.setUpdateTime(DateUtils.getNowDate()); + return szxcLunboMapper.updateSzxcLunbo(szxcLunbo); + } + + /** + * 批量删除轮播设置 + * + * @param ids 需要删除的轮播设置主键 + * @return 结果 + */ + @Override + public int deleteSzxcLunboByIds(Long[] ids) + { + return szxcLunboMapper.deleteSzxcLunboByIds(ids); + } + + /** + * 删除轮播设置信息 + * + * @param id 轮播设置主键 + * @return 结果 + */ + @Override + public int deleteSzxcLunboById(Long id) + { + return szxcLunboMapper.deleteSzxcLunboById(id); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcPublicActivilyServiceImpl.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcPublicActivilyServiceImpl.java new file mode 100644 index 0000000..a67fce7 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcPublicActivilyServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.szxc.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.szxc.mapper.SzxcPublicActivilyMapper; +import com.ruoyi.szxc.domain.SzxcPublicActivily; +import com.ruoyi.szxc.service.ISzxcPublicActivilyService; + +/** + * 公益活动Service业务层处理 + * + * @author hs + * @date 2024-03-16 + */ +@Service +public class SzxcPublicActivilyServiceImpl implements ISzxcPublicActivilyService +{ + @Autowired + private SzxcPublicActivilyMapper szxcPublicActivilyMapper; + + /** + * 查询公益活动 + * + * @param id 公益活动主键 + * @return 公益活动 + */ + @Override + public SzxcPublicActivily selectSzxcPublicActivilyById(Long id) + { + return szxcPublicActivilyMapper.selectSzxcPublicActivilyById(id); + } + + /** + * 查询公益活动列表 + * + * @param szxcPublicActivily 公益活动 + * @return 公益活动 + */ + @Override + public List selectSzxcPublicActivilyList(SzxcPublicActivily szxcPublicActivily) + { + return szxcPublicActivilyMapper.selectSzxcPublicActivilyList(szxcPublicActivily); + } + + /** + * 新增公益活动 + * + * @param szxcPublicActivily 公益活动 + * @return 结果 + */ + @Override + public int insertSzxcPublicActivily(SzxcPublicActivily szxcPublicActivily) + { + szxcPublicActivily.setCreateTime(DateUtils.getNowDate()); + return szxcPublicActivilyMapper.insertSzxcPublicActivily(szxcPublicActivily); + } + + /** + * 修改公益活动 + * + * @param szxcPublicActivily 公益活动 + * @return 结果 + */ + @Override + public int updateSzxcPublicActivily(SzxcPublicActivily szxcPublicActivily) + { + szxcPublicActivily.setUpdateTime(DateUtils.getNowDate()); + return szxcPublicActivilyMapper.updateSzxcPublicActivily(szxcPublicActivily); + } + + /** + * 批量删除公益活动 + * + * @param ids 需要删除的公益活动主键 + * @return 结果 + */ + @Override + public int deleteSzxcPublicActivilyByIds(Long[] ids) + { + return szxcPublicActivilyMapper.deleteSzxcPublicActivilyByIds(ids); + } + + /** + * 删除公益活动信息 + * + * @param id 公益活动主键 + * @return 结果 + */ + @Override + public int deleteSzxcPublicActivilyById(Long id) + { + return szxcPublicActivilyMapper.deleteSzxcPublicActivilyById(id); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcVisitRecardServiceImpl.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcVisitRecardServiceImpl.java index bd90a90..b61698f 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcVisitRecardServiceImpl.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcVisitRecardServiceImpl.java @@ -12,7 +12,7 @@ import com.ruoyi.szxc.service.ISzxcVisitRecardService; * 走访记录Service业务层处理 * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ @Service public class SzxcVisitRecardServiceImpl implements ISzxcVisitRecardService diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcWorkGuideServiceImpl.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcWorkGuideServiceImpl.java new file mode 100644 index 0000000..dc95008 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcWorkGuideServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.szxc.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.szxc.mapper.SzxcWorkGuideMapper; +import com.ruoyi.szxc.domain.SzxcWorkGuide; +import com.ruoyi.szxc.service.ISzxcWorkGuideService; + +/** + * 办事指南Service业务层处理 + * + * @author hs + * @date 2024-03-16 + */ +@Service +public class SzxcWorkGuideServiceImpl implements ISzxcWorkGuideService +{ + @Autowired + private SzxcWorkGuideMapper szxcWorkGuideMapper; + + /** + * 查询办事指南 + * + * @param id 办事指南主键 + * @return 办事指南 + */ + @Override + public SzxcWorkGuide selectSzxcWorkGuideById(Long id) + { + return szxcWorkGuideMapper.selectSzxcWorkGuideById(id); + } + + /** + * 查询办事指南列表 + * + * @param szxcWorkGuide 办事指南 + * @return 办事指南 + */ + @Override + public List selectSzxcWorkGuideList(SzxcWorkGuide szxcWorkGuide) + { + return szxcWorkGuideMapper.selectSzxcWorkGuideList(szxcWorkGuide); + } + + /** + * 新增办事指南 + * + * @param szxcWorkGuide 办事指南 + * @return 结果 + */ + @Override + public int insertSzxcWorkGuide(SzxcWorkGuide szxcWorkGuide) + { + szxcWorkGuide.setCreateTime(DateUtils.getNowDate()); + return szxcWorkGuideMapper.insertSzxcWorkGuide(szxcWorkGuide); + } + + /** + * 修改办事指南 + * + * @param szxcWorkGuide 办事指南 + * @return 结果 + */ + @Override + public int updateSzxcWorkGuide(SzxcWorkGuide szxcWorkGuide) + { + szxcWorkGuide.setUpdateTime(DateUtils.getNowDate()); + return szxcWorkGuideMapper.updateSzxcWorkGuide(szxcWorkGuide); + } + + /** + * 批量删除办事指南 + * + * @param ids 需要删除的办事指南主键 + * @return 结果 + */ + @Override + public int deleteSzxcWorkGuideByIds(Long[] ids) + { + return szxcWorkGuideMapper.deleteSzxcWorkGuideByIds(ids); + } + + /** + * 删除办事指南信息 + * + * @param id 办事指南主键 + * @return 结果 + */ + @Override + public int deleteSzxcWorkGuideById(Long id) + { + return szxcWorkGuideMapper.deleteSzxcWorkGuideById(id); + } +} diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcXcRecardServiceImpl.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcXcRecardServiceImpl.java index 41dbe4c..88dd936 100644 --- a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcXcRecardServiceImpl.java +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcXcRecardServiceImpl.java @@ -12,7 +12,7 @@ import com.ruoyi.szxc.service.ISzxcXcRecardService; * 巡查记录Service业务层处理 * * @author hs - * @date 2024-03-15 + * @date 2024-03-16 */ @Service public class SzxcXcRecardServiceImpl implements ISzxcXcRecardService diff --git a/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcXqInfoServiceImpl.java b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcXqInfoServiceImpl.java new file mode 100644 index 0000000..bd5f2a3 --- /dev/null +++ b/ruoyi-szxc/src/main/java/com/ruoyi/szxc/service/impl/SzxcXqInfoServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.szxc.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.szxc.mapper.SzxcXqInfoMapper; +import com.ruoyi.szxc.domain.SzxcXqInfo; +import com.ruoyi.szxc.service.ISzxcXqInfoService; + +/** + * 小区信息Service业务层处理 + * + * @author hs + * @date 2024-03-16 + */ +@Service +public class SzxcXqInfoServiceImpl implements ISzxcXqInfoService +{ + @Autowired + private SzxcXqInfoMapper szxcXqInfoMapper; + + /** + * 查询小区信息 + * + * @param id 小区信息主键 + * @return 小区信息 + */ + @Override + public SzxcXqInfo selectSzxcXqInfoById(Long id) + { + return szxcXqInfoMapper.selectSzxcXqInfoById(id); + } + + /** + * 查询小区信息列表 + * + * @param szxcXqInfo 小区信息 + * @return 小区信息 + */ + @Override + public List selectSzxcXqInfoList(SzxcXqInfo szxcXqInfo) + { + return szxcXqInfoMapper.selectSzxcXqInfoList(szxcXqInfo); + } + + /** + * 新增小区信息 + * + * @param szxcXqInfo 小区信息 + * @return 结果 + */ + @Override + public int insertSzxcXqInfo(SzxcXqInfo szxcXqInfo) + { + szxcXqInfo.setCreateTime(DateUtils.getNowDate()); + return szxcXqInfoMapper.insertSzxcXqInfo(szxcXqInfo); + } + + /** + * 修改小区信息 + * + * @param szxcXqInfo 小区信息 + * @return 结果 + */ + @Override + public int updateSzxcXqInfo(SzxcXqInfo szxcXqInfo) + { + szxcXqInfo.setUpdateTime(DateUtils.getNowDate()); + return szxcXqInfoMapper.updateSzxcXqInfo(szxcXqInfo); + } + + /** + * 批量删除小区信息 + * + * @param ids 需要删除的小区信息主键 + * @return 结果 + */ + @Override + public int deleteSzxcXqInfoByIds(Long[] ids) + { + return szxcXqInfoMapper.deleteSzxcXqInfoByIds(ids); + } + + /** + * 删除小区信息信息 + * + * @param id 小区信息主键 + * @return 结果 + */ + @Override + public int deleteSzxcXqInfoById(Long id) + { + return szxcXqInfoMapper.deleteSzxcXqInfoById(id); + } +} diff --git a/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcJmInfoMapper.xml b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcJmInfoMapper.xml index 9d7838b..3776956 100644 --- a/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcJmInfoMapper.xml +++ b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcJmInfoMapper.xml @@ -1,9 +1,9 @@ +PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" +"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - + @@ -21,6 +21,14 @@ + + + + + + + + @@ -32,12 +40,12 @@ - select id, dept_id, dept_name, name, old_name, nationality, card_id, born_date, age, sex, jg, relation, jg_nature, long_live, hj_address, phone, head, same_head_ids, off, create_by, create_time, update_by, update_time, user_id from szxc_jm_info + select id, dept_id, dept_name, name, old_name, nationality, card_id, born_date, age, sex, jg, relation, jg_nature, long_live, hj_address, phone, current_address, brqk, hy, xueli, zzmm, zjxy, jkzk, ills, head, same_head_ids, off, create_by, create_time, update_by, update_time, user_id from szxc_jm_info - + - + insert into szxc_jm_info @@ -83,6 +99,14 @@ long_live, hj_address, phone, + current_address, + brqk, + hy, + xueli, + zzmm, + zjxy, + jkzk, + ills, head, same_head_ids, off, @@ -91,7 +115,7 @@ update_by, update_time, user_id, - + #{deptId}, #{deptName}, @@ -108,6 +132,14 @@ #{longLive}, #{hjAddress}, #{phone}, + #{currentAddress}, + #{brqk}, + #{hy}, + #{xueli}, + #{zzmm}, + #{zjxy}, + #{jkzk}, + #{ills}, #{head}, #{sameHeadIds}, #{off}, @@ -116,7 +148,7 @@ #{updateBy}, #{updateTime}, #{userId}, - + @@ -137,6 +169,14 @@ long_live = #{longLive}, hj_address = #{hjAddress}, phone = #{phone}, + current_address = #{currentAddress}, + brqk = #{brqk}, + hy = #{hy}, + xueli = #{xueli}, + zzmm = #{zzmm}, + zjxy = #{zjxy}, + jkzk = #{jkzk}, + ills = #{ills}, head = #{head}, same_head_ids = #{sameHeadIds}, off = #{off}, @@ -154,7 +194,7 @@ - delete from szxc_jm_info where id in + delete from szxc_jm_info where id in #{id} diff --git a/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcLdInfoMapper.xml b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcLdInfoMapper.xml new file mode 100644 index 0000000..95c4847 --- /dev/null +++ b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcLdInfoMapper.xml @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, xq_id, ld_name, xq_type, ld_sort, ldjg, qnfs, lc_num, unit_num, hu_num, ld_describe, create_by, create_time, update_by, update_time, dept_id, dept_name, user_id from szxc_ld_info + + + + + + + + insert into szxc_ld_info + + xq_id, + ld_name, + xq_type, + ld_sort, + ldjg, + qnfs, + lc_num, + unit_num, + hu_num, + ld_describe, + create_by, + create_time, + update_by, + update_time, + dept_id, + dept_name, + user_id, + + + #{xqId}, + #{ldName}, + #{xqType}, + #{ldSort}, + #{ldjg}, + #{qnfs}, + #{lcNum}, + #{unitNum}, + #{huNum}, + #{ldDescribe}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{deptId}, + #{deptName}, + #{userId}, + + + + + update szxc_ld_info + + xq_id = #{xqId}, + ld_name = #{ldName}, + xq_type = #{xqType}, + ld_sort = #{ldSort}, + ldjg = #{ldjg}, + qnfs = #{qnfs}, + lc_num = #{lcNum}, + unit_num = #{unitNum}, + hu_num = #{huNum}, + ld_describe = #{ldDescribe}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + dept_id = #{deptId}, + dept_name = #{deptName}, + user_id = #{userId}, + + where id = #{id} + + + + delete from szxc_ld_info where id = #{id} + + + + delete from szxc_ld_info where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcLunboMapper.xml b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcLunboMapper.xml new file mode 100644 index 0000000..79b49b0 --- /dev/null +++ b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcLunboMapper.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + select id, title, picture, content, remark, create_by, create_time, update_by, update_time from szxc_lunbo + + + + + + + + insert into szxc_lunbo + + title, + picture, + content, + remark, + create_by, + create_time, + update_by, + update_time, + + + #{title}, + #{picture}, + #{content}, + #{remark}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update szxc_lunbo + + title = #{title}, + picture = #{picture}, + content = #{content}, + remark = #{remark}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from szxc_lunbo where id = #{id} + + + + delete from szxc_lunbo where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcPublicActivilyMapper.xml b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcPublicActivilyMapper.xml new file mode 100644 index 0000000..36831ce --- /dev/null +++ b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcPublicActivilyMapper.xml @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + select id, title, leader, phone, type, content, leave, start_time, end_time, create_by, remark, create_time, update_by, update_time, dept_id, dept_name, user_id from szxc_public_activily + + + + + + + + insert into szxc_public_activily + + title, + leader, + phone, + type, + content, + leave, + start_time, + end_time, + create_by, + remark, + create_time, + update_by, + update_time, + dept_id, + dept_name, + user_id, + + + #{title}, + #{leader}, + #{phone}, + #{type}, + #{content}, + #{leave}, + #{startTime}, + #{endTime}, + #{createBy}, + #{remark}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{deptId}, + #{deptName}, + #{userId}, + + + + + update szxc_public_activily + + title = #{title}, + leader = #{leader}, + phone = #{phone}, + type = #{type}, + content = #{content}, + leave = #{leave}, + start_time = #{startTime}, + end_time = #{endTime}, + create_by = #{createBy}, + remark = #{remark}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + dept_id = #{deptId}, + dept_name = #{deptName}, + user_id = #{userId}, + + where id = #{id} + + + + delete from szxc_public_activily where id = #{id} + + + + delete from szxc_public_activily where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcVisitRecardMapper.xml b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcVisitRecardMapper.xml index d93db58..85ea702 100644 --- a/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcVisitRecardMapper.xml +++ b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcVisitRecardMapper.xml @@ -10,6 +10,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + @@ -25,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, visiter_name, submit_date, visit_date, type, visit_obj, title, picture, content, flow_people, create_by, create_time, update_by, update_time, dept_id, dept_name, user_id from szxc_visit_recard + select id, visiter_name, submit_date, visit_date, type, jm_id, visit_obj, title, picture, content, flow_people, create_by, create_time, update_by, update_time, dept_id, dept_name, user_id from szxc_visit_recard + + + and title = #{title} + and content = #{content} + and status = #{status} + + + + + + + insert into szxc_work_guide + + title, + content, + status, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{title}, + #{content}, + #{status}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update szxc_work_guide + + title = #{title}, + content = #{content}, + status = #{status}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from szxc_work_guide where id = #{id} + + + + delete from szxc_work_guide where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcXcRecardMapper.xml b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcXcRecardMapper.xml index 5a719d7..0c6e9d7 100644 --- a/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcXcRecardMapper.xml +++ b/ruoyi-szxc/src/main/resources/mapper/szxc/SzxcXcRecardMapper.xml @@ -6,11 +6,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + - + - + + @@ -26,17 +27,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, visiter_name, submit_date, visit_date, type, visit_obj, title, picture, content, flow_people, reform, create_by, create_time, update_by, update_time, dept_id, dept_name, user_id from szxc_xc_recard + select id, xc_name, submit_date, xc_date, type, jm_id, xc_obj, title, picture, content, flow_people, reform, create_by, create_time, update_by, update_time, dept_id, dept_name, user_id from szxc_xc_recard + + + and xq_type = #{xqType} + and ld_num = #{ldNum} + and jz_area = #{jzArea} + and zd_area = #{zdArea} + and wy_type = #{wyType} + and wy_response = #{wyResponse} + and wy_phone = #{wyPhone} + and xq_address = #{xqAddress} + and build_date = #{buildDate} + and xq_describe = #{xqDescribe} + and dept_id = #{deptId} + and dept_name like concat('%', #{deptName}, '%') + and user_id = #{userId} + + + + + + + insert into szxc_xq_info + + xq_type, + ld_num, + jz_area, + zd_area, + wy_type, + wy_response, + wy_phone, + xq_address, + build_date, + xq_describe, + create_by, + create_time, + update_by, + update_time, + dept_id, + dept_name, + user_id, + + + #{xqType}, + #{ldNum}, + #{jzArea}, + #{zdArea}, + #{wyType}, + #{wyResponse}, + #{wyPhone}, + #{xqAddress}, + #{buildDate}, + #{xqDescribe}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{deptId}, + #{deptName}, + #{userId}, + + + + + update szxc_xq_info + + xq_type = #{xqType}, + ld_num = #{ldNum}, + jz_area = #{jzArea}, + zd_area = #{zdArea}, + wy_type = #{wyType}, + wy_response = #{wyResponse}, + wy_phone = #{wyPhone}, + xq_address = #{xqAddress}, + build_date = #{buildDate}, + xq_describe = #{xqDescribe}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + dept_id = #{deptId}, + dept_name = #{deptName}, + user_id = #{userId}, + + where id = #{id} + + + + delete from szxc_xq_info where id = #{id} + + + + delete from szxc_xq_info where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-ui/src/api/szxc/activily.js b/ruoyi-ui/src/api/szxc/activily.js new file mode 100644 index 0000000..a2eaf50 --- /dev/null +++ b/ruoyi-ui/src/api/szxc/activily.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询公益活动列表 +export function listActivily(query) { + return request({ + url: '/szxc/activily/list', + method: 'get', + params: query + }) +} + +// 查询公益活动详细 +export function getActivily(id) { + return request({ + url: '/szxc/activily/' + id, + method: 'get' + }) +} + +// 新增公益活动 +export function addActivily(data) { + return request({ + url: '/szxc/activily', + method: 'post', + data: data + }) +} + +// 修改公益活动 +export function updateActivily(data) { + return request({ + url: '/szxc/activily', + method: 'put', + data: data + }) +} + +// 删除公益活动 +export function delActivily(id) { + return request({ + url: '/szxc/activily/' + id, + method: 'delete' + }) +} diff --git a/ruoyi-ui/src/api/szxc/guide.js b/ruoyi-ui/src/api/szxc/guide.js new file mode 100644 index 0000000..8f2f701 --- /dev/null +++ b/ruoyi-ui/src/api/szxc/guide.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询办事指南列表 +export function listGuide(query) { + return request({ + url: '/szxc/guide/list', + method: 'get', + params: query + }) +} + +// 查询办事指南详细 +export function getGuide(id) { + return request({ + url: '/szxc/guide/' + id, + method: 'get' + }) +} + +// 新增办事指南 +export function addGuide(data) { + return request({ + url: '/szxc/guide', + method: 'post', + data: data + }) +} + +// 修改办事指南 +export function updateGuide(data) { + return request({ + url: '/szxc/guide', + method: 'put', + data: data + }) +} + +// 删除办事指南 +export function delGuide(id) { + return request({ + url: '/szxc/guide/' + id, + method: 'delete' + }) +} diff --git a/ruoyi-ui/src/api/szxc/ldinfo.js b/ruoyi-ui/src/api/szxc/ldinfo.js new file mode 100644 index 0000000..77cd7cc --- /dev/null +++ b/ruoyi-ui/src/api/szxc/ldinfo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询楼栋信息列表 +export function listLdinfo(query) { + return request({ + url: '/szxc/ldinfo/list', + method: 'get', + params: query + }) +} + +// 查询楼栋信息详细 +export function getLdinfo(id) { + return request({ + url: '/szxc/ldinfo/' + id, + method: 'get' + }) +} + +// 新增楼栋信息 +export function addLdinfo(data) { + return request({ + url: '/szxc/ldinfo', + method: 'post', + data: data + }) +} + +// 修改楼栋信息 +export function updateLdinfo(data) { + return request({ + url: '/szxc/ldinfo', + method: 'put', + data: data + }) +} + +// 删除楼栋信息 +export function delLdinfo(id) { + return request({ + url: '/szxc/ldinfo/' + id, + method: 'delete' + }) +} diff --git a/ruoyi-ui/src/api/szxc/lunbo.js b/ruoyi-ui/src/api/szxc/lunbo.js new file mode 100644 index 0000000..8aca6f3 --- /dev/null +++ b/ruoyi-ui/src/api/szxc/lunbo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询轮播设置列表 +export function listLunbo(query) { + return request({ + url: '/szxc/lunbo/list', + method: 'get', + params: query + }) +} + +// 查询轮播设置详细 +export function getLunbo(id) { + return request({ + url: '/szxc/lunbo/' + id, + method: 'get' + }) +} + +// 新增轮播设置 +export function addLunbo(data) { + return request({ + url: '/szxc/lunbo', + method: 'post', + data: data + }) +} + +// 修改轮播设置 +export function updateLunbo(data) { + return request({ + url: '/szxc/lunbo', + method: 'put', + data: data + }) +} + +// 删除轮播设置 +export function delLunbo(id) { + return request({ + url: '/szxc/lunbo/' + id, + method: 'delete' + }) +} diff --git a/ruoyi-ui/src/api/szxc/xqinfo.js b/ruoyi-ui/src/api/szxc/xqinfo.js new file mode 100644 index 0000000..a5aec70 --- /dev/null +++ b/ruoyi-ui/src/api/szxc/xqinfo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询小区信息列表 +export function listXqinfo(query) { + return request({ + url: '/szxc/xqinfo/list', + method: 'get', + params: query + }) +} + +// 查询小区信息详细 +export function getXqinfo(id) { + return request({ + url: '/szxc/xqinfo/' + id, + method: 'get' + }) +} + +// 新增小区信息 +export function addXqinfo(data) { + return request({ + url: '/szxc/xqinfo', + method: 'post', + data: data + }) +} + +// 修改小区信息 +export function updateXqinfo(data) { + return request({ + url: '/szxc/xqinfo', + method: 'put', + data: data + }) +} + +// 删除小区信息 +export function delXqinfo(id) { + return request({ + url: '/szxc/xqinfo/' + id, + method: 'delete' + }) +} diff --git a/ruoyi-ui/src/views/szxc/activily/index.vue b/ruoyi-ui/src/views/szxc/activily/index.vue new file mode 100644 index 0000000..9744ee6 --- /dev/null +++ b/ruoyi-ui/src/views/szxc/activily/index.vue @@ -0,0 +1,399 @@ + + + diff --git a/ruoyi-ui/src/views/szxc/guide/index.vue b/ruoyi-ui/src/views/szxc/guide/index.vue new file mode 100644 index 0000000..e9d6fa0 --- /dev/null +++ b/ruoyi-ui/src/views/szxc/guide/index.vue @@ -0,0 +1,263 @@ + + + diff --git a/ruoyi-ui/src/views/szxc/jminfo/index.vue b/ruoyi-ui/src/views/szxc/jminfo/index.vue index f6ed810..a80f907 100644 --- a/ruoyi-ui/src/views/szxc/jminfo/index.vue +++ b/ruoyi-ui/src/views/szxc/jminfo/index.vue @@ -1,10 +1,10 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +