xuhy
2025-11-11 0111f782fc0ab99cc0ddb747617a6b85717e6b68
大屏接口
64个文件已添加
14个文件已修改
3132 ■■■■■ 已修改文件
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/DataStatisticsController.java 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TAppealServicesController.java 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/THtmlConfigController.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeDeptController.java 109 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeKeyGridUserController.java 116 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeKeyPersonnelTypeController.java 137 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeOrganizationController.java 121 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeResourceController.java 117 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeResourceTypeController.java 122 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeSocialWorkerController.java 115 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeUserController.java 118 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeVolunteerController.java 115 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TPartyBuildingController.java 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/core/config/SwaggerConfig.java 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-applet/src/main/java/com/ruoyi/web/core/config/SwaggerConfig.java 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-common/src/main/java/com/ruoyi/common/core/controller/FileController.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-common/src/main/java/com/ruoyi/common/filter/RequestFilterConfig.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeDeptMapper.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeKeyGridUserMapper.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeKeyPersonnelTypeMapper.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeOrganizationMapper.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeResourceMapper.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeResourceTypeMapper.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeSocialWorkerMapper.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeUserMapper.java 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeVolunteerMapper.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/model/THtmlConfig.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeDept.java 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeKeyGridUser.java 76 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeKeyPersonnelType.java 44 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeOrganization.java 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeResource.java 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeResourceType.java 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeSocialWorker.java 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeUser.java 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeVolunteer.java 66 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/model/TPartyBuilding.java 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/query/TLargeKeyGridUserQuery.java 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/query/TLargeOrganizationQuery.java 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/query/TLargeResourceQuery.java 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/query/TLargeSocialWorkerQuery.java 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/query/TLargeUserQuery.java 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/query/TLargeVolunteerQuery.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeDeptService.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeKeyGridUserService.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeKeyPersonnelTypeService.java 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeOrganizationService.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeResourceService.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeResourceTypeService.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeSocialWorkerService.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeUserService.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeVolunteerService.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeDeptServiceImpl.java 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeKeyGridUserServiceImpl.java 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeKeyPersonnelTypeServiceImpl.java 46 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeOrganizationServiceImpl.java 46 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeResourceServiceImpl.java 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeResourceTypeServiceImpl.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeSocialWorkerServiceImpl.java 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeUserServiceImpl.java 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeVolunteerServiceImpl.java 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/vo/TLargeKeyGridUserVO.java 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/vo/TLargeResourceVO.java 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/vo/TLargeUserVO.java 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/resources/mapper/system/TLargeDeptMapper.xml 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/resources/mapper/system/TLargeKeyGridUserMapper.xml 59 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/resources/mapper/system/TLargeKeyPersonnelTypeMapper.xml 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/resources/mapper/system/TLargeOrganizationMapper.xml 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/resources/mapper/system/TLargeResourceMapper.xml 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/resources/mapper/system/TLargeResourceTypeMapper.xml 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/resources/mapper/system/TLargeSocialWorkerMapper.xml 46 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/resources/mapper/system/TLargeUserMapper.xml 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/resources/mapper/system/TLargeVolunteerMapper.xml 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/resources/mapper/system/TPartyBuildingMapper.xml 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/DataStatisticsController.java
New file
@@ -0,0 +1,156 @@
package com.ruoyi.web.controller.api;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.model.*;
import com.ruoyi.system.service.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.*;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
@Api(tags = "数据大屏")
@RestController
@RequestMapping("/statistics")
public class DataStatisticsController {
    private final TAppealServicesService appealServicesService;
    private final TOldsterWarningService oldsterWarningService;
    private final THtmlConfigService htmlConfigService;
    private final TLargeDeptService largeDeptService;
    private final TLargeUserService largeUserService;
    private final TLargeOrganizationService largeOrganizationService;
    private final TLargeResourceService largeResourceService;
    private final TLargeSocialWorkerService largeSocialWorkerService;
    private final TLargeVolunteerService largeVolunteerService;
    private final TLargeKeyGridUserService largeKeyGridUserService;
    private final TLargeKeyPersonnelTypeService largeKeyPersonnelTypeService;
    @Autowired
    public DataStatisticsController(TAppealServicesService appealServicesService, TOldsterWarningService oldsterWarningService, THtmlConfigService htmlConfigService, TLargeDeptService largeDeptService, TLargeUserService largeUserService, TLargeOrganizationService largeOrganizationService, TLargeResourceService largeResourceService, TLargeSocialWorkerService largeSocialWorkerService, TLargeVolunteerService largeVolunteerService, TLargeKeyGridUserService largeKeyGridUserService, TLargeKeyPersonnelTypeService largeKeyPersonnelTypeService) {
        this.appealServicesService = appealServicesService;
        this.oldsterWarningService = oldsterWarningService;
        this.htmlConfigService = htmlConfigService;
        this.largeDeptService = largeDeptService;
        this.largeUserService = largeUserService;
        this.largeOrganizationService = largeOrganizationService;
        this.largeResourceService = largeResourceService;
        this.largeSocialWorkerService = largeSocialWorkerService;
        this.largeVolunteerService = largeVolunteerService;
        this.largeKeyGridUserService = largeKeyGridUserService;
        this.largeKeyPersonnelTypeService = largeKeyPersonnelTypeService;
    }
    /**
     * 获取组织部门管理列表
     */
    @ApiOperation(value = "获取组织部门列表")
    @GetMapping(value = "/deptList")
    public R<List<TLargeDept>> deptList() {
        return R.ok(largeDeptService.list(Wrappers.lambdaQuery(TLargeDept.class).orderByDesc(TLargeDept::getCreateTime)));
    }
    /**
     * 获取组织人员管理列表
     */
    @ApiOperation(value = "获取组织人员分页列表")
    @GetMapping(value = "/largeUserList")
    public R<List<TLargeUser>> largeUserList(@RequestParam String deptId) {
        List<TLargeUser> list = largeUserService.list(Wrappers.lambdaQuery(TLargeUser.class)
                .eq(TLargeUser::getDeptId, deptId)
                .orderByDesc(TLargeUser::getCreateTime));
        return R.ok(list);
    }
    /**
     * 事件中心
     */
    @ApiOperation(value = "事件中心",notes = "appealServicesCount:居民上报事件,warningCount:养老告警事件")
    @GetMapping(value = "/eventCenter")
    public R<Map<String,Long>> eventCenter() {
        // 居民上报事件
        long appealServicesCount = appealServicesService.count();
        // 养老告警事件
        long warningCount = oldsterWarningService.count();
        Map<String,Long> map = new HashMap<>();
        map.put("appealServicesCount",appealServicesCount);
        map.put("warningCount",warningCount);
        return R.ok(map);
    }
    /**
     * 社区地图-社区概况
     */
    @ApiOperation(value = "社区地图-社区概况",notes = "14=社区地图 15=社区概况")
    @GetMapping(value = "/communityProfile")
    public R<THtmlConfig> communityProfile(@RequestParam Integer configType) {
        THtmlConfig sysConfig = htmlConfigService.getOne(Wrappers.<THtmlConfig>lambdaQuery().eq(THtmlConfig::getConfigType, configType)
                .last("LIMIT 1"));
        return R.ok(sysConfig);
    }
    /**
     * 五社联动
     */
    @ApiOperation(value = "五社联动",notes = "resourceCount:社区资源,socialWorkerCount:社区工作者,volunteerCount:社区志愿者,organizationCount:社区组织")
    @GetMapping(value = "/fiveSocietyLinkage")
    public R<Map<String,Long>> fiveSocietyLinkage() {
        // 社区资源
        long resourceCount = largeResourceService.count();
        // 社区工作者
        long socialWorkerCount = largeSocialWorkerService.count();
        // 社区志愿者
        long volunteerCount = largeVolunteerService.count();
        // 社区组织
        long organizationCount = largeOrganizationService.count();
        Map<String,Long> map = new HashMap<>();
        map.put("resourceCount",resourceCount);
        map.put("socialWorkerCount",socialWorkerCount);
        map.put("volunteerCount",volunteerCount);
        map.put("organizationCount",organizationCount);
        return R.ok(map);
    }
    /**
     * 网格-重点人数
     */
    @ApiOperation(value = "网格-重点人数",notes = "keyCount:重点人数,gridCount:网格人数")
    @GetMapping(value = "/keyGridUserCount")
    public R<Map<String,Long>> keyGridUserCount() {
        // 重点人数
        long keyCount = largeKeyGridUserService.count(Wrappers.lambdaQuery(TLargeKeyGridUser.class)
                .eq(TLargeKeyGridUser::getUserType, 1));
        // 网格人数
        long gridCount = largeKeyGridUserService.count(Wrappers.lambdaQuery(TLargeKeyGridUser.class)
                .eq(TLargeKeyGridUser::getUserType, 2));
        Map<String,Long> map = new HashMap<>();
        map.put("keyCount",keyCount);
        map.put("gridCount",gridCount);
        return R.ok(map);
    }
    /**
     * 重点人员情况
     */
    @ApiOperation(value = "重点人员情况",notes = "keyCount:重点人数,gridCount:网格人数")
    @GetMapping(value = "/keyPersonnelSituation")
    public R<List<TLargeKeyPersonnelType>> keyPersonnelSituation() {
        List<TLargeKeyPersonnelType> list = largeKeyPersonnelTypeService.list();
        List<TLargeKeyGridUser> largeKeyGridUsers = largeKeyGridUserService.list();
        for (TLargeKeyPersonnelType largeKeyPersonnelType : list) {
            if(largeKeyPersonnelType.getShowType() == 2 && !CollectionUtils.isEmpty(largeKeyGridUsers)){
                // 查询真实的汇总数据
                List<TLargeKeyGridUser> users = largeKeyGridUsers.stream().filter(largeKeyGridUser -> largeKeyGridUser.getTypeId().equals(largeKeyPersonnelType.getId())).collect(Collectors.toList());
                largeKeyPersonnelType.setShowNumber(users.size());
            }
        }
        return R.ok(list);
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TAppealServicesController.java
@@ -49,6 +49,14 @@
    public R<PageInfo<TAppealServicesVO>> pageList(@RequestBody TAppealServicesQuery query) {
        return R.ok(appealServicesService.pageList(query));
    }
    /**
     * 获取诉求服务管理管理列表
     */
    @ApiOperation(value = "获取诉求服务管理分页列表-大屏使用")
    @PostMapping(value = "/pageListLarge")
    public R<PageInfo<TAppealServicesVO>> pageListLarge(@RequestBody TAppealServicesQuery query) {
        return R.ok(appealServicesService.pageList(query));
    }
    /**
     * 获取诉求服务管理管理列表
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/THtmlConfigController.java
@@ -47,7 +47,7 @@
    /**
     * 查看系统配置-协议管理详情
     */
    @ApiOperation(value = "查看系统配置-协议管理详情",notes = "配置类型 类型 1=托育服务 2=阅芽计划 3=办事指南图文指引 4=暖心服务图片 5=注册协议 6=隐私政策 7=学习申请书 8=安全告知书 9=购买支付说明 10=微心愿风险提示 11=群众诉求服务说明 12=随手拍说明")
    @ApiOperation(value = "查看系统配置-协议管理详情",notes = "配置类型 类型 1=托育服务 2=阅芽计划 3=办事指南图文指引 4=暖心服务图片 5=注册协议 6=隐私政策 7=学习申请书 8=安全告知书 9=购买支付说明 10=微心愿风险提示 11=群众诉求服务说明 12=随手拍说明 13=康年年图文介绍 14=社区地图 15=社区概况")
    @GetMapping(value = "/getDetailById")
    public R<THtmlConfig> getDetailById(@RequestParam Integer configType) {
        THtmlConfig sysConfig = htmlConfigService.getOne(Wrappers.<THtmlConfig>lambdaQuery().eq(THtmlConfig::getConfigType, configType)
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeDeptController.java
New file
@@ -0,0 +1,109 @@
package com.ruoyi.web.controller.api;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.model.TLargeDept;
import com.ruoyi.system.model.TLargeUser;
import com.ruoyi.system.service.TLargeDeptService;
import com.ruoyi.system.service.TLargeUserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
 * <p>
 * 大屏-组织部门 前端控制器
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Api(tags = "大屏-组织部门")
@RestController
@RequestMapping("/t-large-dept")
public class TLargeDeptController {
    private final TLargeDeptService largeDeptService;
    private final TLargeUserService largeUserService;
    @Autowired
    public TLargeDeptController(TLargeDeptService largeDeptService, TLargeUserService largeUserService) {
        this.largeDeptService = largeDeptService;
        this.largeUserService = largeUserService;
    }
    /**
     * 获取组织部门管理列表
     */
    @ApiOperation(value = "获取组织部门列表")
    @PostMapping(value = "/list")
    public R<List<TLargeDept>> list() {
        return R.ok(largeDeptService.list(Wrappers.lambdaQuery(TLargeDept.class).orderByDesc(TLargeDept::getCreateTime)));
    }
    /**
     * 添加组织部门管理
     */
    @Log(title = "组织部门信息-新增组织部门", businessType = BusinessType.INSERT)
    @ApiOperation(value = "添加组织部门")
    @PostMapping(value = "/add")
    public R<Boolean> add(@Validated @RequestBody TLargeDept dto) {
        if (largeDeptService.isExit(dto)) {
            return R.fail("组织部门已存在");
        }
        return R.ok(largeDeptService.save(dto));
    }
    /**
     * 修改组织部门
     */
    @Log(title = "组织部门信息-修改组织部门", businessType = BusinessType.UPDATE)
    @ApiOperation(value = "修改组织部门")
    @PostMapping(value = "/update")
    public R<Boolean> update(@Validated @RequestBody TLargeDept dto) {
        if (largeDeptService.isExit(dto)) {
            return R.fail("组织部门已存在");
        }
        return R.ok(largeDeptService.updateById(dto));
    }
    /**
     * 删除组织部门
     */
    @Log(title = "组织部门信息-删除组织部门", businessType = BusinessType.DELETE)
    @ApiOperation(value = "删除组织部门")
    @DeleteMapping(value = "/deleteById")
    public R<Boolean> deleteById(@RequestParam String id) {
        // 查询是否存在人员
        long count = largeUserService.count(Wrappers.lambdaQuery(TLargeUser.class)
                .eq(TLargeUser::getDeptId, id));
        if (count > 0) {
            return R.fail("组织部门下存在人员,请先删除人员");
        }
        return R.ok(largeDeptService.removeById(id));
    }
    /**
     * 批量删除组织部门
     */
    @Log(title = "组织部门信息-删除组织部门", businessType = BusinessType.DELETE)
    @ApiOperation(value = "批量删除组织部门")
    @DeleteMapping(value = "/deleteByIds")
    public R<Boolean> deleteByIds(@RequestBody List<String> ids) {
        // 查询是否存在人员
        long count = largeUserService.count(Wrappers.lambdaQuery(TLargeUser.class)
                .in(TLargeUser::getDeptId, ids));
        if (count > 0) {
            return R.fail("组织部门下存在人员,请先删除人员");
        }
        return R.ok(largeDeptService.removeByIds(ids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeKeyGridUserController.java
New file
@@ -0,0 +1,116 @@
package com.ruoyi.web.controller.api;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.model.TLargeKeyGridUser;
import com.ruoyi.system.query.TLargeKeyGridUserQuery;
import com.ruoyi.system.service.TLargeKeyGridUserService;
import com.ruoyi.system.vo.TLargeKeyGridUserVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
 * <p>
 * 大屏-重点人员-网格人员 前端控制器
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Api(tags = "大屏-重点人员-网格人员")
@RestController
@RequestMapping("/t-large-key-grid-user")
public class TLargeKeyGridUserController {
    private final TLargeKeyGridUserService largeKeyGridUserService;
    @Autowired
    public TLargeKeyGridUserController(TLargeKeyGridUserService largeKeyGridUserService) {
        this.largeKeyGridUserService = largeKeyGridUserService;
    }
    /**
     * 获取重点人员-网格人员管理列表
     */
    @ApiOperation(value = "获取重点人员-网格人员分页列表")
    @PostMapping(value = "/pageList")
    public R<PageInfo<TLargeKeyGridUserVO>> pageList(@Validated @RequestBody TLargeKeyGridUserQuery query) {
        return R.ok(largeKeyGridUserService.pageList(query));
    }
    /**
     * 获取重点人员-网格人员管理列表
     */
    @ApiOperation(value = "获取重点人员-网格人员分页列表-大屏使用")
    @PostMapping(value = "/pageListLarge")
    public R<PageInfo<TLargeKeyGridUserVO>> pageListLarge(@RequestBody TLargeKeyGridUserQuery query) {
        return R.ok(largeKeyGridUserService.pageList(query));
    }
    /**
     * 获取重点人员-网格人员管理列表
     */
    @ApiOperation(value = "获取重点人员-网格人员列表")
    @PostMapping(value = "/list")
    public R<List<TLargeKeyGridUser>> list() {
        return R.ok(largeKeyGridUserService.list(Wrappers.lambdaQuery(TLargeKeyGridUser.class).orderByDesc(TLargeKeyGridUser::getCreateTime)));
    }
    /**
     * 添加重点人员-网格人员管理
     */
    @Log(title = "重点人员-网格人员信息-新增重点人员-网格人员", businessType = BusinessType.INSERT)
    @ApiOperation(value = "添加重点人员-网格人员")
    @PostMapping(value = "/add")
    public R<Boolean> add(@Validated @RequestBody TLargeKeyGridUser dto) {
        return R.ok(largeKeyGridUserService.save(dto));
    }
    /**
     * 修改重点人员-网格人员
     */
    @Log(title = "重点人员-网格人员信息-修改重点人员-网格人员", businessType = BusinessType.UPDATE)
    @ApiOperation(value = "修改重点人员-网格人员")
    @PostMapping(value = "/update")
    public R<Boolean> update(@Validated @RequestBody TLargeKeyGridUser dto) {
        return R.ok(largeKeyGridUserService.updateById(dto));
    }
    /**
     * 查看重点人员-网格人员详情
     */
    @ApiOperation(value = "查看重点人员-网格人员详情")
    @GetMapping(value = "/getDetailById")
    public R<TLargeKeyGridUser> getDetailById(@RequestParam String id) {
        return R.ok(largeKeyGridUserService.getById(id));
    }
    /**
     * 删除重点人员-网格人员
     */
    @Log(title = "重点人员-网格人员信息-删除重点人员-网格人员", businessType = BusinessType.DELETE)
    @ApiOperation(value = "删除重点人员-网格人员")
    @DeleteMapping(value = "/deleteById")
    public R<Boolean> deleteById(@RequestParam String id) {
        return R.ok(largeKeyGridUserService.removeById(id));
    }
    /**
     * 批量删除重点人员-网格人员
     */
    @Log(title = "重点人员-网格人员信息-删除重点人员-网格人员", businessType = BusinessType.DELETE)
    @ApiOperation(value = "批量删除重点人员-网格人员")
    @DeleteMapping(value = "/deleteByIds")
    public R<Boolean> deleteByIds(@RequestBody List<String> ids) {
        return R.ok(largeKeyGridUserService.removeByIds(ids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeKeyPersonnelTypeController.java
New file
@@ -0,0 +1,137 @@
package com.ruoyi.web.controller.api;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.BasePage;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.model.TLargeKeyGridUser;
import com.ruoyi.system.model.TLargeKeyPersonnelType;
import com.ruoyi.system.service.TLargeKeyGridUserService;
import com.ruoyi.system.service.TLargeKeyPersonnelTypeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
 * <p>
 * 大屏-重点人员分类 前端控制器
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Api(tags = "重点人员分类-重点人员分类")
@RestController
@RequestMapping("/t-large-key-personnel-type")
public class TLargeKeyPersonnelTypeController {
    private final TLargeKeyPersonnelTypeService largeKeyPersonnelTypeService;
    private final TLargeKeyGridUserService largeKeyGridUserService;
    @Autowired
    public TLargeKeyPersonnelTypeController(TLargeKeyPersonnelTypeService largeKeyPersonnelTypeService, TLargeKeyGridUserService largeKeyGridUserService) {
        this.largeKeyPersonnelTypeService = largeKeyPersonnelTypeService;
        this.largeKeyGridUserService = largeKeyGridUserService;
    }
    /**
     * 获取重点人员分类管理列表
     */
    @ApiOperation(value = "获取重点人员分类分页列表")
    @PostMapping(value = "/pageList")
    public R<PageInfo<TLargeKeyPersonnelType>> pageList(@RequestBody BasePage query) {
        return R.ok(largeKeyPersonnelTypeService.pageList(query));
    }
    /**
     * 获取重点人员分类管理列表
     */
    @ApiOperation(value = "获取重点人员分类分页列表-大屏使用")
    @PostMapping(value = "/pageListLarge")
    public R<PageInfo<TLargeKeyPersonnelType>> pageListLarge(@RequestBody BasePage query) {
        return R.ok(largeKeyPersonnelTypeService.pageList(query));
    }
    /**
     * 获取重点人员分类管理列表
     */
    @ApiOperation(value = "获取重点人员分类列表")
    @PostMapping(value = "/list")
    public R<List<TLargeKeyPersonnelType>> list() {
        return R.ok(largeKeyPersonnelTypeService.list(Wrappers.lambdaQuery(TLargeKeyPersonnelType.class).orderByDesc(TLargeKeyPersonnelType::getCreateTime)));
    }
    /**
     * 添加重点人员分类管理
     */
    @Log(title = "重点人员分类信息-新增重点人员分类", businessType = BusinessType.INSERT)
    @ApiOperation(value = "添加重点人员分类")
    @PostMapping(value = "/add")
    public R<Boolean> add(@Validated @RequestBody TLargeKeyPersonnelType dto) {
        if (largeKeyPersonnelTypeService.isExit(dto)) {
            return R.fail("人员分类已存在");
        }
        return R.ok(largeKeyPersonnelTypeService.save(dto));
    }
    /**
     * 修改重点人员分类
     */
    @Log(title = "重点人员分类信息-修改重点人员分类", businessType = BusinessType.UPDATE)
    @ApiOperation(value = "修改重点人员分类")
    @PostMapping(value = "/update")
    public R<Boolean> update(@Validated @RequestBody TLargeKeyPersonnelType dto) {
        if (largeKeyPersonnelTypeService.isExit(dto)) {
            return R.fail("人员分类已存在");
        }
        return R.ok(largeKeyPersonnelTypeService.updateById(dto));
    }
    /**
     * 查看重点人员分类详情
     */
    @ApiOperation(value = "查看重点人员分类详情")
    @GetMapping(value = "/getDetailById")
    public R<TLargeKeyPersonnelType> getDetailById(@RequestParam String id) {
        return R.ok(largeKeyPersonnelTypeService.getById(id));
    }
    /**
     * 删除重点人员分类
     */
    @Log(title = "重点人员分类信息-删除重点人员分类", businessType = BusinessType.DELETE)
    @ApiOperation(value = "删除重点人员分类")
    @DeleteMapping(value = "/deleteById")
    public R<Boolean> deleteById(@RequestParam String id) {
        // 判断分类是否被使用
        long count = largeKeyGridUserService.count(Wrappers.lambdaQuery(TLargeKeyGridUser.class)
                .eq(TLargeKeyGridUser::getTypeId, id));
        if (count > 0) {
            return R.fail("该分类被使用,请先删除该分类下的人员");
        }
        return R.ok(largeKeyPersonnelTypeService.removeById(id));
    }
    /**
     * 批量删除重点人员分类
     */
    @Log(title = "重点人员分类信息-删除重点人员分类", businessType = BusinessType.DELETE)
    @ApiOperation(value = "批量删除重点人员分类")
    @DeleteMapping(value = "/deleteByIds")
    public R<Boolean> deleteByIds(@RequestBody List<String> ids) {
        // 判断分类是否被使用
        long count = largeKeyGridUserService.count(Wrappers.lambdaQuery(TLargeKeyGridUser.class)
                .in(TLargeKeyGridUser::getTypeId, ids));
        if (count > 0) {
            return R.fail("该分类被使用,请先删除该分类下的人员");
        }
        return R.ok(largeKeyPersonnelTypeService.removeByIds(ids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeOrganizationController.java
New file
@@ -0,0 +1,121 @@
package com.ruoyi.web.controller.api;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.model.TLargeOrganization;
import com.ruoyi.system.query.TLargeOrganizationQuery;
import com.ruoyi.system.service.TLargeOrganizationService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
 * <p>
 * 大屏-社会组织 前端控制器
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Api(tags = "大屏-社会组织")
@RestController
@RequestMapping("/t-large-organization")
public class TLargeOrganizationController {
    private final TLargeOrganizationService largeOrganizationService;
    @Autowired
    public TLargeOrganizationController(TLargeOrganizationService largeOrganizationService) {
        this.largeOrganizationService = largeOrganizationService;
    }
    /**
     * 获取社会组织管理列表
     */
    @ApiOperation(value = "获取社会组织分页列表")
    @PostMapping(value = "/pageList")
    public R<PageInfo<TLargeOrganization>> pageList(@RequestBody TLargeOrganizationQuery query) {
        return R.ok(largeOrganizationService.pageList(query));
    }
    /**
     * 获取社会组织管理列表
     */
    @ApiOperation(value = "获取社会组织分页列表-大屏使用")
    @PostMapping(value = "/pageListLarge")
    public R<PageInfo<TLargeOrganization>> pageListLarge(@RequestBody TLargeOrganizationQuery query) {
        return R.ok(largeOrganizationService.pageList(query));
    }
    /**
     * 获取社会组织管理列表
     */
    @ApiOperation(value = "获取社会组织列表")
    @PostMapping(value = "/list")
    public R<List<TLargeOrganization>> list() {
        return R.ok(largeOrganizationService.list(Wrappers.lambdaQuery(TLargeOrganization.class).orderByDesc(TLargeOrganization::getCreateTime)));
    }
    /**
     * 添加社会组织管理
     */
    @Log(title = "社会组织信息-新增社会组织", businessType = BusinessType.INSERT)
    @ApiOperation(value = "添加社会组织")
    @PostMapping(value = "/add")
    public R<Boolean> add(@Validated @RequestBody TLargeOrganization dto) {
        if (largeOrganizationService.isExit(dto)) {
            return R.fail("组织名称已存在");
        }
        return R.ok(largeOrganizationService.save(dto));
    }
    /**
     * 修改社会组织
     */
    @Log(title = "社会组织信息-修改社会组织", businessType = BusinessType.UPDATE)
    @ApiOperation(value = "修改社会组织")
    @PostMapping(value = "/update")
    public R<Boolean> update(@Validated @RequestBody TLargeOrganization dto) {
        if (largeOrganizationService.isExit(dto)) {
            return R.fail("组织名称已存在");
        }
        return R.ok(largeOrganizationService.updateById(dto));
    }
    /**
     * 查看社会组织详情
     */
    @ApiOperation(value = "查看社会组织详情")
    @GetMapping(value = "/getDetailById")
    public R<TLargeOrganization> getDetailById(@RequestParam String id) {
        return R.ok(largeOrganizationService.getById(id));
    }
    /**
     * 删除社会组织
     */
    @Log(title = "社会组织信息-删除社会组织", businessType = BusinessType.DELETE)
    @ApiOperation(value = "删除社会组织")
    @DeleteMapping(value = "/deleteById")
    public R<Boolean> deleteById(@RequestParam String id) {
        return R.ok(largeOrganizationService.removeById(id));
    }
    /**
     * 批量删除社会组织
     */
    @Log(title = "社会组织信息-删除社会组织", businessType = BusinessType.DELETE)
    @ApiOperation(value = "批量删除社会组织")
    @DeleteMapping(value = "/deleteByIds")
    public R<Boolean> deleteByIds(@RequestBody List<String> ids) {
        return R.ok(largeOrganizationService.removeByIds(ids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeResourceController.java
New file
@@ -0,0 +1,117 @@
package com.ruoyi.web.controller.api;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.model.TLargeResource;
import com.ruoyi.system.query.TLargeResourceQuery;
import com.ruoyi.system.service.TLargeResourceService;
import com.ruoyi.system.vo.TLargeResourceVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
 * <p>
 * 大屏-社区资源 前端控制器
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Api(tags = "大屏-社区资源")
@RestController
@RequestMapping("/t-large-resource")
public class TLargeResourceController {
    private final TLargeResourceService largeResourceService;
    @Autowired
    public TLargeResourceController(TLargeResourceService largeResourceService) {
        this.largeResourceService = largeResourceService;
    }
    /**
     * 获取社区资源管理列表
     */
    @ApiOperation(value = "获取社区资源分页列表")
    @PostMapping(value = "/pageList")
    public R<PageInfo<TLargeResourceVO>> pageList(@RequestBody TLargeResourceQuery query) {
        return R.ok(largeResourceService.pageList(query));
    }
    /**
     * 获取社区资源管理列表
     */
    @ApiOperation(value = "获取社区资源分页列表-大屏使用")
    @PostMapping(value = "/pageListLarge")
    public R<PageInfo<TLargeResourceVO>> pageListLarge(@RequestBody TLargeResourceQuery query) {
        return R.ok(largeResourceService.pageList(query));
    }
    /**
     * 获取社区资源管理列表
     */
    @ApiOperation(value = "获取社区资源列表")
    @PostMapping(value = "/list")
    public R<List<TLargeResource>> list() {
        return R.ok(largeResourceService.list(Wrappers.lambdaQuery(TLargeResource.class).orderByDesc(TLargeResource::getCreateTime)));
    }
    /**
     * 添加社区资源管理
     */
    @Log(title = "社区资源信息-新增社区资源", businessType = BusinessType.INSERT)
    @ApiOperation(value = "添加社区资源")
    @PostMapping(value = "/add")
    public R<Boolean> add(@Validated @RequestBody TLargeResource dto) {
        return R.ok(largeResourceService.save(dto));
    }
    /**
     * 修改社区资源
     */
    @Log(title = "社区资源信息-修改社区资源", businessType = BusinessType.UPDATE)
    @ApiOperation(value = "修改社区资源")
    @PostMapping(value = "/update")
    public R<Boolean> update(@Validated @RequestBody TLargeResource dto) {
        return R.ok(largeResourceService.updateById(dto));
    }
    /**
     * 查看社区资源详情
     */
    @ApiOperation(value = "查看社区资源详情")
    @GetMapping(value = "/getDetailById")
    public R<TLargeResource> getDetailById(@RequestParam String id) {
        return R.ok(largeResourceService.getById(id));
    }
    /**
     * 删除社区资源
     */
    @Log(title = "社区资源信息-删除社区资源", businessType = BusinessType.DELETE)
    @ApiOperation(value = "删除社区资源")
    @DeleteMapping(value = "/deleteById")
    public R<Boolean> deleteById(@RequestParam String id) {
        return R.ok(largeResourceService.removeById(id));
    }
    /**
     * 批量删除社区资源
     */
    @Log(title = "社区资源信息-删除社区资源", businessType = BusinessType.DELETE)
    @ApiOperation(value = "批量删除社区资源")
    @DeleteMapping(value = "/deleteByIds")
    public R<Boolean> deleteByIds(@RequestBody List<String> ids) {
        return R.ok(largeResourceService.removeByIds(ids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeResourceTypeController.java
New file
@@ -0,0 +1,122 @@
package com.ruoyi.web.controller.api;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.model.TLargeResource;
import com.ruoyi.system.model.TLargeResourceType;
import com.ruoyi.system.service.TLargeResourceService;
import com.ruoyi.system.service.TLargeResourceTypeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.stream.Collectors;
/**
 * <p>
 * 大屏-社区资源分类 前端控制器
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Api(tags = "大屏-社区资源分类")
@RestController
@RequestMapping("/t-large-resource-type")
public class TLargeResourceTypeController {
    private final TLargeResourceTypeService largeResourceTypeService;
    private final TLargeResourceService largeResourceService;
    @Autowired
    public TLargeResourceTypeController(TLargeResourceTypeService largeResourceTypeService, TLargeResourceService largeResourceService) {
        this.largeResourceTypeService = largeResourceTypeService;
        this.largeResourceService = largeResourceService;
    }
    /**
     * 获取社区资源分类管理列表
     */
    @ApiOperation(value = "获取社区资源分类列表")
    @PostMapping(value = "/list")
    public R<List<TLargeResourceType>> list() {
        List<TLargeResourceType> allList = largeResourceTypeService.list(Wrappers.lambdaQuery(TLargeResourceType.class).orderByDesc(TLargeResourceType::getCreateTime));
        List<TLargeResourceType> parent = allList.stream().filter(item -> "0".equals(item.getParentId())).collect(Collectors.toList());
        for (TLargeResourceType tLargeResourceType : parent) {
            List<TLargeResourceType> children = allList.stream().filter(item -> tLargeResourceType.getId().equals(item.getParentId())).collect(Collectors.toList());
            tLargeResourceType.setChildren(children);
        }
        return R.ok(parent);
    }
    /**
     * 添加社区资源分类管理
     */
    @Log(title = "社区资源分类信息-新增社区资源分类", businessType = BusinessType.INSERT)
    @ApiOperation(value = "添加社区资源分类")
    @PostMapping(value = "/add")
    public R<Boolean> add(@Validated @RequestBody TLargeResourceType dto) {
        return R.ok(largeResourceTypeService.save(dto));
    }
    /**
     * 修改社区资源分类
     */
    @Log(title = "社区资源分类信息-修改社区资源分类", businessType = BusinessType.UPDATE)
    @ApiOperation(value = "修改社区资源分类")
    @PostMapping(value = "/update")
    public R<Boolean> update(@Validated @RequestBody TLargeResourceType dto) {
        return R.ok(largeResourceTypeService.updateById(dto));
    }
    /**
     * 查看社区资源分类详情
     */
    @ApiOperation(value = "查看社区资源分类详情")
    @GetMapping(value = "/getDetailById")
    public R<TLargeResourceType> getDetailById(@RequestParam String id) {
        return R.ok(largeResourceTypeService.getById(id));
    }
    /**
     * 删除社区资源分类
     */
    @Log(title = "社区资源分类信息-删除社区资源分类", businessType = BusinessType.DELETE)
    @ApiOperation(value = "删除社区资源分类")
    @DeleteMapping(value = "/deleteById")
    public R<Boolean> deleteById(@RequestParam String id) {
        // 判断是否已有分类被使用
        long count = largeResourceService.count(Wrappers.lambdaQuery(TLargeResource.class)
                .and(e -> e.eq(TLargeResource::getTypeParentId, id).or().eq(TLargeResource::getTypeChildrenId, id)));
        if (count > 0) {
            return R.fail("该分类已被使用,请先删除该分类下的资源");
        }
        return R.ok(largeResourceTypeService.removeById(id));
    }
    /**
     * 批量删除社区资源分类
     */
    @Log(title = "社区资源分类信息-删除社区资源分类", businessType = BusinessType.DELETE)
    @ApiOperation(value = "批量删除社区资源分类")
    @DeleteMapping(value = "/deleteByIds")
    public R<Boolean> deleteByIds(@RequestBody List<String> ids) {
        // 判断是否已有分类被使用
        long count = largeResourceService.count(Wrappers.lambdaQuery(TLargeResource.class)
                .and(e -> e.in(TLargeResource::getTypeParentId, ids).or().in(TLargeResource::getTypeChildrenId, ids)));
        if (count > 0) {
            return R.fail("该分类已被使用,请先删除该分类下的资源");
        }
        return R.ok(largeResourceTypeService.removeByIds(ids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeSocialWorkerController.java
New file
@@ -0,0 +1,115 @@
package com.ruoyi.web.controller.api;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.model.TLargeSocialWorker;
import com.ruoyi.system.query.TLargeSocialWorkerQuery;
import com.ruoyi.system.service.TLargeSocialWorkerService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
 * <p>
 * 大屏-社会工作者 前端控制器
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Api(tags = "大屏-社会工作者")
@RestController
@RequestMapping("/t-large-social-worker")
public class TLargeSocialWorkerController {
    private final TLargeSocialWorkerService largeSocialWorkerService;
    @Autowired
    public TLargeSocialWorkerController(TLargeSocialWorkerService largeSocialWorkerService) {
        this.largeSocialWorkerService = largeSocialWorkerService;
    }
    /**
     * 获取社会工作者管理列表
     */
    @ApiOperation(value = "获取社会工作者分页列表")
    @PostMapping(value = "/pageList")
    public R<PageInfo<TLargeSocialWorker>> pageList(@RequestBody TLargeSocialWorkerQuery query) {
        return R.ok(largeSocialWorkerService.pageList(query));
    }
    /**
     * 获取社会工作者管理列表
     */
    @ApiOperation(value = "获取社会工作者分页列表-大屏使用")
    @PostMapping(value = "/pageListLarge")
    public R<PageInfo<TLargeSocialWorker>> pageListLarge(@RequestBody TLargeSocialWorkerQuery query) {
        return R.ok(largeSocialWorkerService.pageList(query));
    }
    /**
     * 获取社会工作者管理列表
     */
    @ApiOperation(value = "获取社会工作者列表")
    @PostMapping(value = "/list")
    public R<List<TLargeSocialWorker>> list() {
        return R.ok(largeSocialWorkerService.list(Wrappers.lambdaQuery(TLargeSocialWorker.class).orderByDesc(TLargeSocialWorker::getCreateTime)));
    }
    /**
     * 添加社会工作者管理
     */
    @Log(title = "社会工作者信息-新增社会工作者", businessType = BusinessType.INSERT)
    @ApiOperation(value = "添加社会工作者")
    @PostMapping(value = "/add")
    public R<Boolean> add(@Validated @RequestBody TLargeSocialWorker dto) {
        return R.ok(largeSocialWorkerService.save(dto));
    }
    /**
     * 修改社会工作者
     */
    @Log(title = "社会工作者信息-修改社会工作者", businessType = BusinessType.UPDATE)
    @ApiOperation(value = "修改社会工作者")
    @PostMapping(value = "/update")
    public R<Boolean> update(@Validated @RequestBody TLargeSocialWorker dto) {
        return R.ok(largeSocialWorkerService.updateById(dto));
    }
    /**
     * 查看社会工作者详情
     */
    @ApiOperation(value = "查看社会工作者详情")
    @GetMapping(value = "/getDetailById")
    public R<TLargeSocialWorker> getDetailById(@RequestParam String id) {
        return R.ok(largeSocialWorkerService.getById(id));
    }
    /**
     * 删除社会工作者
     */
    @Log(title = "社会工作者信息-删除社会工作者", businessType = BusinessType.DELETE)
    @ApiOperation(value = "删除社会工作者")
    @DeleteMapping(value = "/deleteById")
    public R<Boolean> deleteById(@RequestParam String id) {
        return R.ok(largeSocialWorkerService.removeById(id));
    }
    /**
     * 批量删除社会工作者
     */
    @Log(title = "社会工作者信息-删除社会工作者", businessType = BusinessType.DELETE)
    @ApiOperation(value = "批量删除社会工作者")
    @DeleteMapping(value = "/deleteByIds")
    public R<Boolean> deleteByIds(@RequestBody List<String> ids) {
        return R.ok(largeSocialWorkerService.removeByIds(ids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeUserController.java
New file
@@ -0,0 +1,118 @@
package com.ruoyi.web.controller.api;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.model.TLargeUser;
import com.ruoyi.system.query.TLargeUserQuery;
import com.ruoyi.system.service.TLargeUserService;
import com.ruoyi.system.vo.TLargeUserVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
 * <p>
 * 大屏-组织人员 前端控制器
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Api(tags = "大屏-组织人员")
@RestController
@RequestMapping("/t-large-user")
public class TLargeUserController {
    private final TLargeUserService largeUserService;
    @Autowired
    public TLargeUserController(TLargeUserService largeUserService) {
        this.largeUserService = largeUserService;
    }
    /**
     * 获取组织人员管理列表
     */
    @ApiOperation(value = "获取组织人员分页列表")
    @PostMapping(value = "/pageList")
    public R<PageInfo<TLargeUserVO>> pageList(@RequestBody TLargeUserQuery query) {
        return R.ok(largeUserService.pageList(query));
    }
    /**
     * 获取组织人员管理列表
     */
    @ApiOperation(value = "获取组织人员分页列表-大屏使用")
    @PostMapping(value = "/pageListLarge")
    public R<PageInfo<TLargeUserVO>> pageListLarge(@RequestBody TLargeUserQuery query) {
        return R.ok(largeUserService.pageList(query));
    }
    /**
     * 获取组织人员管理列表
     */
    @ApiOperation(value = "获取组织人员列表")
    @PostMapping(value = "/list")
    public R<List<TLargeUser>> list() {
        return R.ok(largeUserService.list(Wrappers.lambdaQuery(TLargeUser.class).orderByDesc(TLargeUser::getCreateTime)));
    }
    /**
     * 添加组织人员管理
     */
    @Log(title = "组织人员信息-新增组织人员", businessType = BusinessType.INSERT)
    @ApiOperation(value = "添加组织人员")
    @PostMapping(value = "/add")
    public R<Boolean> add(@Validated @RequestBody TLargeUser dto) {
        return R.ok(largeUserService.save(dto));
    }
    /**
     * 修改组织人员
     */
    @Log(title = "组织人员信息-修改组织人员", businessType = BusinessType.UPDATE)
    @ApiOperation(value = "修改组织人员")
    @PostMapping(value = "/update")
    public R<Boolean> update(@Validated @RequestBody TLargeUser dto) {
        return R.ok(largeUserService.updateById(dto));
    }
    /**
     * 查看组织人员详情
     */
    @ApiOperation(value = "查看组织人员详情")
    @GetMapping(value = "/getDetailById")
    public R<TLargeUser> getDetailById(@RequestParam String id) {
        return R.ok(largeUserService.getById(id));
    }
    /**
     * 删除组织人员
     */
    @Log(title = "组织人员信息-删除组织人员", businessType = BusinessType.DELETE)
    @ApiOperation(value = "删除组织人员")
    @DeleteMapping(value = "/deleteById")
    public R<Boolean> deleteById(@RequestParam String id) {
        return R.ok(largeUserService.removeById(id));
    }
    /**
     * 批量删除组织人员
     */
    @Log(title = "组织人员信息-删除组织人员", businessType = BusinessType.DELETE)
    @ApiOperation(value = "批量删除组织人员")
    @DeleteMapping(value = "/deleteByIds")
    public R<Boolean> deleteByIds(@RequestBody List<String> ids) {
        return R.ok(largeUserService.removeByIds(ids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeVolunteerController.java
New file
@@ -0,0 +1,115 @@
package com.ruoyi.web.controller.api;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.model.TLargeVolunteer;
import com.ruoyi.system.query.TLargeVolunteerQuery;
import com.ruoyi.system.service.TLargeVolunteerService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
 * <p>
 * 大屏-社区志愿者 前端控制器
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Api(tags = "大屏-社区志愿者")
@RestController
@RequestMapping("/t-large-volunteer")
public class TLargeVolunteerController {
    private final TLargeVolunteerService largeVolunteerService;
    @Autowired
    public TLargeVolunteerController(TLargeVolunteerService largeVolunteerService) {
        this.largeVolunteerService = largeVolunteerService;
    }
    /**
     * 获取社区志愿者管理列表
     */
    @ApiOperation(value = "获取社区志愿者分页列表")
    @PostMapping(value = "/pageList")
    public R<PageInfo<TLargeVolunteer>> pageList(@RequestBody TLargeVolunteerQuery query) {
        return R.ok(largeVolunteerService.pageList(query));
    }
    /**
     * 获取社区志愿者管理列表
     */
    @ApiOperation(value = "获取社区志愿者分页列表-大屏使用")
    @PostMapping(value = "/pageListLarge")
    public R<PageInfo<TLargeVolunteer>> pageListLarge(@RequestBody TLargeVolunteerQuery query) {
        return R.ok(largeVolunteerService.pageList(query));
    }
    /**
     * 获取社区志愿者管理列表
     */
    @ApiOperation(value = "获取社区志愿者列表")
    @PostMapping(value = "/list")
    public R<List<TLargeVolunteer>> list() {
        return R.ok(largeVolunteerService.list(Wrappers.lambdaQuery(TLargeVolunteer.class).orderByDesc(TLargeVolunteer::getCreateTime)));
    }
    /**
     * 添加社区志愿者管理
     */
    @Log(title = "社区志愿者信息-新增社区志愿者", businessType = BusinessType.INSERT)
    @ApiOperation(value = "添加社区志愿者")
    @PostMapping(value = "/add")
    public R<Boolean> add(@Validated @RequestBody TLargeVolunteer dto) {
        return R.ok(largeVolunteerService.save(dto));
    }
    /**
     * 修改社区志愿者
     */
    @Log(title = "社区志愿者信息-修改社区志愿者", businessType = BusinessType.UPDATE)
    @ApiOperation(value = "修改社区志愿者")
    @PostMapping(value = "/update")
    public R<Boolean> update(@Validated @RequestBody TLargeVolunteer dto) {
        return R.ok(largeVolunteerService.updateById(dto));
    }
    /**
     * 查看社区志愿者详情
     */
    @ApiOperation(value = "查看社区志愿者详情")
    @GetMapping(value = "/getDetailById")
    public R<TLargeVolunteer> getDetailById(@RequestParam String id) {
        return R.ok(largeVolunteerService.getById(id));
    }
    /**
     * 删除社区志愿者
     */
    @Log(title = "社区志愿者信息-删除社区志愿者", businessType = BusinessType.DELETE)
    @ApiOperation(value = "删除社区志愿者")
    @DeleteMapping(value = "/deleteById")
    public R<Boolean> deleteById(@RequestParam String id) {
        return R.ok(largeVolunteerService.removeById(id));
    }
    /**
     * 批量删除社区志愿者
     */
    @Log(title = "社区志愿者信息-删除社区志愿者", businessType = BusinessType.DELETE)
    @ApiOperation(value = "批量删除社区志愿者")
    @DeleteMapping(value = "/deleteByIds")
    public R<Boolean> deleteByIds(@RequestBody List<String> ids) {
        return R.ok(largeVolunteerService.removeByIds(ids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TPartyBuildingController.java
@@ -6,6 +6,7 @@
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.framework.web.service.TokenService;
import com.ruoyi.system.model.TPartyBuilding;
import com.ruoyi.system.query.TPartyBuildingQuery;
import com.ruoyi.system.service.TPartyBuildingService;
@@ -32,9 +33,11 @@
public class TPartyBuildingController {
    private final TPartyBuildingService partyBuildingService;
    private final TokenService tokenService;
    @Autowired
    public TPartyBuildingController(TPartyBuildingService partyBuildingService) {
    public TPartyBuildingController(TPartyBuildingService partyBuildingService, TokenService tokenService) {
        this.partyBuildingService = partyBuildingService;
        this.tokenService = tokenService;
    }
    /**
@@ -65,6 +68,8 @@
        if (partyBuildingService.isExit(dto)) {
            return R.fail("党建引领管理标题已存在");
        }
        String nickName = tokenService.getLoginUser().getUser().getNickName();
        dto.setReleasePerson(nickName);
        return R.ok(partyBuildingService.save(dto));
    }
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java
@@ -57,7 +57,7 @@
     * @return 结果
     */
    @ApiOperation(value = "账号密码登录",notes = "账号密码登录")
    @PostMapping("/api/login")
    @PostMapping("/login")
    public AjaxResult login(@RequestBody String param)
    {
        LoginBody loginBody = JSON.parseObject(param, LoginBody.class);
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java
@@ -175,7 +175,7 @@
//    @PreAuthorize("@ss.hasPermi('system:role:edit')")
    @ApiOperation(value = "编辑角色",response = SysRoleDTO.class)
    @Log(title = "角色信息-编辑角色", businessType = BusinessType.UPDATE)
    @PostMapping("/api/system/role/edit")
    @PostMapping("/system/role/edit")
    public R<String> edit(@RequestBody String param)
    {
        SysRoleDTO dto = JSON.parseObject(param, SysRoleDTO.class);
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java
@@ -224,7 +224,7 @@
    // @PreAuthorize("@ss.hasPermi('system:user:edit')")
    @ApiOperation(value = "修改用户签名")
    @Log(title = "用户信息-修改用户签名", businessType = BusinessType.UPDATE)
    @PostMapping("/api/system/user/editSignPicture")
    @PostMapping("/system/user/editSignPicture")
    public R editSignPicture(@RequestBody String param)
    {
        Long userId = tokenService.getLoginUser().getUserId();
ruoyi-admin/src/main/java/com/ruoyi/web/core/config/SwaggerConfig.java
@@ -113,9 +113,9 @@
        // 用ApiInfoBuilder进行定制
        return new ApiInfoBuilder()
                // 设置标题
                .title("标题:智能派单管理系统_接口文档")
                .title("标题:移动社区管理系统_接口文档")
                // 描述
                .description("智能派单接口文档")
                .description("移动社区接口文档")
                // 作者信息
                .contact(new Contact(ruoyiConfig.getName(), null, null))
                // 版本
ruoyi-applet/src/main/java/com/ruoyi/web/core/config/SwaggerConfig.java
@@ -113,9 +113,9 @@
        // 用ApiInfoBuilder进行定制
        return new ApiInfoBuilder()
                // 设置标题
                .title("标题:智能派单管理系统_接口文档")
                .title("标题:移动社区管理系统_接口文档")
                // 描述
                .description("智能派单接口文档")
                .description("移动社区接口文档")
                // 作者信息
                .contact(new Contact(ruoyiConfig.getName(), null, null))
                // 版本
ruoyi-common/src/main/java/com/ruoyi/common/core/controller/FileController.java
@@ -40,7 +40,7 @@
        }
        String TimeDir =new SimpleDateFormat("yyyy-MM-dd").format(new Date());
//        String realPath = fileUploadConfig.getLocation() + TimeDir;
        String realPath = "F:\\file\\laboratory\\" + TimeDir;
        String realPath = "F:\\file\\mobile\\" + TimeDir;
        File file = new File(realPath);
        // 没有目录就创建
        if (!file.exists()) {
ruoyi-common/src/main/java/com/ruoyi/common/filter/RequestFilterConfig.java
@@ -7,14 +7,14 @@
@Configuration
public class RequestFilterConfig {
    @Bean
    public FilterRegistrationBean<SmCryptoFilter> loggingFilter(){
        FilterRegistrationBean<SmCryptoFilter> registrationBean = new FilterRegistrationBean<>();
        registrationBean.setFilter(new SmCryptoFilter());
        registrationBean.addUrlPatterns("/api/*"); // 根据实际需求调整URL模式
//        registrationBean.addInitParameter("excludedUrls","/api/*");
        return registrationBean;
    }
//    @Bean
//    public FilterRegistrationBean<SmCryptoFilter> loggingFilter(){
//        FilterRegistrationBean<SmCryptoFilter> registrationBean = new FilterRegistrationBean<>();
//
//        registrationBean.setFilter(new SmCryptoFilter());
//        registrationBean.addUrlPatterns("/api/*"); // 根据实际需求调整URL模式
////        registrationBean.addInitParameter("excludedUrls","/api/*");
//
//        return registrationBean;
//    }
}
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
@@ -112,18 +112,23 @@
                .authorizeRequests()
                // 对于登录login 注册register 验证码captchaImage 允许匿名访问
                .antMatchers("/getPrivacyAgreement/{agreementType}",
                        "/applet/queryProtocolConfigByType","/api/loginApp",
                        "/api/login","/open/login","/applet/queryProtocolConfigByType",
                        "/applet/queryProtocolConfigByType","/loginApp",
                        "/login","/open/login","/applet/queryProtocolConfigByType",
                        "/register","/applet/getCode","/applet/loginCode",
                        "/applet/changepwd", "/captchaImage","/getCode","/loginCode",
                        "/operations/getBySingleNum/**",
                        "/user/getUserInfoByNumber/**",
                        "/index/**",
                        "/employment/**",
                        "/partyBuilding/**",
                        "/convenience/**",
                        "/merchant/**"
                        "/merchant/**",
                        "/t-appeal-services/pageListLarge","/t-large-dept/list",
                        "/t-large-key-grid-user/pageListLarge","/t-large-key-personnel-type/pageListLarge",
                        "/t-large-organization/pageListLarge","/t-large-resource/pageListLarge",
                        "/t-large-resource-type/list","/t-large-social-worker/pageListLarge",
                        "/t-large-user/pageListLarge","/t-large-volunteer/pageListLarge",
                        "/statistics/**"
                ).permitAll()
                // 静态资源,可匿名访问
                .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeDeptMapper.java
New file
@@ -0,0 +1,16 @@
package com.ruoyi.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.model.TLargeDept;
/**
 * <p>
 * 大屏-组织部门 Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeDeptMapper extends BaseMapper<TLargeDept> {
}
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeKeyGridUserMapper.java
New file
@@ -0,0 +1,31 @@
package com.ruoyi.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TLargeKeyGridUser;
import com.ruoyi.system.query.TLargeKeyGridUserQuery;
import com.ruoyi.system.vo.TLargeKeyGridUserVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * <p>
 * 大屏-重点人员-网格人员 Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeKeyGridUserMapper extends BaseMapper<TLargeKeyGridUser> {
    /**
     * 获取重点人员-网格人员列表
     * @param query
     * @param pageInfo
     * @return
     */
    List<TLargeKeyGridUserVO> pageList(@Param("query") TLargeKeyGridUserQuery query, @Param("pageInfo")PageInfo<TLargeKeyGridUserVO> pageInfo);
}
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeKeyPersonnelTypeMapper.java
New file
@@ -0,0 +1,26 @@
package com.ruoyi.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.BasePage;
import com.ruoyi.system.model.TLargeKeyPersonnelType;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * <p>
 * 大屏-重点人员分类 Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeKeyPersonnelTypeMapper extends BaseMapper<TLargeKeyPersonnelType> {
    /**
     * 获取重点人员分类管理列表
     */
    List<TLargeKeyPersonnelType> pageList(@Param("query")BasePage query, @Param("pageInfo")PageInfo<TLargeKeyPersonnelType> pageInfo);
}
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeOrganizationMapper.java
New file
@@ -0,0 +1,26 @@
package com.ruoyi.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TLargeOrganization;
import com.ruoyi.system.query.TLargeOrganizationQuery;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * <p>
 * 大屏-社会组织 Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeOrganizationMapper extends BaseMapper<TLargeOrganization> {
    /**
     * 获取社会组织管理列表
     */
    List<TLargeOrganization> pageList(@Param("query") TLargeOrganizationQuery query, @Param("pageInfo")PageInfo<TLargeOrganization> pageInfo);
}
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeResourceMapper.java
New file
@@ -0,0 +1,26 @@
package com.ruoyi.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TLargeResource;
import com.ruoyi.system.query.TLargeResourceQuery;
import com.ruoyi.system.vo.TLargeResourceVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * <p>
 * 大屏-社区资源 Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeResourceMapper extends BaseMapper<TLargeResource> {
    /**
     * 获取社区资源列表
     */
    List<TLargeResourceVO> pageList(@Param("query") TLargeResourceQuery query, @Param("pageInfo")PageInfo<TLargeResourceVO> pageInfo);
}
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeResourceTypeMapper.java
New file
@@ -0,0 +1,16 @@
package com.ruoyi.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.model.TLargeResourceType;
/**
 * <p>
 * 大屏-社区资源分类 Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeResourceTypeMapper extends BaseMapper<TLargeResourceType> {
}
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeSocialWorkerMapper.java
New file
@@ -0,0 +1,25 @@
package com.ruoyi.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TLargeSocialWorker;
import com.ruoyi.system.query.TLargeSocialWorkerQuery;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * <p>
 * 大屏-社会工作者 Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeSocialWorkerMapper extends BaseMapper<TLargeSocialWorker> {
    /**
     * 获取社会工作者分页列表
     */
    List<TLargeSocialWorker> pageList(@Param("query") TLargeSocialWorkerQuery query, @Param("pageInfo")PageInfo<TLargeSocialWorker> pageInfo);
}
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeUserMapper.java
New file
@@ -0,0 +1,28 @@
package com.ruoyi.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TLargeUser;
import com.ruoyi.system.query.TLargeUserQuery;
import com.ruoyi.system.vo.TLargeUserVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * <p>
 * 大屏-组织人员 Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeUserMapper extends BaseMapper<TLargeUser> {
    /**
     * 获取组织人员管理列表
     */
    List<TLargeUserVO> pageList(@Param("query") TLargeUserQuery query, @Param("pageInfo")PageInfo<TLargeUserVO> pageInfo);
}
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TLargeVolunteerMapper.java
New file
@@ -0,0 +1,25 @@
package com.ruoyi.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TLargeVolunteer;
import com.ruoyi.system.query.TLargeVolunteerQuery;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * <p>
 * 大屏-社区志愿者 Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeVolunteerMapper extends BaseMapper<TLargeVolunteer> {
    /**
     * 获取社区志愿者管理列表
     */
    List<TLargeVolunteer> pageList(@Param("query") TLargeVolunteerQuery query, @Param("pageInfo")PageInfo<TLargeVolunteer> pageInfo);
}
ruoyi-system/src/main/java/com/ruoyi/system/model/THtmlConfig.java
@@ -30,7 +30,7 @@
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "类型 1=托育服务 2=阅芽计划 3=办事指南图文指引 4=暖心服务图片 5=注册协议 6=隐私政策 7=学习申请书 8=安全告知书 9=购买支付说明 10=微心愿风险提示 11=群众诉求服务说明 12=随手拍说明 13=康年年图文介绍")
    @ApiModelProperty(value = "类型 1=托育服务 2=阅芽计划 3=办事指南图文指引 4=暖心服务图片 5=注册协议 6=隐私政策 7=学习申请书 8=安全告知书 9=购买支付说明 10=微心愿风险提示 11=群众诉求服务说明 12=随手拍说明 13=康年年图文介绍 14=社区地图 15=社区概况")
    @TableField("config_type")
    private Integer configType;
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeDept.java
New file
@@ -0,0 +1,35 @@
package com.ruoyi.system.model;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * <p>
 * 大屏-组织部门
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_large_dept")
@ApiModel(value="TLargeDept对象", description="大屏-组织部门")
public class TLargeDept extends BaseModel {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @TableField("dept_name")
    private String deptName;
}
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeKeyGridUser.java
New file
@@ -0,0 +1,76 @@
package com.ruoyi.system.model;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * <p>
 * 大屏-重点人员-网格人员
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_large_key_grid_user")
@ApiModel(value="TLargeKeyGridUser对象", description="大屏-重点人员-网格人员")
public class TLargeKeyGridUser extends BaseModel {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "网格")
    @TableField("grid_info")
    private String gridInfo;
    @ApiModelProperty(value = "小区名称")
    @TableField("community_name")
    private String communityName;
    @ApiModelProperty(value = "楼栋信息")
    @TableField("building_info")
    private String buildingInfo;
    @ApiModelProperty(value = "单元号")
    @TableField("unit_number")
    private String unitNumber;
    @ApiModelProperty(value = "门牌号")
    @TableField("house_number")
    private String houseNumber;
    @ApiModelProperty(value = "姓名")
    @TableField("user_name")
    private String userName;
    @ApiModelProperty(value = "性别 1=男 2=女")
    @TableField("user_sex")
    private Integer userSex;
    @ApiModelProperty(value = "身份证号")
    @TableField("id_card")
    private String idCard;
    @ApiModelProperty(value = "联系电话")
    @TableField("contact_number")
    private String contactNumber;
    @ApiModelProperty(value = "类型id")
    @TableField("type_id")
    private String typeId;
    @ApiModelProperty(value = "人员类型 1=重点人员 2=网格人员")
    @TableField("user_type")
    private Integer userType;
}
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeKeyPersonnelType.java
New file
@@ -0,0 +1,44 @@
package com.ruoyi.system.model;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * <p>
 * 大屏-重点人员分类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_large_key_personnel_type")
@ApiModel(value="TLargeKeyPersonnelType对象", description="大屏-重点人员分类")
public class TLargeKeyPersonnelType extends BaseModel {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "分类名称")
    @TableField("type_name")
    private String typeName;
    @ApiModelProperty(value = "显示方式 1=仅显示汇总 2=显示详细人员")
    @TableField("show_type")
    private Integer showType;
    @ApiModelProperty(value = "显示数量")
    @TableField("show_number")
    private Integer showNumber;
}
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeOrganization.java
New file
@@ -0,0 +1,52 @@
package com.ruoyi.system.model;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * <p>
 * 大屏-社会组织
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_large_organization")
@ApiModel(value="TLargeOrganization对象", description="大屏-社会组织")
public class TLargeOrganization extends BaseModel {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "组织名称")
    @TableField("organization_name")
    private String organizationName;
    @ApiModelProperty(value = "组织负责人")
    @TableField("organization_person")
    private String organizationPerson;
    @ApiModelProperty(value = "地址")
    @TableField("address")
    private String address;
    @ApiModelProperty(value = "联系电话")
    @TableField("contact_number")
    private String contactNumber;
    @ApiModelProperty(value = "业务范围")
    @TableField("business_scope")
    private String businessScope;
}
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeResource.java
New file
@@ -0,0 +1,64 @@
package com.ruoyi.system.model;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * <p>
 * 大屏-社区资源
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_large_resource")
@ApiModel(value="TLargeResource对象", description="大屏-社区资源")
public class TLargeResource extends BaseModel {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "类型一级id")
    @TableField("type_parent_id")
    private String typeParentId;
    @ApiModelProperty(value = "类型二级id")
    @TableField("type_children_id")
    private String typeChildrenId;
    @ApiModelProperty(value = "资源单位")
    @TableField("resource_unit")
    private String resourceUnit;
    @ApiModelProperty(value = "资源名称描述")
    @TableField("resource_name_desc")
    private String resourceNameDesc;
    @ApiModelProperty(value = "资源来源")
    @TableField("resource_source")
    private String resourceSource;
    @ApiModelProperty(value = "数量规模")
    @TableField("quantity_scale")
    private String quantityScale;
    @ApiModelProperty(value = "联系人")
    @TableField("contact_person")
    private String contactPerson;
    @ApiModelProperty(value = "联系电话")
    @TableField("contact_number")
    private String contactNumber;
}
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeResourceType.java
New file
@@ -0,0 +1,49 @@
package com.ruoyi.system.model;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
/**
 * <p>
 * 大屏-社区资源分类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_large_resource_type")
@ApiModel(value="TLargeResourceType对象", description="大屏-社区资源分类")
public class TLargeResourceType extends BaseModel {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "父级id 默认0")
    @TableField("parent_id")
    private String parentId;
    @ApiModelProperty(value = "分类名称")
    @TableField("type_name")
    private String typeName;
    @ApiModelProperty(value = "单位名称")
    @TableField("unit_name")
    private String unitName;
    @ApiModelProperty(value = "子项")
    @TableField(exist = false)
    private List<TLargeResourceType> children;
}
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeSocialWorker.java
New file
@@ -0,0 +1,67 @@
package com.ruoyi.system.model;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
 * <p>
 * 大屏-社会工作者
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_large_social_worker")
@ApiModel(value="TLargeSocialWorker对象", description="大屏-社会工作者")
public class TLargeSocialWorker extends BaseModel {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "姓名")
    @TableField("user_name")
    private String userName;
    @ApiModelProperty(value = "性别 1=男 2=女")
    @TableField("user_sex")
    private Integer userSex;
    @ApiModelProperty(value = "出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("birth_date")
    private LocalDate birthDate;
    @ApiModelProperty(value = "文化程度")
    @TableField("educational_level")
    private String educationalLevel;
    @ApiModelProperty(value = "政治面貌")
    @TableField("political_status")
    private String politicalStatus;
    @ApiModelProperty(value = "联系电话")
    @TableField("contact_number")
    private String contactNumber;
    @ApiModelProperty(value = "工作单位及职务")
    @TableField("employer_position")
    private String employerPosition;
    @ApiModelProperty(value = "职业资格等级 1=初级 2=中级 3=高级")
    @TableField("qualification_level")
    private Integer qualificationLevel;
}
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeUser.java
New file
@@ -0,0 +1,52 @@
package com.ruoyi.system.model;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * <p>
 * 大屏-组织人员
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_large_user")
@ApiModel(value="TLargeUser对象", description="大屏-组织人员")
public class TLargeUser extends BaseModel {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "部门id")
    @TableField("dept_id")
    private String deptId;
    @ApiModelProperty(value = "头像")
    @TableField("avatar")
    private String avatar;
    @ApiModelProperty(value = "姓名")
    @TableField("user_name")
    private String userName;
    @ApiModelProperty(value = "手机号")
    @TableField("user_phone")
    private String userPhone;
    @ApiModelProperty(value = "职位")
    @TableField("user_position")
    private String userPosition;
}
ruoyi-system/src/main/java/com/ruoyi/system/model/TLargeVolunteer.java
New file
@@ -0,0 +1,66 @@
package com.ruoyi.system.model;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
 * <p>
 * 大屏-社区志愿者
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_large_volunteer")
@ApiModel(value="TLargeVolunteer对象", description="大屏-社区志愿者")
public class TLargeVolunteer extends BaseModel {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "姓名")
    @TableField("user_name")
    private String userName;
    @ApiModelProperty(value = "性别 1=男 2=女")
    @TableField("user_sex")
    private Integer userSex;
    @ApiModelProperty(value = "出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("birth_date")
    private LocalDate birthDate;
    @ApiModelProperty(value = "服务区域")
    @TableField("service_area")
    private String serviceArea;
    @ApiModelProperty(value = "注册日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("register_date")
    private LocalDateTime registerDate;
    @ApiModelProperty(value = "总服务时长")
    @TableField("total_service_duration")
    private BigDecimal totalServiceDuration;
    @ApiModelProperty(value = "加入队伍时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("join_team_date")
    private LocalDateTime joinTeamDate;
}
ruoyi-system/src/main/java/com/ruoyi/system/model/TPartyBuilding.java
@@ -55,4 +55,8 @@
    @TableField("party_detail")
    private String partyDetail;
    @ApiModelProperty(value = "发布人")
    @TableField("release_person")
    private String releasePerson;
}
ruoyi-system/src/main/java/com/ruoyi/system/query/TLargeKeyGridUserQuery.java
New file
@@ -0,0 +1,30 @@
package com.ruoyi.system.query;
import com.ruoyi.common.core.domain.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
@Data
@ApiModel(value = "TLargeKeyGridUserQuery对象", description = "重点人员-网格人员查询参数")
public class TLargeKeyGridUserQuery extends BasePage {
    @ApiModelProperty(value = "姓名")
    private String userName;
    @ApiModelProperty(value = "联系电话")
    private String contactNumber;
    @ApiModelProperty(value = "类型名称")
    private String typeName;
    @ApiModelProperty(value = "类型id")
    private String typeId;
    @NotNull(message = "人员类型不能为空")
    @ApiModelProperty(value = "人员类型 1=重点人员 2=网格人员")
    private Integer userType;
}
ruoyi-system/src/main/java/com/ruoyi/system/query/TLargeOrganizationQuery.java
New file
@@ -0,0 +1,15 @@
package com.ruoyi.system.query;
import com.ruoyi.common.core.domain.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel(value = "社会组织查询TLargeOrganizationQuery")
public class TLargeOrganizationQuery extends BasePage {
    @ApiModelProperty(value = "组织名称")
    private String organizationName;
}
ruoyi-system/src/main/java/com/ruoyi/system/query/TLargeResourceQuery.java
New file
@@ -0,0 +1,30 @@
package com.ruoyi.system.query;
import com.ruoyi.common.core.domain.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel(value = "社区资源查询参数TLargeResourceQuery")
public class TLargeResourceQuery extends BasePage {
    @ApiModelProperty(value = "类型一级id")
    private String typeParentId;
    @ApiModelProperty(value = "类型二级id")
    private String typeChildrenId;
    @ApiModelProperty(value = "资源名称描述")
    private String resourceNameDesc;
    @ApiModelProperty(value = "资源来源")
    private String resourceSource;
    @ApiModelProperty(value = "联系人")
    private String contactPerson;
    @ApiModelProperty(value = "联系电话")
    private String contactNumber;
}
ruoyi-system/src/main/java/com/ruoyi/system/query/TLargeSocialWorkerQuery.java
New file
@@ -0,0 +1,22 @@
package com.ruoyi.system.query;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel(value = "大屏-社会工作者查询TLargeSocialWorkerQuery")
public class TLargeSocialWorkerQuery extends BasePage {
    @ApiModelProperty(value = "姓名")
    private String userName;
    @ApiModelProperty(value = "联系电话")
    private String contactNumber;
    @ApiModelProperty(value = "职业资格等级 1=初级 2=中级 3=高级")
    private Integer qualificationLevel;
}
ruoyi-system/src/main/java/com/ruoyi/system/query/TLargeUserQuery.java
New file
@@ -0,0 +1,17 @@
package com.ruoyi.system.query;
import com.ruoyi.common.core.domain.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel(value = "组织人员铲鲟参数TLargeUserQuery")
public class TLargeUserQuery extends BasePage {
    @ApiModelProperty(value = "姓名或者电话")
    private String nameOrPhone;
    @ApiModelProperty(value = "部门id")
    private String deptId;
}
ruoyi-system/src/main/java/com/ruoyi/system/query/TLargeVolunteerQuery.java
New file
@@ -0,0 +1,18 @@
package com.ruoyi.system.query;
import com.ruoyi.common.core.domain.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel(value = "大屏-志愿者查询TLargeVolunteerQuery")
public class TLargeVolunteerQuery extends BasePage {
    @ApiModelProperty(value = "姓名")
    private String userName;
    @ApiModelProperty(value = "服务区域")
    private String serviceArea;
}
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeDeptService.java
New file
@@ -0,0 +1,23 @@
package com.ruoyi.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.model.TLargeDept;
/**
 * <p>
 * 大屏-组织部门 服务类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeDeptService extends IService<TLargeDept> {
    /**
     * 判断是否存在
     * @param dto
     * @return
     */
    boolean isExit(TLargeDept dto);
}
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeKeyGridUserService.java
New file
@@ -0,0 +1,25 @@
package com.ruoyi.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TLargeKeyGridUser;
import com.ruoyi.system.query.TLargeKeyGridUserQuery;
import com.ruoyi.system.vo.TLargeKeyGridUserVO;
/**
 * <p>
 * 大屏-重点人员-网格人员 服务类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeKeyGridUserService extends IService<TLargeKeyGridUser> {
    /**
     * 获取重点人员-网格人员分页列表
     * @param query
     * @return
     */
    PageInfo<TLargeKeyGridUserVO> pageList(TLargeKeyGridUserQuery query);
}
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeKeyPersonnelTypeService.java
New file
@@ -0,0 +1,33 @@
package com.ruoyi.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.BasePage;
import com.ruoyi.system.model.TLargeKeyPersonnelType;
/**
 * <p>
 * 大屏-重点人员分类 服务类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeKeyPersonnelTypeService extends IService<TLargeKeyPersonnelType> {
    /**
     * 判断是否存在
     * @param dto
     * @return
     */
    boolean isExit(TLargeKeyPersonnelType dto);
    /**
     * 获取重点人员分类列表
     * @param query
     * @return
     */
    PageInfo<TLargeKeyPersonnelType> pageList(BasePage query);
}
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeOrganizationService.java
New file
@@ -0,0 +1,31 @@
package com.ruoyi.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TLargeOrganization;
import com.ruoyi.system.query.TLargeOrganizationQuery;
/**
 * <p>
 * 大屏-社会组织 服务类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeOrganizationService extends IService<TLargeOrganization> {
    /**
     * 判断是否存在
     * @param dto
     * @return
     */
    boolean isExit(TLargeOrganization dto);
    /**
     * 获取社会组织分页列表
     * @param query
     * @return
     */
    PageInfo<TLargeOrganization> pageList(TLargeOrganizationQuery query);
}
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeResourceService.java
New file
@@ -0,0 +1,26 @@
package com.ruoyi.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TLargeResource;
import com.ruoyi.system.query.TLargeResourceQuery;
import com.ruoyi.system.vo.TLargeResourceVO;
/**
 * <p>
 * 大屏-社区资源 服务类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeResourceService extends IService<TLargeResource> {
    /**
     * 获取社区资源分页列表
     * @param query
     * @return
     */
    PageInfo<TLargeResourceVO> pageList(TLargeResourceQuery query);
}
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeResourceTypeService.java
New file
@@ -0,0 +1,16 @@
package com.ruoyi.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.model.TLargeResourceType;
/**
 * <p>
 * 大屏-社区资源分类 服务类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeResourceTypeService extends IService<TLargeResourceType> {
}
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeSocialWorkerService.java
New file
@@ -0,0 +1,25 @@
package com.ruoyi.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TLargeSocialWorker;
import com.ruoyi.system.query.TLargeSocialWorkerQuery;
/**
 * <p>
 * 大屏-社会工作者 服务类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeSocialWorkerService extends IService<TLargeSocialWorker> {
    /**
     * 获取社会工作者分页列表
     * @param query
     * @return
     */
    PageInfo<TLargeSocialWorker> pageList(TLargeSocialWorkerQuery query);
}
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeUserService.java
New file
@@ -0,0 +1,25 @@
package com.ruoyi.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TLargeUser;
import com.ruoyi.system.query.TLargeUserQuery;
import com.ruoyi.system.vo.TLargeUserVO;
/**
 * <p>
 * 大屏-组织人员 服务类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeUserService extends IService<TLargeUser> {
    /**
     * 获取组织人员分页列表
     * @param query
     * @return
     */
    PageInfo<TLargeUserVO> pageList(TLargeUserQuery query);
}
ruoyi-system/src/main/java/com/ruoyi/system/service/TLargeVolunteerService.java
New file
@@ -0,0 +1,25 @@
package com.ruoyi.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.model.TLargeVolunteer;
import com.ruoyi.system.query.TLargeVolunteerQuery;
/**
 * <p>
 * 大屏-社区志愿者 服务类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
public interface TLargeVolunteerService extends IService<TLargeVolunteer> {
    /**
     * 获取社区志愿者分页列表
     * @param query
     * @return
     */
    PageInfo<TLargeVolunteer> pageList(TLargeVolunteerQuery query);
}
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeDeptServiceImpl.java
New file
@@ -0,0 +1,33 @@
package com.ruoyi.system.service.impl;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.mapper.TLargeDeptMapper;
import com.ruoyi.system.model.TLargeDept;
import com.ruoyi.system.model.TLargeDept;
import com.ruoyi.system.service.TLargeDeptService;
import org.springframework.stereotype.Service;
/**
 * <p>
 * 大屏-组织部门 服务实现类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Service
public class TLargeDeptServiceImpl extends ServiceImpl<TLargeDeptMapper, TLargeDept> implements TLargeDeptService {
    @Override
    public boolean isExit(TLargeDept dto) {
        if(StringUtils.isNotEmpty(dto.getId())){
            // 修改
            return this.count(Wrappers.lambdaQuery(TLargeDept.class).ne(TLargeDept::getId, dto.getId()).eq(TLargeDept::getDeptName, dto.getDeptName())) > 0;
        }else {
            // 新增
            return this.count(Wrappers.lambdaQuery(TLargeDept.class).eq(TLargeDept::getDeptName, dto.getDeptName())) > 0;
        }
    }
}
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeKeyGridUserServiceImpl.java
New file
@@ -0,0 +1,33 @@
package com.ruoyi.system.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.mapper.TLargeKeyGridUserMapper;
import com.ruoyi.system.model.TLargeKeyGridUser;
import com.ruoyi.system.query.TLargeKeyGridUserQuery;
import com.ruoyi.system.service.TLargeKeyGridUserService;
import com.ruoyi.system.vo.TCourseVO;
import com.ruoyi.system.vo.TLargeKeyGridUserVO;
import org.springframework.stereotype.Service;
import java.util.List;
/**
 * <p>
 * 大屏-重点人员-网格人员 服务实现类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Service
public class TLargeKeyGridUserServiceImpl extends ServiceImpl<TLargeKeyGridUserMapper, TLargeKeyGridUser> implements TLargeKeyGridUserService {
    @Override
    public PageInfo<TLargeKeyGridUserVO> pageList(TLargeKeyGridUserQuery query) {
        PageInfo<TLargeKeyGridUserVO> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize());
        List<TLargeKeyGridUserVO> list = this.baseMapper.pageList(query,pageInfo);
        pageInfo.setRecords(list);
        return pageInfo;
    }
}
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeKeyPersonnelTypeServiceImpl.java
New file
@@ -0,0 +1,46 @@
package com.ruoyi.system.service.impl;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.BasePage;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.mapper.TLargeKeyPersonnelTypeMapper;
import com.ruoyi.system.model.TAssistedDining;
import com.ruoyi.system.model.TLargeKeyPersonnelType;
import com.ruoyi.system.model.TLargeKeyPersonnelType;
import com.ruoyi.system.service.TLargeKeyPersonnelTypeService;
import org.springframework.stereotype.Service;
import java.util.List;
/**
 * <p>
 * 大屏-重点人员分类 服务实现类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Service
public class TLargeKeyPersonnelTypeServiceImpl extends ServiceImpl<TLargeKeyPersonnelTypeMapper, TLargeKeyPersonnelType> implements TLargeKeyPersonnelTypeService {
    @Override
    public boolean isExit(TLargeKeyPersonnelType dto) {
        if(StringUtils.isNotEmpty(dto.getId())){
            // 修改
            return this.count(Wrappers.lambdaQuery(TLargeKeyPersonnelType.class).ne(TLargeKeyPersonnelType::getId, dto.getId()).eq(TLargeKeyPersonnelType::getTypeName, dto.getTypeName())) > 0;
        }else {
            // 新增
            return this.count(Wrappers.lambdaQuery(TLargeKeyPersonnelType.class).eq(TLargeKeyPersonnelType::getTypeName, dto.getTypeName())) > 0;
        }
    }
    @Override
    public PageInfo<TLargeKeyPersonnelType> pageList(BasePage query) {
        PageInfo<TLargeKeyPersonnelType> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize());
        List<TLargeKeyPersonnelType> list = this.baseMapper.pageList(query,pageInfo);
        pageInfo.setRecords( list);
        return pageInfo;
    }
}
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeOrganizationServiceImpl.java
New file
@@ -0,0 +1,46 @@
package com.ruoyi.system.service.impl;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.mapper.TLargeOrganizationMapper;
import com.ruoyi.system.model.TAppUser;
import com.ruoyi.system.model.TLargeOrganization;
import com.ruoyi.system.model.TLargeOrganization;
import com.ruoyi.system.query.TLargeOrganizationQuery;
import com.ruoyi.system.service.TLargeOrganizationService;
import org.springframework.stereotype.Service;
import java.util.List;
/**
 * <p>
 * 大屏-社会组织 服务实现类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Service
public class TLargeOrganizationServiceImpl extends ServiceImpl<TLargeOrganizationMapper, TLargeOrganization> implements TLargeOrganizationService {
    @Override
    public boolean isExit(TLargeOrganization dto) {
        if(StringUtils.isNotEmpty(dto.getId())){
            // 修改
            return this.count(Wrappers.lambdaQuery(TLargeOrganization.class).ne(TLargeOrganization::getId, dto.getId()).eq(TLargeOrganization::getOrganizationName, dto.getOrganizationName())) > 0;
        }else {
            // 新增
            return this.count(Wrappers.lambdaQuery(TLargeOrganization.class).eq(TLargeOrganization::getOrganizationName, dto.getOrganizationName())) > 0;
        }
    }
    @Override
    public PageInfo<TLargeOrganization> pageList(TLargeOrganizationQuery query) {
        PageInfo<TLargeOrganization> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize());
        List<TLargeOrganization> list = this.baseMapper.pageList(query,pageInfo);
        pageInfo.setRecords( list);
        return pageInfo;
    }
}
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeResourceServiceImpl.java
New file
@@ -0,0 +1,62 @@
package com.ruoyi.system.service.impl;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.mapper.TLargeResourceMapper;
import com.ruoyi.system.mapper.TLargeResourceTypeMapper;
import com.ruoyi.system.model.TAppUser;
import com.ruoyi.system.model.TLargeResource;
import com.ruoyi.system.model.TLargeResourceType;
import com.ruoyi.system.query.TLargeResourceQuery;
import com.ruoyi.system.service.TLargeResourceService;
import com.ruoyi.system.vo.TLargeResourceVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import java.util.List;
import java.util.stream.Collectors;
/**
 * <p>
 * 大屏-社区资源 服务实现类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Service
public class TLargeResourceServiceImpl extends ServiceImpl<TLargeResourceMapper, TLargeResource> implements TLargeResourceService {
    @Autowired
    private TLargeResourceTypeMapper largeResourceTypeMapper;
    @Override
    public PageInfo<TLargeResourceVO> pageList(TLargeResourceQuery query) {
        PageInfo<TLargeResourceVO> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize());
        List<TLargeResourceVO> list = this.baseMapper.pageList(query,pageInfo);
        if(CollectionUtils.isEmpty(list)){
            return pageInfo;
        }
        List<String> ids = list.stream().map(TLargeResourceVO::getTypeParentId).collect(Collectors.toList());
        List<String> childrenIds = list.stream().map(TLargeResourceVO::getTypeChildrenId).collect(Collectors.toList());
        ids.addAll(childrenIds);
        List<TLargeResourceType> largeResourceTypes = largeResourceTypeMapper.selectList(Wrappers.lambdaQuery(TLargeResourceType.class).in(TLargeResourceType::getId, ids));
        for (TLargeResourceVO tLargeResourceVO : list) {
            List<TLargeResourceType> resourceTypeParentList = largeResourceTypes.stream().filter(largeResourceType -> largeResourceType.getId().equals(tLargeResourceVO.getTypeParentId())).collect(Collectors.toList());
            if(!CollectionUtils.isEmpty(resourceTypeParentList)){
                tLargeResourceVO.setTypeParentName(resourceTypeParentList.get(0).getTypeName());
            }
            List<TLargeResourceType> resourceTypeChildrenList = largeResourceTypes.stream().filter(largeResourceType -> largeResourceType.getId().equals(tLargeResourceVO.getTypeChildrenId())).collect(Collectors.toList());
            if(!CollectionUtils.isEmpty(resourceTypeChildrenList)){
                tLargeResourceVO.setTypeChildrenName(resourceTypeChildrenList.get(0).getTypeName());
            }
        }
        pageInfo.setRecords( list);
        return pageInfo;
    }
}
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeResourceTypeServiceImpl.java
New file
@@ -0,0 +1,20 @@
package com.ruoyi.system.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.mapper.TLargeResourceTypeMapper;
import com.ruoyi.system.model.TLargeResourceType;
import com.ruoyi.system.service.TLargeResourceTypeService;
import org.springframework.stereotype.Service;
/**
 * <p>
 * 大屏-社区资源分类 服务实现类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Service
public class TLargeResourceTypeServiceImpl extends ServiceImpl<TLargeResourceTypeMapper, TLargeResourceType> implements TLargeResourceTypeService {
}
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeSocialWorkerServiceImpl.java
New file
@@ -0,0 +1,32 @@
package com.ruoyi.system.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.mapper.TLargeSocialWorkerMapper;
import com.ruoyi.system.model.TAppUser;
import com.ruoyi.system.model.TLargeSocialWorker;
import com.ruoyi.system.query.TLargeSocialWorkerQuery;
import com.ruoyi.system.service.TLargeSocialWorkerService;
import org.springframework.stereotype.Service;
import java.util.List;
/**
 * <p>
 * 大屏-社会工作者 服务实现类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Service
public class TLargeSocialWorkerServiceImpl extends ServiceImpl<TLargeSocialWorkerMapper, TLargeSocialWorker> implements TLargeSocialWorkerService {
    @Override
    public PageInfo<TLargeSocialWorker> pageList(TLargeSocialWorkerQuery query) {
        PageInfo<TLargeSocialWorker> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize());
        List<TLargeSocialWorker> list = this.baseMapper.pageList(query,pageInfo);
        pageInfo.setRecords( list);
        return pageInfo;
    }
}
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeUserServiceImpl.java
New file
@@ -0,0 +1,39 @@
package com.ruoyi.system.service.impl;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.mapper.TLargeDeptMapper;
import com.ruoyi.system.mapper.TLargeUserMapper;
import com.ruoyi.system.model.TAppUser;
import com.ruoyi.system.model.TLargeDept;
import com.ruoyi.system.model.TLargeUser;
import com.ruoyi.system.query.TLargeUserQuery;
import com.ruoyi.system.service.TLargeUserService;
import com.ruoyi.system.vo.TLargeUserVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import java.util.List;
import java.util.stream.Collectors;
/**
 * <p>
 * 大屏-组织人员 服务实现类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Service
public class TLargeUserServiceImpl extends ServiceImpl<TLargeUserMapper, TLargeUser> implements TLargeUserService {
    @Override
    public PageInfo<TLargeUserVO> pageList(TLargeUserQuery query) {
        PageInfo<TLargeUserVO> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize());
        List<TLargeUserVO> list = this.baseMapper.pageList(query,pageInfo);
        pageInfo.setRecords( list);
        return pageInfo;
    }
}
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TLargeVolunteerServiceImpl.java
New file
@@ -0,0 +1,32 @@
package com.ruoyi.system.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.mapper.TLargeVolunteerMapper;
import com.ruoyi.system.model.TLargeVolunteer;
import com.ruoyi.system.query.TLargeVolunteerQuery;
import com.ruoyi.system.service.TLargeVolunteerService;
import com.ruoyi.system.vo.TLargeUserVO;
import org.springframework.stereotype.Service;
import java.util.List;
/**
 * <p>
 * 大屏-社区志愿者 服务实现类
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Service
public class TLargeVolunteerServiceImpl extends ServiceImpl<TLargeVolunteerMapper, TLargeVolunteer> implements TLargeVolunteerService {
    @Override
    public PageInfo<TLargeVolunteer> pageList(TLargeVolunteerQuery query) {
        PageInfo<TLargeVolunteer> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize());
        List<TLargeVolunteer> list = this.baseMapper.pageList(query,pageInfo);
        pageInfo.setRecords( list);
        return pageInfo;
    }
}
ruoyi-system/src/main/java/com/ruoyi/system/vo/TLargeKeyGridUserVO.java
New file
@@ -0,0 +1,15 @@
package com.ruoyi.system.vo;
import com.ruoyi.system.model.TLargeKeyGridUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel(value="TLargeKeyGridUser对象", description="大屏-重点人员-网格人员")
public class TLargeKeyGridUserVO extends TLargeKeyGridUser {
    @ApiModelProperty(value = "人员类别")
    private String typeName;
}
ruoyi-system/src/main/java/com/ruoyi/system/vo/TLargeResourceVO.java
New file
@@ -0,0 +1,17 @@
package com.ruoyi.system.vo;
import com.ruoyi.system.model.TLargeResource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel(value = "TLargeResourceVO对象", description = "大屏-社区资源VO对象")
public class TLargeResourceVO extends TLargeResource {
    @ApiModelProperty(value = "类型一级名称")
    private String typeParentName;
    @ApiModelProperty(value = "类型二级名称")
    private String typeChildrenName;
}
ruoyi-system/src/main/java/com/ruoyi/system/vo/TLargeUserVO.java
New file
@@ -0,0 +1,15 @@
package com.ruoyi.system.vo;
import com.ruoyi.system.model.TLargeUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel(value = "TLargeUserVO对象", description = "大屏-组织人员VO对象")
public class TLargeUserVO extends TLargeUser {
    @ApiModelProperty(value = "部门名称")
    private String deptName;
}
ruoyi-system/src/main/resources/mapper/system/TLargeDeptMapper.xml
New file
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapper.TLargeDeptMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ruoyi.system.model.TLargeDept">
        <id column="id" property="id" />
        <result column="dept_name" property="deptName" />
        <result column="create_time" property="createTime" />
        <result column="update_time" property="updateTime" />
        <result column="create_by" property="createBy" />
        <result column="update_by" property="updateBy" />
        <result column="disabled" property="disabled" />
    </resultMap>
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, dept_name, create_time, update_time, create_by, update_by, disabled
    </sql>
</mapper>
ruoyi-system/src/main/resources/mapper/system/TLargeKeyGridUserMapper.xml
New file
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapper.TLargeKeyGridUserMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ruoyi.system.model.TLargeKeyGridUser">
        <id column="id" property="id" />
        <result column="grid_info" property="gridInfo" />
        <result column="community_name" property="communityName" />
        <result column="building_info" property="buildingInfo" />
        <result column="unit_number" property="unitNumber" />
        <result column="house_number" property="houseNumber" />
        <result column="user_name" property="userName" />
        <result column="user_sex" property="userSex" />
        <result column="id_card" property="idCard" />
        <result column="contact_number" property="contactNumber" />
        <result column="type_id" property="typeId" />
        <result column="user_type" property="userType" />
        <result column="create_time" property="createTime" />
        <result column="update_time" property="updateTime" />
        <result column="create_by" property="createBy" />
        <result column="update_by" property="updateBy" />
        <result column="disabled" property="disabled" />
    </resultMap>
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, grid_info, community_name, building_info, unit_number, house_number, user_name, user_sex, id_card, contact_number, type_id, user_type, create_time, update_time, create_by, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.vo.TLargeKeyGridUserVO">
        select
            tlkgu.id, tlkgu.grid_info, tlkgu.community_name, tlkgu.building_info, tlkgu.unit_number, tlkgu.house_number,
            tlkgu.user_name, tlkgu.user_sex, tlkgu.id_card, tlkgu.contact_number, tlkgu.type_id, tlkgu.user_type,
            tlkgu.create_time, tlkgu.update_time, tlkgu.create_by, tlkgu.update_by, tlkgu.disabled,
            tlkpt.type_name
        from t_large_key_grid_user tlkgu
        left join t_large_key_personnel_type tlkpt on tlkgu.type_id = tlkpt.id
        <where>
            <if test="query.userName != null and query.userName != ''">
                and tlkgu.user_name like concat('%', #{query.userName}, '%')
            </if>
            <if test="query.contactNumber != null and query.contactNumber != ''">
                and tlkgu.contact_number like concat('%', #{query.contactNumber}, '%')
            </if>
            <if test="query.typeName != null and query.typeName != ''">
                and tlkpt.type_name like concat('%', #{query.typeName}, '%')
            </if>
            <if test="query.typeId != null and query.typeId != ''">
                and tlkgu.type_id = #{query.typeId}
            </if>
            <if test="query.userType != null">
                and tlkgu.user_type = #{query.userType}
            </if>
            and tlkgu.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        </where>
        order by tlkgu.create_time desc
    </select>
</mapper>
ruoyi-system/src/main/resources/mapper/system/TLargeKeyPersonnelTypeMapper.xml
New file
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapper.TLargeKeyPersonnelTypeMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ruoyi.system.model.TLargeKeyPersonnelType">
        <id column="id" property="id" />
        <result column="type_name" property="typeName" />
        <result column="show_type" property="showType" />
        <result column="show_number" property="showNumber" />
        <result column="create_time" property="createTime" />
        <result column="update_time" property="updateTime" />
        <result column="create_by" property="createBy" />
        <result column="update_by" property="updateBy" />
        <result column="disabled" property="disabled" />
    </resultMap>
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, type_name, show_type, show_number, create_time, update_time, create_by, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.model.TLargeKeyPersonnelType">
        SELECT
        <include refid="Base_Column_List"/>
            FROM t_large_key_personnel_type
        where disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        ORDER BY create_time DESC
    </select>
</mapper>
ruoyi-system/src/main/resources/mapper/system/TLargeOrganizationMapper.xml
New file
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapper.TLargeOrganizationMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ruoyi.system.model.TLargeOrganization">
        <id column="id" property="id" />
        <result column="organization_name" property="organizationName" />
        <result column="organization_person" property="organizationPerson" />
        <result column="address" property="address" />
        <result column="contact_number" property="contactNumber" />
        <result column="business_scope" property="businessScope" />
        <result column="create_time" property="createTime" />
        <result column="update_time" property="updateTime" />
        <result column="create_by" property="createBy" />
        <result column="update_by" property="updateBy" />
        <result column="disabled" property="disabled" />
    </resultMap>
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, organization_name, organization_person, address, contact_number, business_scope, create_time, update_time, create_by, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.model.TLargeOrganization">
        select
        <include refid="Base_Column_List"/>
            from t_large_organization
        <where>
            <if test="query.organizationName != null and query.organizationName != ''">
                and organization_name like concat('%',#{query.organizationName},'%')
            </if>
            and disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        </where>
        ORDER BY create_time DESC
    </select>
</mapper>
ruoyi-system/src/main/resources/mapper/system/TLargeResourceMapper.xml
New file
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapper.TLargeResourceMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ruoyi.system.model.TLargeResource">
        <id column="id" property="id" />
        <result column="type_parent_id" property="typeParentId" />
        <result column="type_children_id" property="typeChildrenId" />
        <result column="resource_unit" property="resourceUnit" />
        <result column="resource_name_desc" property="resourceNameDesc" />
        <result column="resource_source" property="resourceSource" />
        <result column="quantity_scale" property="quantityScale" />
        <result column="contact_person" property="contactPerson" />
        <result column="contact_number" property="contactNumber" />
        <result column="create_time" property="createTime" />
        <result column="update_time" property="updateTime" />
        <result column="create_by" property="createBy" />
        <result column="update_by" property="updateBy" />
        <result column="disabled" property="disabled" />
    </resultMap>
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, type_parent_id, type_children_id, resource_unit, resource_name_desc, resource_source, quantity_scale, contact_person, contact_number, create_time, update_time, create_by, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.vo.TLargeResourceVO">
        SELECT
            id, type_parent_id, type_children_id, resource_unit, resource_name_desc, resource_source,
            quantity_scale, contact_person, contact_number, create_time, update_time, create_by, update_by, disabled
        from t_large_resource
        <where>
            <if test="query.typeParentId != null and query.typeParentId != ''">
                and type_parent_id = #{query.typeParentId}
            </if>
            <if test="query.typeChildrenId != null and query.typeChildrenId != ''">
                and type_children_id = #{query.typeChildrenId}
            </if>
            <if test="query.resourceNameDesc != null and query.resourceNameDesc != ''">
                and resource_name_desc like concat('%',#{query.resourceNameDesc},'%')
            </if>
            <if test="query.resourceSource != null and query.resourceSource != ''">
                and resource_source like concat('%',#{query.resourceSource},'%')
            </if>
            <if test="query.contactPerson != null and query.contactPerson != ''">
                and contact_person like concat('%',#{query.contactPerson},'%')
            </if>
            <if test="query.contactNumber != null and query.contactNumber != ''">
                and contact_number like concat('%',#{query.contactNumber},'%')
            </if>
            and disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        </where>
        ORDER BY create_time DESC
    </select>
</mapper>
ruoyi-system/src/main/resources/mapper/system/TLargeResourceTypeMapper.xml
New file
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapper.TLargeResourceTypeMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ruoyi.system.model.TLargeResourceType">
        <id column="id" property="id" />
        <result column="parent_id" property="parentId" />
        <result column="type_name" property="typeName" />
        <result column="unit_name" property="unitName" />
        <result column="create_time" property="createTime" />
        <result column="update_time" property="updateTime" />
        <result column="create_by" property="createBy" />
        <result column="update_by" property="updateBy" />
        <result column="disabled" property="disabled" />
    </resultMap>
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, parent_id, type_name, unit_name, create_time, update_time, create_by, update_by, disabled
    </sql>
</mapper>
ruoyi-system/src/main/resources/mapper/system/TLargeSocialWorkerMapper.xml
New file
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapper.TLargeSocialWorkerMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ruoyi.system.model.TLargeSocialWorker">
        <id column="id" property="id" />
        <result column="user_name" property="userName" />
        <result column="user_sex" property="userSex" />
        <result column="birth_date" property="birthDate" />
        <result column="educational_level" property="educationalLevel" />
        <result column="political_status" property="politicalStatus" />
        <result column="contact_number" property="contactNumber" />
        <result column="employer_position" property="employerPosition" />
        <result column="qualification_level" property="qualificationLevel" />
        <result column="create_time" property="createTime" />
        <result column="update_time" property="updateTime" />
        <result column="create_by" property="createBy" />
        <result column="update_by" property="updateBy" />
        <result column="disabled" property="disabled" />
    </resultMap>
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, user_name, user_sex, birth_date, educational_level, political_status, contact_number, employer_position, qualification_level, create_time, update_time, create_by, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.model.TLargeSocialWorker">
        SELECT
        <include refid="Base_Column_List"/>
            FROM t_large_social_worker
        <where>
            <if test="query.userName != null and query.userName != ''">
                and user_name like concat('%',#{query.userName},'%')
            </if>
            <if test="query.contactNumber != null and query.contactNumber != ''">
                and contact_number like concat('%',#{query.contactNumber},'%')
            </if>
            <if test="query.qualificationLevel != null">
                and qualification_level = #{query.qualificationLevel}
            </if>
            and disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        </where>
        ORDER BY create_time DESC
    </select>
</mapper>
ruoyi-system/src/main/resources/mapper/system/TLargeUserMapper.xml
New file
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapper.TLargeUserMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ruoyi.system.model.TLargeUser">
        <id column="id" property="id" />
        <result column="dept_id" property="deptId" />
        <result column="avatar" property="avatar" />
        <result column="user_name" property="userName" />
        <result column="user_phone" property="userPhone" />
        <result column="user_position" property="userPosition" />
        <result column="create_time" property="createTime" />
        <result column="update_time" property="updateTime" />
        <result column="create_by" property="createBy" />
        <result column="update_by" property="updateBy" />
        <result column="disabled" property="disabled" />
    </resultMap>
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, dept_id, avatar, user_name, user_phone, user_position, create_time, update_time, create_by, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.vo.TLargeUserVO">
        select tlu.id, tlu.dept_id, tlu.avatar, tlu.user_name, tlu.user_phone, tlu.user_position, tlu.create_time,
        tlu.update_time, tlu.create_by, tlu.update_by, tlu.disabled,tld.dept_name
        from t_large_user tlu
        left join t_large_dept tld on tld.id = tlu.dept_id
        <where>
            <if test="query.nameOrPhone != null and query.nameOrPhone != ''">
                and (tlu.user_name like concat('%',#{query.nameOrPhone},'%')
                    or tlu.user_phone like concat('%',#{query.nameOrPhone},'%'))
            </if>
            <if test="query.deptId != null and query.deptId != ''">
                and tlu.dept_id = #{query.deptId}
            </if>
            and tlu.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        </where>
        ORDER BY tlu.create_time DESC
    </select>
</mapper>
ruoyi-system/src/main/resources/mapper/system/TLargeVolunteerMapper.xml
New file
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapper.TLargeVolunteerMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ruoyi.system.model.TLargeVolunteer">
        <id column="id" property="id" />
        <result column="user_name" property="userName" />
        <result column="user_sex" property="userSex" />
        <result column="birth_date" property="birthDate" />
        <result column="service_area" property="serviceArea" />
        <result column="register_date" property="registerDate" />
        <result column="total_service_duration" property="totalServiceDuration" />
        <result column="join_team_date" property="joinTeamDate" />
        <result column="create_time" property="createTime" />
        <result column="update_time" property="updateTime" />
        <result column="create_by" property="createBy" />
        <result column="update_by" property="updateBy" />
        <result column="disabled" property="disabled" />
    </resultMap>
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, user_name, user_sex, birth_date, service_area, register_date, total_service_duration, join_team_date, create_time, update_time, create_by, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.model.TLargeVolunteer">
        SELECT
        <include refid="Base_Column_List"/>
            FROM t_large_volunteer
        <where>
            <if test="query.userName != null and query.userName != ''">
                and user_name like concat('%',#{query.userName},'%')
            </if>
            <if test="query.serviceArea != null and query.serviceArea != ''">
                and service_area like concat('%',#{query.serviceArea},'%')
            </if>
            and disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        </where>
        ORDER BY create_time DESC
    </select>
</mapper>
ruoyi-system/src/main/resources/mapper/system/TPartyBuildingMapper.xml
@@ -11,6 +11,7 @@
        <result column="virtual_reading_count" property="virtualReadingCount" />
        <result column="read_count" property="readCount" />
        <result column="party_detail" property="partyDetail" />
        <result column="release_person" property="releasePerson" />
        <result column="create_time" property="createTime" />
        <result column="update_time" property="updateTime" />
        <result column="create_by" property="createBy" />
@@ -20,7 +21,7 @@
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, party_title, party_type, party_cover, virtual_reading_count, read_count, party_detail, create_time, update_time, create_by, update_by, disabled
        id, party_title, party_type, party_cover, virtual_reading_count, read_count, party_detail, release_person,create_time, update_time, create_by, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.vo.TPartyBuildingVO">
        SELECT