forked from luyan/epmet-cloud-lingshan
				
			
				 11 changed files with 359 additions and 0 deletions
			
			
		@ -0,0 +1,34 @@ | 
				
			|||
package com.epmet.dataaggre.dto.govissue.form; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import javax.validation.constraints.NotNull; | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.List; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/12/25 下午1:26 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class AllIssueFormDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = -7857792672812118217L; | 
				
			|||
 | 
				
			|||
    public interface AllIssueForm{} | 
				
			|||
 | 
				
			|||
    @NotNull(message = "页码不能为空",groups = {AllIssueForm.class}) | 
				
			|||
    private Integer pageNo; | 
				
			|||
 | 
				
			|||
    @NotNull(message = "每页数量不能为空",groups = {AllIssueForm.class}) | 
				
			|||
    private Integer pageSize; | 
				
			|||
 | 
				
			|||
    @NotNull(message = "议题类型不能为空",groups = {AllIssueForm.class}) | 
				
			|||
    private String issueType; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格Id集合 | 
				
			|||
     */ | 
				
			|||
    private List<String> gridIdList; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,32 @@ | 
				
			|||
package com.epmet.dataaggre.dto.govissue.result; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.ArrayList; | 
				
			|||
import java.util.List; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/12/25 下午1:32 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class AllIssueResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = -2729009012650779109L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 议题总数 | 
				
			|||
     */ | 
				
			|||
    private Integer total; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 议题列表 | 
				
			|||
     */ | 
				
			|||
    private List<IssueListResultDTO> issueList; | 
				
			|||
 | 
				
			|||
    public AllIssueResultDTO() { | 
				
			|||
        this.total = 0; | 
				
			|||
        this.issueList = new ArrayList<>(); | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
@ -0,0 +1,108 @@ | 
				
			|||
package com.epmet.dataaggre.dto.govissue.result; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/12/25 下午1:34 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class IssueListResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = -2926735144624342550L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 议题ID | 
				
			|||
     */ | 
				
			|||
    private String issueId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 议题标题 | 
				
			|||
     */ | 
				
			|||
    private String issueTitle; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 所属网格(网格所属组织名称-网格名称) | 
				
			|||
     */ | 
				
			|||
    private String belongsGridName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 议题建议 | 
				
			|||
     */ | 
				
			|||
    private String suggestion; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格ID | 
				
			|||
     */ | 
				
			|||
    private String gridId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 议题创建时间 | 
				
			|||
     */ | 
				
			|||
    private Long createTime; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 议题关闭说明(关闭时的答复) | 
				
			|||
     */ | 
				
			|||
    private String issueCloseReason; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 议题关闭时间 | 
				
			|||
     */ | 
				
			|||
    private Long issueClosedTime; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 议题状态 | 
				
			|||
     */ | 
				
			|||
    private String status; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 结案说明 | 
				
			|||
     */ | 
				
			|||
    private String closedReason; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 驳回理由 | 
				
			|||
     */ | 
				
			|||
    private String rejectedReason; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 驳回时间 | 
				
			|||
     */ | 
				
			|||
    private Long rejectedTime; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 话题ID | 
				
			|||
     */ | 
				
			|||
    private String topicId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 审核中的创建时间 | 
				
			|||
     */ | 
				
			|||
    private Long auditingTime; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 转项目时间 | 
				
			|||
     */ | 
				
			|||
    private Long shiftProjectTime; | 
				
			|||
 | 
				
			|||
    public IssueListResultDTO() { | 
				
			|||
        this.issueId = ""; | 
				
			|||
        this.issueTitle = ""; | 
				
			|||
        this.belongsGridName = ""; | 
				
			|||
        this.suggestion = ""; | 
				
			|||
        this.gridId = ""; | 
				
			|||
        this.createTime = 0L; | 
				
			|||
        this.issueCloseReason = ""; | 
				
			|||
        this.issueClosedTime = 0L; | 
				
			|||
        this.status = ""; | 
				
			|||
        this.closedReason = ""; | 
				
			|||
        this.rejectedReason = ""; | 
				
			|||
        this.rejectedTime = 0L; | 
				
			|||
        this.topicId = ""; | 
				
			|||
        this.auditingTime = 0L; | 
				
			|||
        this.shiftProjectTime = 0L; | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
@ -1,8 +1,22 @@ | 
				
			|||
package com.epmet.dataaggre.service.govissue; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.tools.security.dto.TokenDto; | 
				
			|||
import com.epmet.dataaggre.dto.govissue.form.AllIssueFormDTO; | 
				
			|||
import com.epmet.dataaggre.dto.govissue.result.AllIssueResultDTO; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/12/25 上午9:16 | 
				
			|||
 */ | 
				
			|||
public interface GovIssueService { | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Description  按组织查询所有议题 | 
				
			|||
     * @Param formDTO | 
				
			|||
     * @Param tokenDto | 
				
			|||
     * @author zxc | 
				
			|||
     * @date 2020/12/25 下午2:37 | 
				
			|||
     */ | 
				
			|||
    AllIssueResultDTO allIssueList(AllIssueFormDTO formDTO,TokenDto tokenDto); | 
				
			|||
 | 
				
			|||
} | 
				
			|||
 | 
				
			|||
					Loading…
					
					
				
		Reference in new issue