forked from luyan/epmet-cloud-lingshan
Browse Source
# Conflicts: # epmet-commons/epmet-commons-extapp-auth/src/main/java/com/epmet/commons/extappauth/aspect/ExternalAppRequestAuthAspect.java # epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/exception/EpmetErrorCode.javamaster
712 changed files with 21878 additions and 2712 deletions
@ -0,0 +1,9 @@ |
|||
package com.epmet.dto; |
|||
|
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class PageFormDTO { |
|||
private Integer pageNo = 1; |
|||
private Integer pageSize = 10; |
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.epmet.dto.result.issue; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class IssueAvgAuditTimeDTO { |
|||
|
|||
private String gridName; |
|||
private Integer avgAuditTime; |
|||
|
|||
|
|||
} |
@ -0,0 +1,11 @@ |
|||
package com.epmet.dto.result.issue; |
|||
|
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class IssueEffectResultDTO { |
|||
|
|||
private Double reportEffectiveRatio; |
|||
private Double conversionRatio; |
|||
|
|||
} |
@ -0,0 +1,18 @@ |
|||
package com.epmet.dto.result.issue; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class IssueGridTotalRankDTO { |
|||
|
|||
private String gridId; |
|||
private String gridName; |
|||
private Integer issueCount; |
|||
|
|||
private List<String> gridNameDataList = new ArrayList<>(); |
|||
private List<Integer> issueCountDataList = new ArrayList<>(); |
|||
|
|||
} |
@ -0,0 +1,18 @@ |
|||
package com.epmet.dto.result.issue; |
|||
|
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class KcIssueSummary { |
|||
|
|||
private String dateId; |
|||
private Integer reportCount; |
|||
private Integer issueCount; |
|||
private Integer pendingCount; |
|||
private Integer rejectedCount; |
|||
private Integer processingCount; |
|||
private Integer closedCount; |
|||
private Integer issueViewCount; |
|||
private Integer voteCount; |
|||
|
|||
} |
@ -0,0 +1,46 @@ |
|||
package com.epmet.dto.result.issue; |
|||
|
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
public class KcPartiTrendResultDTO { |
|||
|
|||
private String monthId; |
|||
private Integer reportCount; |
|||
|
|||
private List<String> xAxis = new ArrayList<>(); |
|||
private List<Integer> reportCountDataList = new ArrayList<>(); |
|||
|
|||
public String getMonthId() { |
|||
return monthId; |
|||
} |
|||
|
|||
public void setMonthId(String monthId) { |
|||
this.monthId = monthId; |
|||
} |
|||
|
|||
public Integer getReportCount() { |
|||
return reportCount; |
|||
} |
|||
|
|||
public void setReportCount(Integer reportCount) { |
|||
this.reportCount = reportCount; |
|||
} |
|||
|
|||
public List<String> getxAxis() { |
|||
return xAxis; |
|||
} |
|||
|
|||
public void setxAxis(List<String> xAxis) { |
|||
this.xAxis = xAxis; |
|||
} |
|||
|
|||
public List<Integer> getReportCountDataList() { |
|||
return reportCountDataList; |
|||
} |
|||
|
|||
public void setReportCountDataList(List<Integer> reportCountDataList) { |
|||
this.reportCountDataList = reportCountDataList; |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
package com.epmet.dto.result.project; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class GridProjectCountRankResultDTO { |
|||
private List<String> gridNameDataList = new ArrayList<>(); |
|||
private List<Integer> projectCountDataList = new ArrayList<>(); |
|||
} |
@ -0,0 +1,14 @@ |
|||
package com.epmet.dto.result.project; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class GridProjectCountResultDTO { |
|||
|
|||
private String gridId; |
|||
private String gridName; |
|||
private Integer projectCount; |
|||
|
|||
} |
@ -0,0 +1,9 @@ |
|||
package com.epmet.dto.result.project; |
|||
|
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class ProjectAvgClosedTimeResultDTO { |
|||
private String gridName; |
|||
private Integer avgClosedCaseTime; |
|||
} |
@ -0,0 +1,10 @@ |
|||
package com.epmet.dto.result.project; |
|||
|
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class ProjectCategoryAnalysisResultDTO { |
|||
private String categoryId; |
|||
private String categoryName; |
|||
private Integer projectCount; |
|||
} |
@ -0,0 +1,87 @@ |
|||
package com.epmet.dto.result.project; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* xAxis 被lombok生成后是XAxis,与nei不符,所以使用手动生成getter/setter方法 |
|||
*/ |
|||
public class ProjectSatisfactionResultDTO { |
|||
|
|||
private List<String> xAxis = new ArrayList<>(); |
|||
private List<Integer> greatSatisDataList = new ArrayList<>(); |
|||
private List<Integer> goodSatisDataList = new ArrayList<>(); |
|||
private List<Integer> disSatisDataList = new ArrayList<>(); |
|||
|
|||
private String monthId; |
|||
// 满意
|
|||
private Integer goodSatis; |
|||
// 非常满意
|
|||
private Integer greatSatis; |
|||
// 不满意
|
|||
private Integer disSatis; |
|||
|
|||
public List<String> getxAxis() { |
|||
return xAxis; |
|||
} |
|||
|
|||
public void setxAxis(List<String> xAxis) { |
|||
this.xAxis = xAxis; |
|||
} |
|||
|
|||
public List<Integer> getGreatSatisDataList() { |
|||
return greatSatisDataList; |
|||
} |
|||
|
|||
public void setGreatSatisDataList(List<Integer> greatSatisDataList) { |
|||
this.greatSatisDataList = greatSatisDataList; |
|||
} |
|||
|
|||
public List<Integer> getGoodSatisDataList() { |
|||
return goodSatisDataList; |
|||
} |
|||
|
|||
public void setGoodSatisDataList(List<Integer> goodSatisDataList) { |
|||
this.goodSatisDataList = goodSatisDataList; |
|||
} |
|||
|
|||
public List<Integer> getDisSatisDataList() { |
|||
return disSatisDataList; |
|||
} |
|||
|
|||
public void setDisSatisDataList(List<Integer> disSatisDataList) { |
|||
this.disSatisDataList = disSatisDataList; |
|||
} |
|||
|
|||
public String getMonthId() { |
|||
return monthId; |
|||
} |
|||
|
|||
public void setMonthId(String monthId) { |
|||
this.monthId = monthId; |
|||
} |
|||
|
|||
public Integer getGoodSatis() { |
|||
return goodSatis; |
|||
} |
|||
|
|||
public void setGoodSatis(Integer goodSatis) { |
|||
this.goodSatis = goodSatis; |
|||
} |
|||
|
|||
public Integer getGreatSatis() { |
|||
return greatSatis; |
|||
} |
|||
|
|||
public void setGreatSatis(Integer greatSatis) { |
|||
this.greatSatis = greatSatis; |
|||
} |
|||
|
|||
public Integer getDisSatis() { |
|||
return disSatis; |
|||
} |
|||
|
|||
public void setDisSatis(Integer disSatis) { |
|||
this.disSatis = disSatis; |
|||
} |
|||
} |
@ -0,0 +1,17 @@ |
|||
package com.epmet.dto.result.project; |
|||
|
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class ProjectSummaryResultDTO { |
|||
|
|||
private String dateId; |
|||
private Integer projectCount; |
|||
private Integer processingCount; |
|||
private Integer closedCount; |
|||
private Integer moveCount; |
|||
private Integer closedCaseCount; |
|||
private Integer projectViewCount; |
|||
private Integer voteCount; |
|||
|
|||
} |
@ -0,0 +1,13 @@ |
|||
package com.epmet.dto.result.project; |
|||
|
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class UserSummaryResultDTO { |
|||
|
|||
private String dateId; |
|||
private Integer vistorCount; |
|||
private Integer regUserCount; |
|||
private Integer partyUserCount; |
|||
|
|||
} |
@ -0,0 +1,20 @@ |
|||
package com.epmet.dto.result.user; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class KcUserPointRankResultDTO { |
|||
|
|||
private List<String> userNameDataList = new ArrayList<>(); |
|||
private List<Integer> pointsDataList = new ArrayList<>(); |
|||
|
|||
@Data |
|||
public static class KcUserPoint { |
|||
private String userId; |
|||
private String userName; |
|||
private Integer pointTotal; |
|||
} |
|||
} |
@ -0,0 +1,29 @@ |
|||
package com.epmet.dto.result.user; |
|||
|
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class KcUserPortrayalResultDTO { |
|||
|
|||
// 年龄分布
|
|||
private AgeDistribution ageDistribution; |
|||
// 性别分布
|
|||
private GenderDistribution genderDistribution; |
|||
|
|||
@Data |
|||
public static class AgeDistribution { |
|||
private Integer ageLevel1; |
|||
private Integer ageLevel2; |
|||
private Integer ageLevel3; |
|||
private Integer ageLevel4; |
|||
private Integer ageLevel5; |
|||
private Integer ageLevel6; |
|||
} |
|||
|
|||
@Data |
|||
public static class GenderDistribution { |
|||
private Integer malePartyUserCount; |
|||
private Integer femalePartyUserCount; |
|||
} |
|||
|
|||
} |
@ -0,0 +1,19 @@ |
|||
package com.epmet.dto.result.user; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class KcUserRankResultDTO { |
|||
|
|||
// 网格名称
|
|||
private String gridName; |
|||
// 浏览用户数
|
|||
private Integer viewUserCount; |
|||
|
|||
private List<String> gridNameDataList = new ArrayList<>(); |
|||
private List<Integer> totalUserDataList = new ArrayList<>(); |
|||
|
|||
} |
@ -0,0 +1,63 @@ |
|||
package com.epmet.dto.result.user; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
public class KcUserTrendResultDTO { |
|||
|
|||
private String monthId; |
|||
private Integer regUserCount; |
|||
private Integer partyUserCount; |
|||
|
|||
private List<String> xAxis = new ArrayList<>(); |
|||
private List<Integer> userDataList = new ArrayList<>(); |
|||
private List<Integer> partyUserDataList = new ArrayList<>(); |
|||
|
|||
public String getMonthId() { |
|||
return monthId; |
|||
} |
|||
|
|||
public void setMonthId(String monthId) { |
|||
this.monthId = monthId; |
|||
} |
|||
|
|||
public Integer getRegUserCount() { |
|||
return regUserCount; |
|||
} |
|||
|
|||
public void setRegUserCount(Integer regUserCount) { |
|||
this.regUserCount = regUserCount; |
|||
} |
|||
|
|||
public Integer getPartyUserCount() { |
|||
return partyUserCount; |
|||
} |
|||
|
|||
public void setPartyUserCount(Integer partyUserCount) { |
|||
this.partyUserCount = partyUserCount; |
|||
} |
|||
|
|||
public List<String> getxAxis() { |
|||
return xAxis; |
|||
} |
|||
|
|||
public void setxAxis(List<String> xAxis) { |
|||
this.xAxis = xAxis; |
|||
} |
|||
|
|||
public List<Integer> getUserDataList() { |
|||
return userDataList; |
|||
} |
|||
|
|||
public void setUserDataList(List<Integer> userDataList) { |
|||
this.userDataList = userDataList; |
|||
} |
|||
|
|||
public List<Integer> getPartyUserDataList() { |
|||
return partyUserDataList; |
|||
} |
|||
|
|||
public void setPartyUserDataList(List<Integer> partyUserDataList) { |
|||
this.partyUserDataList = partyUserDataList; |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
package com.epmet.dto.result.user; |
|||
|
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class ScreenKcCategoryNewsCountResultDTO { |
|||
|
|||
private String categoryName; |
|||
private Integer newsCount; |
|||
private Integer partiCount; |
|||
|
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.result.user; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
public class ScreenKcCategoryNewsRankResultDTO { |
|||
|
|||
private List<String> xAxis = new ArrayList<>(); |
|||
private List<Integer> partiCountDataList = new ArrayList<>(); |
|||
|
|||
public List<String> getxAxis() { |
|||
return xAxis; |
|||
} |
|||
|
|||
public void setxAxis(List<String> xAxis) { |
|||
this.xAxis = xAxis; |
|||
} |
|||
|
|||
public List<Integer> getPartiCountDataList() { |
|||
return partiCountDataList; |
|||
} |
|||
|
|||
public void setPartiCountDataList(List<Integer> partiCountDataList) { |
|||
this.partiCountDataList = partiCountDataList; |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
package com.epmet.dto.result.user; |
|||
|
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class ScreenKcNewsHotRankResultDTO { |
|||
|
|||
private String newsId; |
|||
private String newsTitle; |
|||
private Integer hotCount; |
|||
|
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.epmet.dto.result.user; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
public class ScreenKcNewsPartiTrendResultDTO { |
|||
|
|||
private List<String> xAxis = new ArrayList<>(); |
|||
|
|||
private List<Integer> partiCountDataList = new ArrayList<>(); |
|||
|
|||
@Data |
|||
public static class ScreenKcNewsPartyCount { |
|||
|
|||
private String monthId; |
|||
private Integer partiCount; |
|||
|
|||
} |
|||
|
|||
public List<String> getxAxis() { |
|||
return xAxis; |
|||
} |
|||
|
|||
public void setxAxis(List<String> xAxis) { |
|||
this.xAxis = xAxis; |
|||
} |
|||
|
|||
public List<Integer> getPartiCountDataList() { |
|||
return partiCountDataList; |
|||
} |
|||
|
|||
public void setPartiCountDataList(List<Integer> partiCountDataList) { |
|||
this.partiCountDataList = partiCountDataList; |
|||
} |
|||
} |
@ -0,0 +1,14 @@ |
|||
package com.epmet.dto.result.user; |
|||
|
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class ScreenKcNewsSummaryResultDTO { |
|||
|
|||
private String dateId; |
|||
private Integer newsCount; |
|||
private Integer readCount; |
|||
private Integer likeCount; |
|||
private Integer commentCount; |
|||
|
|||
} |
@ -0,0 +1,44 @@ |
|||
package com.epmet.evaluationindex.screen.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 5、下级部门指数排行(安宁数据段用) 入参 |
|||
* @Author zhangyong |
|||
* @DateTime 2020/09/08 9:54 |
|||
*/ |
|||
@Data |
|||
public class AnNingSubAgencyIndexRankFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -2920561669035794486L; |
|||
|
|||
public interface SubAgencyIndexRank{} |
|||
|
|||
/** |
|||
* 机关ID |
|||
*/ |
|||
@NotBlank(message = "组织id不能为空",groups = {SubAgencyIndexRank.class}) |
|||
private String agencyId; |
|||
|
|||
/** |
|||
* 默认查询前几名 |
|||
*/ |
|||
@NotNull(message = "默认查询名次不能为空",groups = {SubAgencyIndexRank.class}) |
|||
private Integer topNum; |
|||
|
|||
/** |
|||
* asc 正序, desc 降序 |
|||
*/ |
|||
@NotNull(message = "排序方式不能为空",groups = {SubAgencyIndexRank.class}) |
|||
private String sort; |
|||
|
|||
/** |
|||
* 年度:year 月度:month |
|||
*/ |
|||
@NotNull(message = "年度、月度不能为空",groups = {SubAgencyIndexRank.class}) |
|||
private String type; |
|||
} |
@ -0,0 +1,44 @@ |
|||
package com.epmet.evaluationindex.screen.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/20 9:54 上午 |
|||
*/ |
|||
@Data |
|||
public class GridIndexRankFormDTO implements Serializable { |
|||
|
|||
|
|||
private static final long serialVersionUID = 7865119038417362515L; |
|||
/** |
|||
* 机关ID |
|||
*/ |
|||
private String agencyId; |
|||
|
|||
/** |
|||
* 默认查询前几名 |
|||
*/ |
|||
@NotNull(message = "默认查询名次不能为空") |
|||
private Integer topNum; |
|||
/** |
|||
* 客户I |
|||
*/ |
|||
@NotBlank(message = "客户Id不能为空") |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 年Id |
|||
*/ |
|||
private String yearId; |
|||
|
|||
/** |
|||
* 组织类别 agency:组织;部门:department;网格:grid |
|||
*/ |
|||
private String orgType; |
|||
|
|||
} |
@ -0,0 +1,32 @@ |
|||
package com.epmet.evaluationindex.screen.dto.form; |
|||
|
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 邻里党群-社群人数排名-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GroupTopicShiftIssueRatioRankFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -2880432640584616651L; |
|||
/** |
|||
* 页码,从1开始 |
|||
*/ |
|||
@Min(value = 1, message = "页码必须大于0", groups = { AddUserInternalGroup.class }) |
|||
private Integer pageNo; |
|||
/** |
|||
* 页容量,默认10页 |
|||
*/ |
|||
@Min(value = 1, message = "每页条数必须大于0", groups = { AddUserInternalGroup.class }) |
|||
private Integer pageSize; |
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId; |
|||
public interface AddUserInternalGroup {} |
|||
|
|||
} |
@ -0,0 +1,32 @@ |
|||
package com.epmet.evaluationindex.screen.dto.form; |
|||
|
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 邻里党群-社群人数排名-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GroupUserCountRankFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -2880432640584616651L; |
|||
/** |
|||
* 页码,从1开始 |
|||
*/ |
|||
@Min(value = 1, message = "页码必须大于0", groups = { AddUserInternalGroup.class }) |
|||
private Integer pageNo; |
|||
/** |
|||
* 页容量,默认10页 |
|||
*/ |
|||
@Min(value = 1, message = "每页条数必须大于0", groups = { AddUserInternalGroup.class }) |
|||
private Integer pageSize; |
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId; |
|||
public interface AddUserInternalGroup {} |
|||
|
|||
} |
@ -0,0 +1,32 @@ |
|||
package com.epmet.evaluationindex.screen.dto.form; |
|||
|
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 公益互助-个人(志愿者)公益时长排名-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class HeartVolunteerrankFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -2880432640584616651L; |
|||
public interface AddUserInternalGroup {} |
|||
/** |
|||
* 页码,从1开始 |
|||
*/ |
|||
@Min(value = 1, message = "页码必须大于0", groups = { AddUserInternalGroup.class }) |
|||
private Integer pageNo; |
|||
/** |
|||
* 页容量,默认10页 |
|||
*/ |
|||
@Min(value = 1, message = "每页条数必须大于0", groups = { AddUserInternalGroup.class }) |
|||
private Integer pageSize; |
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId; |
|||
|
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 公益互助-公益活动次数 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class ActTrendMonthlyResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 月id :yyyyMM |
|||
*/ |
|||
private String monthId = ""; |
|||
|
|||
/** |
|||
* 活动数量(本月举行的活动) |
|||
*/ |
|||
private Integer actCount = 0; |
|||
|
|||
} |
@ -0,0 +1,53 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.LinkedList; |
|||
|
|||
/** |
|||
* 公益互助-志愿者画像 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class AgeDistributionResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 小于20岁的志愿者总人数 |
|||
*/ |
|||
private Integer ageLevel1 = 0; |
|||
/** |
|||
* 20-30岁的志愿者总人数 |
|||
*/ |
|||
private Integer ageLevel2 = 0; |
|||
/** |
|||
* 31-40岁的志愿者总人数 |
|||
*/ |
|||
private Integer ageLevel3 = 0; |
|||
/** |
|||
* 41-50岁的志愿者总人数 |
|||
*/ |
|||
private Integer ageLevel4 = 0; |
|||
/** |
|||
* 51-60岁的志愿者总人数 |
|||
*/ |
|||
private Integer ageLevel5 = 0; |
|||
/** |
|||
* 60+岁的志愿者总人数 |
|||
*/ |
|||
private Integer ageLevel6 = 0; |
|||
/** |
|||
* 志愿者中男性总人数 |
|||
*/ |
|||
@JsonIgnore |
|||
private Integer maleCount = 0; |
|||
/** |
|||
* 志愿者中女性总人数 |
|||
*/ |
|||
@JsonIgnore |
|||
private Integer femaleCount = 0; |
|||
|
|||
} |
@ -0,0 +1,45 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zhangyong |
|||
* @DateTime 2020/09/11 9:58 上午 |
|||
*/ |
|||
@Data |
|||
public class AnNingSubAgencyIndexRankResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -2767000156092731932L; |
|||
|
|||
/** |
|||
* 名称(组织或者网格名称,部门名称) |
|||
*/ |
|||
private String name = ""; |
|||
|
|||
/** |
|||
* 总指数 |
|||
*/ |
|||
private Double totalIndex = 0.0; |
|||
|
|||
/** |
|||
* 党建能力 |
|||
*/ |
|||
private Double governAbility = 0.0; |
|||
|
|||
/** |
|||
* 治理能力 |
|||
*/ |
|||
private Double partyDevAbility = 0.0; |
|||
|
|||
/** |
|||
* 服务能力 |
|||
*/ |
|||
private Double serviceAbility = 0.0; |
|||
|
|||
/** |
|||
* 组织id或者网格id |
|||
*/ |
|||
private String orgId = ""; |
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.LinkedList; |
|||
|
|||
/** |
|||
* 公益互助-志愿者画像 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GenderDistributionResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 志愿者中男性总人数 |
|||
*/ |
|||
private Integer maleCount = 0; |
|||
/** |
|||
* 志愿者中女性总人数 |
|||
*/ |
|||
private Integer femaleCount = 0; |
|||
|
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 邻里党群-社群数量排名 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GridNameGroupCountResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 网格名称 |
|||
*/ |
|||
private String gridName = ""; |
|||
|
|||
/** |
|||
* 社群数量 |
|||
*/ |
|||
private Integer groupCount = 0; |
|||
|
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.LinkedList; |
|||
|
|||
/** |
|||
* 邻里党群-社群数量排名 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GroupGridgroupcountrankResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 网格名称集合 |
|||
*/ |
|||
private LinkedList<String> gridNameDataList; |
|||
|
|||
/** |
|||
* 社群数量集合 |
|||
*/ |
|||
private LinkedList<Integer> groupCountDataList; |
|||
|
|||
|
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.LinkedList; |
|||
|
|||
/** |
|||
* 邻里党群-话题参与趋势 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GroupPartitopictrendResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 横坐标月份集合 |
|||
*/ |
|||
private LinkedList<String> xAxis; |
|||
|
|||
/** |
|||
* 话题数量 集合 |
|||
*/ |
|||
private LinkedList<Integer> actCountDataList; |
|||
|
|||
|
|||
} |
@ -0,0 +1,48 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 公益互助-各类总数汇总 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GroupSummaryResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 日期Id, 数据更新至:yyyyMMdd |
|||
*/ |
|||
private String dateId = ""; |
|||
|
|||
/** |
|||
* 社群总数 |
|||
*/ |
|||
private Integer groupCount = 0; |
|||
/** |
|||
* 群员总数 |
|||
*/ |
|||
private Integer memberCount = 0; |
|||
/** |
|||
* 话题数量 |
|||
*/ |
|||
private Integer topicCount = 0; |
|||
/** |
|||
* 话题参与量 |
|||
*/ |
|||
private Integer partiCount = 0; |
|||
/** |
|||
* 转化议题率,这个后端自己算 |
|||
*/ |
|||
private String shiftIssueRatio = ""; |
|||
/** |
|||
* 话题转议题总数 |
|||
*/ |
|||
@JsonIgnore |
|||
private Integer shiftIssueCount = 0; |
|||
|
|||
} |
@ -0,0 +1,33 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 公益互助-个人(志愿者)公益时长排名 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GroupTopicShiftIssueRatioRankResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 小组id |
|||
*/ |
|||
private String groupId = ""; |
|||
/** |
|||
* 小组名称 |
|||
*/ |
|||
private String groupName = ""; |
|||
/** |
|||
* 转为议题的话题数 |
|||
*/ |
|||
private Integer shifitIssueCount = 0; |
|||
/** |
|||
* 群主名称 |
|||
*/ |
|||
private String groupLeader = ""; |
|||
|
|||
} |
@ -0,0 +1,33 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 公益互助-个人(志愿者)公益时长排名 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GroupUserCountRankResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 小组id |
|||
*/ |
|||
private String groupId = ""; |
|||
/** |
|||
* 小组名称 |
|||
*/ |
|||
private String groupName = ""; |
|||
/** |
|||
* 群成员数 |
|||
*/ |
|||
private Integer memberCount = 0; |
|||
/** |
|||
* 群主名称 |
|||
*/ |
|||
private String groupLeader = ""; |
|||
|
|||
} |
@ -0,0 +1,29 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
import rx.internal.util.LinkedArrayList; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.LinkedList; |
|||
|
|||
/** |
|||
* 公益互助-公益活动次数 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class HeartActcounttrendResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 横坐标 月份集合 |
|||
*/ |
|||
private LinkedList<String> xAxis; |
|||
|
|||
/** |
|||
* 活动次数 集合 |
|||
*/ |
|||
private LinkedList<String> actCountDataList; |
|||
|
|||
|
|||
} |
@ -0,0 +1,43 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 公益互助-各类总数汇总 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class HeartSummaryResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 日期Id, 数据更新至:yyyyMMdd |
|||
*/ |
|||
private String dateId = ""; |
|||
|
|||
/** |
|||
* 活动次数 |
|||
*/ |
|||
private Integer actCount = 0; |
|||
/** |
|||
* 志愿者总数 |
|||
*/ |
|||
private Integer volunteerCount = 0; |
|||
/** |
|||
* 参与人次 |
|||
*/ |
|||
private Integer partiUserCount = 0; |
|||
/** |
|||
* 发放积分 |
|||
*/ |
|||
private Integer rewardPointCount = 0; |
|||
/** |
|||
* 公益时长 |
|||
*/ |
|||
private Integer heartTime = 0; |
|||
|
|||
|
|||
} |
@ -0,0 +1,27 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.LinkedList; |
|||
|
|||
/** |
|||
* 公益互助-志愿者画像 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class HeartVolunteerportrayalResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 个年龄段志愿者人数 |
|||
*/ |
|||
private AgeDistributionResultDTO ageDistribution; |
|||
|
|||
/** |
|||
* 男、女志愿者人员 |
|||
*/ |
|||
private GenderDistributionResultDTO genderDistribution; |
|||
|
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 公益互助-个人(志愿者)公益时长排名 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class HeartVolunteerrankResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 用户id |
|||
*/ |
|||
private String userId = ""; |
|||
/** |
|||
* 用户名称 |
|||
*/ |
|||
private String userName = ""; |
|||
/** |
|||
* 公益时长分钟 |
|||
*/ |
|||
private Integer heartTime = 0; |
|||
/** |
|||
* 积分 |
|||
*/ |
|||
private Integer points = 0; |
|||
/** |
|||
* 所属网格名称 |
|||
*/ |
|||
private String gridName = ""; |
|||
|
|||
} |
@ -0,0 +1,71 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 首页-平台各类总数 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class HomepageSummaryResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 数据更新至:yyyyMMdd |
|||
*/ |
|||
private String dateId = ""; |
|||
|
|||
/** |
|||
* 网格总数 |
|||
*/ |
|||
private Integer gridCount = 0; |
|||
/** |
|||
* 已开通网格数 |
|||
*/ |
|||
private Integer openedGridCount = 0; |
|||
/** |
|||
* 议题总数 |
|||
*/ |
|||
private Integer issueCount = 0; |
|||
/** |
|||
* 项目总数 |
|||
*/ |
|||
private Integer projectCount = 0; |
|||
/** |
|||
* 用户总数 |
|||
*/ |
|||
private Integer userCount = 0; |
|||
/** |
|||
* 党员用户 |
|||
*/ |
|||
private Integer partyUserCount = 0; |
|||
/** |
|||
* 社群总数 |
|||
*/ |
|||
private Integer groupCount = 0; |
|||
/** |
|||
* 话题总数 |
|||
*/ |
|||
private Integer topicCount = 0; |
|||
/** |
|||
* 新闻总数 |
|||
*/ |
|||
private Integer newsCount = 0; |
|||
/** |
|||
* 阅读数量 |
|||
*/ |
|||
private Integer readCount = 0; |
|||
/** |
|||
* 公益活动总数 |
|||
*/ |
|||
private Integer actCount = 0; |
|||
/** |
|||
* 志愿者总数 |
|||
*/ |
|||
private Integer volunteerCount = 0; |
|||
|
|||
|
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 邻里党群-话题参与趋势 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class KcTopicTrendGridMonthlyResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 月id :yyyyMM |
|||
*/ |
|||
private String monthId = ""; |
|||
|
|||
/** |
|||
* 话题数量(所在月新增话题数) |
|||
*/ |
|||
private Integer topicCount = 0; |
|||
|
|||
} |
@ -0,0 +1,412 @@ |
|||
package com.epmet.datareport.controller.screen; |
|||
|
|||
import com.epmet.commons.extappauth.annotation.ExternalAppRequestAuth; |
|||
import com.epmet.commons.extappauth.bean.ExternalAppRequestParam; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.commons.tools.validator.ValidatorUtils; |
|||
import com.epmet.datareport.service.evaluationindex.screen.KcScreenService; |
|||
import com.epmet.dto.PageFormDTO; |
|||
import com.epmet.dto.result.project.*; |
|||
import com.epmet.dto.result.user.*; |
|||
import com.epmet.evaluationindex.screen.dto.form.GroupTopicShiftIssueRatioRankFormDTO; |
|||
import com.epmet.evaluationindex.screen.dto.form.GroupUserCountRankFormDTO; |
|||
import com.epmet.evaluationindex.screen.dto.form.HeartVolunteerrankFormDTO; |
|||
import com.epmet.evaluationindex.screen.dto.result.*; |
|||
import com.epmet.dto.result.issue.KcIssueSummary; |
|||
import com.epmet.dto.result.issue.KcPartiTrendResultDTO; |
|||
import com.epmet.evaluationindex.screen.dto.result.HomepageSummaryResultDTO; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 孔村大屏api |
|||
* |
|||
* @author zhangyong |
|||
* @date 2020/9/10 10:21 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("kcscreen") |
|||
public class KcScreenController { |
|||
|
|||
@Autowired |
|||
private KcScreenService kcScreenService; |
|||
|
|||
|
|||
/** |
|||
* @param externalAppRequestParam |
|||
* @Description 首页-平台各类总数 |
|||
* @author sun |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("homepage/summary") |
|||
public Result<HomepageSummaryResultDTO> homepageSummary(ExternalAppRequestParam externalAppRequestParam){ |
|||
return new Result<HomepageSummaryResultDTO>().ok(kcScreenService.homepageSummary(externalAppRequestParam)); |
|||
} |
|||
|
|||
/** |
|||
* @param externalAppRequestParam |
|||
* @Description 公益互助-各类总数汇总 |
|||
* @author sun |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("heart/summary") |
|||
public Result<HeartSummaryResultDTO> heartSummary(ExternalAppRequestParam externalAppRequestParam){ |
|||
return new Result<HeartSummaryResultDTO>().ok(kcScreenService.heartSummary(externalAppRequestParam)); |
|||
} |
|||
|
|||
/** |
|||
* @param externalAppRequestParam |
|||
* @Description 公益互助-公益活动次数 |
|||
* @author sun |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("heart/actcounttrend") |
|||
public Result<HeartActcounttrendResultDTO> heartActcounttrend(ExternalAppRequestParam externalAppRequestParam){ |
|||
return new Result<HeartActcounttrendResultDTO>().ok(kcScreenService.heartActcounttrend(externalAppRequestParam)); |
|||
} |
|||
/** |
|||
* 议题分析-各类总数 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("issue/summary") |
|||
public Result getIssueSummary(ExternalAppRequestParam externalAppRequestParam) { |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
//String customerId = "b09527201c4409e19d1dbc5e3c3429a1";
|
|||
KcIssueSummary issueSummary = kcScreenService.getIssueSummary(customerId); |
|||
return new Result().ok(issueSummary); |
|||
} |
|||
|
|||
/** |
|||
* 参与趋势 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("issue/partitrend") |
|||
public Result getIssuePartiTrend(ExternalAppRequestParam externalAppRequestParam) { |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
//String customerId = "b09527201c4409e19d1dbc5e3c3429a1";
|
|||
KcPartiTrendResultDTO trendResultDTO = kcScreenService.getIssuePartiTrend(customerId); |
|||
return new Result().ok(trendResultDTO); |
|||
} |
|||
|
|||
/** |
|||
* 按照议题数量排名 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("issue/gridtotalrank") |
|||
public Result getIssueGridTotalRank(ExternalAppRequestParam externalAppRequestParam) { |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
//String customerId = "2fe0065f70ca0e23ce4c26fca5f1d933";
|
|||
return new Result().ok(kcScreenService.getIssueGridTotalRank(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 议题分析-审核效率排名 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("issue/avgaudittimerank") |
|||
public Result getAvgAuditTimeRank(ExternalAppRequestParam externalAppRequestParam) { |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
//String customerId = "2fe0065f70ca0e23ce4c26fca5f1d933";
|
|||
return new Result().ok(kcScreenService.getAvgAuditTimeRank(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 议题分析-议题效率 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("issue/effective") |
|||
public Result getIssueEffective(ExternalAppRequestParam externalAppRequestParam) { |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
//String customerId = "2fe0065f70ca0e23ce4c26fca5f1d933";
|
|||
return new Result().ok(kcScreenService.getIssueEffective(customerId)); |
|||
} |
|||
|
|||
|
|||
/** |
|||
* @param externalAppRequestParam |
|||
* @Description 公益互助-志愿者画像 |
|||
* @author sun |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("heart/volunteerportrayal") |
|||
public Result<HeartVolunteerportrayalResultDTO> heartVolunteerportrayal(ExternalAppRequestParam externalAppRequestParam){ |
|||
return new Result<HeartVolunteerportrayalResultDTO>().ok(kcScreenService.heartVolunteerportrayal(externalAppRequestParam)); |
|||
} |
|||
|
|||
/** |
|||
* @param externalAppRequestParam |
|||
* @Description 公益互助-个人(志愿者)公益时长排名 |
|||
* @author sun |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("heart/volunteerrank") |
|||
public Result<List<HeartVolunteerrankResultDTO>> heartVolunteerrank(ExternalAppRequestParam externalAppRequestParam, @RequestBody HeartVolunteerrankFormDTO formDTO){ |
|||
ValidatorUtils.validateEntity(formDTO, HeartVolunteerrankFormDTO.AddUserInternalGroup.class); |
|||
formDTO.setCustomerId(externalAppRequestParam.getCustomerId()); |
|||
return new Result<List<HeartVolunteerrankResultDTO>>().ok(kcScreenService.heartVolunteerrank(formDTO)); |
|||
} |
|||
|
|||
|
|||
/** |
|||
* @param externalAppRequestParam |
|||
* @Description 邻里党群-各类总数 |
|||
* @author sun |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("group/summary") |
|||
public Result<GroupSummaryResultDTO> groupSummary(ExternalAppRequestParam externalAppRequestParam){ |
|||
return new Result<GroupSummaryResultDTO>().ok(kcScreenService.groupSummary(externalAppRequestParam)); |
|||
} |
|||
|
|||
/** |
|||
* @param externalAppRequestParam |
|||
* @Description 邻里党群-话题参与趋势 |
|||
* @author sun |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("group/partitopictrend") |
|||
public Result<GroupPartitopictrendResultDTO> groupPartitopictrend(ExternalAppRequestParam externalAppRequestParam){ |
|||
return new Result<GroupPartitopictrendResultDTO>().ok(kcScreenService.groupPartitopictrend(externalAppRequestParam)); |
|||
} |
|||
|
|||
/** |
|||
* @param externalAppRequestParam |
|||
* @Description 邻里党群-社群数量排名 |
|||
* @author sun |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("group/gridgroupcountrank") |
|||
public Result<GroupGridgroupcountrankResultDTO> groupGridgroupcountrank(ExternalAppRequestParam externalAppRequestParam){ |
|||
return new Result<GroupGridgroupcountrankResultDTO>().ok(kcScreenService.groupGridgroupcountrank(externalAppRequestParam)); |
|||
} |
|||
|
|||
/** |
|||
* @param externalAppRequestParam |
|||
* @Description 邻里党群-社群数量排名 |
|||
* @author sun |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("group/usercountrank") |
|||
public Result<List<GroupUserCountRankResultDTO>> groupUserCountRank(ExternalAppRequestParam externalAppRequestParam, @RequestBody GroupUserCountRankFormDTO formDTO){ |
|||
ValidatorUtils.validateEntity(formDTO, GroupUserCountRankFormDTO.AddUserInternalGroup.class); |
|||
formDTO.setCustomerId(externalAppRequestParam.getCustomerId()); |
|||
return new Result<List<GroupUserCountRankResultDTO>>().ok(kcScreenService.groupUserCountRank(formDTO)); |
|||
} |
|||
|
|||
/** |
|||
* @param externalAppRequestParam |
|||
* @Description 邻里党群-话题转化率排名 |
|||
* @author sun |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("group/topicshiftissueratiorank") |
|||
public Result<List<GroupTopicShiftIssueRatioRankResultDTO>> groupTopicShiftIssueRatioRank(ExternalAppRequestParam externalAppRequestParam, @RequestBody GroupTopicShiftIssueRatioRankFormDTO formDTO){ |
|||
ValidatorUtils.validateEntity(formDTO, GroupTopicShiftIssueRatioRankFormDTO.AddUserInternalGroup.class); |
|||
formDTO.setCustomerId(externalAppRequestParam.getCustomerId()); |
|||
return new Result<List<GroupTopicShiftIssueRatioRankResultDTO>>().ok(kcScreenService.groupTopicShiftIssueRatioRank(formDTO)); |
|||
} |
|||
|
|||
/** |
|||
* 项目各类总数汇总 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("project/summary") |
|||
public Result<ProjectSummaryResultDTO> getProjectSummary(ExternalAppRequestParam externalAppRequestParam){ |
|||
//String customerId = "2fe0065f70ca0e23ce4c26fca5f1d933";
|
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<ProjectSummaryResultDTO>().ok(kcScreenService.getProjectSummary(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 项目分析-网格下项目数量排名 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("project/gridcountrank") |
|||
public Result<GridProjectCountRankResultDTO> getProjectGridCountRank(ExternalAppRequestParam externalAppRequestParam){ |
|||
//String customerId = "2fe0065f70ca0e23ce4c26fca5f1d933";
|
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<GridProjectCountRankResultDTO>().ok(kcScreenService.getGridProjectCountRank(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 项目分析-项目类别 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("project/categoryanalysis") |
|||
public Result<List<ProjectCategoryAnalysisResultDTO>> getProjectCategoryAnalysis(ExternalAppRequestParam externalAppRequestParam){ |
|||
//String customerId = "2fe0065f70ca0e23ce4c26fca5f1d933";
|
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<List<ProjectCategoryAnalysisResultDTO>>().ok(kcScreenService.getProjectCategoryAnalysis(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 网格项目平均结案时间 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("project/avgclosedtimeanalysis") |
|||
public Result<List<ProjectAvgClosedTimeResultDTO>> getGridProjectAvgClosedTimeAnalysis(ExternalAppRequestParam externalAppRequestParam){ |
|||
//String customerId = "2fe0065f70ca0e23ce4c26fca5f1d933";
|
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<List<ProjectAvgClosedTimeResultDTO>>().ok(kcScreenService.getGridProjectAvgClosedTimeAnalysis(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 项目分析-居民满意度 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("project/statis") |
|||
public Result<ProjectSatisfactionResultDTO> getProjectSatisfactionAnalyze(ExternalAppRequestParam externalAppRequestParam){ |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<ProjectSatisfactionResultDTO>().ok(kcScreenService.getProjectSatisfactionAnalyze(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 用户-summary |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("user/summary") |
|||
public Result<UserSummaryResultDTO> getUserSummary(ExternalAppRequestParam externalAppRequestParam){ |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
//String customerId = "2fe0065f70ca0e23ce4c26fca5f1d933";
|
|||
return new Result<UserSummaryResultDTO>().ok(kcScreenService.getUserSummary(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 用户量趋势 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("user/trend") |
|||
public Result<KcUserTrendResultDTO> getUserTrend(ExternalAppRequestParam externalAppRequestParam){ |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<KcUserTrendResultDTO>().ok(kcScreenService.getUserTrend(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 网格用户数量排名 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("user/griduserrank") |
|||
public Result<KcUserRankResultDTO> getUserRank(ExternalAppRequestParam externalAppRequestParam){ |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<KcUserRankResultDTO>().ok(kcScreenService.getUserRank(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 用户画像 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("user/userportrayal") |
|||
public Result<KcUserPortrayalResultDTO> getUserPortrayal(ExternalAppRequestParam externalAppRequestParam){ |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<KcUserPortrayalResultDTO>().ok(kcScreenService.getUserPortrayal(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 用户积分排名 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("user/pointsrank") |
|||
public Result<KcUserPointRankResultDTO> getUserPointsRank(ExternalAppRequestParam externalAppRequestParam, |
|||
@RequestBody PageFormDTO form) { |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<KcUserPointRankResultDTO>().ok(kcScreenService.getUserPointsRank(customerId, form.getPageNo(), form.getPageSize())); |
|||
} |
|||
|
|||
/** |
|||
* 党建声音-各类总数 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("news/summary") |
|||
public Result<ScreenKcNewsSummaryResultDTO> getNewsSummary(ExternalAppRequestParam externalAppRequestParam){ |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<ScreenKcNewsSummaryResultDTO>().ok(kcScreenService.getNewsSummary(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 新闻阅读参与趋势 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("news/partitrend") |
|||
public Result<ScreenKcNewsPartiTrendResultDTO> getNewsPartiTrend(ExternalAppRequestParam externalAppRequestParam){ |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<ScreenKcNewsPartiTrendResultDTO>().ok(kcScreenService.getNewsPartiTrend(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 党建声音-分类的news数量 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("news/category") |
|||
public Result<List<ScreenKcCategoryNewsCountResultDTO>> getNewsCountGroupByCategory(ExternalAppRequestParam externalAppRequestParam){ |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<List<ScreenKcCategoryNewsCountResultDTO>>().ok(kcScreenService.getNewsCountOfCategory(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 党建声音-分类的用户参与数排行 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("news/userparticategoryrank") |
|||
public Result<ScreenKcCategoryNewsRankResultDTO> getNewsPartiCategoryRank(ExternalAppRequestParam externalAppRequestParam){ |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<ScreenKcCategoryNewsRankResultDTO>().ok(kcScreenService.getNewsPartiCategoryRank(customerId)); |
|||
} |
|||
|
|||
/** |
|||
* 党建声音-热点新闻排行 |
|||
* @param externalAppRequestParam |
|||
* @return |
|||
*/ |
|||
@ExternalAppRequestAuth |
|||
@PostMapping("news/hotrank") |
|||
public Result<List<ScreenKcNewsHotRankResultDTO>> listNewsHotRank(ExternalAppRequestParam externalAppRequestParam, |
|||
@RequestBody PageFormDTO form){ |
|||
String customerId = externalAppRequestParam.getCustomerId(); |
|||
return new Result<List<ScreenKcNewsHotRankResultDTO>>().ok(kcScreenService.getNewsHotRank(customerId, form.getPageNo(), form.getPageSize())); |
|||
} |
|||
|
|||
|
|||
} |
@ -0,0 +1,39 @@ |
|||
/** |
|||
* 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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.evaluationindex.screen.dto.result.HeartSummaryResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
/** |
|||
* KC-活动各类总数(先根据customerId+dateId删除) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcActSummaryDailyDao { |
|||
|
|||
/** |
|||
* @param customerId |
|||
* @Description 公益互助-各类总数汇总 |
|||
* @author sun |
|||
*/ |
|||
HeartSummaryResultDTO selectHeartSummary(@Param("customerId") String customerId); |
|||
} |
@ -0,0 +1,41 @@ |
|||
/** |
|||
* 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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.evaluationindex.screen.dto.result.ActTrendMonthlyResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* KC-活动(次数+时长)趋势(先根据customerId+monthId删除) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcActTrendMonthlyDao { |
|||
|
|||
/** |
|||
* @param customerId |
|||
* @Description 按客户查询最近十二个月数据 |
|||
* @author sun |
|||
*/ |
|||
List<ActTrendMonthlyResultDTO> selectActTrendMonthly(@Param("customerId") String customerId); |
|||
} |
@ -0,0 +1,50 @@ |
|||
/** |
|||
* 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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.evaluationindex.screen.dto.form.GroupTopicShiftIssueRatioRankFormDTO; |
|||
import com.epmet.evaluationindex.screen.dto.form.GroupUserCountRankFormDTO; |
|||
import com.epmet.evaluationindex.screen.dto.result.GroupTopicShiftIssueRatioRankResultDTO; |
|||
import com.epmet.evaluationindex.screen.dto.result.GroupUserCountRankResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* KC-小组详情(先根据customerId+dateId删除) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcGroupDetailGridDailyDao { |
|||
|
|||
/** |
|||
* @param formDTO |
|||
* @Description 按客户查询最近一天所有网格数据 再按社群总数降序排列 |
|||
* @author sun |
|||
*/ |
|||
List<GroupUserCountRankResultDTO> selectGroupUserCountRankList(GroupUserCountRankFormDTO formDTO); |
|||
|
|||
/** |
|||
* @param formDTO |
|||
* @Description 按客户查询最近一天所有网格数据 再按转议题数量降序排列 |
|||
* @author sun |
|||
*/ |
|||
List<GroupTopicShiftIssueRatioRankResultDTO> selectGroupTopicShiftIssueRatioRankList(GroupTopicShiftIssueRatioRankFormDTO formDTO); |
|||
} |
@ -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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.evaluationindex.screen.dto.result.GridNameGroupCountResultDTO; |
|||
import com.epmet.evaluationindex.screen.dto.result.GroupSummaryResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.LinkedList; |
|||
|
|||
/** |
|||
* KC-小组分析各类总数(先根据customerId+dateId删除) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcGroupSummaryGridDailyDao { |
|||
|
|||
/** |
|||
* @param customerId |
|||
* @Description 邻里党群-各类总数 |
|||
* @author sun |
|||
*/ |
|||
GroupSummaryResultDTO selectGroupSummaryDaily(@Param("customerId") String customerId); |
|||
|
|||
/** |
|||
* @param customerId |
|||
* @Description 按日期降序,查询客户最近一天所有网格数据,按每个网格的社区总数降序排列 |
|||
* @author sun |
|||
*/ |
|||
LinkedList<GridNameGroupCountResultDTO> selectGridDailyList(@Param("customerId") String customerId); |
|||
} |
@ -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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.dto.result.issue.IssueAvgAuditTimeDTO; |
|||
import com.epmet.dto.result.issue.IssueEffectResultDTO; |
|||
import com.epmet.dto.result.issue.IssueGridTotalRankDTO; |
|||
import com.epmet.dto.result.issue.KcIssueSummary; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* KC-议题分析(各类总数) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcIssueSummaryGridDailyDao { |
|||
|
|||
KcIssueSummary getIssueSummary(@Param("customerId") String customerId); |
|||
|
|||
List<IssueGridTotalRankDTO> getIssueGridTotalRank(@Param("customerId") String customerId); |
|||
|
|||
List<IssueAvgAuditTimeDTO> getAvgAuditTimeRank(@Param("customerId") String customerId); |
|||
|
|||
IssueEffectResultDTO getIssueEffective(@Param("customerId") String customerId); |
|||
} |
@ -0,0 +1,37 @@ |
|||
/** |
|||
* 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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.dto.result.issue.KcPartiTrendResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* KC-议题参与趋势(每天上报当前月)customerId+monthId先删后增 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcIssueTrendGridMonthlyDao { |
|||
|
|||
List<KcPartiTrendResultDTO> getIssuePartiTrend(@Param("customerId") String customerId); |
|||
|
|||
} |
@ -0,0 +1,37 @@ |
|||
/** |
|||
* 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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.dto.result.user.ScreenKcCategoryNewsCountResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* KC-新闻-按类别统计(先根据customerId+dateId删除) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcNewsCategoryAnalysisDao { |
|||
|
|||
List<ScreenKcCategoryNewsCountResultDTO> getNewsCountOfCategory(String customerId); |
|||
|
|||
List<ScreenKcCategoryNewsCountResultDTO> listNewsPartiCategoryRank(String customerId); |
|||
} |
@ -0,0 +1,35 @@ |
|||
/** |
|||
* 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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.dto.result.user.ScreenKcNewsHotRankResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* KC-热点新闻排行-(先根据customerId删除) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcNewsRankDao { |
|||
|
|||
List<ScreenKcNewsHotRankResultDTO> getNewsHotRank(String customerId); |
|||
} |
@ -0,0 +1,33 @@ |
|||
/** |
|||
* 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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.dto.result.user.ScreenKcNewsSummaryResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
/** |
|||
* KC-新闻-各类总数(先根据customerId+dateId删除) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcNewsSummaryDailyDao { |
|||
|
|||
ScreenKcNewsSummaryResultDTO getNewsSummary(String customerId); |
|||
} |
@ -0,0 +1,35 @@ |
|||
/** |
|||
* 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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.dto.result.user.ScreenKcNewsPartiTrendResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* KC-新闻参与趋势-(先根据customerId+monthId删除) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcNewsTrendMonthlyDao { |
|||
|
|||
List<ScreenKcNewsPartiTrendResultDTO.ScreenKcNewsPartyCount> getNewsPartiTrend(String customerId); |
|||
} |
@ -0,0 +1,39 @@ |
|||
/** |
|||
* 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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.evaluationindex.screen.dto.result.HomepageSummaryResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
/** |
|||
* KC-平台各汇总值(先根据customerId+dateId删除) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcPlatformSummaryDailyDao { |
|||
|
|||
/** |
|||
* @param customerId |
|||
* @Description 首页-平台各类总数 |
|||
* @author sun |
|||
*/ |
|||
HomepageSummaryResultDTO selectSummaryDaily(@Param("customerId") String customerId); |
|||
} |
@ -0,0 +1,35 @@ |
|||
/** |
|||
* 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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.dto.result.project.ProjectCategoryAnalysisResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* KC-项目按分类统计上报总数(先根据customerId+dateId删除) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcProjectCategoryGridDailyDao { |
|||
|
|||
List<ProjectCategoryAnalysisResultDTO> listProjectCountGroupByCategory(String customerId); |
|||
} |
@ -0,0 +1,35 @@ |
|||
/** |
|||
* 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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.dto.result.project.ProjectSatisfactionResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* KC-项目满意度分析(customerId+monthId先删除记录,再插入) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcProjectSatisGridMonthlyDao { |
|||
|
|||
List<ProjectSatisfactionResultDTO> getProjectSatisfactionAnalyze(String customerId); |
|||
} |
@ -0,0 +1,41 @@ |
|||
/** |
|||
* 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.datareport.dao.evaluationindex.screenkc; |
|||
|
|||
import com.epmet.dto.result.project.GridProjectCountResultDTO; |
|||
import com.epmet.dto.result.project.ProjectAvgClosedTimeResultDTO; |
|||
import com.epmet.dto.result.project.ProjectSummaryResultDTO; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* KC-项目分析(各类总数先根据customerId+dateId删除,后插入) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-09-09 |
|||
*/ |
|||
@Mapper |
|||
public interface ScreenKcProjectSummaryGridDailyDao { |
|||
|
|||
List<GridProjectCountResultDTO> getGridProjectCountRank(String customerId); |
|||
|
|||
ProjectSummaryResultDTO getProjectSummary(String customerId); |
|||
|
|||
List<ProjectAvgClosedTimeResultDTO> getGridProjectAvgClosedTimeAnalysis(String customerId); |
|||
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue