139 changed files with 7213 additions and 1948 deletions
@ -0,0 +1,15 @@ |
|||
package com.elink.esua.epdc.constant; |
|||
|
|||
/** |
|||
* TypeKey 常量 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/18 10:10 |
|||
*/ |
|||
public interface RoleTypeKeyConstant { |
|||
|
|||
/** |
|||
* 角色:网格长 |
|||
*/ |
|||
String ROLE_GRID_LEADER = "gridLeader"; |
|||
} |
@ -0,0 +1,50 @@ |
|||
package com.elink.esua.epdc.dto; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 机构层级关系与机构负责人 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/18 10:55 |
|||
*/ |
|||
@Data |
|||
public class DeptLevelAndLeaderDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 8264059305193996215L; |
|||
|
|||
/** |
|||
* 部门ID |
|||
*/ |
|||
private Long deptId; |
|||
/** |
|||
* 部门名称 |
|||
*/ |
|||
private String deptName; |
|||
/** |
|||
* 父所有部门ID |
|||
*/ |
|||
private String parentDeptIds; |
|||
/** |
|||
* 父所有部门 |
|||
*/ |
|||
private String parentDeptNames; |
|||
/** |
|||
* 所有部门ID |
|||
*/ |
|||
private String allDeptIds; |
|||
/** |
|||
* 所有部门名称 |
|||
*/ |
|||
private String allDeptNames; |
|||
/** |
|||
* 部门负责人名称 |
|||
*/ |
|||
private String leaderName; |
|||
/** |
|||
* 部门负责人名称 |
|||
*/ |
|||
private String typeKey; |
|||
} |
@ -0,0 +1,41 @@ |
|||
package com.elink.esua.epdc.commons.tools.constant; |
|||
|
|||
import org.apache.commons.codec.CharEncoding; |
|||
import org.springframework.http.MediaType; |
|||
|
|||
|
|||
/** |
|||
* 字符串常量 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/13 11:19 |
|||
*/ |
|||
public interface StrConstant { |
|||
|
|||
String UTF_8 = CharEncoding.UTF_8; |
|||
|
|||
String ISO_8859_1 = CharEncoding.ISO_8859_1; |
|||
|
|||
String JAVASCRIPT = "javascript"; |
|||
|
|||
String APPLICATION_JSON_UTF8_VALUE = MediaType.APPLICATION_JSON_UTF8_VALUE; |
|||
|
|||
String EXCEL_SUFFIX_2003 = ".xls"; |
|||
|
|||
String EXCEL_SUFFIX_2007 = ".xlsx"; |
|||
|
|||
/** |
|||
* 连字符号、短杠 |
|||
*/ |
|||
String HYPHEN = "-"; |
|||
|
|||
/** |
|||
* 英文逗号 |
|||
*/ |
|||
String COMMA = ","; |
|||
|
|||
/** |
|||
* 冒号 |
|||
*/ |
|||
String COLON = ":"; |
|||
} |
@ -0,0 +1,51 @@ |
|||
package com.elink.esua.epdc.commons.tools.utils; |
|||
|
|||
|
|||
import java.time.*; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/13 15:05 |
|||
*/ |
|||
public class LocalDateUtils { |
|||
|
|||
|
|||
public static LocalDateTime dateToLocalDateTime(Date date) { |
|||
Instant instant = date.toInstant(); |
|||
ZoneId zone = ZoneId.systemDefault(); |
|||
return LocalDateTime.ofInstant(instant, zone); |
|||
} |
|||
|
|||
public static LocalDate dateToLocalDate(Date date) { |
|||
Instant instant = date.toInstant(); |
|||
ZoneId zone = ZoneId.systemDefault(); |
|||
LocalDateTime localDateTime = LocalDateTime.ofInstant(instant, zone); |
|||
return localDateTime.toLocalDate(); |
|||
} |
|||
|
|||
public static YearMonth dateToYearMonth(Date date) { |
|||
LocalDate localDate = dateToLocalDate(date); |
|||
return YearMonth.of(localDate.getYear(), localDate.getMonthValue()); |
|||
} |
|||
|
|||
public static LocalTime dateToLocalTime(Date date) { |
|||
Instant instant = date.toInstant(); |
|||
ZoneId zone = ZoneId.systemDefault(); |
|||
LocalDateTime localDateTime = LocalDateTime.ofInstant(instant, zone); |
|||
return localDateTime.toLocalTime(); |
|||
} |
|||
|
|||
public static Date localDateTimeToDate(LocalDateTime localDateTime) { |
|||
ZoneId zone = ZoneId.systemDefault(); |
|||
Instant instant = localDateTime.atZone(zone).toInstant(); |
|||
return Date.from(instant); |
|||
} |
|||
|
|||
public static Date localDateToDate(LocalDate localDate) { |
|||
ZoneId zone = ZoneId.systemDefault(); |
|||
Instant instant = localDate.atStartOfDay().atZone(zone).toInstant(); |
|||
return Date.from(instant); |
|||
} |
|||
|
|||
} |
@ -0,0 +1,17 @@ |
|||
package com.elink.esua.epdc.constant; |
|||
|
|||
|
|||
/** |
|||
* @author: qushutong |
|||
* @Date: 2019/12/20 15:53 |
|||
* @Description: 评价结果:0-不满意,1-基本满意,2-非常满意 |
|||
*/ |
|||
public interface ItemEvaluationLevel { |
|||
|
|||
String levaluationLevelBad = "0"; |
|||
|
|||
String levaluationLevelBetter = "1"; |
|||
|
|||
String levaluationLevelBest = "2"; |
|||
|
|||
} |
@ -0,0 +1,32 @@ |
|||
package com.elink.esua.epdc.dto.events.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
|
|||
/** |
|||
* @author: qushutong |
|||
* @Date: 2019/12/16 14:52 |
|||
* @Description: 查询参数 |
|||
*/ |
|||
@Data |
|||
public class EventCountSqlFromDTO implements Serializable { |
|||
private static final long serialVersionUID = 4648104037156856679L; |
|||
/*** |
|||
* 网格id |
|||
*/ |
|||
private Long gridId; |
|||
|
|||
/*** |
|||
* 月 季 年 0,1,2 |
|||
*/ |
|||
private String type; |
|||
|
|||
/*** |
|||
* 0 是群众反应问题总数 1 群众反应问题响应数 |
|||
*/ |
|||
private String responseType; |
|||
|
|||
} |
@ -1,35 +0,0 @@ |
|||
package com.elink.esua.epdc.enums; |
|||
|
|||
/** |
|||
* 议题或项目枚举 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/10/21 10:30 |
|||
*/ |
|||
public enum ReferenceTypeEnum { |
|||
|
|||
/** |
|||
* 议题 |
|||
*/ |
|||
ISSUE("issue"), |
|||
|
|||
/** |
|||
* 项目 |
|||
*/ |
|||
ITEM("item"), |
|||
|
|||
/** |
|||
* 事件 |
|||
*/ |
|||
EVENT("event"); |
|||
|
|||
private String name; |
|||
|
|||
ReferenceTypeEnum(String name) { |
|||
this.name = name; |
|||
} |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
} |
@ -0,0 +1,48 @@ |
|||
package com.elink.esua.epdc.feign; |
|||
|
|||
import com.elink.esua.epdc.commons.tools.constant.ServiceConstant; |
|||
import com.elink.esua.epdc.commons.tools.utils.Result; |
|||
import com.elink.esua.epdc.feign.fallback.KpiFeignClientFallBack; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
|
|||
/** |
|||
* @author: qushutong |
|||
* @Date: 2019/12/12 18:46 |
|||
* @Description: kpi模块 |
|||
*/ |
|||
@FeignClient(name = ServiceConstant.EPDC_KPI_SERVER, fallback = KpiFeignClientFallBack.class) |
|||
public interface KpiFeignClient { |
|||
|
|||
/*** |
|||
* 调用kpi模块执行获取元数据的定时任务 |
|||
* @param kpiScheduleCode |
|||
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|||
* @author qushutong |
|||
* @date 2019/12/12 18:55 |
|||
*/ |
|||
@GetMapping("kpi/metaData/buildMetaData/{kpiScheduleCode}") |
|||
Result runKpiMateData(@PathVariable("kpiScheduleCode") String kpiScheduleCode); |
|||
|
|||
/** |
|||
* 根据规则编码启动公式计算 |
|||
* |
|||
* @param ruleCode |
|||
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/25 14:06 |
|||
*/ |
|||
@GetMapping("kpi/rule/calcByCode/{ruleCode}") |
|||
Result startTaskByRuleCode(@PathVariable("ruleCode") String ruleCode); |
|||
|
|||
/** |
|||
* 将手动打分存入元数据表 |
|||
* |
|||
* @return void |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/25 14:06 |
|||
*/ |
|||
@GetMapping("kpi/manualScore/initMetaData") |
|||
Result manualScoreToMetaData(); |
|||
} |
@ -0,0 +1,27 @@ |
|||
package com.elink.esua.epdc.feign.fallback; |
|||
|
|||
import com.elink.esua.epdc.commons.tools.constant.ServiceConstant; |
|||
import com.elink.esua.epdc.commons.tools.utils.ModuleUtils; |
|||
import com.elink.esua.epdc.commons.tools.utils.Result; |
|||
import com.elink.esua.epdc.feign.KpiFeignClient; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
|
|||
@Component |
|||
public class KpiFeignClientFallBack implements KpiFeignClient { |
|||
|
|||
@Override |
|||
public Result runKpiMateData(String kpiScheduleCode) { |
|||
return ModuleUtils.feignConError(ServiceConstant.EPDC_KPI_SERVER, "runKpiMateData", kpiScheduleCode); |
|||
} |
|||
|
|||
@Override |
|||
public Result startTaskByRuleCode(String ruleCode) { |
|||
return ModuleUtils.feignConError(ServiceConstant.EPDC_KPI_SERVER, "startTaskByRuleCode", ruleCode); |
|||
} |
|||
|
|||
@Override |
|||
public Result manualScoreToMetaData() { |
|||
return ModuleUtils.feignConError(ServiceConstant.EPDC_KPI_SERVER, "manualScoreToMetaData", ""); |
|||
} |
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.elink.esua.epdc.service; |
|||
|
|||
/** |
|||
* @author: qushutong |
|||
* @Date: 2019/12/12 16:52 |
|||
* @Description: kpi 模块查原始数据 |
|||
*/ |
|||
public interface ScheduleJobKpiService { |
|||
|
|||
/*** |
|||
* 启动kpi模块获取原始数据 |
|||
* @param params |
|||
* @return void |
|||
* @author qushutong |
|||
* @date 2019/12/12 16:56 |
|||
*/ |
|||
void startKpiMetaData(String params); |
|||
|
|||
/** |
|||
* 启动与规则编码匹配的相关任务 |
|||
* |
|||
* @param ruleCode |
|||
* @return void |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/17 14:43 |
|||
*/ |
|||
void startTaskByRuleCode(String ruleCode); |
|||
|
|||
/** |
|||
* 将手动打分存入元数据表 |
|||
* |
|||
* @return void |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/25 14:05 |
|||
*/ |
|||
void manualScoreToMetaData(); |
|||
} |
@ -0,0 +1,33 @@ |
|||
package com.elink.esua.epdc.service.impl; |
|||
|
|||
import com.elink.esua.epdc.feign.KpiFeignClient; |
|||
import com.elink.esua.epdc.service.ScheduleJobKpiService; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
/** |
|||
* @author: qushutong |
|||
* @Date: 2019/12/12 16:53 |
|||
* @Description: 查询gridId |
|||
*/ |
|||
@Component |
|||
public class ScheduleJobKpiServiceImpl implements ScheduleJobKpiService { |
|||
|
|||
@Autowired |
|||
private KpiFeignClient kpiFeignClient; |
|||
|
|||
@Override |
|||
public void startKpiMetaData(String params) { |
|||
kpiFeignClient.runKpiMateData(params); |
|||
} |
|||
|
|||
@Override |
|||
public void startTaskByRuleCode(String ruleCode) { |
|||
kpiFeignClient.startTaskByRuleCode(ruleCode); |
|||
} |
|||
|
|||
@Override |
|||
public void manualScoreToMetaData() { |
|||
kpiFeignClient.manualScoreToMetaData(); |
|||
} |
|||
} |
@ -0,0 +1,31 @@ |
|||
package com.elink.esua.epdc.task; |
|||
|
|||
import com.elink.esua.epdc.service.ScheduleJobKpiService; |
|||
import org.apache.commons.lang3.StringUtils; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
/** |
|||
* 绩效考核规则的相关任务 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/17 14:40 |
|||
*/ |
|||
@Component("kpiManualScoreTask") |
|||
public class KpiManualScoreTask implements ITask { |
|||
|
|||
@Autowired |
|||
private ScheduleJobKpiService kpiService; |
|||
|
|||
/** |
|||
* 将手动打分存入元数据表 |
|||
* @param ruleCode |
|||
* @return void |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/25 14:02 |
|||
*/ |
|||
@Override |
|||
public void run(String ruleCode) { |
|||
kpiService.manualScoreToMetaData(); |
|||
} |
|||
} |
@ -0,0 +1,35 @@ |
|||
package com.elink.esua.epdc.task; |
|||
|
|||
import com.elink.esua.epdc.service.ScheduleJobKpiService; |
|||
import org.apache.commons.lang3.StringUtils; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
/** |
|||
* 绩效考核元数据统计任务 |
|||
* |
|||
* @author: qushutong |
|||
* @Date: 2019/12/12 16:50 |
|||
* @Description: kpi |
|||
*/ |
|||
@Component("kpiMetaDataTask") |
|||
public class KpiMetaDataTask implements ITask { |
|||
|
|||
@Autowired |
|||
private ScheduleJobKpiService scheduleJobKpiService; |
|||
|
|||
/*** |
|||
* 查询所有gruidID 统计kpi元数据 |
|||
* @param params |
|||
* @return void |
|||
* @author qushutong |
|||
* @date 2019/12/12 16:51 |
|||
*/ |
|||
@Override |
|||
public void run(String params) { |
|||
if (StringUtils.isNotBlank(params)) { |
|||
//群众反应问题网格响应数 总数
|
|||
scheduleJobKpiService.startKpiMetaData(params); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,34 @@ |
|||
package com.elink.esua.epdc.task; |
|||
|
|||
import com.elink.esua.epdc.service.ScheduleJobKpiService; |
|||
import org.apache.commons.lang3.StringUtils; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
/** |
|||
* 绩效考核规则的相关任务 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/17 14:40 |
|||
*/ |
|||
@Component("kpiRuleTask") |
|||
public class KpiRuleTask implements ITask { |
|||
|
|||
@Autowired |
|||
private ScheduleJobKpiService kpiService; |
|||
|
|||
/** |
|||
* 根据规则编码执行计划任务 |
|||
* |
|||
* @param ruleCode |
|||
* @return void |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/17 14:42 |
|||
*/ |
|||
@Override |
|||
public void run(String ruleCode) { |
|||
if (StringUtils.isNotBlank(ruleCode)) { |
|||
kpiService.startTaskByRuleCode(ruleCode); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,24 @@ |
|||
package com.elink.esua.epdc.constant; |
|||
|
|||
/** |
|||
* 绩效考核一些字段常量 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/18 19:41 |
|||
*/ |
|||
public interface KpiFieldConstant { |
|||
|
|||
String RULE_ID = "RULE_ID"; |
|||
|
|||
String RULE_NAME = "RULE_NAME"; |
|||
String RULE_MODE = "RULE_MODE"; |
|||
String SCORE_START_DATE = "SCORE_START_DATE"; |
|||
String START_DATE = "START_DATE"; |
|||
String SCORE_END_DATE = "SCORE_END_DATE"; |
|||
String END_DATE = "END_DATE"; |
|||
String DEPT_ID = "DEPT_ID"; |
|||
String KPI_CYCLE = "KPI_CYCLE"; |
|||
|
|||
String REFERENCE_ID = "REFERENCE_ID"; |
|||
String DATA_CODE = "DATA_CODE"; |
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.elink.esua.epdc.constant; |
|||
|
|||
/** |
|||
* 绩效考核项目相关常量 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/17 10:35 |
|||
*/ |
|||
public interface KpiItemConstant { |
|||
|
|||
String RESPOND_ITEM_TIME_LIMIT = "validCloseTime"; |
|||
|
|||
String CLOSE_ITEM_TIME_LIMIT = "validRespondTime"; |
|||
|
|||
} |
@ -0,0 +1,65 @@ |
|||
package com.elink.esua.epdc.constant; |
|||
|
|||
/** |
|||
* 考核规则编码常量 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/19 14:45 |
|||
*/ |
|||
public interface KpiScheduleCodeConstant { |
|||
|
|||
/** |
|||
* 元数据统计:群众事件上报总数 与 被响应总数 |
|||
*/ |
|||
String META_DATA_PEOPLE_REPORT_AMOUNT = "statPeopleReportAmount"; |
|||
/** |
|||
* 元数据统计:群众对网格问题办理 满意度评价 |
|||
*/ |
|||
String META_DATA_PEOPLE_EVALUATION = "statPeopleEvaluation"; |
|||
/** |
|||
* 元数据统计:包括网格呼叫数,网格呼叫被响应数,网格呼叫被办结数 |
|||
*/ |
|||
String META_DATA_ITEM_HANDLE_AMOUNT = "statItemHandleAmount"; |
|||
/** |
|||
* 元数据统计:网格对项目处理 满意度评价 |
|||
*/ |
|||
String META_DATA_GRID_EVALUATION = "statGridEvaluation"; |
|||
|
|||
/** |
|||
* 考核规则:基础网格 平时工作成效得分 月度 |
|||
*/ |
|||
String GRID_WORK_SCORE_MONTH = "calcGridWorkScoreByMonth"; |
|||
/** |
|||
* 考核规则:基础网格 平时工作成效得分 季度 |
|||
*/ |
|||
String GRID_WORK_SCORE_QUARTER = "calcGridWorkScoreByQuarter"; |
|||
/** |
|||
* 考核规则:基础网格 平时工作成效得分 年度 |
|||
*/ |
|||
String GRID_WORK_SCORE_YEAR = "calcGridWorkScoreByYear"; |
|||
/** |
|||
* 考核规则:基础网格 考核最终得分 月度 |
|||
*/ |
|||
String GRID_FINAL_SCORE_MONTH = "calcGridFinalScoreByMonth"; |
|||
/** |
|||
* 考核规则:基础网格 考核最终得分 季度 |
|||
*/ |
|||
String GRID_FINAL_SCORE_QUARTER = "calcGridFinalScoreByQuarter"; |
|||
/** |
|||
* 考核规则:基础网格 考核最终得分 年度 |
|||
*/ |
|||
String GRID_FINAL_SCORE_YEAR = "calcGridFinalScoreByYear"; |
|||
/** |
|||
* 考核规则:街道/区直 考核最终得分 月度 |
|||
*/ |
|||
String SUPERIOR_FINAL_SCORE_MONTH = "calcSuperiorFinalScoreByMonth"; |
|||
/** |
|||
* 考核规则:街道/区直 考核最终得分 季度 |
|||
*/ |
|||
String SUPERIOR_FINAL_SCORE_QUARTER = "calcSuperiorFinalScoreByQuarter"; |
|||
/** |
|||
* 考核规则:街道/区直 考核最终得分 年度 |
|||
*/ |
|||
String SUPERIOR_FINAL_SCORE_YEAR = "calcSuperiorFinalScoreByYear"; |
|||
|
|||
} |
@ -0,0 +1,25 @@ |
|||
package com.elink.esua.epdc.dto; |
|||
|
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author: qushutong |
|||
* @Date: 2019/12/17 10:23 |
|||
* @Description: kpi 群众反应问题数 |
|||
*/ |
|||
@Data |
|||
public class EventCountFromDTO { |
|||
|
|||
/*** |
|||
* 所有网格 |
|||
*/ |
|||
private List<Long> gridIdList; |
|||
|
|||
/*** |
|||
* 0 是群众反应问题总数 1 群众反应问题响应数 |
|||
*/ |
|||
private String responseType; |
|||
} |
@ -0,0 +1,113 @@ |
|||
/** |
|||
* 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.elink.esua.epdc.dto; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* 绩效考核的元数据 |
|||
* |
|||
* @author qu qu@elink-cn.com |
|||
* @since v1.0.0 2019-12-16 |
|||
*/ |
|||
@Data |
|||
public class KpiMetaDataDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -5970791269666802942L; |
|||
|
|||
/** |
|||
* 主键 |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 数据项编码 |
|||
*/ |
|||
private String dataCode; |
|||
|
|||
/** |
|||
* 数据项名称 |
|||
*/ |
|||
private String dataName; |
|||
|
|||
/** |
|||
* 元数据值 |
|||
*/ |
|||
private BigDecimal dataValue; |
|||
|
|||
/** |
|||
* 考核周期(字典值 代表月,季,年) |
|||
*/ |
|||
private String kpiCycle; |
|||
|
|||
/** |
|||
* 考核周期开始日 |
|||
*/ |
|||
private Date startDate; |
|||
|
|||
/** |
|||
* 考核周期结束日 |
|||
*/ |
|||
private Date endDate; |
|||
|
|||
/** |
|||
* 部门ID |
|||
*/ |
|||
private Long deptId; |
|||
|
|||
/** |
|||
* 部门类别 |
|||
*/ |
|||
private String deptTypeKey; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
/** |
|||
* 删除标记 |
|||
*/ |
|||
private String delFlag; |
|||
|
|||
} |
@ -0,0 +1,177 @@ |
|||
/** |
|||
* 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.elink.esua.epdc.dto; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* 网格考核最终得分 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @since v1.0.0 2019-12-17 |
|||
*/ |
|||
@Data |
|||
public class KpiResultGridDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键 |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 网格ID |
|||
*/ |
|||
private Long gridId; |
|||
|
|||
/** |
|||
* 手动打分得分 |
|||
*/ |
|||
private BigDecimal manualScore; |
|||
|
|||
/** |
|||
* 工作得分 |
|||
*/ |
|||
private BigDecimal workScore; |
|||
|
|||
/** |
|||
* 投票得分 |
|||
*/ |
|||
private BigDecimal voteScore; |
|||
|
|||
/** |
|||
* 最终得分 |
|||
*/ |
|||
private BigDecimal finalScore; |
|||
|
|||
/** |
|||
* 考核周期开始日 |
|||
*/ |
|||
private Date startDate; |
|||
|
|||
/** |
|||
* 考核周期结束日 |
|||
*/ |
|||
private Date endDate; |
|||
|
|||
/** |
|||
* 被考核部门的网格长姓名 |
|||
*/ |
|||
private String leaderName; |
|||
|
|||
/** |
|||
* 考核周期(字典值 代表月,季,年) |
|||
*/ |
|||
private String kpiCycle; |
|||
|
|||
/** |
|||
* 所有上级机构id |
|||
*/ |
|||
private String parentDeptIds; |
|||
|
|||
/** |
|||
* 所有上级机构名称 |
|||
*/ |
|||
private String parentDeptNames; |
|||
|
|||
/** |
|||
* 所有机构id |
|||
*/ |
|||
private String allDeptIds; |
|||
|
|||
/** |
|||
* 所有机构名称 |
|||
*/ |
|||
private String allDeptNames; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
/** |
|||
* 删除标记 |
|||
*/ |
|||
private String delFlag; |
|||
|
|||
//虚字段
|
|||
|
|||
/** |
|||
* 街道名 |
|||
*/ |
|||
private String street; |
|||
|
|||
/** |
|||
* 社区名 |
|||
*/ |
|||
private String community; |
|||
|
|||
/** |
|||
* 网格名 |
|||
*/ |
|||
private String grid; |
|||
|
|||
/** |
|||
* 伪列 |
|||
*/ |
|||
private int rownum; |
|||
|
|||
/** |
|||
* 规则 |
|||
*/ |
|||
private String rule; |
|||
|
|||
/** |
|||
* 详情 |
|||
*/ |
|||
private String detail; |
|||
|
|||
|
|||
//虚字段-----------------------
|
|||
|
|||
//考核周期开始日
|
|||
private String startDateString; |
|||
|
|||
//考核周期结束日
|
|||
private String endDateString; |
|||
} |
@ -0,0 +1,144 @@ |
|||
/** |
|||
* 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.elink.esua.epdc.dto; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
import cn.afterturn.easypoi.excel.annotation.Excel; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* 街道或区直绩效考核最终得分 |
|||
* |
|||
* @author qu qu@elink-cn.com |
|||
* @since v1.0.0 2019-12-23 |
|||
*/ |
|||
@Data |
|||
public class KpiResultSuperiorDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键 |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 网格ID |
|||
*/ |
|||
private Long deptId; |
|||
|
|||
/** |
|||
* 最终得分 |
|||
*/ |
|||
private BigDecimal finalScore; |
|||
|
|||
/** |
|||
* 考核周期开始日 |
|||
*/ |
|||
private Date startDate; |
|||
|
|||
/** |
|||
* 考核周期结束日 |
|||
*/ |
|||
private Date endDate; |
|||
|
|||
/** |
|||
* 考核周期(字典值 代表月,季,年) |
|||
*/ |
|||
private String kpiCycle; |
|||
|
|||
/** |
|||
* 机构类别 |
|||
*/ |
|||
private String deptTypeKey; |
|||
|
|||
/** |
|||
* 所有上级机构id |
|||
*/ |
|||
private String parentDeptIds; |
|||
|
|||
/** |
|||
* 所有上级机构名称 |
|||
*/ |
|||
private String parentDeptNames; |
|||
|
|||
/** |
|||
* 所有机构id |
|||
*/ |
|||
private String allDeptIds; |
|||
|
|||
/** |
|||
* 所有机构名称 |
|||
*/ |
|||
private String allDeptNames; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
/** |
|||
* 删除标记 |
|||
*/ |
|||
private String delFlag; |
|||
|
|||
//虚字段-----------------------
|
|||
|
|||
//考核周期开始日
|
|||
private String startDateString; |
|||
|
|||
//考核周期结束日
|
|||
private String endDateString; |
|||
|
|||
//详情页 网格呼叫事项总数
|
|||
private BigDecimal gridCallSuperiorAmount; |
|||
//详情页 响应网格呼叫事项数
|
|||
private BigDecimal gridCallSuperiorRespAmount; |
|||
//详情页 办结网格呼叫事项数
|
|||
private BigDecimal gridCallSuperiorCloseAmount; |
|||
//详情页 工作评议满意数
|
|||
private BigDecimal gridHighEvaluationAmount; |
|||
//详情页 工作评议基本满意数
|
|||
private BigDecimal gridMediumEvaluationAmount; |
|||
//详情页 工作评议不满意数
|
|||
private BigDecimal gridLowEvaluationAmount; |
|||
} |
@ -1,4 +1,4 @@ |
|||
package com.elink.esua.epdc.dto.category.form; |
|||
package com.elink.esua.epdc.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
@ -0,0 +1,33 @@ |
|||
package com.elink.esua.epdc.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 参数:用于统计事件上报数与事件受理数 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/19 18:43 |
|||
*/ |
|||
@Data |
|||
public class KpiMetaDataOfEventsFormDTO { |
|||
|
|||
private static final long serialVersionUID = 9029313054917612850L; |
|||
|
|||
/** |
|||
* 所有网格 |
|||
*/ |
|||
private List<Long> deptIdList; |
|||
|
|||
/** |
|||
* 统计周期开始日 |
|||
*/ |
|||
private Date startDate; |
|||
|
|||
/** |
|||
* 统计周期结束日 |
|||
*/ |
|||
private Date endDate; |
|||
} |
@ -1,25 +0,0 @@ |
|||
package com.elink.esua.epdc.dto.result; |
|||
|
|||
import cn.afterturn.easypoi.excel.annotation.Excel; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @Author yinzuomei |
|||
* @Date 2019/12/5 17:27 |
|||
*/ |
|||
@Data |
|||
public class ImportExcelErrorResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -6085396247858232510L; |
|||
|
|||
/** |
|||
* 错误数据行数 |
|||
*/ |
|||
private String errorLine; |
|||
/** |
|||
* 错误数据信息 |
|||
*/ |
|||
private String errorInfo; |
|||
} |
@ -0,0 +1,36 @@ |
|||
package com.elink.esua.epdc.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 满意数统计结果 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/19 18:56 |
|||
*/ |
|||
@Data |
|||
public class KpiEvaluationAmountResultDTO { |
|||
|
|||
private static final long serialVersionUID = 2661466688976182183L; |
|||
|
|||
/** |
|||
* 机构Id |
|||
*/ |
|||
private Long deptId; |
|||
|
|||
/** |
|||
* 满意数 |
|||
*/ |
|||
private Integer highAmount; |
|||
|
|||
/** |
|||
* 基本满意数 |
|||
*/ |
|||
private Integer mediumAmount; |
|||
|
|||
/** |
|||
* 不满意数 |
|||
*/ |
|||
private Integer lowAmount; |
|||
} |
@ -0,0 +1,30 @@ |
|||
package com.elink.esua.epdc.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 时间上报数统计结果 |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/19 18:56 |
|||
*/ |
|||
@Data |
|||
public class KpiEventReportAmountResultDTO { |
|||
|
|||
private static final long serialVersionUID = 9029313054917612850L; |
|||
|
|||
/** |
|||
* 网格Id |
|||
*/ |
|||
private Long gridId; |
|||
|
|||
/** |
|||
* 事件上报数 |
|||
*/ |
|||
private Integer reportAmount; |
|||
|
|||
/** |
|||
* 网格响应数 |
|||
*/ |
|||
private Integer respondAmount; |
|||
} |
@ -0,0 +1,30 @@ |
|||
package com.elink.esua.epdc.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* 绩效考核统计:项目处理相关数量 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/23 10:50 |
|||
*/ |
|||
@Data |
|||
public class KpiItemHandleAmountResultDTO { |
|||
|
|||
private static final long serialVersionUID = -4265085165992694474L; |
|||
/** |
|||
* 部门id |
|||
*/ |
|||
private Long deptId; |
|||
|
|||
/** |
|||
* 元数据值(统计数) |
|||
*/ |
|||
private Integer metaDataValue; |
|||
|
|||
/** |
|||
* 对应绩效考核元数据编码 |
|||
*/ |
|||
private String metaDataCode; |
|||
|
|||
} |
@ -0,0 +1,48 @@ |
|||
package com.elink.esua.epdc.dto.result; |
|||
|
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @author: qushutong |
|||
* @Date: 2019/12/19 16:48 |
|||
* @Description: 项目 街道 时间规则绑定 |
|||
*/ |
|||
@Data |
|||
public class KpiItemTimeLimitByDeptResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3349393132985690393L; |
|||
|
|||
/*** |
|||
* 街道 区直 deptId |
|||
*/ |
|||
private Long deptId; |
|||
|
|||
/*** |
|||
* 项目ID |
|||
*/ |
|||
private String itemId; |
|||
|
|||
/*** |
|||
* 事件分类字典id |
|||
*/ |
|||
private String catecoryId; |
|||
|
|||
/*** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 有效响应时间(小时数) |
|||
*/ |
|||
private Integer validRespondTime; |
|||
|
|||
/** |
|||
* 有效结案时间(小时数) |
|||
*/ |
|||
private Integer validCloseTime; |
|||
} |
@ -1,44 +1,54 @@ |
|||
package com.elink.esua.epdc.enums; |
|||
|
|||
import org.apache.commons.lang3.StringUtils; |
|||
|
|||
/** |
|||
* @Auther: yinzuomei |
|||
* @author: yinzuomei |
|||
* @Date: 2019/12/5 12:41 |
|||
* @Description: 考核周期枚举 |
|||
*/ |
|||
public enum KpiCycleEnum { |
|||
/** |
|||
* 月month quarter year |
|||
*/ |
|||
KPI_CYCLE_MONTH("month","月"), |
|||
/** |
|||
* 季 |
|||
*/ |
|||
KPI_CYCLE_QUARTER("quarter","季"), |
|||
/** |
|||
* 年 |
|||
*/ |
|||
KPI_CYCLE_YEAR("year","年"); |
|||
private String value; |
|||
private String name; |
|||
|
|||
KpiCycleEnum(String value, String name) { |
|||
this.value = value; |
|||
this.name = name; |
|||
} |
|||
|
|||
public String getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public void setValue(String value) { |
|||
this.value = value; |
|||
} |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
/** |
|||
* 月month quarter year |
|||
*/ |
|||
KPI_CYCLE_MONTH("month", "月"), |
|||
/** |
|||
* 季 |
|||
*/ |
|||
KPI_CYCLE_QUARTER("quarter", "季"), |
|||
/** |
|||
* 年 |
|||
*/ |
|||
KPI_CYCLE_YEAR("year", "年"); |
|||
|
|||
private String value; |
|||
|
|||
private String name; |
|||
|
|||
KpiCycleEnum(String value, String name) { |
|||
this.value = value; |
|||
this.name = name; |
|||
} |
|||
|
|||
public String getValue() { |
|||
return value; |
|||
} |
|||
|
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public static KpiCycleEnum getByValue(String value){ |
|||
if(StringUtils.isNotBlank(value)){ |
|||
KpiCycleEnum[] enums = KpiCycleEnum.values(); |
|||
for (KpiCycleEnum kpiCycleEnum : enums) { |
|||
if(kpiCycleEnum.getValue().equals(value)){ |
|||
return kpiCycleEnum; |
|||
} |
|||
} |
|||
} |
|||
return null; |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,116 @@ |
|||
package com.elink.esua.epdc.enums; |
|||
|
|||
import org.apache.commons.lang3.StringUtils; |
|||
|
|||
/** |
|||
* @author: qushutong |
|||
* @Date: 2019/12/17 19:53 |
|||
* @Description: 数据项名称 |
|||
*/ |
|||
public enum KpiMetaDataEnum { |
|||
|
|||
/*** |
|||
* 群众反映问题总数 |
|||
*/ |
|||
PEOPLE_REPORT_AMOUNT("people_report_amount", "群众反映问题总数"), |
|||
|
|||
/*** |
|||
* 群众反映问题被响应数 |
|||
*/ |
|||
PEOPLE_REPORT_RESP_AMOUNT("people_report_resp_amount", "群众反映问题被响应数"), |
|||
|
|||
/*** |
|||
* 居民对项目处理评为“满意”的评价数量 |
|||
*/ |
|||
PEOPLE_HIGH_EVALUATION_AMOUNT("people_high_evaluation_amount", "问题办理满意数"), |
|||
|
|||
/*** |
|||
* 居民对项目处理评为“基本满意”的评价数量 |
|||
*/ |
|||
PEOPLE_MEDIUM_EVALUATION_AMOUNT("people_medium_evaluation_amount", "问题办理基本满意数"), |
|||
|
|||
/*** |
|||
* 居民对项目处理评为“不满意”的评价数量 |
|||
*/ |
|||
PEOPLE_LOW_EVALUATION_AMOUNT("people_low_evaluation_amount", "问题办理不满意数"), |
|||
|
|||
/*** |
|||
* 履行抓基层党建工作得分(上级为网格打分) |
|||
*/ |
|||
GRID_SCORE_BY_SUPERIOR_MANUAL("grid_score_by_superior_manual", "履行抓基层党建工作得分"), |
|||
|
|||
/*** |
|||
* 网格呼叫上级部门总数 |
|||
*/ |
|||
GRID_CALL_SUPERIOR_AMOUNT("grid_call_superior_amount", "网格呼叫总数"), |
|||
|
|||
/*** |
|||
* 上级部门响应网格呼叫总数 |
|||
*/ |
|||
GRID_CALL_SUPERIOR_RESP_AMOUNT("grid_call_superior_resp_amount", "网格呼叫被响应数"), |
|||
|
|||
/*** |
|||
* 上级部门办结网格呼叫总数 |
|||
*/ |
|||
GRID_CALL_SUPERIOR_CLOSE_AMOUNT("grid_call_superior_close_amount", "网格呼叫被办结数"), |
|||
|
|||
/*** |
|||
* 网格对上级部门处理项目评为“满意” |
|||
*/ |
|||
GRID_HIGH_EVALUATION_AMOUNT("grid_high_evaluation_amount", "网格评议满意数"), |
|||
|
|||
/*** |
|||
* 网格对上级部门处理项目评为“基本满意” |
|||
*/ |
|||
GRID_MEDIUM_EVALUATION_AMOUNT("grid_medium_evaluation_amount", "网格评议基本满意数"), |
|||
|
|||
/*** |
|||
* 网格对上级部门处理项目评为“不满意” |
|||
*/ |
|||
GRID_LOW_EVALUATION_AMOUNT("grid_low_evaluation_amount", "网格评议不满意数"), |
|||
|
|||
/*** |
|||
* 群众满意度投票,投票“满意”的数量 |
|||
*/ |
|||
VOTE_HIGH_EVALUATION_AMOUNT("vote_high_evaluation_amount", "群众投票满意数"), |
|||
|
|||
/*** |
|||
* 群众满意度投票,投票“基本满意”的数量 |
|||
*/ |
|||
VOTE_MEDIUM_EVALUATION_AMOUNT("vote_medium_evaluation_amount", "群众投票基本满意数"), |
|||
|
|||
/*** |
|||
* 群众满意度投票,投票“不满意”的数量 |
|||
*/ |
|||
VOTE_LOW_EVALUATION_AMOUNT("vote_low_evaluation_amount", "群众投票不满意数"); |
|||
|
|||
|
|||
private String value; |
|||
|
|||
private String name; |
|||
|
|||
KpiMetaDataEnum(String value, String name) { |
|||
this.value = value; |
|||
this.name = name; |
|||
} |
|||
|
|||
public String getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public static KpiMetaDataEnum getByValue(String value) { |
|||
if (StringUtils.isNotBlank(value)) { |
|||
KpiMetaDataEnum[] metaDataEnums = KpiMetaDataEnum.values(); |
|||
for (KpiMetaDataEnum metaDataEnum : metaDataEnums) { |
|||
if (value.equals(metaDataEnum.getValue())) { |
|||
return metaDataEnum; |
|||
} |
|||
} |
|||
} |
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,50 @@ |
|||
package com.elink.esua.epdc.enums; |
|||
|
|||
/** |
|||
* @author: zy |
|||
* @Date: 2019/12/20 |
|||
* @Description: 数据项名称 |
|||
*/ |
|||
public enum KpiResultGridDataEnum { |
|||
|
|||
/*** |
|||
* 履行抓基层党建工作职责得分 |
|||
*/ |
|||
BASIC_LEVEL_WORK_SCORE("basic_level_work_score", "履行抓基层党建工作职责得分"), |
|||
|
|||
/*** |
|||
* 群众反映问题网格响应率得分 |
|||
*/ |
|||
GIRD_PROBLEM_RESPONSE_RATE_SCORE("gird_problem_response_rate_score","群众反映问题网格响应率得分"), |
|||
|
|||
/*** |
|||
* 群众反映问题网格办理满意率得分 |
|||
*/ |
|||
GIRD_PROBLEM_SATISFACTION_RATE_SCORE("gird_problem_satisfaction_rate_score","群众反映问题网格办理满意率得分"); |
|||
|
|||
|
|||
private String value; |
|||
|
|||
private String name; |
|||
|
|||
KpiResultGridDataEnum(String value, String name) { |
|||
this.value = value; |
|||
this.name = name; |
|||
} |
|||
|
|||
public String getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public void setValue(String value) { |
|||
this.value = value; |
|||
} |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.elink.esua.epdc.enums; |
|||
|
|||
import com.elink.esua.epdc.commons.tools.constant.NumConstant; |
|||
|
|||
/** |
|||
* 规则来源枚举类 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/18 19:10 |
|||
*/ |
|||
public enum KpiRuleModeEnum { |
|||
|
|||
/** |
|||
* 元公式 |
|||
*/ |
|||
FORMULA(NumConstant.ZERO_STR), |
|||
|
|||
/** |
|||
* 手动打分 |
|||
*/ |
|||
MANMUAL_SCORE(NumConstant.ONE_STR), |
|||
|
|||
/** |
|||
* 投票 |
|||
*/ |
|||
VOTE(NumConstant.TWO_STR); |
|||
|
|||
private String value; |
|||
|
|||
KpiRuleModeEnum(String value) { |
|||
this.value = value; |
|||
} |
|||
|
|||
public String value() { |
|||
return value; |
|||
} |
|||
} |
@ -0,0 +1,116 @@ |
|||
/** |
|||
* 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.elink.esua.epdc.controller; |
|||
|
|||
import com.elink.esua.epdc.commons.tools.page.PageData; |
|||
import com.elink.esua.epdc.commons.tools.utils.ExcelUtils; |
|||
import com.elink.esua.epdc.commons.tools.utils.Result; |
|||
import com.elink.esua.epdc.commons.tools.validator.AssertUtils; |
|||
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils; |
|||
import com.elink.esua.epdc.commons.tools.validator.group.AddGroup; |
|||
import com.elink.esua.epdc.commons.tools.validator.group.UpdateGroup; |
|||
import com.elink.esua.epdc.commons.tools.validator.group.DefaultGroup; |
|||
import com.elink.esua.epdc.constant.KpiScheduleCodeConstant; |
|||
import com.elink.esua.epdc.dto.KpiMetaDataDTO; |
|||
import com.elink.esua.epdc.excel.KpiMetaDataExcel; |
|||
import com.elink.esua.epdc.service.KpiMetaDataService; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import javax.servlet.http.HttpServletResponse; |
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
|
|||
/** |
|||
* 绩效考核的元数据 |
|||
* |
|||
* @author qu qu@elink-cn.com |
|||
* @since v1.0.0 2019-12-16 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("metaData") |
|||
public class KpiMetaDataController { |
|||
|
|||
@Autowired |
|||
private KpiMetaDataService kpiMetaDataService; |
|||
|
|||
@GetMapping("page") |
|||
public Result<PageData<KpiMetaDataDTO>> page(@RequestParam Map<String, Object> params) { |
|||
PageData<KpiMetaDataDTO> page = kpiMetaDataService.page(params); |
|||
return new Result<PageData<KpiMetaDataDTO>>().ok(page); |
|||
} |
|||
|
|||
@GetMapping("{id}") |
|||
public Result<KpiMetaDataDTO> get(@PathVariable("id") String id) { |
|||
KpiMetaDataDTO data = kpiMetaDataService.get(id); |
|||
return new Result<KpiMetaDataDTO>().ok(data); |
|||
} |
|||
|
|||
@PostMapping |
|||
public Result save(@RequestBody KpiMetaDataDTO dto) { |
|||
//效验数据
|
|||
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
|||
kpiMetaDataService.save(dto); |
|||
return new Result(); |
|||
} |
|||
|
|||
@PutMapping |
|||
public Result update(@RequestBody KpiMetaDataDTO dto) { |
|||
//效验数据
|
|||
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
|||
kpiMetaDataService.update(dto); |
|||
return new Result(); |
|||
} |
|||
|
|||
@DeleteMapping |
|||
public Result delete(@RequestBody String[] ids) { |
|||
//效验数据
|
|||
AssertUtils.isArrayEmpty(ids, "id"); |
|||
kpiMetaDataService.delete(ids); |
|||
return new Result(); |
|||
} |
|||
|
|||
@GetMapping("export") |
|||
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
|||
List<KpiMetaDataDTO> list = kpiMetaDataService.list(params); |
|||
ExcelUtils.exportExcelToTarget(response, null, list, KpiMetaDataExcel.class); |
|||
} |
|||
|
|||
/*** |
|||
* 构建元数据 |
|||
* @param |
|||
* @return void |
|||
* @author qushutong |
|||
* @date 2019/12/16 10:17 |
|||
*/ |
|||
@GetMapping("buildMetaData/{kpiScheduleCode}") |
|||
public Result buildMetaData(@PathVariable("kpiScheduleCode") String kpiScheduleCode) { |
|||
if (kpiScheduleCode.equals(KpiScheduleCodeConstant.META_DATA_PEOPLE_REPORT_AMOUNT)) { |
|||
kpiMetaDataService.statPeopleReportAmount(); |
|||
} else if (kpiScheduleCode.equals(KpiScheduleCodeConstant.META_DATA_PEOPLE_EVALUATION)) { |
|||
kpiMetaDataService.statPeopleEvaluation(); |
|||
} else if (kpiScheduleCode.equals(KpiScheduleCodeConstant.META_DATA_ITEM_HANDLE_AMOUNT)) { |
|||
kpiMetaDataService.statItemHandleAmount(); |
|||
} else if (kpiScheduleCode.equals(KpiScheduleCodeConstant.META_DATA_GRID_EVALUATION)){ |
|||
kpiMetaDataService.statGridEvaluation(); |
|||
} |
|||
return new Result(); |
|||
} |
|||
|
|||
} |
@ -0,0 +1,125 @@ |
|||
/** |
|||
* 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.elink.esua.epdc.controller; |
|||
|
|||
import com.elink.esua.epdc.commons.mybatis.annotation.DataFilter; |
|||
import com.elink.esua.epdc.commons.tools.page.PageData; |
|||
import com.elink.esua.epdc.commons.tools.utils.ExcelUtils; |
|||
import com.elink.esua.epdc.commons.tools.utils.Result; |
|||
import com.elink.esua.epdc.commons.tools.validator.AssertUtils; |
|||
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils; |
|||
import com.elink.esua.epdc.commons.tools.validator.group.AddGroup; |
|||
import com.elink.esua.epdc.commons.tools.validator.group.UpdateGroup; |
|||
import com.elink.esua.epdc.commons.tools.validator.group.DefaultGroup; |
|||
import com.elink.esua.epdc.dto.KpiResultGridDTO; |
|||
import com.elink.esua.epdc.excel.KpiResultGridDetailExcel; |
|||
import com.elink.esua.epdc.excel.KpiResultGridExcel; |
|||
import com.elink.esua.epdc.service.KpiResultGridService; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import javax.servlet.http.HttpServletResponse; |
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
|
|||
/** |
|||
* 网格考核最终得分 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @since v1.0.0 2019-12-17 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("gridResult") |
|||
public class KpiResultGridController { |
|||
|
|||
@Autowired |
|||
private KpiResultGridService kpiResultGridService; |
|||
|
|||
@GetMapping("page") |
|||
@DataFilter(tableAlias = "g", deptId = "grid_id", prefix = "AND", isPendingCreator = false) |
|||
public Result<PageData<KpiResultGridDTO>> page(@RequestParam Map<String, Object> params){ |
|||
PageData<KpiResultGridDTO> page = kpiResultGridService.page(params); |
|||
return new Result<PageData<KpiResultGridDTO>>().ok(page); |
|||
} |
|||
|
|||
/** |
|||
* @Description: 考核统计 详情页查询 |
|||
* @Param: [id] |
|||
* @return: com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.dto.KpiResultGridDTO> |
|||
* @Author: zy |
|||
* @Date: 2019-12-20 |
|||
*/ |
|||
@GetMapping("{id}") |
|||
public Result<List<KpiResultGridDTO>> get(@PathVariable("id") String id){ |
|||
List<KpiResultGridDTO> data = kpiResultGridService.get(id); |
|||
return new Result<List<KpiResultGridDTO>>().ok(data); |
|||
} |
|||
|
|||
@PostMapping |
|||
public Result save(@RequestBody KpiResultGridDTO dto){ |
|||
//效验数据
|
|||
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
|||
kpiResultGridService.save(dto); |
|||
return new Result(); |
|||
} |
|||
|
|||
@PutMapping |
|||
public Result update(@RequestBody KpiResultGridDTO dto){ |
|||
//效验数据
|
|||
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
|||
kpiResultGridService.update(dto); |
|||
return new Result(); |
|||
} |
|||
|
|||
@DeleteMapping |
|||
public Result delete(@RequestBody String[] ids){ |
|||
//效验数据
|
|||
AssertUtils.isArrayEmpty(ids, "id"); |
|||
kpiResultGridService.delete(ids); |
|||
return new Result(); |
|||
} |
|||
|
|||
/** |
|||
* @Description: 考核统计首页导出 |
|||
* @Param: [params, response] |
|||
* @return: void |
|||
* @Author: zy |
|||
* @Date: 2019-12-20 |
|||
*/ |
|||
@GetMapping("export") |
|||
@DataFilter(tableAlias = "g", deptId = "grid_id", prefix = "AND", isPendingCreator = false) |
|||
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
|||
List<KpiResultGridDTO> list = kpiResultGridService.list(params); |
|||
ExcelUtils.exportExcelToTarget(response, null, list, KpiResultGridExcel.class); |
|||
} |
|||
|
|||
|
|||
/** |
|||
* @Description: 详情页表格导出 |
|||
* @Param: [params, response] |
|||
* @return: void |
|||
* @Author: zy |
|||
* @Date: 2019-12-20 |
|||
*/ |
|||
@GetMapping("tableExport") |
|||
public void tableExport(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
|||
List<KpiResultGridDTO> data = kpiResultGridService.get(params.get("id").toString()); |
|||
ExcelUtils.exportExcelToTarget(response, "考核统计得分详情", data, KpiResultGridDetailExcel.class); |
|||
} |
|||
} |
@ -0,0 +1,86 @@ |
|||
/** |
|||
* 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.elink.esua.epdc.dao; |
|||
|
|||
import com.elink.esua.epdc.commons.mybatis.dao.BaseDao; |
|||
import com.elink.esua.epdc.commons.tools.page.PageData; |
|||
import com.elink.esua.epdc.dto.KpiResultGridDTO; |
|||
import com.elink.esua.epdc.entity.KpiResultGridEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
import java.math.BigInteger; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
/** |
|||
* 网格考核最终得分 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @since v1.0.0 2019-12-17 |
|||
*/ |
|||
@Mapper |
|||
public interface KpiResultGridDao extends BaseDao<KpiResultGridEntity> { |
|||
|
|||
/** |
|||
* @Description: 查询网格考核最终得分表中,当前考核规则数据是否存在 |
|||
* @Param: [] |
|||
* @return: java.util.List<com.elink.esua.epdc.dto.KpiResultGridDTO> |
|||
* @Author: zy |
|||
* @Date: 2019-12-17 |
|||
*/ |
|||
KpiResultGridDTO selectManualScoringISExist(Map<String,Object> map); |
|||
|
|||
/** |
|||
* @Description: 查询网格考核最终得分列表 |
|||
* @Param: [kpiResultGridEntity] 开始时间、结束时间 |
|||
* @return: java.util.List<com.elink.esua.epdc.dto.KpiResultGridDTO> |
|||
* @Author: zy |
|||
* @Date: 2019-12-17 |
|||
*/ |
|||
List<KpiResultGridEntity> selectKpiResultGrid(KpiResultGridEntity kpiResultGridEntity); |
|||
|
|||
/** |
|||
* 自定义分页列表 |
|||
* |
|||
* @param params |
|||
* @return PageData<KpiResultGridDTO> |
|||
* @author generator |
|||
* @date 2019-12-17 |
|||
*/ |
|||
List<KpiResultGridDTO> selectStatisticalInfoList(Map<String, Object> params); |
|||
|
|||
/** |
|||
* @Description: 自定义分页总数 |
|||
* @Param: [params] |
|||
* @return: int |
|||
* @Author: zy |
|||
* @Date: 2019-12-19 |
|||
*/ |
|||
int selectStatisticalInfoCount(Map<String, Object> params); |
|||
|
|||
/** |
|||
* 自定义默认查询首页统计列表 |
|||
* |
|||
* @param params |
|||
* @return List<KpiResultGridDTO> |
|||
* @author zy |
|||
* @date 2019-12-20 |
|||
*/ |
|||
List<KpiResultGridDTO> list(Map<String, Object> params); |
|||
} |
@ -0,0 +1,81 @@ |
|||
/** |
|||
* 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.elink.esua.epdc.dao; |
|||
|
|||
import com.elink.esua.epdc.commons.mybatis.dao.BaseDao; |
|||
import com.elink.esua.epdc.dto.KpiResultGridDTO; |
|||
import com.elink.esua.epdc.dto.KpiResultSuperiorDTO; |
|||
import com.elink.esua.epdc.entity.KpiResultSuperiorEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.Date; |
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
/** |
|||
* 街道或区直绩效考核最终得分 |
|||
* |
|||
* @author qu qu@elink-cn.com |
|||
* @since v1.0.0 2019-12-23 |
|||
*/ |
|||
@Mapper |
|||
public interface KpiResultSuperiorDao extends BaseDao<KpiResultSuperiorEntity> { |
|||
/** |
|||
* 自定义分页列表 |
|||
* |
|||
* @param params |
|||
* @return List<KpiResultGridDTO> |
|||
* @author generator |
|||
* @date 2019-12-17 |
|||
*/ |
|||
List<KpiResultSuperiorDTO> selectSuperiorInfoList(Map<String, Object> params); |
|||
|
|||
/** |
|||
* @Description: 自定义分页总数 |
|||
* @Param: [params] |
|||
* @return: int |
|||
* @Author: zy |
|||
* @Date: 2019-12-19 |
|||
*/ |
|||
int selectSuperiorInfoCount(Map<String, Object> params); |
|||
|
|||
/** |
|||
* 自定义导出查询列表 |
|||
* |
|||
* @param params |
|||
* @return List<KpiResultGridDTO> |
|||
* @author generator |
|||
* @date 2019-12-17 |
|||
*/ |
|||
List<KpiResultSuperiorDTO> exportSuperiorList(Map<String, Object> params); |
|||
|
|||
/** |
|||
* 根据部门id与考核周期 删除 |
|||
* |
|||
* @param deptId |
|||
* @param startDate |
|||
* @param endDate |
|||
* @return void |
|||
* @author work@yujt.net.cn |
|||
* @date 2019/12/25 18:56 |
|||
*/ |
|||
int deleteByDeptIdAndKpiDate(@Param("deptId") Long deptId, |
|||
@Param("startDate") Date startDate, |
|||
@Param("endDate") Date endDate); |
|||
} |
@ -0,0 +1,82 @@ |
|||
/** |
|||
* 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.elink.esua.epdc.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
import com.elink.esua.epdc.commons.mybatis.entity.BaseEpdcEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 绩效考核的元数据 |
|||
* |
|||
* @author qu qu@elink-cn.com |
|||
* @since v1.0.0 2019-12-16 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper = false) |
|||
@TableName("epdc_kpi_meta_data") |
|||
public class KpiMetaDataEntity extends BaseEpdcEntity { |
|||
|
|||
private static final long serialVersionUID = -27618138854750989L; |
|||
|
|||
/** |
|||
* 数据项编码 |
|||
*/ |
|||
private String dataCode; |
|||
|
|||
/** |
|||
* 数据项名称 |
|||
*/ |
|||
private String dataName; |
|||
|
|||
/** |
|||
* 元数据值 |
|||
*/ |
|||
private BigDecimal dataValue; |
|||
|
|||
/** |
|||
* 考核周期(字典值 代表月,季,年) |
|||
*/ |
|||
private String kpiCycle; |
|||
|
|||
/** |
|||
* 考核周期开始日 |
|||
*/ |
|||
private Date startDate; |
|||
|
|||
/** |
|||
* 考核周期结束日 |
|||
*/ |
|||
private Date endDate; |
|||
|
|||
/** |
|||
* 部门ID |
|||
*/ |
|||
private Long deptId; |
|||
|
|||
/** |
|||
* 部门类别 |
|||
*/ |
|||
private String deptTypeKey; |
|||
|
|||
} |
@ -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.elink.esua.epdc.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
import com.elink.esua.epdc.commons.mybatis.entity.BaseEpdcEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 街道或区直绩效考核最终得分 |
|||
* |
|||
* @author qu qu@elink-cn.com |
|||
* @since v1.0.0 2019-12-23 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper=false) |
|||
@TableName("epdc_kpi_result_superior") |
|||
public class KpiResultSuperiorEntity extends BaseEpdcEntity { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 网格ID |
|||
*/ |
|||
private Long deptId; |
|||
|
|||
/** |
|||
* 最终得分 |
|||
*/ |
|||
private BigDecimal finalScore; |
|||
|
|||
/** |
|||
* 考核周期开始日 |
|||
*/ |
|||
private Date startDate; |
|||
|
|||
/** |
|||
* 考核周期结束日 |
|||
*/ |
|||
private Date endDate; |
|||
|
|||
/** |
|||
* 考核周期(字典值 代表月,季,年) |
|||
*/ |
|||
private String kpiCycle; |
|||
|
|||
/** |
|||
* 机构类别 |
|||
*/ |
|||
private String deptTypeKey; |
|||
|
|||
/** |
|||
* 所有上级机构id |
|||
*/ |
|||
private String parentDeptIds; |
|||
|
|||
/** |
|||
* 所有上级机构名称 |
|||
*/ |
|||
private String parentDeptNames; |
|||
|
|||
/** |
|||
* 所有机构id |
|||
*/ |
|||
private String allDeptIds; |
|||
|
|||
/** |
|||
* 所有机构名称 |
|||
*/ |
|||
private String allDeptNames; |
|||
|
|||
} |
@ -0,0 +1,22 @@ |
|||
package com.elink.esua.epdc.excel; |
|||
|
|||
import cn.afterturn.easypoi.excel.annotation.Excel; |
|||
import lombok.Data; |
|||
/** |
|||
* 网格考核详情导出 |
|||
* |
|||
* @author zy |
|||
* @since v1.0.0 2019-12-17 |
|||
*/ |
|||
@Data |
|||
public class KpiResultGridDetailExcel { |
|||
|
|||
@Excel(name = "序号") |
|||
private int rownum; |
|||
|
|||
@Excel(name = "规则") |
|||
private String rule; |
|||
|
|||
@Excel(name = "详情") |
|||
private String detail; |
|||
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue