Commit f00c6054 authored by 廖旭伟's avatar 廖旭伟

宜宾绩效汇总新需求

parent c9c577c0
......@@ -2,6 +2,7 @@ package com.mortals.xhx.common.utils;
import com.mortals.xhx.common.pdu.WeightPdu;
import com.mortals.xhx.module.staff.model.StaffEntity;
import com.mortals.xhx.module.staff.model.StaffPerformSummaryEditEntity;
import com.mortals.xhx.module.staff.model.StaffPerformSummaryEntity;
import java.math.BigDecimal;
......@@ -89,4 +90,46 @@ public class StaffPerformUtil {
staffPerformSummaryEntity.setSumScore(staffPerformSummaryEntity.getTotalScore().add(staffPerformSummaryEntity.getAddTotalScore()));
}
}
public static void computeSummary(StaffPerformSummaryEditEntity staffPerformSummaryEntity, WeightPdu weightPdu){
BigDecimal reviewScore = weightPdu.reviewWeight().add(staffPerformSummaryEntity.getReviewScore()); //评价分数默认20分扣完为止
if(reviewScore.compareTo(BigDecimal.ZERO)< 0){
reviewScore = BigDecimal.ZERO;
}
BigDecimal attendScore = weightPdu.attendWeight().add(staffPerformSummaryEntity.getAttendScore()); //考勤
if(attendScore.compareTo(BigDecimal.ZERO)< 0){
attendScore = BigDecimal.ZERO;
}
BigDecimal otherScore = staffPerformSummaryEntity.getOtherScore(); //其他绩效加分项
BigDecimal goworkScore = weightPdu.goworkWeight().add(staffPerformSummaryEntity.getGoworkScore()); //办件
if(goworkScore.compareTo(BigDecimal.ZERO)< 0){
goworkScore = BigDecimal.ZERO;
}
BigDecimal effectScore = weightPdu.effectWeight().add(staffPerformSummaryEntity.getEffectScore()); //效能
if(effectScore.compareTo(BigDecimal.ZERO)< 0){
effectScore = BigDecimal.ZERO;
}
BigDecimal complainScore = staffPerformSummaryEntity.getComplainScore(); //自评不用加100
if(complainScore.compareTo(BigDecimal.ZERO)==0){
complainScore = SCORE100;
}
complainScore = complainScore.multiply(weightPdu.selfWeight());
BigDecimal summary = new BigDecimal(0);
summary = summary.add(reviewScore);
summary = summary.add(attendScore);
summary = summary.add(effectScore);
summary = summary.add(goworkScore);
summary = summary.add(complainScore);
summary = summary.add(otherScore);
staffPerformSummaryEntity.setTotalScore(summary);
if(staffPerformSummaryEntity.getAddTotalScore()!=null){
staffPerformSummaryEntity.setSumScore(staffPerformSummaryEntity.getTotalScore().add(staffPerformSummaryEntity.getAddTotalScore()));
}
}
}
......@@ -11,6 +11,7 @@ import com.mortals.xhx.common.utils.StaffPerformUtil;
import com.mortals.xhx.module.check.model.vo.StaffCheckSummaryQuery;
import com.mortals.xhx.module.check.service.*;
import com.mortals.xhx.module.staff.model.StaffPerformSummaryEntity;
import com.mortals.xhx.module.staff.service.StaffPerformSummaryEditService;
import com.mortals.xhx.module.staff.service.StaffPerformSummaryService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -53,6 +54,8 @@ public class StaffCheckSummaryService implements IApplicationStartedService {
private CheckOtherRecordService checkOtherRecordService;
@Autowired
private StaffPerformSummaryService staffPerformSummaryService;
@Autowired
private StaffPerformSummaryEditService staffPerformSummaryEditService;
@Override
public void start() {
......@@ -139,6 +142,8 @@ public class StaffCheckSummaryService implements IApplicationStartedService {
log.info("绩效分数汇总完成");
cacheService.set(STAFF_PERFORM_SUMMARY, DateUtils.getCurrStrDateTime());
}
//同步绩效汇总数据
staffPerformSummaryEditService.syncStaffPerformSummary(year,month,query.getStaffId());
}
......
package com.mortals.xhx.module.staff.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.staff.model.StaffPerformSummaryEditEntity;
import java.util.List;
import java.util.Map;
/**
* 员工绩效统计Dao
* 员工绩效统计 DAO接口
*
* @author zxfei
* @date 2025-04-10
*/
public interface StaffPerformSummaryEditDao extends ICRUDDao<StaffPerformSummaryEditEntity,Long>{
int updateSumScore(Map<String,Object> condition);
}
package com.mortals.xhx.module.staff.dao.ibatis;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import com.mortals.xhx.module.staff.dao.StaffPerformSummaryEditDao;
import com.mortals.xhx.module.staff.model.StaffPerformSummaryEditEntity;
import org.springframework.stereotype.Repository;
import java.util.Map;
/**
* 员工绩效统计DaoImpl DAO接口
*
* @author zxfei
* @date 2025-04-10
*/
@Repository("staffPerformSummaryEditDao")
public class StaffPerformSummaryEditDaoImpl extends BaseCRUDDaoMybatis<StaffPerformSummaryEditEntity,Long> implements StaffPerformSummaryEditDao {
@Override
public int updateSumScore(Map<String,Object> condition) {
return this.getSqlSession().update(this.getSqlId("updateSumScore"),condition);
}
}
package com.mortals.xhx.module.staff.model;
import java.math.BigDecimal;
import java.util.List;
import java.util.ArrayList;
import java.math.BigDecimal;
import cn.hutool.core.date.DateUtil;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.staff.model.vo.StaffPerformSummaryEditVo;
import lombok.Data;
/**
* 员工绩效统计实体对象
*
* @author zxfei
* @date 2025-04-10
*/
@Data
public class StaffPerformSummaryEditEntity extends StaffPerformSummaryEditVo {
private static final long serialVersionUID = 1L;
/**
* 人员id
*/
private Long staffId;
/**
* 所属中心
*/
//@Excel(name = "所属中心")
private String belongCenter;
/**
* 工号
*/
@Excel(name = "工号",sort = 2)
private String workNum;
/**
* 人员名称
*/
@Excel(name = "姓名",sort = 1)
private String staffName;
/**
* 所属大厅
*/
private Long salaId;
/**
* 所属大厅名称
*/
@Excel(name = "所属大厅",sort = 4)
private String salaName;
/**
* 部门id号
*/
private Long deptId;
/**
* 部门名称
*/
@Excel(name = "所属部门",sort = 5)
private String deptName;
/**
* 考勤绩效指标分数
*/
@Excel(name = "服务规范(考勤绩效)",sort = 7)
private BigDecimal attendScore;
/**
* 评价绩效指标分数
*/
@Excel(name = "群众评议",sort = 9)
private BigDecimal reviewScore;
/**
* 投诉绩效指标分数
*/
@Excel(name = "综合管理(自评绩效)",sort = 8)
private BigDecimal complainScore;
/**
* 办件绩效分数
*/
@Excel(name = "工作效能(办件绩效)",sort = 10)
private BigDecimal goworkScore;
/**
* 效能绩效分数
*/
@Excel(name = "工作纪律(效能绩效)",sort = 6)
private BigDecimal effectScore;
/**
* 其它绩效分数 加分项
*/
@Excel(name = "加分(其它绩效)",sort = 11)
private BigDecimal otherScore;
/**
* 累计异常分数
*/
//@Excel(name = "累计异常分数")
private BigDecimal errorScore;
/**
* 当月得分数
*/
@Excel(name = "本月绩效得分数",sort = 12)
private BigDecimal totalScore;
/**
* 备注
*/
@Excel(name = "备注1",sort = 19)
private String remark;
/**
* 年
*/
@Excel(name = "年",sort = 15)
private Integer year;
/**
* 月
*/
@Excel(name = "月",sort = 16)
private Integer month;
/**
* 加分备注
*/
private String remarkAdd;
/**
* 加分合计
*/
@Excel(name = "加分",sort = 13)
private BigDecimal addTotalScore;
/**
* 合计得分
*/
@Excel(name = "合计得分",sort = 14)
private BigDecimal sumScore;
/**
* 政务服务管理科审核等次
*/
@Excel(name = "政务服务管理科审核等次",sort = 17)
private String auditLevel;
/**
* 服务明星推荐
*/
@Excel(name = "服务明星推荐",sort = 18)
private String recommend;
/**
* 数据类型1,系统自动2手动录入
*/
private Integer dataType;
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof StaffPerformSummaryEditEntity) {
StaffPerformSummaryEditEntity tmp = (StaffPerformSummaryEditEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public void initAttrValue(){
this.staffId = 0L;
this.workNum = "";
this.staffName = "";
this.belongCenter = "宜宾市民中心";
this.salaId = null;
this.salaName = "";
this.deptId = 0L;
this.deptName = "";
this.year = DateUtil.year(new Date());
this.month = DateUtil.month(new Date())+1;
this.attendScore = BigDecimal.ZERO;
this.reviewScore = BigDecimal.ZERO;
this.complainScore = BigDecimal.ZERO;
this.goworkScore = BigDecimal.ZERO;
this.effectScore = BigDecimal.ZERO;
this.otherScore = BigDecimal.ZERO;
this.errorScore = BigDecimal.ZERO;
this.totalScore = BigDecimal.ZERO;
this.remark = "";
this.remarkAdd = "";
this.addTotalScore = BigDecimal.ZERO;
this.sumScore = BigDecimal.ZERO;
this.auditLevel = "";
this.recommend = "";
this.dataType = 1;
}
}
\ No newline at end of file
package com.mortals.xhx.module.staff.model;
import java.math.BigDecimal;
import java.util.List;
import com.mortals.xhx.module.staff.model.StaffPerformSummaryEditEntity;
/**
* 员工绩效统计查询对象
*
* @author zxfei
* @date 2025-04-10
*/
public class StaffPerformSummaryEditQuery extends StaffPerformSummaryEditEntity {
/** 开始 主键ID,主键,自增长 */
private Long idStart;
/** 结束 主键ID,主键,自增长 */
private Long idEnd;
/** 增加 主键ID,主键,自增长 */
private Long idIncrement;
/** 主键ID,主键,自增长列表 */
private List <Long> idList;
/** 主键ID,主键,自增长排除列表 */
private List <Long> idNotList;
/** 开始 人员id */
private Long staffIdStart;
/** 结束 人员id */
private Long staffIdEnd;
/** 增加 人员id */
private Long staffIdIncrement;
/** 人员id列表 */
private List <Long> staffIdList;
/** 人员id排除列表 */
private List <Long> staffIdNotList;
/** 工号 */
private List<String> workNumList;
/** 工号排除列表 */
private List <String> workNumNotList;
/** 人员名称 */
private List<String> staffNameList;
/** 人员名称排除列表 */
private List <String> staffNameNotList;
/** 所属中心 */
private List<String> belongCenterList;
/** 所属中心排除列表 */
private List <String> belongCenterNotList;
/** 开始 所属大厅 */
private Long salaIdStart;
/** 结束 所属大厅 */
private Long salaIdEnd;
/** 增加 所属大厅 */
private Long salaIdIncrement;
/** 所属大厅列表 */
private List <Long> salaIdList;
/** 所属大厅排除列表 */
private List <Long> salaIdNotList;
/** 所属大厅名称 */
private List<String> salaNameList;
/** 所属大厅名称排除列表 */
private List <String> salaNameNotList;
/** 开始 部门id号 */
private Long deptIdStart;
/** 结束 部门id号 */
private Long deptIdEnd;
/** 增加 部门id号 */
private Long deptIdIncrement;
/** 部门id号列表 */
private List <Long> deptIdList;
/** 部门id号排除列表 */
private List <Long> deptIdNotList;
/** 部门名称 */
private List<String> deptNameList;
/** 部门名称排除列表 */
private List <String> deptNameNotList;
/** 开始 年 */
private Integer yearStart;
/** 结束 年 */
private Integer yearEnd;
/** 增加 年 */
private Integer yearIncrement;
/** 年列表 */
private List <Integer> yearList;
/** 年排除列表 */
private List <Integer> yearNotList;
/** 开始 月 */
private Integer monthStart;
/** 结束 月 */
private Integer monthEnd;
/** 增加 月 */
private Integer monthIncrement;
/** 月列表 */
private List <Integer> monthList;
/** 月排除列表 */
private List <Integer> monthNotList;
/** 开始 考勤绩效指标分数 */
private BigDecimal attendScoreStart;
/** 结束 考勤绩效指标分数 */
private BigDecimal attendScoreEnd;
/** 增加 考勤绩效指标分数 */
private BigDecimal attendScoreIncrement;
/** 考勤绩效指标分数列表 */
private List <BigDecimal> attendScoreList;
/** 考勤绩效指标分数排除列表 */
private List <BigDecimal> attendScoreNotList;
/** 开始 评价绩效指标分数 */
private BigDecimal reviewScoreStart;
/** 结束 评价绩效指标分数 */
private BigDecimal reviewScoreEnd;
/** 增加 评价绩效指标分数 */
private BigDecimal reviewScoreIncrement;
/** 评价绩效指标分数列表 */
private List <BigDecimal> reviewScoreList;
/** 评价绩效指标分数排除列表 */
private List <BigDecimal> reviewScoreNotList;
/** 开始 投诉绩效指标分数 */
private BigDecimal complainScoreStart;
/** 结束 投诉绩效指标分数 */
private BigDecimal complainScoreEnd;
/** 增加 投诉绩效指标分数 */
private BigDecimal complainScoreIncrement;
/** 投诉绩效指标分数列表 */
private List <BigDecimal> complainScoreList;
/** 投诉绩效指标分数排除列表 */
private List <BigDecimal> complainScoreNotList;
/** 开始 办件绩效分数 */
private BigDecimal goworkScoreStart;
/** 结束 办件绩效分数 */
private BigDecimal goworkScoreEnd;
/** 增加 办件绩效分数 */
private BigDecimal goworkScoreIncrement;
/** 办件绩效分数列表 */
private List <BigDecimal> goworkScoreList;
/** 办件绩效分数排除列表 */
private List <BigDecimal> goworkScoreNotList;
/** 开始 效能绩效分数 */
private BigDecimal effectScoreStart;
/** 结束 效能绩效分数 */
private BigDecimal effectScoreEnd;
/** 增加 效能绩效分数 */
private BigDecimal effectScoreIncrement;
/** 效能绩效分数列表 */
private List <BigDecimal> effectScoreList;
/** 效能绩效分数排除列表 */
private List <BigDecimal> effectScoreNotList;
/** 开始 其它绩效分数 */
private BigDecimal otherScoreStart;
/** 结束 其它绩效分数 */
private BigDecimal otherScoreEnd;
/** 增加 其它绩效分数 */
private BigDecimal otherScoreIncrement;
/** 其它绩效分数列表 */
private List <BigDecimal> otherScoreList;
/** 其它绩效分数排除列表 */
private List <BigDecimal> otherScoreNotList;
/** 开始 累计异常分数 */
private BigDecimal errorScoreStart;
/** 结束 累计异常分数 */
private BigDecimal errorScoreEnd;
/** 增加 累计异常分数 */
private BigDecimal errorScoreIncrement;
/** 累计异常分数列表 */
private List <BigDecimal> errorScoreList;
/** 累计异常分数排除列表 */
private List <BigDecimal> errorScoreNotList;
/** 开始 当月得分数 */
private BigDecimal totalScoreStart;
/** 结束 当月得分数 */
private BigDecimal totalScoreEnd;
/** 增加 当月得分数 */
private BigDecimal totalScoreIncrement;
/** 当月得分数列表 */
private List <BigDecimal> totalScoreList;
/** 当月得分数排除列表 */
private List <BigDecimal> totalScoreNotList;
/** 备注 */
private List<String> remarkList;
/** 备注排除列表 */
private List <String> remarkNotList;
/** 加分备注 */
private List<String> remarkAddList;
/** 加分备注排除列表 */
private List <String> remarkAddNotList;
/** 开始 加分合计 */
private BigDecimal addTotalScoreStart;
/** 结束 加分合计 */
private BigDecimal addTotalScoreEnd;
/** 增加 加分合计 */
private BigDecimal addTotalScoreIncrement;
/** 加分合计列表 */
private List <BigDecimal> addTotalScoreList;
/** 加分合计排除列表 */
private List <BigDecimal> addTotalScoreNotList;
/** 开始 合计得分 */
private BigDecimal sumScoreStart;
/** 结束 合计得分 */
private BigDecimal sumScoreEnd;
/** 增加 合计得分 */
private BigDecimal sumScoreIncrement;
/** 合计得分列表 */
private List <BigDecimal> sumScoreList;
/** 合计得分排除列表 */
private List <BigDecimal> sumScoreNotList;
/** 政务服务管理科审核等次 */
private List<String> auditLevelList;
/** 政务服务管理科审核等次排除列表 */
private List <String> auditLevelNotList;
/** 服务明星推荐 */
private List<String> recommendList;
/** 服务明星推荐排除列表 */
private List <String> recommendNotList;
/** 开始 数据类型1,系统自动2手动录入 */
private Integer dataTypeStart;
/** 结束 数据类型1,系统自动2手动录入 */
private Integer dataTypeEnd;
/** 增加 数据类型1,系统自动2手动录入 */
private Integer dataTypeIncrement;
/** 数据类型1,系统自动2手动录入列表 */
private List <Integer> dataTypeList;
/** 数据类型1,系统自动2手动录入排除列表 */
private List <Integer> dataTypeNotList;
/** 开始 创建时间 */
private String createTimeStart;
/** 结束 创建时间 */
private String createTimeEnd;
/** 开始 创建人id */
private Long createUserIdStart;
/** 结束 创建人id */
private Long createUserIdEnd;
/** 增加 创建人id */
private Long createUserIdIncrement;
/** 创建人id列表 */
private List <Long> createUserIdList;
/** 创建人id排除列表 */
private List <Long> createUserIdNotList;
/** 开始 更新时间 */
private String updateTimeStart;
/** 结束 更新时间 */
private String updateTimeEnd;
/** 开始 更新人id */
private Long updateUserIdStart;
/** 结束 更新人id */
private Long updateUserIdEnd;
/** 增加 更新人id */
private Long updateUserIdIncrement;
/** 更新人id列表 */
private List <Long> updateUserIdList;
/** 更新人id排除列表 */
private List <Long> updateUserIdNotList;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<StaffPerformSummaryEditQuery> orConditionList;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private List<StaffPerformSummaryEditQuery> andConditionList;
public StaffPerformSummaryEditQuery(){}
/**
* 获取 开始 主键ID,主键,自增长
* @return idStart
*/
public Long getIdStart(){
return this.idStart;
}
/**
* 设置 开始 主键ID,主键,自增长
* @param idStart
*/
public void setIdStart(Long idStart){
this.idStart = idStart;
}
/**
* 获取 结束 主键ID,主键,自增长
* @return $idEnd
*/
public Long getIdEnd(){
return this.idEnd;
}
/**
* 设置 结束 主键ID,主键,自增长
* @param idEnd
*/
public void setIdEnd(Long idEnd){
this.idEnd = idEnd;
}
/**
* 获取 增加 主键ID,主键,自增长
* @return idIncrement
*/
public Long getIdIncrement(){
return this.idIncrement;
}
/**
* 设置 增加 主键ID,主键,自增长
* @param idIncrement
*/
public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement;
}
/**
* 获取 主键ID,主键,自增长
* @return idList
*/
public List<Long> getIdList(){
return this.idList;
}
/**
* 设置 主键ID,主键,自增长
* @param idList
*/
public void setIdList(List<Long> idList){
this.idList = idList;
}
/**
* 获取 主键ID,主键,自增长
* @return idNotList
*/
public List<Long> getIdNotList(){
return this.idNotList;
}
/**
* 设置 主键ID,主键,自增长
* @param idNotList
*/
public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList;
}
/**
* 获取 开始 人员id
* @return staffIdStart
*/
public Long getStaffIdStart(){
return this.staffIdStart;
}
/**
* 设置 开始 人员id
* @param staffIdStart
*/
public void setStaffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart;
}
/**
* 获取 结束 人员id
* @return $staffIdEnd
*/
public Long getStaffIdEnd(){
return this.staffIdEnd;
}
/**
* 设置 结束 人员id
* @param staffIdEnd
*/
public void setStaffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd;
}
/**
* 获取 增加 人员id
* @return staffIdIncrement
*/
public Long getStaffIdIncrement(){
return this.staffIdIncrement;
}
/**
* 设置 增加 人员id
* @param staffIdIncrement
*/
public void setStaffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement;
}
/**
* 获取 人员id
* @return staffIdList
*/
public List<Long> getStaffIdList(){
return this.staffIdList;
}
/**
* 设置 人员id
* @param staffIdList
*/
public void setStaffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList;
}
/**
* 获取 人员id
* @return staffIdNotList
*/
public List<Long> getStaffIdNotList(){
return this.staffIdNotList;
}
/**
* 设置 人员id
* @param staffIdNotList
*/
public void setStaffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList;
}
/**
* 获取 工号
* @return workNumList
*/
public List<String> getWorkNumList(){
return this.workNumList;
}
/**
* 设置 工号
* @param workNumList
*/
public void setWorkNumList(List<String> workNumList){
this.workNumList = workNumList;
}
/**
* 获取 工号
* @return workNumNotList
*/
public List<String> getWorkNumNotList(){
return this.workNumNotList;
}
/**
* 设置 工号
* @param workNumNotList
*/
public void setWorkNumNotList(List<String> workNumNotList){
this.workNumNotList = workNumNotList;
}
/**
* 获取 人员名称
* @return staffNameList
*/
public List<String> getStaffNameList(){
return this.staffNameList;
}
/**
* 设置 人员名称
* @param staffNameList
*/
public void setStaffNameList(List<String> staffNameList){
this.staffNameList = staffNameList;
}
/**
* 获取 人员名称
* @return staffNameNotList
*/
public List<String> getStaffNameNotList(){
return this.staffNameNotList;
}
/**
* 设置 人员名称
* @param staffNameNotList
*/
public void setStaffNameNotList(List<String> staffNameNotList){
this.staffNameNotList = staffNameNotList;
}
/**
* 获取 所属中心
* @return belongCenterList
*/
public List<String> getBelongCenterList(){
return this.belongCenterList;
}
/**
* 设置 所属中心
* @param belongCenterList
*/
public void setBelongCenterList(List<String> belongCenterList){
this.belongCenterList = belongCenterList;
}
/**
* 获取 所属中心
* @return belongCenterNotList
*/
public List<String> getBelongCenterNotList(){
return this.belongCenterNotList;
}
/**
* 设置 所属中心
* @param belongCenterNotList
*/
public void setBelongCenterNotList(List<String> belongCenterNotList){
this.belongCenterNotList = belongCenterNotList;
}
/**
* 获取 开始 所属大厅
* @return salaIdStart
*/
public Long getSalaIdStart(){
return this.salaIdStart;
}
/**
* 设置 开始 所属大厅
* @param salaIdStart
*/
public void setSalaIdStart(Long salaIdStart){
this.salaIdStart = salaIdStart;
}
/**
* 获取 结束 所属大厅
* @return $salaIdEnd
*/
public Long getSalaIdEnd(){
return this.salaIdEnd;
}
/**
* 设置 结束 所属大厅
* @param salaIdEnd
*/
public void setSalaIdEnd(Long salaIdEnd){
this.salaIdEnd = salaIdEnd;
}
/**
* 获取 增加 所属大厅
* @return salaIdIncrement
*/
public Long getSalaIdIncrement(){
return this.salaIdIncrement;
}
/**
* 设置 增加 所属大厅
* @param salaIdIncrement
*/
public void setSalaIdIncrement(Long salaIdIncrement){
this.salaIdIncrement = salaIdIncrement;
}
/**
* 获取 所属大厅
* @return salaIdList
*/
public List<Long> getSalaIdList(){
return this.salaIdList;
}
/**
* 设置 所属大厅
* @param salaIdList
*/
public void setSalaIdList(List<Long> salaIdList){
this.salaIdList = salaIdList;
}
/**
* 获取 所属大厅
* @return salaIdNotList
*/
public List<Long> getSalaIdNotList(){
return this.salaIdNotList;
}
/**
* 设置 所属大厅
* @param salaIdNotList
*/
public void setSalaIdNotList(List<Long> salaIdNotList){
this.salaIdNotList = salaIdNotList;
}
/**
* 获取 所属大厅名称
* @return salaNameList
*/
public List<String> getSalaNameList(){
return this.salaNameList;
}
/**
* 设置 所属大厅名称
* @param salaNameList
*/
public void setSalaNameList(List<String> salaNameList){
this.salaNameList = salaNameList;
}
/**
* 获取 所属大厅名称
* @return salaNameNotList
*/
public List<String> getSalaNameNotList(){
return this.salaNameNotList;
}
/**
* 设置 所属大厅名称
* @param salaNameNotList
*/
public void setSalaNameNotList(List<String> salaNameNotList){
this.salaNameNotList = salaNameNotList;
}
/**
* 获取 开始 部门id号
* @return deptIdStart
*/
public Long getDeptIdStart(){
return this.deptIdStart;
}
/**
* 设置 开始 部门id号
* @param deptIdStart
*/
public void setDeptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart;
}
/**
* 获取 结束 部门id号
* @return $deptIdEnd
*/
public Long getDeptIdEnd(){
return this.deptIdEnd;
}
/**
* 设置 结束 部门id号
* @param deptIdEnd
*/
public void setDeptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd;
}
/**
* 获取 增加 部门id号
* @return deptIdIncrement
*/
public Long getDeptIdIncrement(){
return this.deptIdIncrement;
}
/**
* 设置 增加 部门id号
* @param deptIdIncrement
*/
public void setDeptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
}
/**
* 获取 部门id号
* @return deptIdList
*/
public List<Long> getDeptIdList(){
return this.deptIdList;
}
/**
* 设置 部门id号
* @param deptIdList
*/
public void setDeptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList;
}
/**
* 获取 部门id号
* @return deptIdNotList
*/
public List<Long> getDeptIdNotList(){
return this.deptIdNotList;
}
/**
* 设置 部门id号
* @param deptIdNotList
*/
public void setDeptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList;
}
/**
* 获取 部门名称
* @return deptNameList
*/
public List<String> getDeptNameList(){
return this.deptNameList;
}
/**
* 设置 部门名称
* @param deptNameList
*/
public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
}
/**
* 获取 部门名称
* @return deptNameNotList
*/
public List<String> getDeptNameNotList(){
return this.deptNameNotList;
}
/**
* 设置 部门名称
* @param deptNameNotList
*/
public void setDeptNameNotList(List<String> deptNameNotList){
this.deptNameNotList = deptNameNotList;
}
/**
* 获取 开始 年
* @return yearStart
*/
public Integer getYearStart(){
return this.yearStart;
}
/**
* 设置 开始 年
* @param yearStart
*/
public void setYearStart(Integer yearStart){
this.yearStart = yearStart;
}
/**
* 获取 结束 年
* @return $yearEnd
*/
public Integer getYearEnd(){
return this.yearEnd;
}
/**
* 设置 结束 年
* @param yearEnd
*/
public void setYearEnd(Integer yearEnd){
this.yearEnd = yearEnd;
}
/**
* 获取 增加 年
* @return yearIncrement
*/
public Integer getYearIncrement(){
return this.yearIncrement;
}
/**
* 设置 增加 年
* @param yearIncrement
*/
public void setYearIncrement(Integer yearIncrement){
this.yearIncrement = yearIncrement;
}
/**
* 获取 年
* @return yearList
*/
public List<Integer> getYearList(){
return this.yearList;
}
/**
* 设置 年
* @param yearList
*/
public void setYearList(List<Integer> yearList){
this.yearList = yearList;
}
/**
* 获取 年
* @return yearNotList
*/
public List<Integer> getYearNotList(){
return this.yearNotList;
}
/**
* 设置 年
* @param yearNotList
*/
public void setYearNotList(List<Integer> yearNotList){
this.yearNotList = yearNotList;
}
/**
* 获取 开始 月
* @return monthStart
*/
public Integer getMonthStart(){
return this.monthStart;
}
/**
* 设置 开始 月
* @param monthStart
*/
public void setMonthStart(Integer monthStart){
this.monthStart = monthStart;
}
/**
* 获取 结束 月
* @return $monthEnd
*/
public Integer getMonthEnd(){
return this.monthEnd;
}
/**
* 设置 结束 月
* @param monthEnd
*/
public void setMonthEnd(Integer monthEnd){
this.monthEnd = monthEnd;
}
/**
* 获取 增加 月
* @return monthIncrement
*/
public Integer getMonthIncrement(){
return this.monthIncrement;
}
/**
* 设置 增加 月
* @param monthIncrement
*/
public void setMonthIncrement(Integer monthIncrement){
this.monthIncrement = monthIncrement;
}
/**
* 获取 月
* @return monthList
*/
public List<Integer> getMonthList(){
return this.monthList;
}
/**
* 设置 月
* @param monthList
*/
public void setMonthList(List<Integer> monthList){
this.monthList = monthList;
}
/**
* 获取 月
* @return monthNotList
*/
public List<Integer> getMonthNotList(){
return this.monthNotList;
}
/**
* 设置 月
* @param monthNotList
*/
public void setMonthNotList(List<Integer> monthNotList){
this.monthNotList = monthNotList;
}
/**
* 获取 开始 考勤绩效指标分数
* @return attendScoreStart
*/
public BigDecimal getAttendScoreStart(){
return this.attendScoreStart;
}
/**
* 设置 开始 考勤绩效指标分数
* @param attendScoreStart
*/
public void setAttendScoreStart(BigDecimal attendScoreStart){
this.attendScoreStart = attendScoreStart;
}
/**
* 获取 结束 考勤绩效指标分数
* @return $attendScoreEnd
*/
public BigDecimal getAttendScoreEnd(){
return this.attendScoreEnd;
}
/**
* 设置 结束 考勤绩效指标分数
* @param attendScoreEnd
*/
public void setAttendScoreEnd(BigDecimal attendScoreEnd){
this.attendScoreEnd = attendScoreEnd;
}
/**
* 获取 增加 考勤绩效指标分数
* @return attendScoreIncrement
*/
public BigDecimal getAttendScoreIncrement(){
return this.attendScoreIncrement;
}
/**
* 设置 增加 考勤绩效指标分数
* @param attendScoreIncrement
*/
public void setAttendScoreIncrement(BigDecimal attendScoreIncrement){
this.attendScoreIncrement = attendScoreIncrement;
}
/**
* 获取 考勤绩效指标分数
* @return attendScoreList
*/
public List<BigDecimal> getAttendScoreList(){
return this.attendScoreList;
}
/**
* 设置 考勤绩效指标分数
* @param attendScoreList
*/
public void setAttendScoreList(List<BigDecimal> attendScoreList){
this.attendScoreList = attendScoreList;
}
/**
* 获取 考勤绩效指标分数
* @return attendScoreNotList
*/
public List<BigDecimal> getAttendScoreNotList(){
return this.attendScoreNotList;
}
/**
* 设置 考勤绩效指标分数
* @param attendScoreNotList
*/
public void setAttendScoreNotList(List<BigDecimal> attendScoreNotList){
this.attendScoreNotList = attendScoreNotList;
}
/**
* 获取 开始 评价绩效指标分数
* @return reviewScoreStart
*/
public BigDecimal getReviewScoreStart(){
return this.reviewScoreStart;
}
/**
* 设置 开始 评价绩效指标分数
* @param reviewScoreStart
*/
public void setReviewScoreStart(BigDecimal reviewScoreStart){
this.reviewScoreStart = reviewScoreStart;
}
/**
* 获取 结束 评价绩效指标分数
* @return $reviewScoreEnd
*/
public BigDecimal getReviewScoreEnd(){
return this.reviewScoreEnd;
}
/**
* 设置 结束 评价绩效指标分数
* @param reviewScoreEnd
*/
public void setReviewScoreEnd(BigDecimal reviewScoreEnd){
this.reviewScoreEnd = reviewScoreEnd;
}
/**
* 获取 增加 评价绩效指标分数
* @return reviewScoreIncrement
*/
public BigDecimal getReviewScoreIncrement(){
return this.reviewScoreIncrement;
}
/**
* 设置 增加 评价绩效指标分数
* @param reviewScoreIncrement
*/
public void setReviewScoreIncrement(BigDecimal reviewScoreIncrement){
this.reviewScoreIncrement = reviewScoreIncrement;
}
/**
* 获取 评价绩效指标分数
* @return reviewScoreList
*/
public List<BigDecimal> getReviewScoreList(){
return this.reviewScoreList;
}
/**
* 设置 评价绩效指标分数
* @param reviewScoreList
*/
public void setReviewScoreList(List<BigDecimal> reviewScoreList){
this.reviewScoreList = reviewScoreList;
}
/**
* 获取 评价绩效指标分数
* @return reviewScoreNotList
*/
public List<BigDecimal> getReviewScoreNotList(){
return this.reviewScoreNotList;
}
/**
* 设置 评价绩效指标分数
* @param reviewScoreNotList
*/
public void setReviewScoreNotList(List<BigDecimal> reviewScoreNotList){
this.reviewScoreNotList = reviewScoreNotList;
}
/**
* 获取 开始 投诉绩效指标分数
* @return complainScoreStart
*/
public BigDecimal getComplainScoreStart(){
return this.complainScoreStart;
}
/**
* 设置 开始 投诉绩效指标分数
* @param complainScoreStart
*/
public void setComplainScoreStart(BigDecimal complainScoreStart){
this.complainScoreStart = complainScoreStart;
}
/**
* 获取 结束 投诉绩效指标分数
* @return $complainScoreEnd
*/
public BigDecimal getComplainScoreEnd(){
return this.complainScoreEnd;
}
/**
* 设置 结束 投诉绩效指标分数
* @param complainScoreEnd
*/
public void setComplainScoreEnd(BigDecimal complainScoreEnd){
this.complainScoreEnd = complainScoreEnd;
}
/**
* 获取 增加 投诉绩效指标分数
* @return complainScoreIncrement
*/
public BigDecimal getComplainScoreIncrement(){
return this.complainScoreIncrement;
}
/**
* 设置 增加 投诉绩效指标分数
* @param complainScoreIncrement
*/
public void setComplainScoreIncrement(BigDecimal complainScoreIncrement){
this.complainScoreIncrement = complainScoreIncrement;
}
/**
* 获取 投诉绩效指标分数
* @return complainScoreList
*/
public List<BigDecimal> getComplainScoreList(){
return this.complainScoreList;
}
/**
* 设置 投诉绩效指标分数
* @param complainScoreList
*/
public void setComplainScoreList(List<BigDecimal> complainScoreList){
this.complainScoreList = complainScoreList;
}
/**
* 获取 投诉绩效指标分数
* @return complainScoreNotList
*/
public List<BigDecimal> getComplainScoreNotList(){
return this.complainScoreNotList;
}
/**
* 设置 投诉绩效指标分数
* @param complainScoreNotList
*/
public void setComplainScoreNotList(List<BigDecimal> complainScoreNotList){
this.complainScoreNotList = complainScoreNotList;
}
/**
* 获取 开始 办件绩效分数
* @return goworkScoreStart
*/
public BigDecimal getGoworkScoreStart(){
return this.goworkScoreStart;
}
/**
* 设置 开始 办件绩效分数
* @param goworkScoreStart
*/
public void setGoworkScoreStart(BigDecimal goworkScoreStart){
this.goworkScoreStart = goworkScoreStart;
}
/**
* 获取 结束 办件绩效分数
* @return $goworkScoreEnd
*/
public BigDecimal getGoworkScoreEnd(){
return this.goworkScoreEnd;
}
/**
* 设置 结束 办件绩效分数
* @param goworkScoreEnd
*/
public void setGoworkScoreEnd(BigDecimal goworkScoreEnd){
this.goworkScoreEnd = goworkScoreEnd;
}
/**
* 获取 增加 办件绩效分数
* @return goworkScoreIncrement
*/
public BigDecimal getGoworkScoreIncrement(){
return this.goworkScoreIncrement;
}
/**
* 设置 增加 办件绩效分数
* @param goworkScoreIncrement
*/
public void setGoworkScoreIncrement(BigDecimal goworkScoreIncrement){
this.goworkScoreIncrement = goworkScoreIncrement;
}
/**
* 获取 办件绩效分数
* @return goworkScoreList
*/
public List<BigDecimal> getGoworkScoreList(){
return this.goworkScoreList;
}
/**
* 设置 办件绩效分数
* @param goworkScoreList
*/
public void setGoworkScoreList(List<BigDecimal> goworkScoreList){
this.goworkScoreList = goworkScoreList;
}
/**
* 获取 办件绩效分数
* @return goworkScoreNotList
*/
public List<BigDecimal> getGoworkScoreNotList(){
return this.goworkScoreNotList;
}
/**
* 设置 办件绩效分数
* @param goworkScoreNotList
*/
public void setGoworkScoreNotList(List<BigDecimal> goworkScoreNotList){
this.goworkScoreNotList = goworkScoreNotList;
}
/**
* 获取 开始 效能绩效分数
* @return effectScoreStart
*/
public BigDecimal getEffectScoreStart(){
return this.effectScoreStart;
}
/**
* 设置 开始 效能绩效分数
* @param effectScoreStart
*/
public void setEffectScoreStart(BigDecimal effectScoreStart){
this.effectScoreStart = effectScoreStart;
}
/**
* 获取 结束 效能绩效分数
* @return $effectScoreEnd
*/
public BigDecimal getEffectScoreEnd(){
return this.effectScoreEnd;
}
/**
* 设置 结束 效能绩效分数
* @param effectScoreEnd
*/
public void setEffectScoreEnd(BigDecimal effectScoreEnd){
this.effectScoreEnd = effectScoreEnd;
}
/**
* 获取 增加 效能绩效分数
* @return effectScoreIncrement
*/
public BigDecimal getEffectScoreIncrement(){
return this.effectScoreIncrement;
}
/**
* 设置 增加 效能绩效分数
* @param effectScoreIncrement
*/
public void setEffectScoreIncrement(BigDecimal effectScoreIncrement){
this.effectScoreIncrement = effectScoreIncrement;
}
/**
* 获取 效能绩效分数
* @return effectScoreList
*/
public List<BigDecimal> getEffectScoreList(){
return this.effectScoreList;
}
/**
* 设置 效能绩效分数
* @param effectScoreList
*/
public void setEffectScoreList(List<BigDecimal> effectScoreList){
this.effectScoreList = effectScoreList;
}
/**
* 获取 效能绩效分数
* @return effectScoreNotList
*/
public List<BigDecimal> getEffectScoreNotList(){
return this.effectScoreNotList;
}
/**
* 设置 效能绩效分数
* @param effectScoreNotList
*/
public void setEffectScoreNotList(List<BigDecimal> effectScoreNotList){
this.effectScoreNotList = effectScoreNotList;
}
/**
* 获取 开始 其它绩效分数
* @return otherScoreStart
*/
public BigDecimal getOtherScoreStart(){
return this.otherScoreStart;
}
/**
* 设置 开始 其它绩效分数
* @param otherScoreStart
*/
public void setOtherScoreStart(BigDecimal otherScoreStart){
this.otherScoreStart = otherScoreStart;
}
/**
* 获取 结束 其它绩效分数
* @return $otherScoreEnd
*/
public BigDecimal getOtherScoreEnd(){
return this.otherScoreEnd;
}
/**
* 设置 结束 其它绩效分数
* @param otherScoreEnd
*/
public void setOtherScoreEnd(BigDecimal otherScoreEnd){
this.otherScoreEnd = otherScoreEnd;
}
/**
* 获取 增加 其它绩效分数
* @return otherScoreIncrement
*/
public BigDecimal getOtherScoreIncrement(){
return this.otherScoreIncrement;
}
/**
* 设置 增加 其它绩效分数
* @param otherScoreIncrement
*/
public void setOtherScoreIncrement(BigDecimal otherScoreIncrement){
this.otherScoreIncrement = otherScoreIncrement;
}
/**
* 获取 其它绩效分数
* @return otherScoreList
*/
public List<BigDecimal> getOtherScoreList(){
return this.otherScoreList;
}
/**
* 设置 其它绩效分数
* @param otherScoreList
*/
public void setOtherScoreList(List<BigDecimal> otherScoreList){
this.otherScoreList = otherScoreList;
}
/**
* 获取 其它绩效分数
* @return otherScoreNotList
*/
public List<BigDecimal> getOtherScoreNotList(){
return this.otherScoreNotList;
}
/**
* 设置 其它绩效分数
* @param otherScoreNotList
*/
public void setOtherScoreNotList(List<BigDecimal> otherScoreNotList){
this.otherScoreNotList = otherScoreNotList;
}
/**
* 获取 开始 累计异常分数
* @return errorScoreStart
*/
public BigDecimal getErrorScoreStart(){
return this.errorScoreStart;
}
/**
* 设置 开始 累计异常分数
* @param errorScoreStart
*/
public void setErrorScoreStart(BigDecimal errorScoreStart){
this.errorScoreStart = errorScoreStart;
}
/**
* 获取 结束 累计异常分数
* @return $errorScoreEnd
*/
public BigDecimal getErrorScoreEnd(){
return this.errorScoreEnd;
}
/**
* 设置 结束 累计异常分数
* @param errorScoreEnd
*/
public void setErrorScoreEnd(BigDecimal errorScoreEnd){
this.errorScoreEnd = errorScoreEnd;
}
/**
* 获取 增加 累计异常分数
* @return errorScoreIncrement
*/
public BigDecimal getErrorScoreIncrement(){
return this.errorScoreIncrement;
}
/**
* 设置 增加 累计异常分数
* @param errorScoreIncrement
*/
public void setErrorScoreIncrement(BigDecimal errorScoreIncrement){
this.errorScoreIncrement = errorScoreIncrement;
}
/**
* 获取 累计异常分数
* @return errorScoreList
*/
public List<BigDecimal> getErrorScoreList(){
return this.errorScoreList;
}
/**
* 设置 累计异常分数
* @param errorScoreList
*/
public void setErrorScoreList(List<BigDecimal> errorScoreList){
this.errorScoreList = errorScoreList;
}
/**
* 获取 累计异常分数
* @return errorScoreNotList
*/
public List<BigDecimal> getErrorScoreNotList(){
return this.errorScoreNotList;
}
/**
* 设置 累计异常分数
* @param errorScoreNotList
*/
public void setErrorScoreNotList(List<BigDecimal> errorScoreNotList){
this.errorScoreNotList = errorScoreNotList;
}
/**
* 获取 开始 当月得分数
* @return totalScoreStart
*/
public BigDecimal getTotalScoreStart(){
return this.totalScoreStart;
}
/**
* 设置 开始 当月得分数
* @param totalScoreStart
*/
public void setTotalScoreStart(BigDecimal totalScoreStart){
this.totalScoreStart = totalScoreStart;
}
/**
* 获取 结束 当月得分数
* @return $totalScoreEnd
*/
public BigDecimal getTotalScoreEnd(){
return this.totalScoreEnd;
}
/**
* 设置 结束 当月得分数
* @param totalScoreEnd
*/
public void setTotalScoreEnd(BigDecimal totalScoreEnd){
this.totalScoreEnd = totalScoreEnd;
}
/**
* 获取 增加 当月得分数
* @return totalScoreIncrement
*/
public BigDecimal getTotalScoreIncrement(){
return this.totalScoreIncrement;
}
/**
* 设置 增加 当月得分数
* @param totalScoreIncrement
*/
public void setTotalScoreIncrement(BigDecimal totalScoreIncrement){
this.totalScoreIncrement = totalScoreIncrement;
}
/**
* 获取 当月得分数
* @return totalScoreList
*/
public List<BigDecimal> getTotalScoreList(){
return this.totalScoreList;
}
/**
* 设置 当月得分数
* @param totalScoreList
*/
public void setTotalScoreList(List<BigDecimal> totalScoreList){
this.totalScoreList = totalScoreList;
}
/**
* 获取 当月得分数
* @return totalScoreNotList
*/
public List<BigDecimal> getTotalScoreNotList(){
return this.totalScoreNotList;
}
/**
* 设置 当月得分数
* @param totalScoreNotList
*/
public void setTotalScoreNotList(List<BigDecimal> totalScoreNotList){
this.totalScoreNotList = totalScoreNotList;
}
/**
* 获取 备注
* @return remarkList
*/
public List<String> getRemarkList(){
return this.remarkList;
}
/**
* 设置 备注
* @param remarkList
*/
public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList;
}
/**
* 获取 备注
* @return remarkNotList
*/
public List<String> getRemarkNotList(){
return this.remarkNotList;
}
/**
* 设置 备注
* @param remarkNotList
*/
public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList;
}
/**
* 获取 加分备注
* @return remarkAddList
*/
public List<String> getRemarkAddList(){
return this.remarkAddList;
}
/**
* 设置 加分备注
* @param remarkAddList
*/
public void setRemarkAddList(List<String> remarkAddList){
this.remarkAddList = remarkAddList;
}
/**
* 获取 加分备注
* @return remarkAddNotList
*/
public List<String> getRemarkAddNotList(){
return this.remarkAddNotList;
}
/**
* 设置 加分备注
* @param remarkAddNotList
*/
public void setRemarkAddNotList(List<String> remarkAddNotList){
this.remarkAddNotList = remarkAddNotList;
}
/**
* 获取 开始 加分合计
* @return addTotalScoreStart
*/
public BigDecimal getAddTotalScoreStart(){
return this.addTotalScoreStart;
}
/**
* 设置 开始 加分合计
* @param addTotalScoreStart
*/
public void setAddTotalScoreStart(BigDecimal addTotalScoreStart){
this.addTotalScoreStart = addTotalScoreStart;
}
/**
* 获取 结束 加分合计
* @return $addTotalScoreEnd
*/
public BigDecimal getAddTotalScoreEnd(){
return this.addTotalScoreEnd;
}
/**
* 设置 结束 加分合计
* @param addTotalScoreEnd
*/
public void setAddTotalScoreEnd(BigDecimal addTotalScoreEnd){
this.addTotalScoreEnd = addTotalScoreEnd;
}
/**
* 获取 增加 加分合计
* @return addTotalScoreIncrement
*/
public BigDecimal getAddTotalScoreIncrement(){
return this.addTotalScoreIncrement;
}
/**
* 设置 增加 加分合计
* @param addTotalScoreIncrement
*/
public void setAddTotalScoreIncrement(BigDecimal addTotalScoreIncrement){
this.addTotalScoreIncrement = addTotalScoreIncrement;
}
/**
* 获取 加分合计
* @return addTotalScoreList
*/
public List<BigDecimal> getAddTotalScoreList(){
return this.addTotalScoreList;
}
/**
* 设置 加分合计
* @param addTotalScoreList
*/
public void setAddTotalScoreList(List<BigDecimal> addTotalScoreList){
this.addTotalScoreList = addTotalScoreList;
}
/**
* 获取 加分合计
* @return addTotalScoreNotList
*/
public List<BigDecimal> getAddTotalScoreNotList(){
return this.addTotalScoreNotList;
}
/**
* 设置 加分合计
* @param addTotalScoreNotList
*/
public void setAddTotalScoreNotList(List<BigDecimal> addTotalScoreNotList){
this.addTotalScoreNotList = addTotalScoreNotList;
}
/**
* 获取 开始 合计得分
* @return sumScoreStart
*/
public BigDecimal getSumScoreStart(){
return this.sumScoreStart;
}
/**
* 设置 开始 合计得分
* @param sumScoreStart
*/
public void setSumScoreStart(BigDecimal sumScoreStart){
this.sumScoreStart = sumScoreStart;
}
/**
* 获取 结束 合计得分
* @return $sumScoreEnd
*/
public BigDecimal getSumScoreEnd(){
return this.sumScoreEnd;
}
/**
* 设置 结束 合计得分
* @param sumScoreEnd
*/
public void setSumScoreEnd(BigDecimal sumScoreEnd){
this.sumScoreEnd = sumScoreEnd;
}
/**
* 获取 增加 合计得分
* @return sumScoreIncrement
*/
public BigDecimal getSumScoreIncrement(){
return this.sumScoreIncrement;
}
/**
* 设置 增加 合计得分
* @param sumScoreIncrement
*/
public void setSumScoreIncrement(BigDecimal sumScoreIncrement){
this.sumScoreIncrement = sumScoreIncrement;
}
/**
* 获取 合计得分
* @return sumScoreList
*/
public List<BigDecimal> getSumScoreList(){
return this.sumScoreList;
}
/**
* 设置 合计得分
* @param sumScoreList
*/
public void setSumScoreList(List<BigDecimal> sumScoreList){
this.sumScoreList = sumScoreList;
}
/**
* 获取 合计得分
* @return sumScoreNotList
*/
public List<BigDecimal> getSumScoreNotList(){
return this.sumScoreNotList;
}
/**
* 设置 合计得分
* @param sumScoreNotList
*/
public void setSumScoreNotList(List<BigDecimal> sumScoreNotList){
this.sumScoreNotList = sumScoreNotList;
}
/**
* 获取 政务服务管理科审核等次
* @return auditLevelList
*/
public List<String> getAuditLevelList(){
return this.auditLevelList;
}
/**
* 设置 政务服务管理科审核等次
* @param auditLevelList
*/
public void setAuditLevelList(List<String> auditLevelList){
this.auditLevelList = auditLevelList;
}
/**
* 获取 政务服务管理科审核等次
* @return auditLevelNotList
*/
public List<String> getAuditLevelNotList(){
return this.auditLevelNotList;
}
/**
* 设置 政务服务管理科审核等次
* @param auditLevelNotList
*/
public void setAuditLevelNotList(List<String> auditLevelNotList){
this.auditLevelNotList = auditLevelNotList;
}
/**
* 获取 服务明星推荐
* @return recommendList
*/
public List<String> getRecommendList(){
return this.recommendList;
}
/**
* 设置 服务明星推荐
* @param recommendList
*/
public void setRecommendList(List<String> recommendList){
this.recommendList = recommendList;
}
/**
* 获取 服务明星推荐
* @return recommendNotList
*/
public List<String> getRecommendNotList(){
return this.recommendNotList;
}
/**
* 设置 服务明星推荐
* @param recommendNotList
*/
public void setRecommendNotList(List<String> recommendNotList){
this.recommendNotList = recommendNotList;
}
/**
* 获取 开始 数据类型1,系统自动2手动录入
* @return dataTypeStart
*/
public Integer getDataTypeStart(){
return this.dataTypeStart;
}
/**
* 设置 开始 数据类型1,系统自动2手动录入
* @param dataTypeStart
*/
public void setDataTypeStart(Integer dataTypeStart){
this.dataTypeStart = dataTypeStart;
}
/**
* 获取 结束 数据类型1,系统自动2手动录入
* @return $dataTypeEnd
*/
public Integer getDataTypeEnd(){
return this.dataTypeEnd;
}
/**
* 设置 结束 数据类型1,系统自动2手动录入
* @param dataTypeEnd
*/
public void setDataTypeEnd(Integer dataTypeEnd){
this.dataTypeEnd = dataTypeEnd;
}
/**
* 获取 增加 数据类型1,系统自动2手动录入
* @return dataTypeIncrement
*/
public Integer getDataTypeIncrement(){
return this.dataTypeIncrement;
}
/**
* 设置 增加 数据类型1,系统自动2手动录入
* @param dataTypeIncrement
*/
public void setDataTypeIncrement(Integer dataTypeIncrement){
this.dataTypeIncrement = dataTypeIncrement;
}
/**
* 获取 数据类型1,系统自动2手动录入
* @return dataTypeList
*/
public List<Integer> getDataTypeList(){
return this.dataTypeList;
}
/**
* 设置 数据类型1,系统自动2手动录入
* @param dataTypeList
*/
public void setDataTypeList(List<Integer> dataTypeList){
this.dataTypeList = dataTypeList;
}
/**
* 获取 数据类型1,系统自动2手动录入
* @return dataTypeNotList
*/
public List<Integer> getDataTypeNotList(){
return this.dataTypeNotList;
}
/**
* 设置 数据类型1,系统自动2手动录入
* @param dataTypeNotList
*/
public void setDataTypeNotList(List<Integer> dataTypeNotList){
this.dataTypeNotList = dataTypeNotList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 创建人id
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 创建人id
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 创建人id
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 创建人id
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 创建人id
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 创建人id
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 创建人id
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 创建人id
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 创建人id
* @return createUserIdNotList
*/
public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList;
}
/**
* 设置 创建人id
* @param createUserIdNotList
*/
public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
}
/**
* 获取 开始 更新时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 更新时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 更新时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 更新时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 获取 开始 更新人id
* @return updateUserIdStart
*/
public Long getUpdateUserIdStart(){
return this.updateUserIdStart;
}
/**
* 设置 开始 更新人id
* @param updateUserIdStart
*/
public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
}
/**
* 获取 结束 更新人id
* @return $updateUserIdEnd
*/
public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd;
}
/**
* 设置 结束 更新人id
* @param updateUserIdEnd
*/
public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
}
/**
* 获取 增加 更新人id
* @return updateUserIdIncrement
*/
public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement;
}
/**
* 设置 增加 更新人id
* @param updateUserIdIncrement
*/
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
}
/**
* 获取 更新人id
* @return updateUserIdList
*/
public List<Long> getUpdateUserIdList(){
return this.updateUserIdList;
}
/**
* 设置 更新人id
* @param updateUserIdList
*/
public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
}
/**
* 获取 更新人id
* @return updateUserIdNotList
*/
public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList;
}
/**
* 设置 更新人id
* @param updateUserIdNotList
*/
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
}
/**
* 设置 主键ID,主键,自增长
* @param id
*/
public StaffPerformSummaryEditQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 主键ID,主键,自增长
* @param idStart
*/
public StaffPerformSummaryEditQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 主键ID,主键,自增长
* @param idEnd
*/
public StaffPerformSummaryEditQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 主键ID,主键,自增长
* @param idIncrement
*/
public StaffPerformSummaryEditQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 主键ID,主键,自增长
* @param idList
*/
public StaffPerformSummaryEditQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 主键ID,主键,自增长
* @param idNotList
*/
public StaffPerformSummaryEditQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
/**
* 设置 人员id
* @param staffId
*/
public StaffPerformSummaryEditQuery staffId(Long staffId){
setStaffId(staffId);
return this;
}
/**
* 设置 开始 人员id
* @param staffIdStart
*/
public StaffPerformSummaryEditQuery staffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart;
return this;
}
/**
* 设置 结束 人员id
* @param staffIdEnd
*/
public StaffPerformSummaryEditQuery staffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd;
return this;
}
/**
* 设置 增加 人员id
* @param staffIdIncrement
*/
public StaffPerformSummaryEditQuery staffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement;
return this;
}
/**
* 设置 人员id
* @param staffIdList
*/
public StaffPerformSummaryEditQuery staffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList;
return this;
}
/**
* 设置 人员id
* @param staffIdNotList
*/
public StaffPerformSummaryEditQuery staffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList;
return this;
}
/**
* 设置 工号
* @param workNum
*/
public StaffPerformSummaryEditQuery workNum(String workNum){
setWorkNum(workNum);
return this;
}
/**
* 设置 工号
* @param workNumList
*/
public StaffPerformSummaryEditQuery workNumList(List<String> workNumList){
this.workNumList = workNumList;
return this;
}
/**
* 设置 人员名称
* @param staffName
*/
public StaffPerformSummaryEditQuery staffName(String staffName){
setStaffName(staffName);
return this;
}
/**
* 设置 人员名称
* @param staffNameList
*/
public StaffPerformSummaryEditQuery staffNameList(List<String> staffNameList){
this.staffNameList = staffNameList;
return this;
}
/**
* 设置 所属中心
* @param belongCenter
*/
public StaffPerformSummaryEditQuery belongCenter(String belongCenter){
setBelongCenter(belongCenter);
return this;
}
/**
* 设置 所属中心
* @param belongCenterList
*/
public StaffPerformSummaryEditQuery belongCenterList(List<String> belongCenterList){
this.belongCenterList = belongCenterList;
return this;
}
/**
* 设置 所属大厅
* @param salaId
*/
public StaffPerformSummaryEditQuery salaId(Long salaId){
setSalaId(salaId);
return this;
}
/**
* 设置 开始 所属大厅
* @param salaIdStart
*/
public StaffPerformSummaryEditQuery salaIdStart(Long salaIdStart){
this.salaIdStart = salaIdStart;
return this;
}
/**
* 设置 结束 所属大厅
* @param salaIdEnd
*/
public StaffPerformSummaryEditQuery salaIdEnd(Long salaIdEnd){
this.salaIdEnd = salaIdEnd;
return this;
}
/**
* 设置 增加 所属大厅
* @param salaIdIncrement
*/
public StaffPerformSummaryEditQuery salaIdIncrement(Long salaIdIncrement){
this.salaIdIncrement = salaIdIncrement;
return this;
}
/**
* 设置 所属大厅
* @param salaIdList
*/
public StaffPerformSummaryEditQuery salaIdList(List<Long> salaIdList){
this.salaIdList = salaIdList;
return this;
}
/**
* 设置 所属大厅
* @param salaIdNotList
*/
public StaffPerformSummaryEditQuery salaIdNotList(List<Long> salaIdNotList){
this.salaIdNotList = salaIdNotList;
return this;
}
/**
* 设置 所属大厅名称
* @param salaName
*/
public StaffPerformSummaryEditQuery salaName(String salaName){
setSalaName(salaName);
return this;
}
/**
* 设置 所属大厅名称
* @param salaNameList
*/
public StaffPerformSummaryEditQuery salaNameList(List<String> salaNameList){
this.salaNameList = salaNameList;
return this;
}
/**
* 设置 部门id号
* @param deptId
*/
public StaffPerformSummaryEditQuery deptId(Long deptId){
setDeptId(deptId);
return this;
}
/**
* 设置 开始 部门id号
* @param deptIdStart
*/
public StaffPerformSummaryEditQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart;
return this;
}
/**
* 设置 结束 部门id号
* @param deptIdEnd
*/
public StaffPerformSummaryEditQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd;
return this;
}
/**
* 设置 增加 部门id号
* @param deptIdIncrement
*/
public StaffPerformSummaryEditQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
return this;
}
/**
* 设置 部门id号
* @param deptIdList
*/
public StaffPerformSummaryEditQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList;
return this;
}
/**
* 设置 部门id号
* @param deptIdNotList
*/
public StaffPerformSummaryEditQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList;
return this;
}
/**
* 设置 部门名称
* @param deptName
*/
public StaffPerformSummaryEditQuery deptName(String deptName){
setDeptName(deptName);
return this;
}
/**
* 设置 部门名称
* @param deptNameList
*/
public StaffPerformSummaryEditQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
return this;
}
/**
* 设置 年
* @param year
*/
public StaffPerformSummaryEditQuery year(Integer year){
setYear(year);
return this;
}
/**
* 设置 开始 年
* @param yearStart
*/
public StaffPerformSummaryEditQuery yearStart(Integer yearStart){
this.yearStart = yearStart;
return this;
}
/**
* 设置 结束 年
* @param yearEnd
*/
public StaffPerformSummaryEditQuery yearEnd(Integer yearEnd){
this.yearEnd = yearEnd;
return this;
}
/**
* 设置 增加 年
* @param yearIncrement
*/
public StaffPerformSummaryEditQuery yearIncrement(Integer yearIncrement){
this.yearIncrement = yearIncrement;
return this;
}
/**
* 设置 年
* @param yearList
*/
public StaffPerformSummaryEditQuery yearList(List<Integer> yearList){
this.yearList = yearList;
return this;
}
/**
* 设置 年
* @param yearNotList
*/
public StaffPerformSummaryEditQuery yearNotList(List<Integer> yearNotList){
this.yearNotList = yearNotList;
return this;
}
/**
* 设置 月
* @param month
*/
public StaffPerformSummaryEditQuery month(Integer month){
setMonth(month);
return this;
}
/**
* 设置 开始 月
* @param monthStart
*/
public StaffPerformSummaryEditQuery monthStart(Integer monthStart){
this.monthStart = monthStart;
return this;
}
/**
* 设置 结束 月
* @param monthEnd
*/
public StaffPerformSummaryEditQuery monthEnd(Integer monthEnd){
this.monthEnd = monthEnd;
return this;
}
/**
* 设置 增加 月
* @param monthIncrement
*/
public StaffPerformSummaryEditQuery monthIncrement(Integer monthIncrement){
this.monthIncrement = monthIncrement;
return this;
}
/**
* 设置 月
* @param monthList
*/
public StaffPerformSummaryEditQuery monthList(List<Integer> monthList){
this.monthList = monthList;
return this;
}
/**
* 设置 月
* @param monthNotList
*/
public StaffPerformSummaryEditQuery monthNotList(List<Integer> monthNotList){
this.monthNotList = monthNotList;
return this;
}
/**
* 设置 考勤绩效指标分数
* @param attendScore
*/
public StaffPerformSummaryEditQuery attendScore(BigDecimal attendScore){
setAttendScore(attendScore);
return this;
}
/**
* 设置 开始 考勤绩效指标分数
* @param attendScoreStart
*/
public StaffPerformSummaryEditQuery attendScoreStart(BigDecimal attendScoreStart){
this.attendScoreStart = attendScoreStart;
return this;
}
/**
* 设置 结束 考勤绩效指标分数
* @param attendScoreEnd
*/
public StaffPerformSummaryEditQuery attendScoreEnd(BigDecimal attendScoreEnd){
this.attendScoreEnd = attendScoreEnd;
return this;
}
/**
* 设置 增加 考勤绩效指标分数
* @param attendScoreIncrement
*/
public StaffPerformSummaryEditQuery attendScoreIncrement(BigDecimal attendScoreIncrement){
this.attendScoreIncrement = attendScoreIncrement;
return this;
}
/**
* 设置 考勤绩效指标分数
* @param attendScoreList
*/
public StaffPerformSummaryEditQuery attendScoreList(List<BigDecimal> attendScoreList){
this.attendScoreList = attendScoreList;
return this;
}
/**
* 设置 考勤绩效指标分数
* @param attendScoreNotList
*/
public StaffPerformSummaryEditQuery attendScoreNotList(List<BigDecimal> attendScoreNotList){
this.attendScoreNotList = attendScoreNotList;
return this;
}
/**
* 设置 评价绩效指标分数
* @param reviewScore
*/
public StaffPerformSummaryEditQuery reviewScore(BigDecimal reviewScore){
setReviewScore(reviewScore);
return this;
}
/**
* 设置 开始 评价绩效指标分数
* @param reviewScoreStart
*/
public StaffPerformSummaryEditQuery reviewScoreStart(BigDecimal reviewScoreStart){
this.reviewScoreStart = reviewScoreStart;
return this;
}
/**
* 设置 结束 评价绩效指标分数
* @param reviewScoreEnd
*/
public StaffPerformSummaryEditQuery reviewScoreEnd(BigDecimal reviewScoreEnd){
this.reviewScoreEnd = reviewScoreEnd;
return this;
}
/**
* 设置 增加 评价绩效指标分数
* @param reviewScoreIncrement
*/
public StaffPerformSummaryEditQuery reviewScoreIncrement(BigDecimal reviewScoreIncrement){
this.reviewScoreIncrement = reviewScoreIncrement;
return this;
}
/**
* 设置 评价绩效指标分数
* @param reviewScoreList
*/
public StaffPerformSummaryEditQuery reviewScoreList(List<BigDecimal> reviewScoreList){
this.reviewScoreList = reviewScoreList;
return this;
}
/**
* 设置 评价绩效指标分数
* @param reviewScoreNotList
*/
public StaffPerformSummaryEditQuery reviewScoreNotList(List<BigDecimal> reviewScoreNotList){
this.reviewScoreNotList = reviewScoreNotList;
return this;
}
/**
* 设置 投诉绩效指标分数
* @param complainScore
*/
public StaffPerformSummaryEditQuery complainScore(BigDecimal complainScore){
setComplainScore(complainScore);
return this;
}
/**
* 设置 开始 投诉绩效指标分数
* @param complainScoreStart
*/
public StaffPerformSummaryEditQuery complainScoreStart(BigDecimal complainScoreStart){
this.complainScoreStart = complainScoreStart;
return this;
}
/**
* 设置 结束 投诉绩效指标分数
* @param complainScoreEnd
*/
public StaffPerformSummaryEditQuery complainScoreEnd(BigDecimal complainScoreEnd){
this.complainScoreEnd = complainScoreEnd;
return this;
}
/**
* 设置 增加 投诉绩效指标分数
* @param complainScoreIncrement
*/
public StaffPerformSummaryEditQuery complainScoreIncrement(BigDecimal complainScoreIncrement){
this.complainScoreIncrement = complainScoreIncrement;
return this;
}
/**
* 设置 投诉绩效指标分数
* @param complainScoreList
*/
public StaffPerformSummaryEditQuery complainScoreList(List<BigDecimal> complainScoreList){
this.complainScoreList = complainScoreList;
return this;
}
/**
* 设置 投诉绩效指标分数
* @param complainScoreNotList
*/
public StaffPerformSummaryEditQuery complainScoreNotList(List<BigDecimal> complainScoreNotList){
this.complainScoreNotList = complainScoreNotList;
return this;
}
/**
* 设置 办件绩效分数
* @param goworkScore
*/
public StaffPerformSummaryEditQuery goworkScore(BigDecimal goworkScore){
setGoworkScore(goworkScore);
return this;
}
/**
* 设置 开始 办件绩效分数
* @param goworkScoreStart
*/
public StaffPerformSummaryEditQuery goworkScoreStart(BigDecimal goworkScoreStart){
this.goworkScoreStart = goworkScoreStart;
return this;
}
/**
* 设置 结束 办件绩效分数
* @param goworkScoreEnd
*/
public StaffPerformSummaryEditQuery goworkScoreEnd(BigDecimal goworkScoreEnd){
this.goworkScoreEnd = goworkScoreEnd;
return this;
}
/**
* 设置 增加 办件绩效分数
* @param goworkScoreIncrement
*/
public StaffPerformSummaryEditQuery goworkScoreIncrement(BigDecimal goworkScoreIncrement){
this.goworkScoreIncrement = goworkScoreIncrement;
return this;
}
/**
* 设置 办件绩效分数
* @param goworkScoreList
*/
public StaffPerformSummaryEditQuery goworkScoreList(List<BigDecimal> goworkScoreList){
this.goworkScoreList = goworkScoreList;
return this;
}
/**
* 设置 办件绩效分数
* @param goworkScoreNotList
*/
public StaffPerformSummaryEditQuery goworkScoreNotList(List<BigDecimal> goworkScoreNotList){
this.goworkScoreNotList = goworkScoreNotList;
return this;
}
/**
* 设置 效能绩效分数
* @param effectScore
*/
public StaffPerformSummaryEditQuery effectScore(BigDecimal effectScore){
setEffectScore(effectScore);
return this;
}
/**
* 设置 开始 效能绩效分数
* @param effectScoreStart
*/
public StaffPerformSummaryEditQuery effectScoreStart(BigDecimal effectScoreStart){
this.effectScoreStart = effectScoreStart;
return this;
}
/**
* 设置 结束 效能绩效分数
* @param effectScoreEnd
*/
public StaffPerformSummaryEditQuery effectScoreEnd(BigDecimal effectScoreEnd){
this.effectScoreEnd = effectScoreEnd;
return this;
}
/**
* 设置 增加 效能绩效分数
* @param effectScoreIncrement
*/
public StaffPerformSummaryEditQuery effectScoreIncrement(BigDecimal effectScoreIncrement){
this.effectScoreIncrement = effectScoreIncrement;
return this;
}
/**
* 设置 效能绩效分数
* @param effectScoreList
*/
public StaffPerformSummaryEditQuery effectScoreList(List<BigDecimal> effectScoreList){
this.effectScoreList = effectScoreList;
return this;
}
/**
* 设置 效能绩效分数
* @param effectScoreNotList
*/
public StaffPerformSummaryEditQuery effectScoreNotList(List<BigDecimal> effectScoreNotList){
this.effectScoreNotList = effectScoreNotList;
return this;
}
/**
* 设置 其它绩效分数
* @param otherScore
*/
public StaffPerformSummaryEditQuery otherScore(BigDecimal otherScore){
setOtherScore(otherScore);
return this;
}
/**
* 设置 开始 其它绩效分数
* @param otherScoreStart
*/
public StaffPerformSummaryEditQuery otherScoreStart(BigDecimal otherScoreStart){
this.otherScoreStart = otherScoreStart;
return this;
}
/**
* 设置 结束 其它绩效分数
* @param otherScoreEnd
*/
public StaffPerformSummaryEditQuery otherScoreEnd(BigDecimal otherScoreEnd){
this.otherScoreEnd = otherScoreEnd;
return this;
}
/**
* 设置 增加 其它绩效分数
* @param otherScoreIncrement
*/
public StaffPerformSummaryEditQuery otherScoreIncrement(BigDecimal otherScoreIncrement){
this.otherScoreIncrement = otherScoreIncrement;
return this;
}
/**
* 设置 其它绩效分数
* @param otherScoreList
*/
public StaffPerformSummaryEditQuery otherScoreList(List<BigDecimal> otherScoreList){
this.otherScoreList = otherScoreList;
return this;
}
/**
* 设置 其它绩效分数
* @param otherScoreNotList
*/
public StaffPerformSummaryEditQuery otherScoreNotList(List<BigDecimal> otherScoreNotList){
this.otherScoreNotList = otherScoreNotList;
return this;
}
/**
* 设置 累计异常分数
* @param errorScore
*/
public StaffPerformSummaryEditQuery errorScore(BigDecimal errorScore){
setErrorScore(errorScore);
return this;
}
/**
* 设置 开始 累计异常分数
* @param errorScoreStart
*/
public StaffPerformSummaryEditQuery errorScoreStart(BigDecimal errorScoreStart){
this.errorScoreStart = errorScoreStart;
return this;
}
/**
* 设置 结束 累计异常分数
* @param errorScoreEnd
*/
public StaffPerformSummaryEditQuery errorScoreEnd(BigDecimal errorScoreEnd){
this.errorScoreEnd = errorScoreEnd;
return this;
}
/**
* 设置 增加 累计异常分数
* @param errorScoreIncrement
*/
public StaffPerformSummaryEditQuery errorScoreIncrement(BigDecimal errorScoreIncrement){
this.errorScoreIncrement = errorScoreIncrement;
return this;
}
/**
* 设置 累计异常分数
* @param errorScoreList
*/
public StaffPerformSummaryEditQuery errorScoreList(List<BigDecimal> errorScoreList){
this.errorScoreList = errorScoreList;
return this;
}
/**
* 设置 累计异常分数
* @param errorScoreNotList
*/
public StaffPerformSummaryEditQuery errorScoreNotList(List<BigDecimal> errorScoreNotList){
this.errorScoreNotList = errorScoreNotList;
return this;
}
/**
* 设置 当月得分数
* @param totalScore
*/
public StaffPerformSummaryEditQuery totalScore(BigDecimal totalScore){
setTotalScore(totalScore);
return this;
}
/**
* 设置 开始 当月得分数
* @param totalScoreStart
*/
public StaffPerformSummaryEditQuery totalScoreStart(BigDecimal totalScoreStart){
this.totalScoreStart = totalScoreStart;
return this;
}
/**
* 设置 结束 当月得分数
* @param totalScoreEnd
*/
public StaffPerformSummaryEditQuery totalScoreEnd(BigDecimal totalScoreEnd){
this.totalScoreEnd = totalScoreEnd;
return this;
}
/**
* 设置 增加 当月得分数
* @param totalScoreIncrement
*/
public StaffPerformSummaryEditQuery totalScoreIncrement(BigDecimal totalScoreIncrement){
this.totalScoreIncrement = totalScoreIncrement;
return this;
}
/**
* 设置 当月得分数
* @param totalScoreList
*/
public StaffPerformSummaryEditQuery totalScoreList(List<BigDecimal> totalScoreList){
this.totalScoreList = totalScoreList;
return this;
}
/**
* 设置 当月得分数
* @param totalScoreNotList
*/
public StaffPerformSummaryEditQuery totalScoreNotList(List<BigDecimal> totalScoreNotList){
this.totalScoreNotList = totalScoreNotList;
return this;
}
/**
* 设置 备注
* @param remark
*/
public StaffPerformSummaryEditQuery remark(String remark){
setRemark(remark);
return this;
}
/**
* 设置 备注
* @param remarkList
*/
public StaffPerformSummaryEditQuery remarkList(List<String> remarkList){
this.remarkList = remarkList;
return this;
}
/**
* 设置 加分备注
* @param remarkAdd
*/
public StaffPerformSummaryEditQuery remarkAdd(String remarkAdd){
setRemarkAdd(remarkAdd);
return this;
}
/**
* 设置 加分备注
* @param remarkAddList
*/
public StaffPerformSummaryEditQuery remarkAddList(List<String> remarkAddList){
this.remarkAddList = remarkAddList;
return this;
}
/**
* 设置 加分合计
* @param addTotalScore
*/
public StaffPerformSummaryEditQuery addTotalScore(BigDecimal addTotalScore){
setAddTotalScore(addTotalScore);
return this;
}
/**
* 设置 开始 加分合计
* @param addTotalScoreStart
*/
public StaffPerformSummaryEditQuery addTotalScoreStart(BigDecimal addTotalScoreStart){
this.addTotalScoreStart = addTotalScoreStart;
return this;
}
/**
* 设置 结束 加分合计
* @param addTotalScoreEnd
*/
public StaffPerformSummaryEditQuery addTotalScoreEnd(BigDecimal addTotalScoreEnd){
this.addTotalScoreEnd = addTotalScoreEnd;
return this;
}
/**
* 设置 增加 加分合计
* @param addTotalScoreIncrement
*/
public StaffPerformSummaryEditQuery addTotalScoreIncrement(BigDecimal addTotalScoreIncrement){
this.addTotalScoreIncrement = addTotalScoreIncrement;
return this;
}
/**
* 设置 加分合计
* @param addTotalScoreList
*/
public StaffPerformSummaryEditQuery addTotalScoreList(List<BigDecimal> addTotalScoreList){
this.addTotalScoreList = addTotalScoreList;
return this;
}
/**
* 设置 加分合计
* @param addTotalScoreNotList
*/
public StaffPerformSummaryEditQuery addTotalScoreNotList(List<BigDecimal> addTotalScoreNotList){
this.addTotalScoreNotList = addTotalScoreNotList;
return this;
}
/**
* 设置 合计得分
* @param sumScore
*/
public StaffPerformSummaryEditQuery sumScore(BigDecimal sumScore){
setSumScore(sumScore);
return this;
}
/**
* 设置 开始 合计得分
* @param sumScoreStart
*/
public StaffPerformSummaryEditQuery sumScoreStart(BigDecimal sumScoreStart){
this.sumScoreStart = sumScoreStart;
return this;
}
/**
* 设置 结束 合计得分
* @param sumScoreEnd
*/
public StaffPerformSummaryEditQuery sumScoreEnd(BigDecimal sumScoreEnd){
this.sumScoreEnd = sumScoreEnd;
return this;
}
/**
* 设置 增加 合计得分
* @param sumScoreIncrement
*/
public StaffPerformSummaryEditQuery sumScoreIncrement(BigDecimal sumScoreIncrement){
this.sumScoreIncrement = sumScoreIncrement;
return this;
}
/**
* 设置 合计得分
* @param sumScoreList
*/
public StaffPerformSummaryEditQuery sumScoreList(List<BigDecimal> sumScoreList){
this.sumScoreList = sumScoreList;
return this;
}
/**
* 设置 合计得分
* @param sumScoreNotList
*/
public StaffPerformSummaryEditQuery sumScoreNotList(List<BigDecimal> sumScoreNotList){
this.sumScoreNotList = sumScoreNotList;
return this;
}
/**
* 设置 政务服务管理科审核等次
* @param auditLevel
*/
public StaffPerformSummaryEditQuery auditLevel(String auditLevel){
setAuditLevel(auditLevel);
return this;
}
/**
* 设置 政务服务管理科审核等次
* @param auditLevelList
*/
public StaffPerformSummaryEditQuery auditLevelList(List<String> auditLevelList){
this.auditLevelList = auditLevelList;
return this;
}
/**
* 设置 服务明星推荐
* @param recommend
*/
public StaffPerformSummaryEditQuery recommend(String recommend){
setRecommend(recommend);
return this;
}
/**
* 设置 服务明星推荐
* @param recommendList
*/
public StaffPerformSummaryEditQuery recommendList(List<String> recommendList){
this.recommendList = recommendList;
return this;
}
/**
* 设置 数据类型1,系统自动2手动录入
* @param dataType
*/
public StaffPerformSummaryEditQuery dataType(Integer dataType){
setDataType(dataType);
return this;
}
/**
* 设置 开始 数据类型1,系统自动2手动录入
* @param dataTypeStart
*/
public StaffPerformSummaryEditQuery dataTypeStart(Integer dataTypeStart){
this.dataTypeStart = dataTypeStart;
return this;
}
/**
* 设置 结束 数据类型1,系统自动2手动录入
* @param dataTypeEnd
*/
public StaffPerformSummaryEditQuery dataTypeEnd(Integer dataTypeEnd){
this.dataTypeEnd = dataTypeEnd;
return this;
}
/**
* 设置 增加 数据类型1,系统自动2手动录入
* @param dataTypeIncrement
*/
public StaffPerformSummaryEditQuery dataTypeIncrement(Integer dataTypeIncrement){
this.dataTypeIncrement = dataTypeIncrement;
return this;
}
/**
* 设置 数据类型1,系统自动2手动录入
* @param dataTypeList
*/
public StaffPerformSummaryEditQuery dataTypeList(List<Integer> dataTypeList){
this.dataTypeList = dataTypeList;
return this;
}
/**
* 设置 数据类型1,系统自动2手动录入
* @param dataTypeNotList
*/
public StaffPerformSummaryEditQuery dataTypeNotList(List<Integer> dataTypeNotList){
this.dataTypeNotList = dataTypeNotList;
return this;
}
/**
* 设置 创建人id
* @param createUserId
*/
public StaffPerformSummaryEditQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建人id
* @param createUserIdStart
*/
public StaffPerformSummaryEditQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 创建人id
* @param createUserIdEnd
*/
public StaffPerformSummaryEditQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 创建人id
* @param createUserIdIncrement
*/
public StaffPerformSummaryEditQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 创建人id
* @param createUserIdList
*/
public StaffPerformSummaryEditQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 创建人id
* @param createUserIdNotList
*/
public StaffPerformSummaryEditQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
/**
* 设置 更新人id
* @param updateUserId
*/
public StaffPerformSummaryEditQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新人id
* @param updateUserIdStart
*/
public StaffPerformSummaryEditQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
return this;
}
/**
* 设置 结束 更新人id
* @param updateUserIdEnd
*/
public StaffPerformSummaryEditQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
return this;
}
/**
* 设置 增加 更新人id
* @param updateUserIdIncrement
*/
public StaffPerformSummaryEditQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
}
/**
* 设置 更新人id
* @param updateUserIdList
*/
public StaffPerformSummaryEditQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
return this;
}
/**
* 设置 更新人id
* @param updateUserIdNotList
*/
public StaffPerformSummaryEditQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<StaffPerformSummaryEditQuery> getOrConditionList(){
return this.orConditionList;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public void setOrConditionList(List<StaffPerformSummaryEditQuery> orConditionList){
this.orConditionList = orConditionList;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public List<StaffPerformSummaryEditQuery> getAndConditionList(){
return this.andConditionList;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public void setAndConditionList(List<StaffPerformSummaryEditQuery> andConditionList){
this.andConditionList = andConditionList;
}
}
\ No newline at end of file
package com.mortals.xhx.module.staff.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.staff.model.StaffPerformSummaryEditEntity;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;
import com.mortals.framework.annotation.Excel;
import java.math.BigDecimal;
import java.util.Date;
/**
* 员工绩效统计视图对象
*
* @author zxfei
* @date 2025-04-10
*/
@Data
public class StaffPerformSummaryEditVo extends BaseEntityLong {
/**
* 联系电话
*/
@Excel(name = "手机号码",sort = 3)
private String phoneNumber;
private Integer sortKind;
@Excel(name = "备注2",sort = 20)
private String remarkAddDesc;
/** 主键ID,主键,自增长列表 */
private List <Long> idList;
}
\ No newline at end of file
package com.mortals.xhx.module.staff.service;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.staff.model.StaffPerformSummaryEditEntity;
import com.mortals.xhx.module.staff.dao.StaffPerformSummaryEditDao;
/**
* StaffPerformSummaryEditService
*
* 员工绩效统计 service接口
*
* @author zxfei
* @date 2025-04-10
*/
public interface StaffPerformSummaryEditService extends ICRUDService<StaffPerformSummaryEditEntity,Long>{
StaffPerformSummaryEditDao getDao();
/**
* 同步数据
* @param year
* @param month
* @param staffId
*/
void syncStaffPerformSummary(int year,int month,Long staffId);
}
\ No newline at end of file
package com.mortals.xhx.module.staff.service.impl;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.model.PageInfo;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.util.StringUtils;
import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.pdu.WeightPdu;
import com.mortals.xhx.common.utils.BeanUtil;
import com.mortals.xhx.common.utils.StaffPerformUtil;
import com.mortals.xhx.module.staff.dao.StaffPerformSummaryEditDao;
import com.mortals.xhx.module.staff.model.*;
import com.mortals.xhx.module.staff.service.StaffPerformSummaryEditService;
import com.mortals.xhx.module.staff.service.StaffPerformSummaryService;
import com.mortals.xhx.module.staff.service.StaffService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils;
import java.math.BigDecimal;
import java.util.*;
import java.util.function.Function;
import java.util.stream.Collectors;
import static com.mortals.xhx.common.key.ParamKey.SYS_PARAM_WEIGHT;
/**
* StaffPerformSummaryEditService
* 员工绩效统计 service实现
*
* @author zxfei
* @date 2025-04-10
*/
@Service("staffPerformSummaryEditService")
@Slf4j
public class StaffPerformSummaryEditServiceImpl extends AbstractCRUDServiceImpl<StaffPerformSummaryEditDao, StaffPerformSummaryEditEntity, Long> implements StaffPerformSummaryEditService {
@Autowired
private StaffService staffService;
@Autowired
private ParamService paramService;
@Autowired
private StaffPerformSummaryService staffPerformSummaryService;
@Override
protected StaffPerformSummaryEditEntity findBefore(StaffPerformSummaryEditEntity params, PageInfo pageInfo, Context context) throws AppException {
Calendar calendar = Calendar.getInstance();
int year = calendar.get(Calendar.YEAR);
int month = calendar.get(Calendar.MONTH) + 1;
if(params.getYear()==null){
params.setYear(year);
}
if(params.getMonth()==null){
params.setMonth(month);
}
return params;
}
@Override
public StaffPerformSummaryEditEntity get(Long key, Context context) throws AppException {
StaffPerformSummaryEditEntity entity = this.dao.get(key);
String value = paramService.getValueByKey(SYS_PARAM_WEIGHT);
WeightPdu weightPdu;
if (ObjectUtils.isEmpty(value)){
weightPdu = new WeightPdu();
}else {
weightPdu = JSONObject.parseObject(value,WeightPdu.class);
}
computeSummary(entity,weightPdu);
if(StringUtils.isNotEmpty(entity.getRemarkAdd())){
List<JSONObject> jList = JSONArray.parseArray(entity.getRemarkAdd(),JSONObject.class);
String desc = "";
for (JSONObject jsonObject:jList){
desc+=jsonObject.getString("name")+"("+jsonObject.getString("score")+");";
}
entity.setRemarkAddDesc(desc);
}
return entity;
}
@Override
protected void findAfter(StaffPerformSummaryEditEntity params, PageInfo pageInfo, Context context, List<StaffPerformSummaryEditEntity> list) throws AppException {
if(CollectionUtils.isNotEmpty(list)){
String value = paramService.getValueByKey(SYS_PARAM_WEIGHT);
WeightPdu weightPdu;
if (ObjectUtils.isEmpty(value)){
weightPdu = new WeightPdu();
}else {
weightPdu = JSONObject.parseObject(value,WeightPdu.class);
}
for(StaffPerformSummaryEditEntity item:list) {
StaffEntity staffEntity = staffService.getCache(item.getStaffId().toString());
if(staffEntity!=null){
item.setWorkNum(staffEntity.getWorkNum());
item.setPhoneNumber(staffEntity.getPhoneNumber());
}
computeSummary(item,weightPdu);
if(StringUtils.isNotEmpty(item.getRemarkAdd())){
List<JSONObject> jList = JSONArray.parseArray(item.getRemarkAdd(),JSONObject.class);
String desc = "";
for (JSONObject jsonObject:jList){
desc+=jsonObject.getString("name")+"("+jsonObject.getString("score")+");";
}
item.setRemarkAddDesc(desc);
}
}
}
}
private void computeSummary(StaffPerformSummaryEditEntity StaffPerformSummaryEditEntity, WeightPdu weightPdu){
BigDecimal reviewScore = weightPdu.reviewWeight().add(StaffPerformSummaryEditEntity.getReviewScore()); //评价
if(reviewScore.compareTo(BigDecimal.ZERO)<0){
reviewScore = BigDecimal.ZERO;
}
StaffPerformSummaryEditEntity.setReviewScore(reviewScore.setScale(2,BigDecimal.ROUND_DOWN));
BigDecimal attendScore = weightPdu.attendWeight().add(StaffPerformSummaryEditEntity.getAttendScore()); //考勤
if(attendScore.compareTo(BigDecimal.ZERO)<0){
attendScore = BigDecimal.ZERO;
}
StaffPerformSummaryEditEntity.setAttendScore(attendScore.setScale(2,BigDecimal.ROUND_DOWN));
BigDecimal complainScore = StaffPerformSummaryEditEntity.getComplainScore(); //自评不用加100
if(complainScore.compareTo(BigDecimal.ZERO)==0){
complainScore = StaffPerformUtil.SCORE100;
}
complainScore = complainScore.multiply(weightPdu.selfWeight());
StaffPerformSummaryEditEntity.setComplainScore(complainScore.setScale(2,BigDecimal.ROUND_DOWN));
BigDecimal goworkScore = weightPdu.goworkWeight().add(StaffPerformSummaryEditEntity.getGoworkScore()); //办件
if(goworkScore.compareTo(BigDecimal.ZERO)<0){
goworkScore = BigDecimal.ZERO;
}
StaffPerformSummaryEditEntity.setGoworkScore(goworkScore.setScale(2,BigDecimal.ROUND_DOWN));
BigDecimal effectScore = weightPdu.effectWeight().add(StaffPerformSummaryEditEntity.getEffectScore()); //效能
if(effectScore.compareTo(BigDecimal.ZERO)<0){
effectScore = BigDecimal.ZERO;
}
StaffPerformSummaryEditEntity.setEffectScore(effectScore.setScale(2,BigDecimal.ROUND_DOWN));
}
@Override
public void syncStaffPerformSummary(int year, int month, Long staffId) {
List<StaffPerformSummaryEntity> list = staffPerformSummaryService.find(new StaffPerformSummaryQuery().year(year).month(month).staffId(staffId));
List<StaffPerformSummaryEditEntity> editList = this.find(new StaffPerformSummaryEditQuery().year(year).month(month).staffId(staffId));
//Map<String,StaffPerformSummaryEntity> map = list.stream().collect(Collectors.toMap(item->item.getYear()+"_"+item.getMonth()+"_"+item.getStaffId(),Function.identity()));
Map<String,StaffPerformSummaryEditEntity> editMap = editList.stream().collect(Collectors.toMap(item->item.getYear()+"_"+item.getMonth()+"_"+item.getStaffId(),Function.identity()));
List<StaffPerformSummaryEditEntity> addList = new ArrayList<>();
List<StaffPerformSummaryEditEntity> updateList = new ArrayList<>();
for(StaffPerformSummaryEntity item:list){
String key = item.getYear()+"_"+item.getMonth()+"_"+item.getStaffId();
if(editMap.containsKey(key)){
StaffPerformSummaryEditEntity editEntity = editMap.get(key);
item.setId(editEntity.getId());
item.setAuditLevel(editEntity.getAuditLevel());
item.setRecommend(editEntity.getRecommend());
item.setRemarkAdd(editEntity.getRemarkAdd());
item.setRemark(editEntity.getRemark());
item.setAddTotalScore(editEntity.getAddTotalScore());
if(editEntity.getDataType()==1){
BeanUtils.copyProperties(item, editEntity, BeanUtil.getNullPropertyNames(item));
if(editEntity.getAddTotalScore()!=null){
editEntity.setSumScore(editEntity.getTotalScore().add(editEntity.getAddTotalScore()));
}
updateList.add(editEntity);
}
}else {
StaffPerformSummaryEditEntity editEntity = new StaffPerformSummaryEditEntity();
BeanUtils.copyProperties(item, editEntity, BeanUtil.getNullPropertyNames(item));
editEntity.setId(null);
editEntity.setDataType(1);
editEntity.setCreateTime(new Date());
addList.add(editEntity);
}
}
if(CollectionUtils.isNotEmpty(updateList)){
this.update(updateList);
}
if(CollectionUtils.isNotEmpty(addList)){
this.save(addList);
}
}
}
\ No newline at end of file
package com.mortals.xhx.module.staff.web;
import com.alibaba.fastjson.JSONObject;
import com.mortals.framework.annotation.UnAuth;
import com.mortals.framework.common.Rest;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.model.OrderCol;
import com.mortals.framework.service.ICacheService;
import com.mortals.framework.util.DateUtils;
import com.mortals.framework.util.StringUtils;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.pdu.WeightPdu;
import com.mortals.xhx.common.utils.StaffPerformUtil;
import com.mortals.xhx.module.check.model.vo.StaffCheckSummaryQuery;
import com.mortals.xhx.module.staff.model.StaffEntity;
import com.mortals.xhx.module.staff.model.StaffPerformSummaryEditEntity;
import com.mortals.xhx.module.staff.model.StaffPerformSummaryEditQuery;
import com.mortals.xhx.module.staff.service.StaffPerformSummaryEditService;
import com.mortals.xhx.module.staff.service.StaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ObjectUtils;
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.math.BigDecimal;
import java.util.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import static com.mortals.xhx.common.key.ParamKey.SYS_PARAM_WEIGHT;
import static com.mortals.xhx.common.key.RedisKey.KEY_CHECK_SUMMARY_CACHE;
import static com.mortals.xhx.common.key.RedisKey.STAFF_PERFORM_SUMMARY;
/**
*
* 员工绩效统计
*
* @author zxfei
* @date 2025-04-10
*/
@RestController
@RequestMapping("staff/perform/summary/edit")
public class StaffPerformSummaryEditController extends BaseCRUDJsonBodyMappingController<StaffPerformSummaryEditService,StaffPerformSummaryEditEntity,Long> {
@Autowired
private ParamService paramService;
@Autowired
private StaffService staffService;
@Autowired
private ICacheService cacheService;
private static String SUMMARY_TASK_KEY = "staffPerformSummaryTask:run";
private ExecutorService executorService = Executors.newCachedThreadPool();
public StaffPerformSummaryEditController() {
super.setModuleDesc("员工绩效统计");
}
@Override
protected void init(Map<String, Object> model, Context context) {
super.init(model, context);
}
@Override
protected void saveBefore(StaffPerformSummaryEditEntity entity, Map<String, Object> model, Context context) throws AppException {
StaffPerformSummaryEditQuery query = new StaffPerformSummaryEditQuery();
query.setStaffName(entity.getStaffName());
query.setDeptId(entity.getDeptId());
query.setSalaId(entity.getSalaId());
query.setWorkNum(entity.getWorkNum());
query.setMonth(entity.getMonth());
query.setYear(entity.getYear());
StaffPerformSummaryEditEntity temp = service.selectOne(query);
if(temp!=null && entity.getId()==null){
throw new AppException("当月已存在绩效数据");
}
entity.setDataType(2);
String value = paramService.getValueByKey(SYS_PARAM_WEIGHT);
WeightPdu weightPdu;
if (ObjectUtils.isEmpty(value)){
weightPdu = new WeightPdu();
}else {
weightPdu = JSONObject.parseObject(value,WeightPdu.class);
}
computeSummary(entity,weightPdu);
super.saveBefore(entity, model, context);
}
/**
* 根据页面总分逆向运算各指标扣减分数
* @param StaffPerformSummaryEditEntity
* @param weightPdu
*/
private void computeSummary(StaffPerformSummaryEditEntity StaffPerformSummaryEditEntity, WeightPdu weightPdu){
BigDecimal reviewScore = StaffPerformSummaryEditEntity.getReviewScore().subtract(weightPdu.reviewWeight());//评价
StaffPerformSummaryEditEntity.setReviewScore(reviewScore.setScale(2,BigDecimal.ROUND_DOWN));
BigDecimal attendScore = StaffPerformSummaryEditEntity.getAttendScore().subtract(weightPdu.attendWeight());//考勤
StaffPerformSummaryEditEntity.setAttendScore(attendScore.setScale(2,BigDecimal.ROUND_DOWN));
BigDecimal complainScore = StaffPerformSummaryEditEntity.getComplainScore().divide(weightPdu.selfWeight(),2,BigDecimal.ROUND_DOWN); //自评
StaffPerformSummaryEditEntity.setComplainScore(complainScore.setScale(2,BigDecimal.ROUND_DOWN));
BigDecimal goworkScore = StaffPerformSummaryEditEntity.getGoworkScore().subtract(weightPdu.goworkWeight());//办件
StaffPerformSummaryEditEntity.setGoworkScore(goworkScore.setScale(2,BigDecimal.ROUND_DOWN));
BigDecimal effectScore = StaffPerformSummaryEditEntity.getEffectScore().subtract(weightPdu.effectWeight());//效能
StaffPerformSummaryEditEntity.setEffectScore(effectScore.setScale(2,BigDecimal.ROUND_DOWN));
BigDecimal erro = new BigDecimal(0);
erro = erro.add(StaffPerformSummaryEditEntity.getReviewScore());
erro = erro.add(StaffPerformSummaryEditEntity.getAttendScore());
if(StaffPerformSummaryEditEntity.getComplainScore().compareTo(BigDecimal.ZERO)!=0){
BigDecimal complainScoreErro = StaffPerformUtil.SCORE100.subtract(StaffPerformSummaryEditEntity.getComplainScore());
erro = erro.add(BigDecimal.ZERO.subtract(complainScoreErro));
}
erro = erro.add(StaffPerformSummaryEditEntity.getGoworkScore());
erro = erro.add(StaffPerformSummaryEditEntity.getEffectScore());
StaffPerformSummaryEditEntity.setErrorScore(erro);
StaffPerformUtil.computeSummary(StaffPerformSummaryEditEntity,weightPdu);
}
@Override
protected void doListBefore(StaffPerformSummaryEditEntity query, Map<String, Object> model, Context context) throws AppException {
if (!ObjectUtils.isEmpty(query.getOrderColList())) {
// query.getOrderColList().add(new OrderCol("year",OrderCol.DESCENDING));
// query.getOrderColList().add(new OrderCol("month",OrderCol.DESCENDING));
}
List<OrderCol> orderColList = new ArrayList();
if(query.getSortKind()!=null && query.getSortKind()==1){
orderColList.add(new OrderCol("totalScore",OrderCol.DESCENDING));
}else if(query.getSortKind()!=null && query.getSortKind()==2) {
orderColList.add(new OrderCol("totalScore",OrderCol.ASCENDING));
}else {
orderColList.add(new OrderCol("salaName",OrderCol.ASCENDING));
orderColList.add(new OrderCol("deptName",OrderCol.ASCENDING));
}
query.setOrderColList(orderColList);
}
@Override
protected int doListAfter(StaffPerformSummaryEditEntity query, Map<String, Object> model, Context context) throws AppException {
String value = paramService.getValueByKey(SYS_PARAM_WEIGHT);
WeightPdu weightPdu;
if (ObjectUtils.isEmpty(value)){
weightPdu = new WeightPdu();
}else {
weightPdu = JSONObject.parseObject(value,WeightPdu.class);
}
this.addDict(model,"weightPdu",weightPdu);
String summaryTime = cacheService.get(STAFF_PERFORM_SUMMARY);
if(StringUtils.isNotEmpty(summaryTime)){
this.addDict(model,"summaryTime",summaryTime);
}else {
Calendar cal = Calendar.getInstance();
cal.add(Calendar.DAY_OF_MONTH,-1);
summaryTime = DateUtils.getDateTime(cal.getTime(),"yyyy-MM-dd");
this.addDict(model,"summaryTime", summaryTime+" 22:00:00");
}
return super.doListAfter(query,model,context);
}
@Override
protected int viewAfter(Long id, Map<String, Object> model, StaffPerformSummaryEditEntity entity, Context context) throws AppException {
StaffEntity staffEntity = staffService.get(entity.getStaffId());
if(staffEntity!=null){
entity.setWorkNum(staffEntity.getWorkNum());
entity.setPhoneNumber(staffEntity.getPhoneNumber());
}
return 1;
}
@PostMapping({"sync"})
@UnAuth
public Rest<Object> sync(@RequestBody StaffCheckSummaryQuery query) {
Rest<Object> ret = new Rest();
Map<String, Object> model = new HashMap();
Context context = this.getContext();
String busiDesc = "执行考勤汇总任务";
int code=1;
try {
String verify = cacheService.get(SUMMARY_TASK_KEY);
if(StringUtils.isNotEmpty(verify)&&verify.equals("true")){
throw new AppException("同步任务正在执行,请勿重复操作");
}
executorService.submit(new Runnable() {
@Override
public void run() {
cacheService.setnx(SUMMARY_TASK_KEY,"true",90);
if(StringUtils.isNotEmpty(query.getCheckTimeStart())) {
Date date = DateUtils.StrToDateTime(query.getCheckTimeStart());
Calendar calendar = Calendar.getInstance();
calendar.setTime(date);
int year = calendar.get(Calendar.YEAR);
int month = calendar.get(Calendar.MONTH) + 1;
service.syncStaffPerformSummary(year,month,query.getStaffId());
}
}
});
// cacheService.setnx(SUMMARY_TASK_KEY,"false",60);
// if(StringUtils.isNotEmpty(query.getCheckTimeStart())) {
// Date date = DateUtils.StrToDateTime(query.getCheckTimeStart());
// Calendar calendar = Calendar.getInstance();
// calendar.setTime(date);
// int year = calendar.get(Calendar.YEAR);
// int month = calendar.get(Calendar.MONTH) + 1;
// service.syncStaffPerformSummary(year,month,query.getStaffId());
// }
model.put("message_info","开始执行绩效汇总同步,请稍后查看");
} catch (Exception var9) {
code = -1;
this.doException(this.request, busiDesc, model, var9);
}
ret.setCode(code);
ret.setMsg(model.get("message_info") == null ? "" : model.remove("message_info").toString());
return ret;
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -1382,3 +1382,50 @@ PRIMARY KEY (`id`)
-- 2025-04-02
-- ----------------------------
ALTER TABLE mortals_xhx_staff ADD COLUMN `dingUserId` varchar(128) COMMENT '钉钉userId';
-- ----------------------------
-- 2025-04-10 宜宾需求
-- ----------------------------
-- ----------------------------
-- 员工绩效统计表
-- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_staff_perform_summary_edit`;
CREATE TABLE mortals_xhx_staff_perform_summary_edit(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID,主键,自增长',
`staffId` bigint(20) DEFAULT '0' COMMENT '人员id',
`workNum` varchar(64) COMMENT '工号',
`staffName` varchar(512) COMMENT '人员名称',
`belongCenter` varchar(512) DEFAULT '宜宾市民中心' COMMENT '所属中心',
`salaId` bigint(20) COMMENT '所属大厅',
`salaName` varchar(128) COMMENT '所属大厅名称',
`deptId` bigint(20) DEFAULT '0' COMMENT '部门id号',
`deptName` varchar(64) COMMENT '部门名称',
`year` int(9) NOT NULL COMMENT '年',
`month` tinyint(2) NOT NULL COMMENT '月',
`attendScore` decimal(10,2) COMMENT '考勤绩效指标分数',
`reviewScore` decimal(10,2) COMMENT '评价绩效指标分数',
`complainScore` decimal(10,2) COMMENT '投诉绩效指标分数',
`goworkScore` decimal(10,2) COMMENT '办件绩效分数',
`effectScore` decimal(10,2) COMMENT '效能绩效分数',
`otherScore` decimal(10,2) COMMENT '其它绩效分数',
`errorScore` decimal(10,2) COMMENT '累计异常分数',
`totalScore` decimal(10,2) COMMENT '当月得分数',
`remark` varchar(255) COMMENT '备注',
`remarkAdd` varchar(255) COMMENT '加分备注',
`addTotalScore` decimal(10,2) COMMENT '加分合计',
`sumScore` decimal(10,2) COMMENT '合计得分',
`auditLevel` varchar(128) COMMENT '政务服务管理科审核等次',
`recommend` varchar(128) COMMENT '服务明星推荐',
`dataType` tinyint(2) DEFAULT '1' COMMENT '数据类型1,系统自动2手动录入',
`createTime` datetime COMMENT '创建时间',
`createUserId` bigint(20) COMMENT '创建人id',
`updateTime` datetime COMMENT '更新时间',
`updateUserId` bigint(20) COMMENT '更新人id',
PRIMARY KEY (`id`)
,KEY `id` (`id`) USING BTREE
,KEY `workNum` (`workNum`) USING BTREE
,KEY `staffName` (`staffName`) USING BTREE
,KEY `belongCenter` (`belongCenter`) USING BTREE
,KEY `year` (`year`) USING BTREE
,KEY `month` (`month`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='员工绩效统计';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment