7 changed files with 333 additions and 12 deletions
			
			
		@ -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.dao.indexscore; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import com.epmet.commons.mybatis.dao.BaseDao; | 
				
			||||
 | 
					import com.epmet.entity.indexscore.CpcScoreEntity; | 
				
			||||
 | 
					import org.apache.ibatis.annotations.Mapper; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * 党员相关分值 | 
				
			||||
 | 
					 * | 
				
			||||
 | 
					 * @author generator generator@elink-cn.com | 
				
			||||
 | 
					 * @since v1.0.0 2020-08-31 | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Mapper | 
				
			||||
 | 
					public interface CpcScoreDao extends BaseDao<CpcScoreEntity> { | 
				
			||||
 | 
						 | 
				
			||||
 | 
					} | 
				
			||||
@ -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.dao.indexscore; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import com.epmet.commons.mybatis.dao.BaseDao; | 
				
			||||
 | 
					import com.epmet.entity.indexscore.GridScoreEntity; | 
				
			||||
 | 
					import org.apache.ibatis.annotations.Mapper; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * 网格相关分值 | 
				
			||||
 | 
					 * | 
				
			||||
 | 
					 * @author generator generator@elink-cn.com | 
				
			||||
 | 
					 * @since v1.0.0 2020-08-31 | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Mapper | 
				
			||||
 | 
					public interface GridScoreDao extends BaseDao<GridScoreEntity> { | 
				
			||||
 | 
						 | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,87 @@ | 
				
			|||||
 | 
					/** | 
				
			||||
 | 
					 * 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.indexscore; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import com.baomidou.mybatisplus.annotation.TableName; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import com.epmet.commons.mybatis.entity.BaseEpmetEntity; | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					import lombok.EqualsAndHashCode; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import java.math.BigDecimal; | 
				
			||||
 | 
					import java.util.Date; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * 党员相关分值 | 
				
			||||
 | 
					 * | 
				
			||||
 | 
					 * @author generator generator@elink-cn.com | 
				
			||||
 | 
					 * @since v1.0.0 2020-08-31 | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					@EqualsAndHashCode(callSuper=false) | 
				
			||||
 | 
					@TableName("fact_index_cpc_score") | 
				
			||||
 | 
					public class CpcScoreEntity extends BaseEpmetEntity { | 
				
			||||
 | 
					
 | 
				
			||||
 | 
						private static final long serialVersionUID = 1L; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 客户Id | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private String customerId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 网格所属的机关Id | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private String agencyId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 网格Id | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private String gridId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 用户id | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private String userId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 月维度Id: yyyyMM | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private String monthId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 党建能力分值 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private BigDecimal partyAblityScore; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 参与议事分值 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private BigDecimal joinIssueScore; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 党务活动分值 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private BigDecimal partyWorkActScore; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 联系群众分值 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private BigDecimal contactMassesScore; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,92 @@ | 
				
			|||||
 | 
					/** | 
				
			||||
 | 
					 * 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.indexscore; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import com.baomidou.mybatisplus.annotation.TableName; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import com.epmet.commons.mybatis.entity.BaseEpmetEntity; | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					import lombok.EqualsAndHashCode; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import java.math.BigDecimal; | 
				
			||||
 | 
					import java.util.Date; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * 网格相关分值 | 
				
			||||
 | 
					 * | 
				
			||||
 | 
					 * @author generator generator@elink-cn.com | 
				
			||||
 | 
					 * @since v1.0.0 2020-08-31 | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					@EqualsAndHashCode(callSuper=false) | 
				
			||||
 | 
					@TableName("fact_index_grid_score") | 
				
			||||
 | 
					public class GridScoreEntity extends BaseEpmetEntity { | 
				
			||||
 | 
					
 | 
				
			||||
 | 
						private static final long serialVersionUID = 1L; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 客户Id | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private String customerId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 网格Id | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private String gridId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 网格所属的机关Id | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private String agencyId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 季度ID | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private String quarterId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 年度ID | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private String yearId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 月维度Id: yyyyMM | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private String monthId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 总指数分值 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private BigDecimal totalScore; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 党建能力分值 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private BigDecimal partyAblityScore; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 治理能力分值 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private BigDecimal govrnAblityScore; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 服务能力分值 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
						private BigDecimal serviceAblityScore; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,26 @@ | 
				
			|||||
 | 
					<?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.indexscore.CpcScoreDao"> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    <resultMap type="com.epmet.entity.indexscore.CpcScoreEntity" id="cpcScoreMap"> | 
				
			||||
 | 
					        <result property="id" column="ID"/> | 
				
			||||
 | 
					        <result property="customerId" column="CUSTOMER_ID"/> | 
				
			||||
 | 
					        <result property="agencyId" column="AGENCY_ID"/> | 
				
			||||
 | 
					        <result property="gridId" column="GRID_ID"/> | 
				
			||||
 | 
					        <result property="userId" column="USER_ID"/> | 
				
			||||
 | 
					        <result property="monthId" column="MONTH_ID"/> | 
				
			||||
 | 
					        <result property="partyAblityScore" column="PARTY_ABLITY_SCORE"/> | 
				
			||||
 | 
					        <result property="joinIssueScore" column="JOIN_ISSUE_SCORE"/> | 
				
			||||
 | 
					        <result property="partyWorkActScore" column="PARTY_WORK_ACT_SCORE"/> | 
				
			||||
 | 
					        <result property="contactMassesScore" column="CONTACT_MASSES_SCORE"/> | 
				
			||||
 | 
					        <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> | 
				
			||||
@ -0,0 +1,27 @@ | 
				
			|||||
 | 
					<?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.indexscore.GridScoreDao"> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    <resultMap type="com.epmet.entity.indexscore.GridScoreEntity" id="gridScoreMap"> | 
				
			||||
 | 
					        <result property="id" column="ID"/> | 
				
			||||
 | 
					        <result property="customerId" column="CUSTOMER_ID"/> | 
				
			||||
 | 
					        <result property="gridId" column="GRID_ID"/> | 
				
			||||
 | 
					        <result property="agencyId" column="AGENCY_ID"/> | 
				
			||||
 | 
					        <result property="quarterId" column="QUARTER_ID"/> | 
				
			||||
 | 
					        <result property="yearId" column="YEAR_ID"/> | 
				
			||||
 | 
					        <result property="monthId" column="MONTH_ID"/> | 
				
			||||
 | 
					        <result property="totalScore" column="TOTAL_SCORE"/> | 
				
			||||
 | 
					        <result property="partyAblityScore" column="PARTY_ABLITY_SCORE"/> | 
				
			||||
 | 
					        <result property="govrnAblityScore" column="GOVRN_ABLITY_SCORE"/> | 
				
			||||
 | 
					        <result property="serviceAblityScore" column="SERVICE_ABLITY_SCORE"/> | 
				
			||||
 | 
					        <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