forked from luyan/epmet-cloud-lingshan
				
			
				 46 changed files with 1035 additions and 38 deletions
			
			
		@ -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,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 isResiUserId; | 
				
			|||
 | 
				
			|||
    private List<String> epmetUserIdList; | 
				
			|||
 | 
				
			|||
 | 
				
			|||
    @NotBlank(message = "tokenDto中的customerId不能为空",groups = AddUserInternalGroup.class) | 
				
			|||
    private String customerId; | 
				
			|||
} | 
				
			|||
@ -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,36 @@ | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
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; | 
				
			|||
} | 
				
			|||
@ -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<>(); | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
@ -0,0 +1,15 @@ | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 家属 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class HouseUserDTO implements Serializable { | 
				
			|||
    private static final long serialVersionUID = -5307147522738642535L; | 
				
			|||
    private String icResiUserId; | 
				
			|||
    private String icUserName; | 
				
			|||
} | 
				
			|||
@ -0,0 +1,19 @@ | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.List; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 案件居民、家属列表 | 
				
			|||
 * 只有名称这些简要信息 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class IcResiUserBriefDTO extends HouseUserDTO implements Serializable { | 
				
			|||
    private String houseId; | 
				
			|||
    /** | 
				
			|||
     * 同屋的其他人 | 
				
			|||
     */ | 
				
			|||
    private List<HouseUserDTO> houseUserList; | 
				
			|||
} | 
				
			|||
					Loading…
					
					
				
		Reference in new issue