184 changed files with 4911 additions and 585 deletions
@ -0,0 +1,18 @@ |
|||||
|
package com.epmet.commons.tools.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2021/12/8 14:50 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class OptionDataResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 416877704759019210L; |
||||
|
private String label; |
||||
|
private String value; |
||||
|
private String code; |
||||
|
} |
||||
@ -0,0 +1,21 @@ |
|||||
|
package com.epmet.dataaggre.dto.datastats.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description 项目月数据-接口返参 |
||||
|
* @Auth sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class FactAgencyProjectMonthResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 466974582608407121L; |
||||
|
//组织Id
|
||||
|
private String agencyId; |
||||
|
//月维度Id
|
||||
|
private String monthId; |
||||
|
//当月项目总数 【当前组织及下级前一月新增项目数】
|
||||
|
private Integer projectIncr = 0; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,93 @@ |
|||||
|
/** |
||||
|
* Copyright 2018 人人开源 https://www.renren.io
|
||||
|
* <p> |
||||
|
* This program is free software: you can redistribute it and/or modify |
||||
|
* it under the terms of the GNU General Public License as published by |
||||
|
* the Free Software Foundation, either version 3 of the License, or |
||||
|
* (at your option) any later version. |
||||
|
* <p> |
||||
|
* This program is distributed in the hope that it will be useful, |
||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
* GNU General Public License for more details. |
||||
|
* <p> |
||||
|
* You should have received a copy of the GNU General Public License |
||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
*/ |
||||
|
|
||||
|
package com.epmet.dataaggre.dto.govissue; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 议题项目分类字典 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2020-12-08 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class IssueProjectCategoryDictDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 主键 |
||||
|
*/ |
||||
|
private String id; |
||||
|
|
||||
|
/** |
||||
|
* 客户id, 产品默认default |
||||
|
*/ |
||||
|
private String customerId; |
||||
|
|
||||
|
/** |
||||
|
* 上级分类ID 顶级此列存储0 |
||||
|
*/ |
||||
|
private String pid; |
||||
|
|
||||
|
/** |
||||
|
* 所有上级分类ID,用逗号分开 |
||||
|
*/ |
||||
|
private String pids; |
||||
|
|
||||
|
/** |
||||
|
* 上级分类编码 |
||||
|
*/ |
||||
|
private String parentCategoryCode; |
||||
|
|
||||
|
/** |
||||
|
* 分类编码,分类编码+customer_id唯一 |
||||
|
*/ |
||||
|
private String categoryCode; |
||||
|
|
||||
|
/** |
||||
|
* 分类名称 |
||||
|
*/ |
||||
|
private String categoryName; |
||||
|
|
||||
|
/** |
||||
|
* 分类类别1,2,3,4.... |
||||
|
*/ |
||||
|
private String categoryType; |
||||
|
|
||||
|
/** |
||||
|
* 排序 |
||||
|
*/ |
||||
|
private Integer sort; |
||||
|
|
||||
|
/** |
||||
|
* 是否禁用(enable:启用 disable:禁用) |
||||
|
*/ |
||||
|
private String isDisable; |
||||
|
|
||||
|
/** |
||||
|
* 颜色 |
||||
|
*/ |
||||
|
private String colour; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,45 @@ |
|||||
|
/** |
||||
|
* Copyright 2018 人人开源 https://www.renren.io
|
||||
|
* <p> |
||||
|
* This program is free software: you can redistribute it and/or modify |
||||
|
* it under the terms of the GNU General Public License as published by |
||||
|
* the Free Software Foundation, either version 3 of the License, or |
||||
|
* (at your option) any later version. |
||||
|
* <p> |
||||
|
* This program is distributed in the hope that it will be useful, |
||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
* GNU General Public License for more details. |
||||
|
* <p> |
||||
|
* You should have received a copy of the GNU General Public License |
||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
*/ |
||||
|
|
||||
|
package com.epmet.dataaggre.dto.govproject; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 居民报事表 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2021-08-03 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ResiEventDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 客户ID |
||||
|
*/ |
||||
|
private String customerId; |
||||
|
|
||||
|
private String projectId; |
||||
|
|
||||
|
private String reportUserId; |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,45 @@ |
|||||
|
package com.epmet.dataaggre.dto.govproject.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import javax.validation.constraints.Min; |
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Description 赋能平台【项目分类分析】-接口入参 |
||||
|
* @Auth sun |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class CategoryProjectFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -8515172319313536407L; |
||||
|
//组织Id
|
||||
|
@NotBlank(message = "组织ID不能为空", groups = {Category.class}) |
||||
|
private String agencyId; |
||||
|
//日期yyyymmdd
|
||||
|
@NotBlank(message = "组织ID不能为空", groups = {Category.class}) |
||||
|
private String dateId; |
||||
|
//一级分类Id
|
||||
|
@NotBlank(message = "分类Code不能为空", groups = {Category.class}) |
||||
|
private String categoryCode; |
||||
|
//页码
|
||||
|
@Min(1) |
||||
|
private Integer pageNo = 1; |
||||
|
//每页多少条
|
||||
|
private Integer pageSize = 20; |
||||
|
//是否分页(是:true 否:false)
|
||||
|
private Boolean isPage = true; |
||||
|
//明天的dateId值
|
||||
|
private String toDateId; |
||||
|
private String customerId; |
||||
|
private List<String> categoreCodeList; |
||||
|
|
||||
|
|
||||
|
public interface Category extends CustomerClientShowGroup { |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,33 @@ |
|||||
|
package com.epmet.dataaggre.dto.govproject.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import javax.validation.constraints.Min; |
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Description 赋能平台【项目分类分析】-接口入参 |
||||
|
* @Auth sun |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class ProjectAnalysisFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -8515172319313536407L; |
||||
|
//小程序话题或事件发起人Id
|
||||
|
@NotBlank(message = "话题或事件发起人Id不能为空", groups = {Analysis.class}) |
||||
|
private String userId; |
||||
|
//一级分类Id集合
|
||||
|
@NotNull(message = "分类Code集合不能为空", groups = {Analysis.class}) |
||||
|
private List<String> categoryCodeList; |
||||
|
|
||||
|
private String customerId; |
||||
|
|
||||
|
public interface Analysis extends CustomerClientShowGroup { |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,32 @@ |
|||||
|
package com.epmet.dataaggre.dto.govproject.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import javax.validation.constraints.Min; |
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Description 赋能平台【项目分类分析】-接口入参 |
||||
|
* @Auth sun |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class ProjectCategoryTotalFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -8515172319313536407L; |
||||
|
//组织Id
|
||||
|
@NotBlank(message = "组织ID不能为空", groups = {Project.class}) |
||||
|
private String agencyId; |
||||
|
//日期yyyymmdd
|
||||
|
@NotBlank(message = "日维度ID不能为空", groups = {Project.class}) |
||||
|
private String dateId; |
||||
|
|
||||
|
private String customerId; |
||||
|
|
||||
|
public interface Project extends CustomerClientShowGroup { |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,57 @@ |
|||||
|
package com.epmet.dataaggre.dto.govproject.result; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Description 赋能平台【项目处理分析】分类下项目列表-接口返参 |
||||
|
* @Auth sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CategoryProjectResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 6188316867855643263L; |
||||
|
|
||||
|
//总条数
|
||||
|
private Integer total = 0; |
||||
|
|
||||
|
private List<Project> list; |
||||
|
|
||||
|
@Data |
||||
|
public static class Project { |
||||
|
//项目所属组织Id
|
||||
|
private String agencyId; |
||||
|
//项目Id
|
||||
|
private String projectId; |
||||
|
//项目编码[目前没这个功能 默认为空]
|
||||
|
private String projectCode = ""; |
||||
|
//一级分类Code集合
|
||||
|
private List<String> categoryCodes = new ArrayList<>(); |
||||
|
//一级分类名称集合
|
||||
|
private List<String> categoryNames = new ArrayList<>(); |
||||
|
//来源:议题issue 项目立项:agency 事件:resi_event【控制电机查看时里边三个按钮的显示】
|
||||
|
private String origin; |
||||
|
//网格Id[上报给组织的事件、直接立项的项目此值为空]
|
||||
|
private String gridId = ""; |
||||
|
//网格名[上报给组织的事件、直接立项的项目此值为空]
|
||||
|
private String gridName = ""; |
||||
|
//状态:待处理 pending,已结案closed
|
||||
|
private String status; |
||||
|
//标题
|
||||
|
private String title; |
||||
|
//转项目时间
|
||||
|
private String time; |
||||
|
//小程序居民端话题或事件创建人【立项项目此值为空】
|
||||
|
private String userId = ""; |
||||
|
//分类对应的所有上级,英文逗号隔开【目前分类只有两级,所以这个字段值其实就是一类的id值】
|
||||
|
@JsonIgnore |
||||
|
private String categoryPids; |
||||
|
//二级分类code
|
||||
|
@JsonIgnore |
||||
|
private String categoryCode; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,12 @@ |
|||||
|
package com.epmet.dataaggre.dto.govproject.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
@Data |
||||
|
public class IssueProjectCategory implements Serializable { |
||||
|
private static final long serialVersionUID = -2226298165882293959L; |
||||
|
private String issueId; |
||||
|
private String projectId; |
||||
|
} |
||||
@ -0,0 +1,63 @@ |
|||||
|
package com.epmet.dataaggre.dto.govproject.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Description 赋能平台【项目处理分析】研判分析-接口返参 |
||||
|
* @Auth sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectAnalysisResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 6188316867855643263L; |
||||
|
|
||||
|
//小程序居民Id
|
||||
|
private String userId; |
||||
|
//负能平台居民Id
|
||||
|
private String icUserId; |
||||
|
//负能平台居民名称
|
||||
|
private String icUserName; |
||||
|
//家庭里人员集合
|
||||
|
private List<Home> homeUserList = new ArrayList<>(); |
||||
|
//楼院小组下分类项目列表
|
||||
|
private List<Category> groupProjectList = new ArrayList<>(); |
||||
|
//事件上报下分类项目列表
|
||||
|
private List<Category> eventProjectList = new ArrayList<>(); |
||||
|
|
||||
|
@Data |
||||
|
public static class Home { |
||||
|
//家庭Id
|
||||
|
private String homeId; |
||||
|
//居民Id
|
||||
|
private String icUserId; |
||||
|
//居民姓名
|
||||
|
private String icUserName; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
@Data |
||||
|
public static class Category { |
||||
|
//一级分类Id
|
||||
|
private String categoryCode; |
||||
|
//一级分类名称
|
||||
|
private String categoryName; |
||||
|
//分类下项目列表【创建时间倒序】
|
||||
|
private List<Project> projectList = new ArrayList<>(); |
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
@Data |
||||
|
public static class Project { |
||||
|
//项目Id
|
||||
|
private String projectId; |
||||
|
//项目标题
|
||||
|
private String title; |
||||
|
//状态:待处理 pending,结案closed
|
||||
|
private String status; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,33 @@ |
|||||
|
package com.epmet.dataaggre.dto.govproject.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @author sun |
||||
|
* @dscription |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class ProjectCategoryResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 3217246702883400582L; |
||||
|
/** |
||||
|
* 项目ID |
||||
|
*/ |
||||
|
private String projectId; |
||||
|
/** |
||||
|
* 项目标题 |
||||
|
*/ |
||||
|
private String title; |
||||
|
/** |
||||
|
* 项目状态 |
||||
|
*/ |
||||
|
private String status; |
||||
|
/** |
||||
|
* 二级分类Code |
||||
|
*/ |
||||
|
private String categoryCode; |
||||
|
} |
||||
@ -0,0 +1,26 @@ |
|||||
|
package com.epmet.dataaggre.dto.govproject.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description 赋能平台【项目分类分析】各分类项目数图表-接口返参 |
||||
|
* @Auth sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectCategoryTotalResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 6188316867855643263L; |
||||
|
|
||||
|
//组织Id
|
||||
|
private String agencyId; |
||||
|
//一级分类Code
|
||||
|
private String categoryCode; |
||||
|
//一级分类名称
|
||||
|
private String categoryName; |
||||
|
//一级分类颜色
|
||||
|
private String colour = ""; |
||||
|
//分类下项目总数
|
||||
|
private Integer total = 0; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,19 @@ |
|||||
|
package com.epmet.dataaggre.dto.resigroup.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class UserTopicPageFormDTO implements Serializable { |
||||
|
public interface AddUserInternalGroup { |
||||
|
} |
||||
|
//@NotBlank(message = "epmetUserId不能为空" , groups = AddUserInternalGroup.class)
|
||||
|
private List<String> epmetUserIdList; |
||||
|
@NotNull(message = "pageNo不能为空",groups = AddUserInternalGroup.class) |
||||
|
private Integer pageNo; |
||||
|
@NotNull(message = "pageSize不能为空",groups = AddUserInternalGroup.class) |
||||
|
private Integer pageSize; |
||||
|
} |
||||
@ -0,0 +1,22 @@ |
|||||
|
package com.epmet.dataaggre.dto.resigroup.result; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
/** |
||||
|
* 个人分析,发布话题分页列表 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class UserTopicResDTO implements Serializable { |
||||
|
private String topicId; |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
||||
|
private Date releaseTime; |
||||
|
private String topicContent; |
||||
|
private Boolean shiftIssue; |
||||
|
private String issueId; |
||||
|
private Boolean shiftProject=false; |
||||
|
private String projectId=""; |
||||
|
} |
||||
@ -0,0 +1,49 @@ |
|||||
|
/** |
||||
|
* Copyright 2018 人人开源 https://www.renren.io
|
||||
|
* <p> |
||||
|
* This program is free software: you can redistribute it and/or modify |
||||
|
* it under the terms of the GNU General Public License as published by |
||||
|
* the Free Software Foundation, either version 3 of the License, or |
||||
|
* (at your option) any later version. |
||||
|
* <p> |
||||
|
* This program is distributed in the hope that it will be useful, |
||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
* GNU General Public License for more details. |
||||
|
* <p> |
||||
|
* You should have received a copy of the GNU General Public License |
||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
*/ |
||||
|
|
||||
|
package com.epmet.dataaggre.dao.epmetuser; |
||||
|
|
||||
|
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
import com.epmet.dataaggre.dto.govproject.result.ProjectAnalysisResultDTO; |
||||
|
import com.epmet.dataaggre.entity.epmetuser.IcResiUserEntity; |
||||
|
import com.epmet.dto.IcResiUserDTO; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 用户基础信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2021-10-26 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface IcResiUserDao extends BaseDao<IcResiUserEntity> { |
||||
|
|
||||
|
/** |
||||
|
* @Description 根据身份证号查询负能平台用户信息 |
||||
|
* @author sun |
||||
|
*/ |
||||
|
IcResiUserDTO getIcResiUser(@Param("idCard") String idCard, @Param("customerId") String customerId); |
||||
|
|
||||
|
/** |
||||
|
* @Description 查询人员的家庭成员数据 |
||||
|
* @author sun |
||||
|
*/ |
||||
|
List<ProjectAnalysisResultDTO.Home> getHomeUserList(@Param("homeId") String homeId, @Param("icUserId") String icUserId); |
||||
|
} |
||||
@ -0,0 +1,493 @@ |
|||||
|
/** |
||||
|
* Copyright 2018 人人开源 https://www.renren.io
|
||||
|
* <p> |
||||
|
* This program is free software: you can redistribute it and/or modify |
||||
|
* it under the terms of the GNU General Public License as published by |
||||
|
* the Free Software Foundation, either version 3 of the License, or |
||||
|
* (at your option) any later version. |
||||
|
* <p> |
||||
|
* This program is distributed in the hope that it will be useful, |
||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
* GNU General Public License for more details. |
||||
|
* <p> |
||||
|
* You should have received a copy of the GNU General Public License |
||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
*/ |
||||
|
|
||||
|
package com.epmet.dataaggre.entity.epmetuser; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
|
||||
|
/** |
||||
|
* 用户基础信息 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2021-10-26 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("ic_resi_user") |
||||
|
public class IcResiUserEntity extends BaseEpmetEntity { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 客户Id customer.id |
||||
|
*/ |
||||
|
private String customerId; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String agencyId; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String pids; |
||||
|
|
||||
|
/** |
||||
|
* 网格ID |
||||
|
*/ |
||||
|
private String gridId; |
||||
|
|
||||
|
/** |
||||
|
* 所属小区ID |
||||
|
*/ |
||||
|
private String villageId; |
||||
|
|
||||
|
/** |
||||
|
* 所属楼宇Id |
||||
|
*/ |
||||
|
private String buildId; |
||||
|
|
||||
|
/** |
||||
|
* 单元id |
||||
|
*/ |
||||
|
private String unitId; |
||||
|
|
||||
|
/** |
||||
|
* 所属家庭Id |
||||
|
*/ |
||||
|
private String homeId; |
||||
|
|
||||
|
/** |
||||
|
* 是否本地户籍 |
||||
|
*/ |
||||
|
private String isBdhj; |
||||
|
|
||||
|
/** |
||||
|
* 姓名 |
||||
|
*/ |
||||
|
private String name; |
||||
|
|
||||
|
/** |
||||
|
* 手机号 |
||||
|
*/ |
||||
|
private String mobile; |
||||
|
|
||||
|
/** |
||||
|
* 性别 |
||||
|
*/ |
||||
|
private String gender; |
||||
|
|
||||
|
/** |
||||
|
* 身份证号 |
||||
|
*/ |
||||
|
private String idCard; |
||||
|
|
||||
|
/** |
||||
|
* 出生日期 |
||||
|
*/ |
||||
|
private String birthday; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String remarks; |
||||
|
|
||||
|
/** |
||||
|
* 联系人 |
||||
|
*/ |
||||
|
private String contacts; |
||||
|
|
||||
|
/** |
||||
|
* 联系人电话 |
||||
|
*/ |
||||
|
private String contactsMobile; |
||||
|
|
||||
|
/** |
||||
|
* 九小场所url |
||||
|
*/ |
||||
|
private String ninePlace; |
||||
|
|
||||
|
/** |
||||
|
* 是否党员 |
||||
|
*/ |
||||
|
private String isParty; |
||||
|
|
||||
|
/** |
||||
|
* 是否低保户 |
||||
|
*/ |
||||
|
private String isDbh; |
||||
|
|
||||
|
/** |
||||
|
* 是否保障房 |
||||
|
*/ |
||||
|
private String isEnsureHouse; |
||||
|
|
||||
|
/** |
||||
|
* 是否失业 |
||||
|
*/ |
||||
|
private String isUnemployed; |
||||
|
|
||||
|
/** |
||||
|
* 是否育龄妇女 |
||||
|
*/ |
||||
|
private String isYlfn; |
||||
|
|
||||
|
/** |
||||
|
* 是否退役军人 |
||||
|
*/ |
||||
|
private String isVeterans; |
||||
|
|
||||
|
/** |
||||
|
* 是否统战人员 |
||||
|
*/ |
||||
|
private String isUnitedFront; |
||||
|
|
||||
|
/** |
||||
|
* 是否信访人员 |
||||
|
*/ |
||||
|
private String isXfry; |
||||
|
|
||||
|
/** |
||||
|
* 是否志愿者 |
||||
|
*/ |
||||
|
private String isVolunteer; |
||||
|
|
||||
|
/** |
||||
|
* 是否老年人 |
||||
|
*/ |
||||
|
private String isOldPeople; |
||||
|
|
||||
|
/** |
||||
|
* 是否空巢 |
||||
|
*/ |
||||
|
private String isKc; |
||||
|
|
||||
|
/** |
||||
|
* 是否失独 |
||||
|
*/ |
||||
|
private String isSd; |
||||
|
|
||||
|
/** |
||||
|
* 是否失能 |
||||
|
*/ |
||||
|
private String isSn; |
||||
|
|
||||
|
/** |
||||
|
* 是否失智 |
||||
|
*/ |
||||
|
private String isSz; |
||||
|
|
||||
|
/** |
||||
|
* 是否残疾 |
||||
|
*/ |
||||
|
private String isCj; |
||||
|
|
||||
|
/** |
||||
|
* 是否大病 |
||||
|
*/ |
||||
|
private String isDb; |
||||
|
|
||||
|
/** |
||||
|
* 是否慢病 |
||||
|
*/ |
||||
|
private String isMb; |
||||
|
|
||||
|
/** |
||||
|
* 是否特殊人群 |
||||
|
*/ |
||||
|
private String isSpecial; |
||||
|
|
||||
|
/** |
||||
|
* 文化程度【字典表】 |
||||
|
*/ |
||||
|
private String culture; |
||||
|
|
||||
|
/** |
||||
|
* 文化程度备注 |
||||
|
*/ |
||||
|
private String cultureRemakes; |
||||
|
|
||||
|
/** |
||||
|
* 特长【字典表】 |
||||
|
*/ |
||||
|
private String specialSkill; |
||||
|
|
||||
|
/** |
||||
|
* 兴趣爱好 |
||||
|
*/ |
||||
|
private String hobby; |
||||
|
|
||||
|
/** |
||||
|
* 兴趣爱好备注 |
||||
|
*/ |
||||
|
private String hobbyRemakes; |
||||
|
|
||||
|
/** |
||||
|
* 宗教信仰 |
||||
|
*/ |
||||
|
private String faith; |
||||
|
|
||||
|
/** |
||||
|
* 宗教信仰备注 |
||||
|
*/ |
||||
|
private String faithRemakes; |
||||
|
|
||||
|
/** |
||||
|
* 残疾类别【字典表】 |
||||
|
*/ |
||||
|
private String cjlb; |
||||
|
|
||||
|
/** |
||||
|
* 残疾登记(状况)【字典表】 |
||||
|
*/ |
||||
|
private String cjzk; |
||||
|
|
||||
|
/** |
||||
|
* 残疾证号 |
||||
|
*/ |
||||
|
private String cjzh; |
||||
|
|
||||
|
/** |
||||
|
* 残疾说明 |
||||
|
*/ |
||||
|
private String cjsm; |
||||
|
|
||||
|
/** |
||||
|
* 有无监护人【yes no】 |
||||
|
*/ |
||||
|
private String ynJdr; |
||||
|
|
||||
|
/** |
||||
|
* 有无技能特长【yes no】 |
||||
|
*/ |
||||
|
private String ynJntc; |
||||
|
|
||||
|
/** |
||||
|
* 有无劳动能力 |
||||
|
*/ |
||||
|
private String ynLdnl; |
||||
|
|
||||
|
/** |
||||
|
* 有无非义务教育阶段助学【yes no】 |
||||
|
*/ |
||||
|
private String ynFywjyjdzx; |
||||
|
|
||||
|
/** |
||||
|
* 所患大病 |
||||
|
*/ |
||||
|
private String shdb; |
||||
|
|
||||
|
/** |
||||
|
* 患大病时间 |
||||
|
*/ |
||||
|
private String dbsj; |
||||
|
|
||||
|
/** |
||||
|
* 所患慢性病 |
||||
|
*/ |
||||
|
private String shmxb; |
||||
|
|
||||
|
/** |
||||
|
* 患慢性病时间 |
||||
|
*/ |
||||
|
private String mxbsj; |
||||
|
|
||||
|
/** |
||||
|
* 是否参保 |
||||
|
*/ |
||||
|
private String isCb; |
||||
|
|
||||
|
/** |
||||
|
* 自付金额 |
||||
|
*/ |
||||
|
private String zfje; |
||||
|
|
||||
|
/** |
||||
|
* 救助金额 |
||||
|
*/ |
||||
|
private String jzje; |
||||
|
|
||||
|
/** |
||||
|
* 救助时间[yyyy-MM-dd] |
||||
|
*/ |
||||
|
private String jzsj; |
||||
|
|
||||
|
/** |
||||
|
* 享受救助明细序号 |
||||
|
*/ |
||||
|
private String jzmxxh; |
||||
|
|
||||
|
/** |
||||
|
* 健康信息备注 |
||||
|
*/ |
||||
|
private String healthRemakes; |
||||
|
|
||||
|
/** |
||||
|
* 工作单位 |
||||
|
*/ |
||||
|
private String gzdw; |
||||
|
|
||||
|
/** |
||||
|
* 职业 |
||||
|
*/ |
||||
|
private String zy; |
||||
|
|
||||
|
/** |
||||
|
* 离退休时间 |
||||
|
*/ |
||||
|
private String ltxsj; |
||||
|
|
||||
|
/** |
||||
|
* 工作信息备注 |
||||
|
*/ |
||||
|
private String workRemake; |
||||
|
|
||||
|
/** |
||||
|
* 退休金额 |
||||
|
*/ |
||||
|
private String txje; |
||||
|
|
||||
|
/** |
||||
|
* 月收入 |
||||
|
*/ |
||||
|
private String ysr; |
||||
|
|
||||
|
/** |
||||
|
* 籍贯 |
||||
|
*/ |
||||
|
private String jg; |
||||
|
|
||||
|
/** |
||||
|
* 户籍所在地 |
||||
|
*/ |
||||
|
private String hjszd; |
||||
|
|
||||
|
/** |
||||
|
* 现居住地 |
||||
|
*/ |
||||
|
private String xjzd; |
||||
|
|
||||
|
/** |
||||
|
* 人户情况 |
||||
|
*/ |
||||
|
private String rhzk; |
||||
|
|
||||
|
/** |
||||
|
* 居住信息备注 |
||||
|
*/ |
||||
|
private String jzxxRemakes; |
||||
|
|
||||
|
/** |
||||
|
* 民族【字典表】 |
||||
|
*/ |
||||
|
private String mz; |
||||
|
|
||||
|
/** |
||||
|
* 与户主关系【字典表】 |
||||
|
*/ |
||||
|
private String yhzgx; |
||||
|
|
||||
|
/** |
||||
|
* 居住情况【字典表】 |
||||
|
*/ |
||||
|
private String jzqk; |
||||
|
|
||||
|
/** |
||||
|
* 婚姻状况【字典表】 |
||||
|
*/ |
||||
|
private String hyzk; |
||||
|
|
||||
|
/** |
||||
|
* 配偶情况【字典表】 |
||||
|
*/ |
||||
|
private String poqk; |
||||
|
|
||||
|
/** |
||||
|
* 有无赡养人 |
||||
|
*/ |
||||
|
private String ynSyr; |
||||
|
|
||||
|
/** |
||||
|
* 与赡养人关系【字典表】 |
||||
|
*/ |
||||
|
private String ysyrgx; |
||||
|
|
||||
|
/** |
||||
|
* 赡养人电话 |
||||
|
*/ |
||||
|
private String syrMobile; |
||||
|
|
||||
|
/** |
||||
|
* 家庭信息备注 |
||||
|
*/ |
||||
|
private String jtxxRemakes; |
||||
|
|
||||
|
/** |
||||
|
* 预留字段1 |
||||
|
*/ |
||||
|
private String field1; |
||||
|
|
||||
|
/** |
||||
|
* 预留字段2 |
||||
|
*/ |
||||
|
private String field2; |
||||
|
|
||||
|
/** |
||||
|
* 预留字段3 |
||||
|
*/ |
||||
|
private String field3; |
||||
|
|
||||
|
/** |
||||
|
* 预留字段4 |
||||
|
*/ |
||||
|
private String field4; |
||||
|
|
||||
|
/** |
||||
|
* 预留字段5 |
||||
|
*/ |
||||
|
private String field5; |
||||
|
|
||||
|
/** |
||||
|
* 预留字段6 |
||||
|
*/ |
||||
|
private String field6; |
||||
|
|
||||
|
/** |
||||
|
* 预留字段7 |
||||
|
*/ |
||||
|
private String field7; |
||||
|
|
||||
|
/** |
||||
|
* 预留字段8 |
||||
|
*/ |
||||
|
private String field8; |
||||
|
|
||||
|
/** |
||||
|
* 预留字段9 |
||||
|
*/ |
||||
|
private String field9; |
||||
|
|
||||
|
/** |
||||
|
* 预留字段10 |
||||
|
*/ |
||||
|
private String field10; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,39 @@ |
|||||
|
<?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.epmet.dataaggre.dao.epmetuser.IcResiUserDao"> |
||||
|
|
||||
|
<select id="getIcResiUser" resultType="com.epmet.dto.IcResiUserDTO"> |
||||
|
SELECT |
||||
|
id, |
||||
|
customer_id, |
||||
|
agency_id, |
||||
|
grid_id, |
||||
|
home_id, |
||||
|
name, |
||||
|
mobile, |
||||
|
gender, |
||||
|
id_card, |
||||
|
birthday |
||||
|
FROM |
||||
|
ic_resi_user |
||||
|
WHERE |
||||
|
del_flag = '0' |
||||
|
AND customer_id = #{customerId} |
||||
|
AND id_card = #{idCard} |
||||
|
</select> |
||||
|
|
||||
|
<select id="getHomeUserList" resultType="com.epmet.dataaggre.dto.govproject.result.ProjectAnalysisResultDTO$Home"> |
||||
|
SELECT |
||||
|
id icUserId, |
||||
|
home_id homeId, |
||||
|
name icUserName |
||||
|
FROM |
||||
|
ic_resi_user |
||||
|
WHERE |
||||
|
del_flag = '0' |
||||
|
AND home_id = #{homeId} |
||||
|
ORDER BY id = #{icUserId} desc <!-- 指定某个人排在第一位 --> |
||||
|
</select> |
||||
|
|
||||
|
</mapper> |
||||
@ -0,0 +1,19 @@ |
|||||
|
package com.epmet.dto.form.demand; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
@Data |
||||
|
public class DemandOptionFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -5335277881919236426L; |
||||
|
|
||||
|
public interface AddUserInternalGroup { |
||||
|
} |
||||
|
|
||||
|
@NotBlank(message = "token获取客户id不能为空", groups = AddUserInternalGroup.class) |
||||
|
private String customerId; |
||||
|
@NotBlank(message = "查询条件和查看居民详情:query;新增或修改居民信息:addorupdate", groups = AddUserInternalGroup.class) |
||||
|
private String purpose; |
||||
|
} |
||||
@ -0,0 +1,34 @@ |
|||||
|
package com.epmet.dto.form.demand; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 需求研判分析 入参DTO |
||||
|
*/ |
||||
|
@Data |
||||
|
public class DemandResearchAnalysisFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 3528172570410679765L; |
||||
|
public interface AddUserInternalGroup { |
||||
|
} |
||||
|
|
||||
|
public interface AddUserShowGroup extends CustomerClientShowGroup { |
||||
|
} |
||||
|
|
||||
|
@NotBlank(message = "firstCategoryCode不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String firstCategoryCode; |
||||
|
|
||||
|
@NotBlank(message = "isResiUserId不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String icResiUserId; |
||||
|
|
||||
|
private List<String> epmetUserIdList; |
||||
|
|
||||
|
|
||||
|
@NotBlank(message = "tokenDto中的customerId不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String customerId; |
||||
|
} |
||||
@ -0,0 +1,52 @@ |
|||||
|
package com.epmet.dto.form.demand; |
||||
|
|
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 数据分析-服务措施分析-分页查询接口入参 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PageListAnalysisFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 4993949289966075260L; |
||||
|
|
||||
|
public interface AddUserInternalGroup { |
||||
|
} |
||||
|
|
||||
|
public interface AddUserShowGroup extends CustomerClientShowGroup { |
||||
|
} |
||||
|
|
||||
|
@NotNull(message = "页码不能为空", groups = AddUserInternalGroup.class) |
||||
|
private Integer pageNo; |
||||
|
|
||||
|
@NotNull(message = "每页数量不能为空", groups = AddUserInternalGroup.class) |
||||
|
private Integer pageSize; |
||||
|
|
||||
|
@NotBlank(message = "先选择组织或网格", groups = AddUserShowGroup.class) |
||||
|
private String orgId; |
||||
|
@NotBlank(message = "组织或网格的上级", groups = AddUserShowGroup.class) |
||||
|
private String pid; |
||||
|
@NotBlank(message = "orgType=grid或者agency,不能为空", groups = AddUserInternalGroup.class) |
||||
|
private String orgType; |
||||
|
|
||||
|
@NotBlank(message = "分类编码不能为空", groups = AddUserInternalGroup.class) |
||||
|
private String categoryCode; |
||||
|
@NotBlank(message = "上报时间起始日期不能为空,格式yyyyMMdd", groups = AddUserInternalGroup.class) |
||||
|
private String startDateId; |
||||
|
@NotBlank(message = "上报时间截止日期不能为空,格式yyyyMMdd", groups = AddUserInternalGroup.class) |
||||
|
private String endDateId; |
||||
|
|
||||
|
@NotBlank(message = "tokenDto中的customerId不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String customerId; |
||||
|
/** |
||||
|
* orgType=agency时pid拼接上orgId |
||||
|
*/ |
||||
|
private String gridPids; |
||||
|
|
||||
|
private Boolean pageFlag; |
||||
|
} |
||||
@ -0,0 +1,16 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2021/12/9 16:05 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ActivityStatisticsDTO implements Serializable { |
||||
|
private String unitCount; |
||||
|
private String activityCount; |
||||
|
} |
||||
@ -0,0 +1,20 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2021/12/9 10:05 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PartyUnitDistributionResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -4066938451623510159L; |
||||
|
private String id; |
||||
|
private String name; |
||||
|
private String type; |
||||
|
private String longitude; |
||||
|
private String latitude; |
||||
|
} |
||||
@ -0,0 +1,52 @@ |
|||||
|
package com.epmet.dto.result.demand; |
||||
|
|
||||
|
import cn.afterturn.easypoi.excel.annotation.Excel; |
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
@Data |
||||
|
public class DemandRecExcelResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -1110606022410166621L; |
||||
|
|
||||
|
@Excel(name = "状态", width = 15) |
||||
|
private String statusName; |
||||
|
|
||||
|
@Excel(name = "所属网格", width = 40) |
||||
|
private String gridName; |
||||
|
|
||||
|
@Excel(name = "需求类型", width = 40) |
||||
|
private String categoryName; |
||||
|
|
||||
|
@Excel(name = "需求内容", width = 40) |
||||
|
private String content; |
||||
|
|
||||
|
@Excel(name = "上报类型", width = 40) |
||||
|
private String reportTypeName; |
||||
|
|
||||
|
@Excel(name = "上报人", width = 20) |
||||
|
private String reportUserName; |
||||
|
|
||||
|
@Excel(name = "上报时间", width = 25,format ="yyyy-MM-dd HH:mm:ss") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
||||
|
private Date reportTime; |
||||
|
|
||||
|
@Excel(name = "需求人", width = 20) |
||||
|
private String demandUserName; |
||||
|
|
||||
|
/** |
||||
|
* 尹作梅(志愿者) |
||||
|
* XXX(社会组织) |
||||
|
* XXX(社区自组织) |
||||
|
* XXX(区域化党建单位) |
||||
|
*/ |
||||
|
@Excel(name = "服务方", width = 15) |
||||
|
private String serviceShowName; |
||||
|
|
||||
|
@Excel(name = "服务时间", width = 25,format ="yyyy-MM-dd HH:mm:ss") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
||||
|
private Date wantServiceTime; |
||||
|
} |
||||
@ -0,0 +1,29 @@ |
|||||
|
package com.epmet.dto.result.demand; |
||||
|
|
||||
|
import com.epmet.dto.result.HouseUserDTO; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 数据分析-个人档案-需求详情,研判分析 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class DemandResearchAnalysisResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -1024304149893118204L; |
||||
|
/** |
||||
|
* 居民信息及家属列表 |
||||
|
*/ |
||||
|
private String icResiUserId; |
||||
|
private String icUserName; |
||||
|
private String houseId; |
||||
|
private List<HouseUserDTO> houseUserList; |
||||
|
|
||||
|
|
||||
|
private List<IcResiUserReportDemandRes> demandList; |
||||
|
/** |
||||
|
* 入参中给的,再返回去 |
||||
|
*/ |
||||
|
private List<String> epmetUserIdList; |
||||
|
} |
||||
@ -0,0 +1,36 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/12/8 3:29 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ResiBuzzFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 7477325476668438447L; |
||||
|
|
||||
|
public interface ResiBuzzForm{} |
||||
|
|
||||
|
private String orgId; |
||||
|
|
||||
|
private String orgType; |
||||
|
|
||||
|
/** |
||||
|
* 表决中:voting 已转项目:shift_project 已关闭:closed,全部:all |
||||
|
*/ |
||||
|
@NotBlank(message = "status不能为空",groups = ResiBuzzForm.class) |
||||
|
private String status; |
||||
|
|
||||
|
@NotNull(message = "pageSize不能为空",groups = ResiBuzzForm.class) |
||||
|
private Integer pageSize; |
||||
|
|
||||
|
@NotNull(message = "pageNo不能为空",groups = ResiBuzzForm.class) |
||||
|
private Integer pageNo; |
||||
|
} |
||||
@ -0,0 +1,26 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/12/9 9:53 上午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ResiBuzzLeftPieChartFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -7312573663758331220L; |
||||
|
|
||||
|
/** |
||||
|
* 组织ID |
||||
|
*/ |
||||
|
private String orgId; |
||||
|
|
||||
|
/** |
||||
|
* 组织类型,agency:组织,grid:网格 |
||||
|
*/ |
||||
|
private String orgType; |
||||
|
} |
||||
@ -0,0 +1,91 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.epmet.commons.tools.constant.NumConstant; |
||||
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/12/8 3:37 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ResiBuzzDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -1844581181580474374L; |
||||
|
|
||||
|
@JsonIgnore |
||||
|
private String createdBy; |
||||
|
|
||||
|
/** |
||||
|
* 排序 |
||||
|
*/ |
||||
|
private Integer sort; |
||||
|
|
||||
|
/** |
||||
|
* 议题标题 |
||||
|
*/ |
||||
|
private String issueTitle; |
||||
|
|
||||
|
/** |
||||
|
* 议题ID |
||||
|
*/ |
||||
|
private String issueId; |
||||
|
|
||||
|
/** |
||||
|
* 建议 |
||||
|
*/ |
||||
|
private String suggestion; |
||||
|
|
||||
|
/** |
||||
|
* 状态 |
||||
|
*/ |
||||
|
private String status; |
||||
|
|
||||
|
/** |
||||
|
* 创建时间 |
||||
|
*/ |
||||
|
private String createdTime; |
||||
|
|
||||
|
/** |
||||
|
* 支持个数 |
||||
|
*/ |
||||
|
private Integer supportCount; |
||||
|
|
||||
|
/** |
||||
|
* 反对个数 |
||||
|
*/ |
||||
|
private Integer oppositionCount; |
||||
|
|
||||
|
/** |
||||
|
* 表决占比 |
||||
|
*/ |
||||
|
private String voteAccount; |
||||
|
|
||||
|
/** |
||||
|
* 议题发起人 |
||||
|
*/ |
||||
|
private String issueOriginator; |
||||
|
|
||||
|
/** |
||||
|
* 分类名字 |
||||
|
*/ |
||||
|
private String categoryName; |
||||
|
|
||||
|
public ResiBuzzDTO() { |
||||
|
this.createdBy = ""; |
||||
|
this.sort = NumConstant.ZERO; |
||||
|
this.issueTitle = ""; |
||||
|
this.issueId = ""; |
||||
|
this.suggestion = ""; |
||||
|
this.status = ""; |
||||
|
this.createdTime = ""; |
||||
|
this.supportCount = NumConstant.ZERO; |
||||
|
this.oppositionCount = NumConstant.ZERO; |
||||
|
this.voteAccount = ""; |
||||
|
this.issueOriginator = ""; |
||||
|
this.categoryName = "其他"; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,44 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.epmet.commons.tools.constant.NumConstant; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/12/9 9:56 上午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ResiBuzzLeftPieChartResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -4673540577019002156L; |
||||
|
|
||||
|
/** |
||||
|
* 数量 |
||||
|
*/ |
||||
|
private Integer count; |
||||
|
|
||||
|
/** |
||||
|
* 分类编码 |
||||
|
*/ |
||||
|
private String categoryCode; |
||||
|
|
||||
|
/** |
||||
|
* 分类名字 |
||||
|
*/ |
||||
|
private String categoryName; |
||||
|
|
||||
|
/** |
||||
|
* 颜色 |
||||
|
*/ |
||||
|
private String colour; |
||||
|
|
||||
|
public ResiBuzzLeftPieChartResultDTO() { |
||||
|
this.count = NumConstant.ZERO; |
||||
|
this.categoryCode = ""; |
||||
|
this.categoryName = ""; |
||||
|
this.colour = ""; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,28 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.epmet.commons.tools.constant.NumConstant; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/12/8 3:36 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ResiBuzzResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 4914999826185811915L; |
||||
|
|
||||
|
private Integer total; |
||||
|
|
||||
|
private List<ResiBuzzDTO> list; |
||||
|
|
||||
|
public ResiBuzzResultDTO() { |
||||
|
this.total = NumConstant.ZERO; |
||||
|
this.list = new ArrayList<>(); |
||||
|
} |
||||
|
} |
||||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue