forked from rongchao/epmet-cloud-rizhao
				
			
			
			
				Browse Source
			
			
			
			
				
		Conflicts: epmet-module/data-report/data-report-server/src/main/java/com/epmet/datareport/service/evaluationindex/screen/KcScreenService.java epmet-module/data-report/data-report-server/src/main/java/com/epmet/datareport/service/evaluationindex/screen/impl/KcScreenServiceImpl.javadev
				 33 changed files with 418 additions and 222 deletions
			
			
		@ -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,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; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -1,31 +0,0 @@ | 
				
			|||
/** | 
				
			|||
 * 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 org.apache.ibatis.annotations.Mapper; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * KC-用户公益时长排名(先根据customerId删除) | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2020-09-09 | 
				
			|||
 */ | 
				
			|||
@Mapper | 
				
			|||
public interface ScreenKcUserHeatRankGridDailyDao { | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -1,7 +0,0 @@ | 
				
			|||
<?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.datareport.dao.evaluationindex.screenkc.ScreenKcUserHeatRankGridDailyDao"> | 
				
			|||
 | 
				
			|||
 | 
				
			|||
</mapper> | 
				
			|||
@ -1,33 +0,0 @@ | 
				
			|||
/** | 
				
			|||
 * 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.dao.evaluationindex.screen; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.mybatis.dao.BaseDao; | 
				
			|||
import com.epmet.entity.evaluationindex.screen.ScreenKcUserHeatRankGridDailyEntity; | 
				
			|||
import org.apache.ibatis.annotations.Mapper; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * KC-用户公益时长排名(先根据customerId删除) | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2020-09-09 | 
				
			|||
 */ | 
				
			|||
@Mapper | 
				
			|||
public interface ScreenKcUserHeatRankGridDailyDao extends BaseDao<ScreenKcUserHeatRankGridDailyEntity> { | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -1,96 +0,0 @@ | 
				
			|||
/** | 
				
			|||
 * 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.entity.evaluationindex.screen; | 
				
			|||
 | 
				
			|||
import com.baomidou.mybatisplus.annotation.TableName; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; | 
				
			|||
import lombok.Data; | 
				
			|||
import lombok.EqualsAndHashCode; | 
				
			|||
 | 
				
			|||
import java.util.Date; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * KC-用户公益时长排名(先根据customerId删除) | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2020-09-09 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
@EqualsAndHashCode(callSuper=false) | 
				
			|||
@TableName("screen_kc_user_heat_rank_grid_daily") | 
				
			|||
public class ScreenKcUserHeatRankGridDailyEntity extends BaseEpmetEntity { | 
				
			|||
 | 
				
			|||
	private static final long serialVersionUID = 1L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 客户Id | 
				
			|||
     */ | 
				
			|||
	private String customerId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 数据更新至:yyyyMMdd | 
				
			|||
     */ | 
				
			|||
	private String dateId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格id | 
				
			|||
     */ | 
				
			|||
	private String gridId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格名称 | 
				
			|||
     */ | 
				
			|||
	private String gridName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格所属组织id | 
				
			|||
     */ | 
				
			|||
	private String parentAgencyId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 所有上级ID,用英文逗号分开 ? | 
				
			|||
     */ | 
				
			|||
	private String allParentIds; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 用户id | 
				
			|||
     */ | 
				
			|||
	private String userId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 用户姓名 | 
				
			|||
     */ | 
				
			|||
	private String userName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 1志愿者 0不是志愿者 | 
				
			|||
     */ | 
				
			|||
	private Integer volunteerFlag; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 爱心时长 单位分钟 | 
				
			|||
     */ | 
				
			|||
	private Integer heartTime; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 积分 | 
				
			|||
     */ | 
				
			|||
	private Integer points; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -1,28 +0,0 @@ | 
				
			|||
<?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.dao.evaluationindex.screen.ScreenKcUserHeatRankGridDailyDao"> | 
				
			|||
 | 
				
			|||
    <resultMap type="com.epmet.entity.evaluationindex.screen.ScreenKcUserHeatRankGridDailyEntity" id="screenKcUserHeatRankGridDailyMap"> | 
				
			|||
        <result property="id" column="ID"/> | 
				
			|||
        <result property="customerId" column="CUSTOMER_ID"/> | 
				
			|||
        <result property="dateId" column="DATE_ID"/> | 
				
			|||
        <result property="gridId" column="GRID_ID"/> | 
				
			|||
        <result property="gridName" column="GRID_NAME"/> | 
				
			|||
        <result property="parentAgencyId" column="PARENT_AGENCY_ID"/> | 
				
			|||
        <result property="allParentIds" column="ALL_PARENT_IDS"/> | 
				
			|||
        <result property="userId" column="USER_ID"/> | 
				
			|||
        <result property="userName" column="USER_NAME"/> | 
				
			|||
        <result property="volunteerFlag" column="VOLUNTEER_FLAG"/> | 
				
			|||
        <result property="heartTime" column="HEART_TIME"/> | 
				
			|||
        <result property="points" column="POINTS"/> | 
				
			|||
        <result property="delFlag" column="DEL_FLAG"/> | 
				
			|||
        <result property="revision" column="REVISION"/> | 
				
			|||
        <result property="createdBy" column="CREATED_BY"/> | 
				
			|||
        <result property="createdTime" column="CREATED_TIME"/> | 
				
			|||
        <result property="updatedBy" column="UPDATED_BY"/> | 
				
			|||
        <result property="updatedTime" column="UPDATED_TIME"/> | 
				
			|||
    </resultMap> | 
				
			|||
 | 
				
			|||
 | 
				
			|||
</mapper> | 
				
			|||
					Loading…
					
					
				
		Reference in new issue