Commit c917e5f5 authored by 赵啸非's avatar 赵啸非

目标看板修改业务,申诉添加字段

parent 18785865
package com.mortals.xhx.busiz.req;
import com.mortals.framework.annotation.Excel;
import com.mortals.xhx.busiz.BaseReq;
import com.mortals.xhx.module.perform.model.PerformAttendAppealFilesEntity;
import lombok.Data;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Data
......@@ -29,7 +33,22 @@ public class AppealReq extends BaseReq {
*/
private Long staffId;
/**
* 核查记录id
*/
private Long Id;
/**
* 申诉说明
*/
private String appealDesc;
/**
* 绩效记录申诉附件信息信息
*/
private List<PerformAttendAppealFilesEntity> performAttendAppealFilesList = new ArrayList<>();
;
}
package com.mortals.xhx.busiz.rsp;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
@Data
public class AppealDetailInfo {
/**
* id
*/
private Long id;
/**
* 记录ID
*/
private Long recordId;
/**
* 员工ID
*/
private Long staffId;
/**
* 员工姓名
*/
private String staffName;
/**
* 工号
*/
private String workNum;
/**
* 所属部门
*/
private Long deptId;
/**
* 所属部门名称
*/
private String deptName;
/**
* 所属考勤组ID
*/
private Long attendanceGroupId;
/**
* 所属考勤组名称
*/
private String attendanceGroupName;
/**
* 考勤时间
*/
private Date attendanceDate;
/**
* 绩效规则id
*/
private Long ruleId;
/**
* 规则名称
*/
private String ruleName;
/**
* 增减类型(1.增加,2.扣除)
*/
private Integer subAddType;
/**
* 扣分或增加分值
*/
private BigDecimal score;
/**
* 上下班时间
*/
private String goOffTimeStr;
/**
* 异常时间
*/
private Date errorTime;
/**
* 实际打卡时间
*/
private Date actualAttendTime;
/**
* 异常处理结果
*/
private String errorResult;
/**
* 核查人员
*/
private String checkPerson;
/**
* 核查时间
*/
private Date checkTime;
/**
* 核查说明
*/
private String checkDesc;
/**
* 核查结果
*/
private String checkResult;
/**
* 处理状态(1.未处理,2.已处理)
*/
private Integer checkStatus;
/**
* 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
*/
private Integer subMethod;
/**
* 说明
*/
private String remark;
/**
* 评价结果(1.非常不满意,2.差评)
*/
private Integer reviewResult;
/**
* 评价时间
*/
private Date reviewTime;
/**
* 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
*/
private String reviewSource;
/**
* 评价设备
*/
private String reviewDevice;
/**
* 投诉标题
*/
private String complainTitle;
/**
* 投诉内容
*/
private String complainContent;
/**
* 投诉人真实姓名
*/
private String complainRealName;
/**
* 联系电话
*/
private String contact;
/**
* 投诉时间
*/
private Date complainTime;
/**
* 投诉来源
*/
private String complainSource;
/**
* 投诉设备
*/
private String complainDevice;
/**
* 办件编码
*/
private String goworkCode;
/**
* 办件所属部门
*/
private String goworkDepts;
/**
* 事项名称
*/
private String matterlName;
/**
* 办理时间
*/
private Date goworkTime;
/**
* 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
*/
private Integer irregularType;
/**
* 发生时间
*/
private Date happenTime;
/**
* 持续时间,秒
*/
private Integer duration;
/**
* 报警时间
*/
private Date alarmTime;
/**
* 图片凭证地址
*/
private String snapPath;
/**
* 窗口编号
*/
private String windowNum;
/**
* 违规类型(1.工作纪律)
*/
private Integer irregularOtherType;
/**
* 附件名称,多个逗号分割
*/
private String fileNames;
/**
* 附件下载地址,多个逗号分割
*/
private String filePaths;
}
......@@ -10,14 +10,11 @@ import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.model.PageInfo;
import com.mortals.framework.model.Result;
import com.mortals.framework.web.BaseJsonBodyController;
import com.mortals.xhx.busiz.req.AppealReq;
import com.mortals.xhx.busiz.req.PerformReq;
import com.mortals.xhx.busiz.rsp.AppealStatInfo;
import com.mortals.xhx.busiz.rsp.PerformDetailInfo;
import com.mortals.xhx.busiz.rsp.PerformInfo;
import com.mortals.xhx.busiz.rsp.PerformStatInfo;
import com.mortals.xhx.common.code.PerformTypeEnum;
import com.mortals.xhx.common.code.ProcessStatusEnum;
import com.mortals.xhx.common.utils.BeanUtil;
import com.mortals.xhx.module.check.model.*;
import com.mortals.xhx.module.check.service.*;
......@@ -25,7 +22,6 @@ import com.mortals.xhx.module.perform.model.PerformAttendAppealEntity;
import com.mortals.xhx.module.perform.model.PerformAttendAppealQuery;
import com.mortals.xhx.module.perform.service.PerformAttendAppealService;
import lombok.extern.slf4j.Slf4j;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ObjectUtils;
......@@ -36,9 +32,7 @@ import org.springframework.web.bind.annotation.RestController;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import static com.mortals.framework.ap.SysConstains.*;
import static com.mortals.xhx.common.key.ErrorCode.ERROR_TOKEN_EXPIRED;
......@@ -56,7 +50,22 @@ import static com.mortals.xhx.common.key.ErrorCode.ERROR_TOKEN_EXPIRED_CONTENT;
public class AppealApiController extends AbstractBaseController<PerformReq> {
@Autowired
private PerformAttendAppealService attendAppealService;
private CheckAttendRecordService checkAttendRecordService;
@Autowired
private CheckReviewRecordService checkReviewRecordService;
@Autowired
private CheckComplainRecordService checkComplainRecordService;
@Autowired
private CheckEffectRecordService checkEffectRecordService;
@Autowired
private CheckGoworkRecordService checkGoworkRecordService;
@Autowired
private CheckOtherRecordService checkOtherRecordService;
@Autowired
private PerformAttendAppealService appealService;
/**
* 个人申诉绩效统计
......@@ -112,7 +121,7 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
query.setAppealTimeEnd(appealReq.getAppealEndDate());
query.setStaffId(context.getUser().getCustomerId());
Result<PerformAttendAppealEntity> result = attendAppealService.find(query, pageInfo, context);
Result<PerformAttendAppealEntity> result = appealService.find(query, pageInfo, context);
model.put(KEY_RESULT_DATA, result.getList());
model.put(PAGEINFO_KEY, result.getPageInfo());
parsePageInfo(model, result.getPageInfo());
......@@ -139,7 +148,7 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
if (ObjectUtils.isEmpty(appealReq.getId())) {
throw new AppException("详细查询id不能为空!");
}
PerformAttendAppealEntity performAttendAppealEntity = attendAppealService.get(appealReq.getId(), context);
PerformAttendAppealEntity performAttendAppealEntity = appealService.get(appealReq.getId(), context);
rest.setData(performAttendAppealEntity);
recordSysLog(request, busiDesc + " 【成功】");
......@@ -155,21 +164,53 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
* 申诉新增
*/
@PostMapping(value = "save")
public Rest<PerformAttendAppealEntity> appealSave(@RequestBody PerformAttendAppealEntity appealEntity) {
public Rest<PerformAttendAppealEntity> appealSave(@RequestBody AppealReq req) {
String busiDesc = "个人申诉新增";
log.info("【{}】【请求体】--> {}", busiDesc, JSONObject.toJSONString(appealEntity));
log.info("【{}】【请求体】--> {}", busiDesc, JSONObject.toJSONString(req));
Rest<PerformAttendAppealEntity> rest = Rest.ok(busiDesc + " 【成功】");
Context context = this.getContext();
try {
//校验 去重
PerformAttendAppealEntity saveEntity = attendAppealService.save(appealEntity, context);
//根据状态 查询 当前是否已经存在正在进行的申诉
if (ObjectUtils.isEmpty(req.getId())) throw new AppException("核查记录Id不能为空!");
if (ObjectUtils.isEmpty(req.getPerformType())) throw new AppException("绩效类型不能为空!");
PerformAttendAppealEntity entity = new PerformAttendAppealEntity();
entity.initAttrValue();
if (PerformTypeEnum.考勤绩效.getValue().equals(req.getPerformType())) {
//查询当前核查是否已存在进行中的申诉记录
PerformAttendAppealEntity appealEntity = appealService.selectOne(new PerformAttendAppealQuery().checkRecordId(req.getId()));
if (!ObjectUtils.isEmpty(appealEntity) && appealEntity.getProcessStatus() == ProcessStatusEnum.未核查.getValue()) {
throw new AppException("当前绩效核查已经存在正在进行中的申诉记录!");
}
CheckAttendRecordEntity checkEntity = checkAttendRecordService.get(req.getId(), context);
BeanUtils.copyProperties(checkEntity, entity, BeanUtil.getNullPropertyNames(checkEntity));
} else if (PerformTypeEnum.评价差评绩效.getValue().equals(req.getPerformType())) {
CheckReviewRecordEntity checkEntity = checkReviewRecordService.get(req.getId(), context);
} else if (PerformTypeEnum.评价投诉绩效.getValue().equals(req.getPerformType())) {
CheckComplainRecordEntity checkEntity = checkComplainRecordService.get(req.getId(), context);
} else if (PerformTypeEnum.办件绩效.getValue().equals(req.getPerformType())) {
CheckGoworkRecordEntity checkEntity = checkGoworkRecordService.get(req.getId(), context);
} else if (PerformTypeEnum.效能绩效.getValue().equals(req.getPerformType())) {
CheckEffectRecordEntity checkEntity = checkEffectRecordService.get(req.getId(), context);
} else if (PerformTypeEnum.其它绩效.getValue().equals(req.getPerformType())) {
CheckOtherRecordEntity checkEntity = checkOtherRecordService.get(req.getId(), context);
} else {
throw new AppException("不支持当前绩效类型");
}
entity.setPerformAttendAppealFilesList(req.getPerformAttendAppealFilesList());
entity.setProcessStatus(1);
PerformAttendAppealEntity saveEntity = appealService.save(entity, context);
rest.setData(saveEntity);
recordSysLog(request, busiDesc + " 【成功】");
} catch (Exception e) {
log.error(busiDesc, e);
rest = Rest.fail(super.convertException(e));
}
log.info("【{}】【响应体】--> {}", busiDesc, JSONObject.toJSONString(appealEntity));
log.info("【{}】【响应体】--> {}", busiDesc, JSONObject.toJSONString(req));
return rest;
}
......
......@@ -4,13 +4,13 @@ import java.util.LinkedHashMap;
import java.util.Map;
/**
* 处理状态(1.未核查,2.已核查)枚举类
* 处理状态(1.未处理,2.已处理)枚举类
*
* @author zxfei
*/
public enum ProcessStatusEnum {
核查(1, "未核查"),
核查(2, "已核查");
处理(1, "未处理"),
处理(2, "已处理");
private Integer value;
private String desc;
......
......@@ -4,13 +4,14 @@ import java.util.LinkedHashMap;
import java.util.Map;
/**
* 扣分方式(1.系统自动,2.人工添加)枚举类
* 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)枚举类
*
* @author zxfei
*/
public enum SubMethodEnum {
系统自动(1, "系统自动"),
人工添加(2, "人工添加");
人工添加(2, "人工添加"),
大厅巡查(3, "大厅巡查");
private Integer value;
private String desc;
......
......@@ -133,7 +133,7 @@ public class CheckAttendRecordEntity extends CheckAttendRecordVo {
*/
private Long categoryId;
/**
* 规则名称
* 规则分类名称
*/
private String categoryName;
@Override
......
......@@ -8,7 +8,7 @@ import java.util.List;
* 绩效记录申诉信息 DAO接口
*
* @author zxfei
* @date 2023-07-05
* @date 2023-07-12
*/
public interface PerformAttendAppealDao extends ICRUDDao<PerformAttendAppealEntity,Long>{
......
......@@ -11,7 +11,7 @@ import java.util.List;
* 绩效记录申诉信息DaoImpl DAO接口
*
* @author zxfei
* @date 2023-07-05
* @date 2023-07-12
*/
@Repository("performAttendAppealDao")
public class PerformAttendAppealDaoImpl extends BaseCRUDDaoMybatis<PerformAttendAppealEntity,Long> implements PerformAttendAppealDao {
......
......@@ -14,7 +14,7 @@ import lombok.Data;
* 绩效记录申诉信息实体对象
*
* @author zxfei
* @date 2023-07-05
* @date 2023-07-12
*/
@Data
public class PerformAttendAppealEntity extends PerformAttendAppealVo {
......@@ -134,10 +134,108 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo {
@Excel(name = "说明")
private String remark;
/**
* 违规类型
* 违规类型
*/
private String violationType;
/**
* 评价结果(1.非常不满意,2.差评)
*/
private Integer reviewResult;
/**
* 评价时间
*/
private Date reviewTime;
/**
* 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
*/
@Excel(name = "评价来源", readConverterExp = "评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)")
private String reviewSource;
/**
* 评价设备
*/
private String reviewDevice;
/**
* 投诉标题
*/
@Excel(name = "投诉标题")
private String complainTitle;
/**
* 投诉内容
*/
@Excel(name = "投诉内容")
private String complainContent;
/**
* 投诉人真实姓名
*/
private String complainRealName;
/**
* 联系电话
*/
@Excel(name = "联系电话")
private String contact;
/**
* 投诉时间
*/
private Date complainTime;
/**
* 投诉来源
*/
private String complainSource;
/**
* 投诉设备
*/
private String complainDevice;
/**
* 办件编码
*/
@Excel(name = "办件编码")
private String goworkCode;
/**
* 办件所属部门
*/
@Excel(name = "办件所属部门")
private String goworkDepts;
/**
* 事项名称
*/
@Excel(name = "事项名称")
private String matterlName;
/**
* 办理时间
*/
@Excel(name = "办理时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date goworkTime;
/**
* 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
*/
@Excel(name = "违规类型", readConverterExp = "1=脱岗,2.离岗,3.玩手机,4.睡觉")
private Integer irregularType;
/**
* 发生时间
*/
@Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date happenTime;
/**
* 持续时间,秒
*/
private Integer duration;
/**
* 报警时间
*/
private Date alarmTime;
/**
* 图片凭证地址
*/
private String snapPath;
/**
* 违规类型(1.工作纪律)
*/
private Integer irregularOtherType;
/**
* 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
*/
private String performType;
/**
* 绩效记录申诉附件信息信息
*/
private List<PerformAttendAppealFilesEntity> performAttendAppealFilesList=new ArrayList<>();;
......@@ -221,5 +319,49 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo {
this.remark = "";
this.violationType = "";
this.reviewResult = -1;
this.reviewTime = null;
this.reviewSource = "";
this.reviewDevice = "";
this.complainTitle = "";
this.complainContent = "";
this.complainRealName = "";
this.contact = "";
this.complainTime = null;
this.complainSource = "";
this.complainDevice = "";
this.goworkCode = "";
this.goworkDepts = "";
this.matterlName = "";
this.goworkTime = null;
this.irregularType = -1;
this.happenTime = null;
this.duration = 0;
this.alarmTime = null;
this.snapPath = "";
this.irregularOtherType = -1;
this.performType = "";
}
}
\ No newline at end of file
......@@ -9,7 +9,7 @@ import com.mortals.xhx.module.perform.model.PerformAttendAppealEntity;
* 绩效记录申诉信息查询对象
*
* @author zxfei
* @date 2023-07-05
* @date 2023-07-12
*/
public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
/** 开始 序号,主键,自增长 */
......@@ -309,11 +309,166 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
/** 结束 更新时间 */
private String updateTimeEnd;
/** 违规类型 */
/** 违规类型 */
private List<String> violationTypeList;
/** 违规类型排除列表 */
/** 违规类型排除列表 */
private List <String> violationTypeNotList;
/** 开始 评价结果(1.非常不满意,2.差评) */
private Integer reviewResultStart;
/** 结束 评价结果(1.非常不满意,2.差评) */
private Integer reviewResultEnd;
/** 增加 评价结果(1.非常不满意,2.差评) */
private Integer reviewResultIncrement;
/** 评价结果(1.非常不满意,2.差评)列表 */
private List <Integer> reviewResultList;
/** 评价结果(1.非常不满意,2.差评)排除列表 */
private List <Integer> reviewResultNotList;
/** 开始 评价时间 */
private String reviewTimeStart;
/** 结束 评价时间 */
private String reviewTimeEnd;
/** 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它) */
private List<String> reviewSourceList;
/** 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)排除列表 */
private List <String> reviewSourceNotList;
/** 评价设备 */
private List<String> reviewDeviceList;
/** 评价设备排除列表 */
private List <String> reviewDeviceNotList;
/** 投诉标题 */
private List<String> complainTitleList;
/** 投诉标题排除列表 */
private List <String> complainTitleNotList;
/** 投诉内容 */
private List<String> complainContentList;
/** 投诉内容排除列表 */
private List <String> complainContentNotList;
/** 投诉人真实姓名 */
private List<String> complainRealNameList;
/** 投诉人真实姓名排除列表 */
private List <String> complainRealNameNotList;
/** 联系电话 */
private List<String> contactList;
/** 联系电话排除列表 */
private List <String> contactNotList;
/** 开始 投诉时间 */
private String complainTimeStart;
/** 结束 投诉时间 */
private String complainTimeEnd;
/** 投诉来源 */
private List<String> complainSourceList;
/** 投诉来源排除列表 */
private List <String> complainSourceNotList;
/** 投诉设备 */
private List<String> complainDeviceList;
/** 投诉设备排除列表 */
private List <String> complainDeviceNotList;
/** 办件编码 */
private List<String> goworkCodeList;
/** 办件编码排除列表 */
private List <String> goworkCodeNotList;
/** 办件所属部门 */
private List<String> goworkDeptsList;
/** 办件所属部门排除列表 */
private List <String> goworkDeptsNotList;
/** 事项名称 */
private List<String> matterlNameList;
/** 事项名称排除列表 */
private List <String> matterlNameNotList;
/** 开始 办理时间 */
private String goworkTimeStart;
/** 结束 办理时间 */
private String goworkTimeEnd;
/** 开始 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉) */
private Integer irregularTypeStart;
/** 结束 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉) */
private Integer irregularTypeEnd;
/** 增加 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉) */
private Integer irregularTypeIncrement;
/** 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)列表 */
private List <Integer> irregularTypeList;
/** 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)排除列表 */
private List <Integer> irregularTypeNotList;
/** 开始 发生时间 */
private String happenTimeStart;
/** 结束 发生时间 */
private String happenTimeEnd;
/** 开始 持续时间,秒 */
private Integer durationStart;
/** 结束 持续时间,秒 */
private Integer durationEnd;
/** 增加 持续时间,秒 */
private Integer durationIncrement;
/** 持续时间,秒列表 */
private List <Integer> durationList;
/** 持续时间,秒排除列表 */
private List <Integer> durationNotList;
/** 开始 报警时间 */
private String alarmTimeStart;
/** 结束 报警时间 */
private String alarmTimeEnd;
/** 图片凭证地址 */
private List<String> snapPathList;
/** 图片凭证地址排除列表 */
private List <String> snapPathNotList;
/** 开始 违规类型(1.工作纪律) */
private Integer irregularOtherTypeStart;
/** 结束 违规类型(1.工作纪律) */
private Integer irregularOtherTypeEnd;
/** 增加 违规类型(1.工作纪律) */
private Integer irregularOtherTypeIncrement;
/** 违规类型(1.工作纪律)列表 */
private List <Integer> irregularOtherTypeList;
/** 违规类型(1.工作纪律)排除列表 */
private List <Integer> irregularOtherTypeNotList;
/** 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】 */
private List<String> performTypeList;
/** 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】排除列表 */
private List <String> performTypeNotList;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<PerformAttendAppealQuery> orConditionList;
......@@ -1984,7 +2139,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
}
/**
* 获取 违规类型
* 获取 违规类型
* @return violationTypeList
*/
public List<String> getViolationTypeList(){
......@@ -1992,7 +2147,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
}
/**
* 设置 违规类型
* 设置 违规类型
* @param violationTypeList
*/
public void setViolationTypeList(List<String> violationTypeList){
......@@ -2000,7 +2155,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
}
/**
* 获取 违规类型
* 获取 违规类型
* @return violationTypeNotList
*/
public List<String> getViolationTypeNotList(){
......@@ -2008,7 +2163,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
}
/**
* 设置 违规类型
* 设置 违规类型
* @param violationTypeNotList
*/
public void setViolationTypeNotList(List<String> violationTypeNotList){
......@@ -2016,382 +2171,1282 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
}
/**
* 设置 序号,主键,自增长
* @param id
* 获取 开始 评价结果(1.非常不满意,2.差评)
* @return reviewResultStart
*/
public PerformAttendAppealQuery id(Long id){
setId(id);
return this;
public Integer getReviewResultStart(){
return this.reviewResultStart;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
* 设置 开始 评价结果(1.非常不满意,2.差评)
* @param reviewResultStart
*/
public PerformAttendAppealQuery idStart(Long idStart){
this.idStart = idStart;
return this;
public void setReviewResultStart(Integer reviewResultStart){
this.reviewResultStart = reviewResultStart;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
* 获取 结束 评价结果(1.非常不满意,2.差评)
* @return $reviewResultEnd
*/
public PerformAttendAppealQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
public Integer getReviewResultEnd(){
return this.reviewResultEnd;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
* 设置 结束 评价结果(1.非常不满意,2.差评)
* @param reviewResultEnd
*/
public PerformAttendAppealQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
public void setReviewResultEnd(Integer reviewResultEnd){
this.reviewResultEnd = reviewResultEnd;
}
/**
* 设置 序号,主键,自增长
* @param idList
* 获取 增加 评价结果(1.非常不满意,2.差评)
* @return reviewResultIncrement
*/
public PerformAttendAppealQuery idList(List<Long> idList){
this.idList = idList;
return this;
public Integer getReviewResultIncrement(){
return this.reviewResultIncrement;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
* 设置 增加 评价结果(1.非常不满意,2.差评)
* @param reviewResultIncrement
*/
public PerformAttendAppealQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
public void setReviewResultIncrement(Integer reviewResultIncrement){
this.reviewResultIncrement = reviewResultIncrement;
}
/**
* 设置 核查记录Id
* @param checkRecordId
* 获取 评价结果(1.非常不满意,2.差评)
* @return reviewResultList
*/
public PerformAttendAppealQuery checkRecordId(Long checkRecordId){
setCheckRecordId(checkRecordId);
return this;
public List<Integer> getReviewResultList(){
return this.reviewResultList;
}
/**
* 设置 开始 核查记录Id
* @param checkRecordIdStart
* 设置 评价结果(1.非常不满意,2.差评)
* @param reviewResultList
*/
public PerformAttendAppealQuery checkRecordIdStart(Long checkRecordIdStart){
this.checkRecordIdStart = checkRecordIdStart;
return this;
public void setReviewResultList(List<Integer> reviewResultList){
this.reviewResultList = reviewResultList;
}
/**
* 设置 结束 核查记录Id
* @param checkRecordIdEnd
* 获取 评价结果(1.非常不满意,2.差评)
* @return reviewResultNotList
*/
public PerformAttendAppealQuery checkRecordIdEnd(Long checkRecordIdEnd){
this.checkRecordIdEnd = checkRecordIdEnd;
return this;
public List<Integer> getReviewResultNotList(){
return this.reviewResultNotList;
}
/**
* 设置 增加 核查记录Id
* @param checkRecordIdIncrement
* 设置 评价结果(1.非常不满意,2.差评)
* @param reviewResultNotList
*/
public PerformAttendAppealQuery checkRecordIdIncrement(Long checkRecordIdIncrement){
this.checkRecordIdIncrement = checkRecordIdIncrement;
return this;
public void setReviewResultNotList(List<Integer> reviewResultNotList){
this.reviewResultNotList = reviewResultNotList;
}
/**
* 设置 核查记录Id
* @param checkRecordIdList
* 获取 开始 评价时间
* @return reviewTimeStart
*/
public PerformAttendAppealQuery checkRecordIdList(List<Long> checkRecordIdList){
this.checkRecordIdList = checkRecordIdList;
return this;
public String getReviewTimeStart(){
return this.reviewTimeStart;
}
/**
* 设置 核查记录Id
* @param checkRecordIdNotList
* 设置 开始 评价时间
* @param reviewTimeStart
*/
public PerformAttendAppealQuery checkRecordIdNotList(List<Long> checkRecordIdNotList){
this.checkRecordIdNotList = checkRecordIdNotList;
return this;
public void setReviewTimeStart(String reviewTimeStart){
this.reviewTimeStart = reviewTimeStart;
}
/**
* 设置 员工ID
* @param staffId
* 获取 结束 评价时间
* @return reviewTimeEnd
*/
public PerformAttendAppealQuery staffId(Long staffId){
setStaffId(staffId);
return this;
public String getReviewTimeEnd(){
return this.reviewTimeEnd;
}
/**
* 设置 开始 员工ID
* @param staffIdStart
* 设置 结束 评价时间
* @param reviewTimeEnd
*/
public PerformAttendAppealQuery staffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart;
return this;
public void setReviewTimeEnd(String reviewTimeEnd){
this.reviewTimeEnd = reviewTimeEnd;
}
/**
* 设置 结束 员工ID
* @param staffIdEnd
* 获取 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @return reviewSourceList
*/
public PerformAttendAppealQuery staffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd;
return this;
public List<String> getReviewSourceList(){
return this.reviewSourceList;
}
/**
* 设置 增加 员工ID
* @param staffIdIncrement
* 设置 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param reviewSourceList
*/
public PerformAttendAppealQuery staffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement;
return this;
public void setReviewSourceList(List<String> reviewSourceList){
this.reviewSourceList = reviewSourceList;
}
/**
* 设置 员工ID
* @param staffIdList
* 获取 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @return reviewSourceNotList
*/
public PerformAttendAppealQuery staffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList;
return this;
public List<String> getReviewSourceNotList(){
return this.reviewSourceNotList;
}
/**
* 设置 员工ID
* @param staffIdNotList
* 设置 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param reviewSourceNotList
*/
public PerformAttendAppealQuery staffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList;
return this;
public void setReviewSourceNotList(List<String> reviewSourceNotList){
this.reviewSourceNotList = reviewSourceNotList;
}
/**
* 设置 员工姓名
* @param staffName
* 获取 评价设备
* @return reviewDeviceList
*/
public PerformAttendAppealQuery staffName(String staffName){
setStaffName(staffName);
return this;
public List<String> getReviewDeviceList(){
return this.reviewDeviceList;
}
/**
* 设置 员工姓名
* @param staffNameList
* 设置 评价设备
* @param reviewDeviceList
*/
public PerformAttendAppealQuery staffNameList(List<String> staffNameList){
this.staffNameList = staffNameList;
return this;
public void setReviewDeviceList(List<String> reviewDeviceList){
this.reviewDeviceList = reviewDeviceList;
}
/**
* 设置 工号
* @param workNum
* 获取 评价设备
* @return reviewDeviceNotList
*/
public PerformAttendAppealQuery workNum(String workNum){
setWorkNum(workNum);
return this;
public List<String> getReviewDeviceNotList(){
return this.reviewDeviceNotList;
}
/**
* 设置 工号
* @param workNumList
* 设置 评价设备
* @param reviewDeviceNotList
*/
public PerformAttendAppealQuery workNumList(List<String> workNumList){
this.workNumList = workNumList;
return this;
public void setReviewDeviceNotList(List<String> reviewDeviceNotList){
this.reviewDeviceNotList = reviewDeviceNotList;
}
/**
* 设置 所属部门
* @param deptId
* 获取 投诉标题
* @return complainTitleList
*/
public PerformAttendAppealQuery deptId(Long deptId){
setDeptId(deptId);
return this;
public List<String> getComplainTitleList(){
return this.complainTitleList;
}
/**
* 设置 开始 所属部门
* @param deptIdStart
* 设置 投诉标题
* @param complainTitleList
*/
public PerformAttendAppealQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart;
return this;
public void setComplainTitleList(List<String> complainTitleList){
this.complainTitleList = complainTitleList;
}
/**
* 设置 结束 所属部门
* @param deptIdEnd
* 获取 投诉标题
* @return complainTitleNotList
*/
public PerformAttendAppealQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd;
return this;
public List<String> getComplainTitleNotList(){
return this.complainTitleNotList;
}
/**
* 设置 增加 所属部门
* @param deptIdIncrement
* 设置 投诉标题
* @param complainTitleNotList
*/
public PerformAttendAppealQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
return this;
public void setComplainTitleNotList(List<String> complainTitleNotList){
this.complainTitleNotList = complainTitleNotList;
}
/**
* 设置 所属部门
* @param deptIdList
* 获取 投诉内容
* @return complainContentList
*/
public PerformAttendAppealQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList;
return this;
public List<String> getComplainContentList(){
return this.complainContentList;
}
/**
* 设置 所属部门
* @param deptIdNotList
* 设置 投诉内容
* @param complainContentList
*/
public PerformAttendAppealQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList;
return this;
public void setComplainContentList(List<String> complainContentList){
this.complainContentList = complainContentList;
}
/**
* 设置 所属部门名称
* @param deptName
* 获取 投诉内容
* @return complainContentNotList
*/
public PerformAttendAppealQuery deptName(String deptName){
setDeptName(deptName);
return this;
public List<String> getComplainContentNotList(){
return this.complainContentNotList;
}
/**
* 设置 所属部门名称
* @param deptNameList
* 设置 投诉内容
* @param complainContentNotList
*/
public PerformAttendAppealQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
return this;
public void setComplainContentNotList(List<String> complainContentNotList){
this.complainContentNotList = complainContentNotList;
}
/**
* 设置 所属考勤组ID
* @param attendanceGroupId
* 获取 投诉人真实姓名
* @return complainRealNameList
*/
public PerformAttendAppealQuery attendanceGroupId(Long attendanceGroupId){
setAttendanceGroupId(attendanceGroupId);
return this;
public List<String> getComplainRealNameList(){
return this.complainRealNameList;
}
/**
* 设置 开始 所属考勤组ID
* @param attendanceGroupIdStart
* 设置 投诉人真实姓名
* @param complainRealNameList
*/
public PerformAttendAppealQuery attendanceGroupIdStart(Long attendanceGroupIdStart){
this.attendanceGroupIdStart = attendanceGroupIdStart;
return this;
public void setComplainRealNameList(List<String> complainRealNameList){
this.complainRealNameList = complainRealNameList;
}
/**
* 设置 结束 所属考勤组ID
* @param attendanceGroupIdEnd
* 获取 投诉人真实姓名
* @return complainRealNameNotList
*/
public PerformAttendAppealQuery attendanceGroupIdEnd(Long attendanceGroupIdEnd){
this.attendanceGroupIdEnd = attendanceGroupIdEnd;
return this;
public List<String> getComplainRealNameNotList(){
return this.complainRealNameNotList;
}
/**
* 设置 增加 所属考勤组ID
* @param attendanceGroupIdIncrement
* 设置 投诉人真实姓名
* @param complainRealNameNotList
*/
public PerformAttendAppealQuery attendanceGroupIdIncrement(Long attendanceGroupIdIncrement){
this.attendanceGroupIdIncrement = attendanceGroupIdIncrement;
return this;
public void setComplainRealNameNotList(List<String> complainRealNameNotList){
this.complainRealNameNotList = complainRealNameNotList;
}
/**
* 设置 所属考勤组ID
* @param attendanceGroupIdList
* 获取 联系电话
* @return contactList
*/
public PerformAttendAppealQuery attendanceGroupIdList(List<Long> attendanceGroupIdList){
this.attendanceGroupIdList = attendanceGroupIdList;
return this;
public List<String> getContactList(){
return this.contactList;
}
/**
* 设置 所属考勤组ID
* @param attendanceGroupIdNotList
* 设置 联系电话
* @param contactList
*/
public PerformAttendAppealQuery attendanceGroupIdNotList(List<Long> attendanceGroupIdNotList){
this.attendanceGroupIdNotList = attendanceGroupIdNotList;
return this;
public void setContactList(List<String> contactList){
this.contactList = contactList;
}
/**
* 设置 所属考勤组名称
* @param attendanceGroupName
* 获取 联系电话
* @return contactNotList
*/
public PerformAttendAppealQuery attendanceGroupName(String attendanceGroupName){
setAttendanceGroupName(attendanceGroupName);
return this;
public List<String> getContactNotList(){
return this.contactNotList;
}
/**
* 设置 所属考勤组名称
* @param attendanceGroupNameList
* 设置 联系电话
* @param contactNotList
*/
public PerformAttendAppealQuery attendanceGroupNameList(List<String> attendanceGroupNameList){
this.attendanceGroupNameList = attendanceGroupNameList;
return this;
public void setContactNotList(List<String> contactNotList){
this.contactNotList = contactNotList;
}
/**
* 设置 绩效规则id
* @param ruleId
* 获取 开始 投诉时间
* @return complainTimeStart
*/
public PerformAttendAppealQuery ruleId(Long ruleId){
setRuleId(ruleId);
return this;
public String getComplainTimeStart(){
return this.complainTimeStart;
}
/**
* 设置 开始 绩效规则id
* @param ruleIdStart
* 设置 开始 投诉时间
* @param complainTimeStart
*/
public PerformAttendAppealQuery ruleIdStart(Long ruleIdStart){
this.ruleIdStart = ruleIdStart;
return this;
public void setComplainTimeStart(String complainTimeStart){
this.complainTimeStart = complainTimeStart;
}
/**
* 设置 结束 绩效规则id
* @param ruleIdEnd
* 获取 结束 投诉时间
* @return complainTimeEnd
*/
public PerformAttendAppealQuery ruleIdEnd(Long ruleIdEnd){
this.ruleIdEnd = ruleIdEnd;
return this;
public String getComplainTimeEnd(){
return this.complainTimeEnd;
}
/**
* 设置 增加 绩效规则id
* @param ruleIdIncrement
* 设置 结束 投诉时间
* @param complainTimeEnd
*/
public void setComplainTimeEnd(String complainTimeEnd){
this.complainTimeEnd = complainTimeEnd;
}
/**
* 获取 投诉来源
* @return complainSourceList
*/
public List<String> getComplainSourceList(){
return this.complainSourceList;
}
/**
* 设置 投诉来源
* @param complainSourceList
*/
public void setComplainSourceList(List<String> complainSourceList){
this.complainSourceList = complainSourceList;
}
/**
* 获取 投诉来源
* @return complainSourceNotList
*/
public List<String> getComplainSourceNotList(){
return this.complainSourceNotList;
}
/**
* 设置 投诉来源
* @param complainSourceNotList
*/
public void setComplainSourceNotList(List<String> complainSourceNotList){
this.complainSourceNotList = complainSourceNotList;
}
/**
* 获取 投诉设备
* @return complainDeviceList
*/
public List<String> getComplainDeviceList(){
return this.complainDeviceList;
}
/**
* 设置 投诉设备
* @param complainDeviceList
*/
public void setComplainDeviceList(List<String> complainDeviceList){
this.complainDeviceList = complainDeviceList;
}
/**
* 获取 投诉设备
* @return complainDeviceNotList
*/
public List<String> getComplainDeviceNotList(){
return this.complainDeviceNotList;
}
/**
* 设置 投诉设备
* @param complainDeviceNotList
*/
public void setComplainDeviceNotList(List<String> complainDeviceNotList){
this.complainDeviceNotList = complainDeviceNotList;
}
/**
* 获取 办件编码
* @return goworkCodeList
*/
public List<String> getGoworkCodeList(){
return this.goworkCodeList;
}
/**
* 设置 办件编码
* @param goworkCodeList
*/
public void setGoworkCodeList(List<String> goworkCodeList){
this.goworkCodeList = goworkCodeList;
}
/**
* 获取 办件编码
* @return goworkCodeNotList
*/
public List<String> getGoworkCodeNotList(){
return this.goworkCodeNotList;
}
/**
* 设置 办件编码
* @param goworkCodeNotList
*/
public void setGoworkCodeNotList(List<String> goworkCodeNotList){
this.goworkCodeNotList = goworkCodeNotList;
}
/**
* 获取 办件所属部门
* @return goworkDeptsList
*/
public List<String> getGoworkDeptsList(){
return this.goworkDeptsList;
}
/**
* 设置 办件所属部门
* @param goworkDeptsList
*/
public void setGoworkDeptsList(List<String> goworkDeptsList){
this.goworkDeptsList = goworkDeptsList;
}
/**
* 获取 办件所属部门
* @return goworkDeptsNotList
*/
public List<String> getGoworkDeptsNotList(){
return this.goworkDeptsNotList;
}
/**
* 设置 办件所属部门
* @param goworkDeptsNotList
*/
public void setGoworkDeptsNotList(List<String> goworkDeptsNotList){
this.goworkDeptsNotList = goworkDeptsNotList;
}
/**
* 获取 事项名称
* @return matterlNameList
*/
public List<String> getMatterlNameList(){
return this.matterlNameList;
}
/**
* 设置 事项名称
* @param matterlNameList
*/
public void setMatterlNameList(List<String> matterlNameList){
this.matterlNameList = matterlNameList;
}
/**
* 获取 事项名称
* @return matterlNameNotList
*/
public List<String> getMatterlNameNotList(){
return this.matterlNameNotList;
}
/**
* 设置 事项名称
* @param matterlNameNotList
*/
public void setMatterlNameNotList(List<String> matterlNameNotList){
this.matterlNameNotList = matterlNameNotList;
}
/**
* 获取 开始 办理时间
* @return goworkTimeStart
*/
public String getGoworkTimeStart(){
return this.goworkTimeStart;
}
/**
* 设置 开始 办理时间
* @param goworkTimeStart
*/
public void setGoworkTimeStart(String goworkTimeStart){
this.goworkTimeStart = goworkTimeStart;
}
/**
* 获取 结束 办理时间
* @return goworkTimeEnd
*/
public String getGoworkTimeEnd(){
return this.goworkTimeEnd;
}
/**
* 设置 结束 办理时间
* @param goworkTimeEnd
*/
public void setGoworkTimeEnd(String goworkTimeEnd){
this.goworkTimeEnd = goworkTimeEnd;
}
/**
* 获取 开始 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @return irregularTypeStart
*/
public Integer getIrregularTypeStart(){
return this.irregularTypeStart;
}
/**
* 设置 开始 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeStart
*/
public void setIrregularTypeStart(Integer irregularTypeStart){
this.irregularTypeStart = irregularTypeStart;
}
/**
* 获取 结束 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @return $irregularTypeEnd
*/
public Integer getIrregularTypeEnd(){
return this.irregularTypeEnd;
}
/**
* 设置 结束 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeEnd
*/
public void setIrregularTypeEnd(Integer irregularTypeEnd){
this.irregularTypeEnd = irregularTypeEnd;
}
/**
* 获取 增加 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @return irregularTypeIncrement
*/
public Integer getIrregularTypeIncrement(){
return this.irregularTypeIncrement;
}
/**
* 设置 增加 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeIncrement
*/
public void setIrregularTypeIncrement(Integer irregularTypeIncrement){
this.irregularTypeIncrement = irregularTypeIncrement;
}
/**
* 获取 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @return irregularTypeList
*/
public List<Integer> getIrregularTypeList(){
return this.irregularTypeList;
}
/**
* 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeList
*/
public void setIrregularTypeList(List<Integer> irregularTypeList){
this.irregularTypeList = irregularTypeList;
}
/**
* 获取 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @return irregularTypeNotList
*/
public List<Integer> getIrregularTypeNotList(){
return this.irregularTypeNotList;
}
/**
* 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeNotList
*/
public void setIrregularTypeNotList(List<Integer> irregularTypeNotList){
this.irregularTypeNotList = irregularTypeNotList;
}
/**
* 获取 开始 发生时间
* @return happenTimeStart
*/
public String getHappenTimeStart(){
return this.happenTimeStart;
}
/**
* 设置 开始 发生时间
* @param happenTimeStart
*/
public void setHappenTimeStart(String happenTimeStart){
this.happenTimeStart = happenTimeStart;
}
/**
* 获取 结束 发生时间
* @return happenTimeEnd
*/
public String getHappenTimeEnd(){
return this.happenTimeEnd;
}
/**
* 设置 结束 发生时间
* @param happenTimeEnd
*/
public void setHappenTimeEnd(String happenTimeEnd){
this.happenTimeEnd = happenTimeEnd;
}
/**
* 获取 开始 持续时间,秒
* @return durationStart
*/
public Integer getDurationStart(){
return this.durationStart;
}
/**
* 设置 开始 持续时间,秒
* @param durationStart
*/
public void setDurationStart(Integer durationStart){
this.durationStart = durationStart;
}
/**
* 获取 结束 持续时间,秒
* @return $durationEnd
*/
public Integer getDurationEnd(){
return this.durationEnd;
}
/**
* 设置 结束 持续时间,秒
* @param durationEnd
*/
public void setDurationEnd(Integer durationEnd){
this.durationEnd = durationEnd;
}
/**
* 获取 增加 持续时间,秒
* @return durationIncrement
*/
public Integer getDurationIncrement(){
return this.durationIncrement;
}
/**
* 设置 增加 持续时间,秒
* @param durationIncrement
*/
public void setDurationIncrement(Integer durationIncrement){
this.durationIncrement = durationIncrement;
}
/**
* 获取 持续时间,秒
* @return durationList
*/
public List<Integer> getDurationList(){
return this.durationList;
}
/**
* 设置 持续时间,秒
* @param durationList
*/
public void setDurationList(List<Integer> durationList){
this.durationList = durationList;
}
/**
* 获取 持续时间,秒
* @return durationNotList
*/
public List<Integer> getDurationNotList(){
return this.durationNotList;
}
/**
* 设置 持续时间,秒
* @param durationNotList
*/
public void setDurationNotList(List<Integer> durationNotList){
this.durationNotList = durationNotList;
}
/**
* 获取 开始 报警时间
* @return alarmTimeStart
*/
public String getAlarmTimeStart(){
return this.alarmTimeStart;
}
/**
* 设置 开始 报警时间
* @param alarmTimeStart
*/
public void setAlarmTimeStart(String alarmTimeStart){
this.alarmTimeStart = alarmTimeStart;
}
/**
* 获取 结束 报警时间
* @return alarmTimeEnd
*/
public String getAlarmTimeEnd(){
return this.alarmTimeEnd;
}
/**
* 设置 结束 报警时间
* @param alarmTimeEnd
*/
public void setAlarmTimeEnd(String alarmTimeEnd){
this.alarmTimeEnd = alarmTimeEnd;
}
/**
* 获取 图片凭证地址
* @return snapPathList
*/
public List<String> getSnapPathList(){
return this.snapPathList;
}
/**
* 设置 图片凭证地址
* @param snapPathList
*/
public void setSnapPathList(List<String> snapPathList){
this.snapPathList = snapPathList;
}
/**
* 获取 图片凭证地址
* @return snapPathNotList
*/
public List<String> getSnapPathNotList(){
return this.snapPathNotList;
}
/**
* 设置 图片凭证地址
* @param snapPathNotList
*/
public void setSnapPathNotList(List<String> snapPathNotList){
this.snapPathNotList = snapPathNotList;
}
/**
* 获取 开始 违规类型(1.工作纪律)
* @return irregularOtherTypeStart
*/
public Integer getIrregularOtherTypeStart(){
return this.irregularOtherTypeStart;
}
/**
* 设置 开始 违规类型(1.工作纪律)
* @param irregularOtherTypeStart
*/
public void setIrregularOtherTypeStart(Integer irregularOtherTypeStart){
this.irregularOtherTypeStart = irregularOtherTypeStart;
}
/**
* 获取 结束 违规类型(1.工作纪律)
* @return $irregularOtherTypeEnd
*/
public Integer getIrregularOtherTypeEnd(){
return this.irregularOtherTypeEnd;
}
/**
* 设置 结束 违规类型(1.工作纪律)
* @param irregularOtherTypeEnd
*/
public void setIrregularOtherTypeEnd(Integer irregularOtherTypeEnd){
this.irregularOtherTypeEnd = irregularOtherTypeEnd;
}
/**
* 获取 增加 违规类型(1.工作纪律)
* @return irregularOtherTypeIncrement
*/
public Integer getIrregularOtherTypeIncrement(){
return this.irregularOtherTypeIncrement;
}
/**
* 设置 增加 违规类型(1.工作纪律)
* @param irregularOtherTypeIncrement
*/
public void setIrregularOtherTypeIncrement(Integer irregularOtherTypeIncrement){
this.irregularOtherTypeIncrement = irregularOtherTypeIncrement;
}
/**
* 获取 违规类型(1.工作纪律)
* @return irregularOtherTypeList
*/
public List<Integer> getIrregularOtherTypeList(){
return this.irregularOtherTypeList;
}
/**
* 设置 违规类型(1.工作纪律)
* @param irregularOtherTypeList
*/
public void setIrregularOtherTypeList(List<Integer> irregularOtherTypeList){
this.irregularOtherTypeList = irregularOtherTypeList;
}
/**
* 获取 违规类型(1.工作纪律)
* @return irregularOtherTypeNotList
*/
public List<Integer> getIrregularOtherTypeNotList(){
return this.irregularOtherTypeNotList;
}
/**
* 设置 违规类型(1.工作纪律)
* @param irregularOtherTypeNotList
*/
public void setIrregularOtherTypeNotList(List<Integer> irregularOtherTypeNotList){
this.irregularOtherTypeNotList = irregularOtherTypeNotList;
}
/**
* 获取 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @return performTypeList
*/
public List<String> getPerformTypeList(){
return this.performTypeList;
}
/**
* 设置 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @param performTypeList
*/
public void setPerformTypeList(List<String> performTypeList){
this.performTypeList = performTypeList;
}
/**
* 获取 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @return performTypeNotList
*/
public List<String> getPerformTypeNotList(){
return this.performTypeNotList;
}
/**
* 设置 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @param performTypeNotList
*/
public void setPerformTypeNotList(List<String> performTypeNotList){
this.performTypeNotList = performTypeNotList;
}
/**
* 设置 序号,主键,自增长
* @param id
*/
public PerformAttendAppealQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public PerformAttendAppealQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public PerformAttendAppealQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public PerformAttendAppealQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
public PerformAttendAppealQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public PerformAttendAppealQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
/**
* 设置 核查记录Id
* @param checkRecordId
*/
public PerformAttendAppealQuery checkRecordId(Long checkRecordId){
setCheckRecordId(checkRecordId);
return this;
}
/**
* 设置 开始 核查记录Id
* @param checkRecordIdStart
*/
public PerformAttendAppealQuery checkRecordIdStart(Long checkRecordIdStart){
this.checkRecordIdStart = checkRecordIdStart;
return this;
}
/**
* 设置 结束 核查记录Id
* @param checkRecordIdEnd
*/
public PerformAttendAppealQuery checkRecordIdEnd(Long checkRecordIdEnd){
this.checkRecordIdEnd = checkRecordIdEnd;
return this;
}
/**
* 设置 增加 核查记录Id
* @param checkRecordIdIncrement
*/
public PerformAttendAppealQuery checkRecordIdIncrement(Long checkRecordIdIncrement){
this.checkRecordIdIncrement = checkRecordIdIncrement;
return this;
}
/**
* 设置 核查记录Id
* @param checkRecordIdList
*/
public PerformAttendAppealQuery checkRecordIdList(List<Long> checkRecordIdList){
this.checkRecordIdList = checkRecordIdList;
return this;
}
/**
* 设置 核查记录Id
* @param checkRecordIdNotList
*/
public PerformAttendAppealQuery checkRecordIdNotList(List<Long> checkRecordIdNotList){
this.checkRecordIdNotList = checkRecordIdNotList;
return this;
}
/**
* 设置 员工ID
* @param staffId
*/
public PerformAttendAppealQuery staffId(Long staffId){
setStaffId(staffId);
return this;
}
/**
* 设置 开始 员工ID
* @param staffIdStart
*/
public PerformAttendAppealQuery staffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart;
return this;
}
/**
* 设置 结束 员工ID
* @param staffIdEnd
*/
public PerformAttendAppealQuery staffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd;
return this;
}
/**
* 设置 增加 员工ID
* @param staffIdIncrement
*/
public PerformAttendAppealQuery staffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement;
return this;
}
/**
* 设置 员工ID
* @param staffIdList
*/
public PerformAttendAppealQuery staffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList;
return this;
}
/**
* 设置 员工ID
* @param staffIdNotList
*/
public PerformAttendAppealQuery staffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList;
return this;
}
/**
* 设置 员工姓名
* @param staffName
*/
public PerformAttendAppealQuery staffName(String staffName){
setStaffName(staffName);
return this;
}
/**
* 设置 员工姓名
* @param staffNameList
*/
public PerformAttendAppealQuery staffNameList(List<String> staffNameList){
this.staffNameList = staffNameList;
return this;
}
/**
* 设置 工号
* @param workNum
*/
public PerformAttendAppealQuery workNum(String workNum){
setWorkNum(workNum);
return this;
}
/**
* 设置 工号
* @param workNumList
*/
public PerformAttendAppealQuery workNumList(List<String> workNumList){
this.workNumList = workNumList;
return this;
}
/**
* 设置 所属部门
* @param deptId
*/
public PerformAttendAppealQuery deptId(Long deptId){
setDeptId(deptId);
return this;
}
/**
* 设置 开始 所属部门
* @param deptIdStart
*/
public PerformAttendAppealQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart;
return this;
}
/**
* 设置 结束 所属部门
* @param deptIdEnd
*/
public PerformAttendAppealQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd;
return this;
}
/**
* 设置 增加 所属部门
* @param deptIdIncrement
*/
public PerformAttendAppealQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
return this;
}
/**
* 设置 所属部门
* @param deptIdList
*/
public PerformAttendAppealQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList;
return this;
}
/**
* 设置 所属部门
* @param deptIdNotList
*/
public PerformAttendAppealQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList;
return this;
}
/**
* 设置 所属部门名称
* @param deptName
*/
public PerformAttendAppealQuery deptName(String deptName){
setDeptName(deptName);
return this;
}
/**
* 设置 所属部门名称
* @param deptNameList
*/
public PerformAttendAppealQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
return this;
}
/**
* 设置 所属考勤组ID
* @param attendanceGroupId
*/
public PerformAttendAppealQuery attendanceGroupId(Long attendanceGroupId){
setAttendanceGroupId(attendanceGroupId);
return this;
}
/**
* 设置 开始 所属考勤组ID
* @param attendanceGroupIdStart
*/
public PerformAttendAppealQuery attendanceGroupIdStart(Long attendanceGroupIdStart){
this.attendanceGroupIdStart = attendanceGroupIdStart;
return this;
}
/**
* 设置 结束 所属考勤组ID
* @param attendanceGroupIdEnd
*/
public PerformAttendAppealQuery attendanceGroupIdEnd(Long attendanceGroupIdEnd){
this.attendanceGroupIdEnd = attendanceGroupIdEnd;
return this;
}
/**
* 设置 增加 所属考勤组ID
* @param attendanceGroupIdIncrement
*/
public PerformAttendAppealQuery attendanceGroupIdIncrement(Long attendanceGroupIdIncrement){
this.attendanceGroupIdIncrement = attendanceGroupIdIncrement;
return this;
}
/**
* 设置 所属考勤组ID
* @param attendanceGroupIdList
*/
public PerformAttendAppealQuery attendanceGroupIdList(List<Long> attendanceGroupIdList){
this.attendanceGroupIdList = attendanceGroupIdList;
return this;
}
/**
* 设置 所属考勤组ID
* @param attendanceGroupIdNotList
*/
public PerformAttendAppealQuery attendanceGroupIdNotList(List<Long> attendanceGroupIdNotList){
this.attendanceGroupIdNotList = attendanceGroupIdNotList;
return this;
}
/**
* 设置 所属考勤组名称
* @param attendanceGroupName
*/
public PerformAttendAppealQuery attendanceGroupName(String attendanceGroupName){
setAttendanceGroupName(attendanceGroupName);
return this;
}
/**
* 设置 所属考勤组名称
* @param attendanceGroupNameList
*/
public PerformAttendAppealQuery attendanceGroupNameList(List<String> attendanceGroupNameList){
this.attendanceGroupNameList = attendanceGroupNameList;
return this;
}
/**
* 设置 绩效规则id
* @param ruleId
*/
public PerformAttendAppealQuery ruleId(Long ruleId){
setRuleId(ruleId);
return this;
}
/**
* 设置 开始 绩效规则id
* @param ruleIdStart
*/
public PerformAttendAppealQuery ruleIdStart(Long ruleIdStart){
this.ruleIdStart = ruleIdStart;
return this;
}
/**
* 设置 结束 绩效规则id
* @param ruleIdEnd
*/
public PerformAttendAppealQuery ruleIdEnd(Long ruleIdEnd){
this.ruleIdEnd = ruleIdEnd;
return this;
}
/**
* 设置 增加 绩效规则id
* @param ruleIdIncrement
*/
public PerformAttendAppealQuery ruleIdIncrement(Long ruleIdIncrement){
this.ruleIdIncrement = ruleIdIncrement;
......@@ -2399,575 +3454,1043 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
}
/**
* 设置 绩效规则id
* @param ruleIdList
* 设置 绩效规则id
* @param ruleIdList
*/
public PerformAttendAppealQuery ruleIdList(List<Long> ruleIdList){
this.ruleIdList = ruleIdList;
return this;
}
/**
* 设置 绩效规则id
* @param ruleIdNotList
*/
public PerformAttendAppealQuery ruleIdNotList(List<Long> ruleIdNotList){
this.ruleIdNotList = ruleIdNotList;
return this;
}
/**
* 设置 规则名称
* @param ruleName
*/
public PerformAttendAppealQuery ruleName(String ruleName){
setRuleName(ruleName);
return this;
}
/**
* 设置 规则名称
* @param ruleNameList
*/
public PerformAttendAppealQuery ruleNameList(List<String> ruleNameList){
this.ruleNameList = ruleNameList;
return this;
}
/**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethod
*/
public PerformAttendAppealQuery subMethod(Integer subMethod){
setSubMethod(subMethod);
return this;
}
/**
* 设置 开始 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodStart
*/
public PerformAttendAppealQuery subMethodStart(Integer subMethodStart){
this.subMethodStart = subMethodStart;
return this;
}
/**
* 设置 结束 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodEnd
*/
public PerformAttendAppealQuery subMethodEnd(Integer subMethodEnd){
this.subMethodEnd = subMethodEnd;
return this;
}
/**
* 设置 增加 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodIncrement
*/
public PerformAttendAppealQuery subMethodIncrement(Integer subMethodIncrement){
this.subMethodIncrement = subMethodIncrement;
return this;
}
/**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodList
*/
public PerformAttendAppealQuery subMethodList(List<Integer> subMethodList){
this.subMethodList = subMethodList;
return this;
}
/**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodNotList
*/
public PerformAttendAppealQuery subMethodNotList(List<Integer> subMethodNotList){
this.subMethodNotList = subMethodNotList;
return this;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddType
*/
public PerformAttendAppealQuery subAddType(Integer subAddType){
setSubAddType(subAddType);
return this;
}
/**
* 设置 开始 增减类型(1.增加,2.扣除)
* @param subAddTypeStart
*/
public PerformAttendAppealQuery subAddTypeStart(Integer subAddTypeStart){
this.subAddTypeStart = subAddTypeStart;
return this;
}
/**
* 设置 结束 增减类型(1.增加,2.扣除)
* @param subAddTypeEnd
*/
public PerformAttendAppealQuery subAddTypeEnd(Integer subAddTypeEnd){
this.subAddTypeEnd = subAddTypeEnd;
return this;
}
/**
* 设置 增加 增减类型(1.增加,2.扣除)
* @param subAddTypeIncrement
*/
public PerformAttendAppealQuery subAddTypeIncrement(Integer subAddTypeIncrement){
this.subAddTypeIncrement = subAddTypeIncrement;
return this;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeList
*/
public PerformAttendAppealQuery subAddTypeList(List<Integer> subAddTypeList){
this.subAddTypeList = subAddTypeList;
return this;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeNotList
*/
public PerformAttendAppealQuery subAddTypeNotList(List<Integer> subAddTypeNotList){
this.subAddTypeNotList = subAddTypeNotList;
return this;
}
/**
* 设置 扣分或增加分值
* @param score
*/
public PerformAttendAppealQuery score(BigDecimal score){
setScore(score);
return this;
}
/**
* 设置 开始 扣分或增加分值
* @param scoreStart
*/
public PerformAttendAppealQuery scoreStart(BigDecimal scoreStart){
this.scoreStart = scoreStart;
return this;
}
/**
* 设置 结束 扣分或增加分值
* @param scoreEnd
*/
public PerformAttendAppealQuery scoreEnd(BigDecimal scoreEnd){
this.scoreEnd = scoreEnd;
return this;
}
/**
* 设置 增加 扣分或增加分值
* @param scoreIncrement
*/
public PerformAttendAppealQuery scoreIncrement(BigDecimal scoreIncrement){
this.scoreIncrement = scoreIncrement;
return this;
}
/**
* 设置 扣分或增加分值
* @param scoreList
*/
public PerformAttendAppealQuery scoreList(List<BigDecimal> scoreList){
this.scoreList = scoreList;
return this;
}
/**
* 设置 扣分或增加分值
* @param scoreNotList
*/
public PerformAttendAppealQuery scoreNotList(List<BigDecimal> scoreNotList){
this.scoreNotList = scoreNotList;
return this;
}
/**
* 设置 上下班时间
* @param goOffTimeStr
*/
public PerformAttendAppealQuery goOffTimeStr(String goOffTimeStr){
setGoOffTimeStr(goOffTimeStr);
return this;
}
/**
* 设置 上下班时间
* @param goOffTimeStrList
*/
public PerformAttendAppealQuery goOffTimeStrList(List<String> goOffTimeStrList){
this.goOffTimeStrList = goOffTimeStrList;
return this;
}
/**
* 设置 异常处理结果
* @param errorResult
*/
public PerformAttendAppealQuery errorResult(String errorResult){
setErrorResult(errorResult);
return this;
}
/**
* 设置 异常处理结果
* @param errorResultList
*/
public PerformAttendAppealQuery errorResultList(List<String> errorResultList){
this.errorResultList = errorResultList;
return this;
}
/**
* 设置 核查人员
* @param checkPerson
*/
public PerformAttendAppealQuery checkPerson(String checkPerson){
setCheckPerson(checkPerson);
return this;
}
/**
* 设置 核查人员
* @param checkPersonList
*/
public PerformAttendAppealQuery checkPersonList(List<String> checkPersonList){
this.checkPersonList = checkPersonList;
return this;
}
/**
* 设置 核查说明
* @param checkDesc
*/
public PerformAttendAppealQuery ruleIdList(List<Long> ruleIdList){
this.ruleIdList = ruleIdList;
public PerformAttendAppealQuery checkDesc(String checkDesc){
setCheckDesc(checkDesc);
return this;
}
/**
* 设置 绩效规则id
* @param ruleIdNotList
* 设置 核查说明
* @param checkDescList
*/
public PerformAttendAppealQuery ruleIdNotList(List<Long> ruleIdNotList){
this.ruleIdNotList = ruleIdNotList;
public PerformAttendAppealQuery checkDescList(List<String> checkDescList){
this.checkDescList = checkDescList;
return this;
}
/**
* 设置 规则名称
* @param ruleName
* 设置 核查结果
* @param checkResult
*/
public PerformAttendAppealQuery ruleName(String ruleName){
setRuleName(ruleName);
public PerformAttendAppealQuery checkResult(String checkResult){
setCheckResult(checkResult);
return this;
}
/**
* 设置 规则名称
* @param ruleNameList
* 设置 核查结果
* @param checkResultList
*/
public PerformAttendAppealQuery ruleNameList(List<String> ruleNameList){
this.ruleNameList = ruleNameList;
public PerformAttendAppealQuery checkResultList(List<String> checkResultList){
this.checkResultList = checkResultList;
return this;
}
/**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethod
* 设置 处理状态(1.未处理,2.已处理)
* @param processStatus
*/
public PerformAttendAppealQuery subMethod(Integer subMethod){
setSubMethod(subMethod);
public PerformAttendAppealQuery processStatus(Integer processStatus){
setProcessStatus(processStatus);
return this;
}
/**
* 设置 开始 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodStart
* 设置 开始 处理状态(1.未处理,2.已处理)
* @param processStatusStart
*/
public PerformAttendAppealQuery subMethodStart(Integer subMethodStart){
this.subMethodStart = subMethodStart;
public PerformAttendAppealQuery processStatusStart(Integer processStatusStart){
this.processStatusStart = processStatusStart;
return this;
}
/**
* 设置 结束 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodEnd
* 设置 结束 处理状态(1.未处理,2.已处理)
* @param processStatusEnd
*/
public PerformAttendAppealQuery processStatusEnd(Integer processStatusEnd){
this.processStatusEnd = processStatusEnd;
return this;
}
/**
* 设置 增加 处理状态(1.未处理,2.已处理)
* @param processStatusIncrement
*/
public PerformAttendAppealQuery processStatusIncrement(Integer processStatusIncrement){
this.processStatusIncrement = processStatusIncrement;
return this;
}
/**
* 设置 处理状态(1.未处理,2.已处理)
* @param processStatusList
*/
public PerformAttendAppealQuery processStatusList(List<Integer> processStatusList){
this.processStatusList = processStatusList;
return this;
}
/**
* 设置 处理状态(1.未处理,2.已处理)
* @param processStatusNotList
*/
public PerformAttendAppealQuery processStatusNotList(List<Integer> processStatusNotList){
this.processStatusNotList = processStatusNotList;
return this;
}
/**
* 设置 申诉说明
* @param appealDesc
*/
public PerformAttendAppealQuery appealDesc(String appealDesc){
setAppealDesc(appealDesc);
return this;
}
/**
* 设置 申诉说明
* @param appealDescList
*/
public PerformAttendAppealQuery appealDescList(List<String> appealDescList){
this.appealDescList = appealDescList;
return this;
}
/**
* 设置 申诉结果(1.通过,2.不通过)
* @param appealResult
*/
public PerformAttendAppealQuery appealResult(Integer appealResult){
setAppealResult(appealResult);
return this;
}
/**
* 设置 开始 申诉结果(1.通过,2.不通过)
* @param appealResultStart
*/
public PerformAttendAppealQuery appealResultStart(Integer appealResultStart){
this.appealResultStart = appealResultStart;
return this;
}
/**
* 设置 结束 申诉结果(1.通过,2.不通过)
* @param appealResultEnd
*/
public PerformAttendAppealQuery appealResultEnd(Integer appealResultEnd){
this.appealResultEnd = appealResultEnd;
return this;
}
/**
* 设置 增加 申诉结果(1.通过,2.不通过)
* @param appealResultIncrement
*/
public PerformAttendAppealQuery appealResultIncrement(Integer appealResultIncrement){
this.appealResultIncrement = appealResultIncrement;
return this;
}
/**
* 设置 申诉结果(1.通过,2.不通过)
* @param appealResultList
*/
public PerformAttendAppealQuery appealResultList(List<Integer> appealResultList){
this.appealResultList = appealResultList;
return this;
}
/**
* 设置 申诉结果(1.通过,2.不通过)
* @param appealResultNotList
*/
public PerformAttendAppealQuery appealResultNotList(List<Integer> appealResultNotList){
this.appealResultNotList = appealResultNotList;
return this;
}
/**
* 设置 说明
* @param remark
*/
public PerformAttendAppealQuery remark(String remark){
setRemark(remark);
return this;
}
/**
* 设置 说明
* @param remarkList
*/
public PerformAttendAppealQuery remarkList(List<String> remarkList){
this.remarkList = remarkList;
return this;
}
/**
* 设置 创建用户
* @param createUserId
*/
public PerformAttendAppealQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public PerformAttendAppealQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public PerformAttendAppealQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public PerformAttendAppealQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public PerformAttendAppealQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public PerformAttendAppealQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
/**
* 设置 更新用户
* @param updateUserId
*/
public PerformAttendAppealQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public PerformAttendAppealQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
return this;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public PerformAttendAppealQuery subMethodEnd(Integer subMethodEnd){
this.subMethodEnd = subMethodEnd;
public PerformAttendAppealQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
return this;
}
/**
* 设置 增加 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodIncrement
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public PerformAttendAppealQuery subMethodIncrement(Integer subMethodIncrement){
this.subMethodIncrement = subMethodIncrement;
public PerformAttendAppealQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
}
/**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodList
* 设置 更新用户
* @param updateUserIdList
*/
public PerformAttendAppealQuery subMethodList(List<Integer> subMethodList){
this.subMethodList = subMethodList;
public PerformAttendAppealQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
return this;
}
/**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodNotList
* 设置 更新用户
* @param updateUserIdNotList
*/
public PerformAttendAppealQuery subMethodNotList(List<Integer> subMethodNotList){
this.subMethodNotList = subMethodNotList;
public PerformAttendAppealQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
return this;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddType
* 设置 违规类型,
* @param violationType
*/
public PerformAttendAppealQuery subAddType(Integer subAddType){
setSubAddType(subAddType);
public PerformAttendAppealQuery violationType(String violationType){
setViolationType(violationType);
return this;
}
/**
* 设置 开始 增减类型(1.增加,2.扣除)
* @param subAddTypeStart
* 设置 违规类型,
* @param violationTypeList
*/
public PerformAttendAppealQuery subAddTypeStart(Integer subAddTypeStart){
this.subAddTypeStart = subAddTypeStart;
public PerformAttendAppealQuery violationTypeList(List<String> violationTypeList){
this.violationTypeList = violationTypeList;
return this;
}
/**
* 设置 结束 增减类型(1.增加,2.扣除)
* @param subAddTypeEnd
* 设置 评价结果(1.非常不满意,2.差评)
* @param reviewResult
*/
public PerformAttendAppealQuery subAddTypeEnd(Integer subAddTypeEnd){
this.subAddTypeEnd = subAddTypeEnd;
public PerformAttendAppealQuery reviewResult(Integer reviewResult){
setReviewResult(reviewResult);
return this;
}
/**
* 设置 增加 增减类型(1.增加,2.扣除)
* @param subAddTypeIncrement
* 设置 开始 评价结果(1.非常不满意,2.差评)
* @param reviewResultStart
*/
public PerformAttendAppealQuery subAddTypeIncrement(Integer subAddTypeIncrement){
this.subAddTypeIncrement = subAddTypeIncrement;
public PerformAttendAppealQuery reviewResultStart(Integer reviewResultStart){
this.reviewResultStart = reviewResultStart;
return this;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeList
* 设置 结束 评价结果(1.非常不满意,2.差评)
* @param reviewResultEnd
*/
public PerformAttendAppealQuery subAddTypeList(List<Integer> subAddTypeList){
this.subAddTypeList = subAddTypeList;
public PerformAttendAppealQuery reviewResultEnd(Integer reviewResultEnd){
this.reviewResultEnd = reviewResultEnd;
return this;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeNotList
* 设置 增加 评价结果(1.非常不满意,2.差评)
* @param reviewResultIncrement
*/
public PerformAttendAppealQuery subAddTypeNotList(List<Integer> subAddTypeNotList){
this.subAddTypeNotList = subAddTypeNotList;
public PerformAttendAppealQuery reviewResultIncrement(Integer reviewResultIncrement){
this.reviewResultIncrement = reviewResultIncrement;
return this;
}
/**
* 设置 扣分或增加分值
* @param score
* 设置 评价结果(1.非常不满意,2.差评)
* @param reviewResultList
*/
public PerformAttendAppealQuery score(BigDecimal score){
setScore(score);
public PerformAttendAppealQuery reviewResultList(List<Integer> reviewResultList){
this.reviewResultList = reviewResultList;
return this;
}
/**
* 设置 开始 扣分或增加分值
* @param scoreStart
* 设置 评价结果(1.非常不满意,2.差评)
* @param reviewResultNotList
*/
public PerformAttendAppealQuery scoreStart(BigDecimal scoreStart){
this.scoreStart = scoreStart;
public PerformAttendAppealQuery reviewResultNotList(List<Integer> reviewResultNotList){
this.reviewResultNotList = reviewResultNotList;
return this;
}
/**
* 设置 结束 扣分或增加分值
* @param scoreEnd
* 设置 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param reviewSource
*/
public PerformAttendAppealQuery scoreEnd(BigDecimal scoreEnd){
this.scoreEnd = scoreEnd;
public PerformAttendAppealQuery reviewSource(String reviewSource){
setReviewSource(reviewSource);
return this;
}
/**
* 设置 增加 扣分或增加分值
* @param scoreIncrement
* 设置 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param reviewSourceList
*/
public PerformAttendAppealQuery scoreIncrement(BigDecimal scoreIncrement){
this.scoreIncrement = scoreIncrement;
public PerformAttendAppealQuery reviewSourceList(List<String> reviewSourceList){
this.reviewSourceList = reviewSourceList;
return this;
}
/**
* 设置 扣分或增加分值
* @param scoreList
* 设置 评价设备
* @param reviewDevice
*/
public PerformAttendAppealQuery scoreList(List<BigDecimal> scoreList){
this.scoreList = scoreList;
public PerformAttendAppealQuery reviewDevice(String reviewDevice){
setReviewDevice(reviewDevice);
return this;
}
/**
* 设置 扣分或增加分值
* @param scoreNotList
* 设置 评价设备
* @param reviewDeviceList
*/
public PerformAttendAppealQuery scoreNotList(List<BigDecimal> scoreNotList){
this.scoreNotList = scoreNotList;
public PerformAttendAppealQuery reviewDeviceList(List<String> reviewDeviceList){
this.reviewDeviceList = reviewDeviceList;
return this;
}
/**
* 设置 上下班时间
* @param goOffTimeStr
* 设置 投诉标题
* @param complainTitle
*/
public PerformAttendAppealQuery goOffTimeStr(String goOffTimeStr){
setGoOffTimeStr(goOffTimeStr);
public PerformAttendAppealQuery complainTitle(String complainTitle){
setComplainTitle(complainTitle);
return this;
}
/**
* 设置 上下班时间
* @param goOffTimeStrList
* 设置 投诉标题
* @param complainTitleList
*/
public PerformAttendAppealQuery goOffTimeStrList(List<String> goOffTimeStrList){
this.goOffTimeStrList = goOffTimeStrList;
public PerformAttendAppealQuery complainTitleList(List<String> complainTitleList){
this.complainTitleList = complainTitleList;
return this;
}
/**
* 设置 异常处理结果
* @param errorResult
* 设置 投诉内容
* @param complainContent
*/
public PerformAttendAppealQuery errorResult(String errorResult){
setErrorResult(errorResult);
public PerformAttendAppealQuery complainContent(String complainContent){
setComplainContent(complainContent);
return this;
}
/**
* 设置 异常处理结果
* @param errorResultList
* 设置 投诉内容
* @param complainContentList
*/
public PerformAttendAppealQuery errorResultList(List<String> errorResultList){
this.errorResultList = errorResultList;
public PerformAttendAppealQuery complainContentList(List<String> complainContentList){
this.complainContentList = complainContentList;
return this;
}
/**
* 设置 核查人员
* @param checkPerson
* 设置 投诉人真实姓名
* @param complainRealName
*/
public PerformAttendAppealQuery checkPerson(String checkPerson){
setCheckPerson(checkPerson);
public PerformAttendAppealQuery complainRealName(String complainRealName){
setComplainRealName(complainRealName);
return this;
}
/**
* 设置 核查人员
* @param checkPersonList
* 设置 投诉人真实姓名
* @param complainRealNameList
*/
public PerformAttendAppealQuery checkPersonList(List<String> checkPersonList){
this.checkPersonList = checkPersonList;
public PerformAttendAppealQuery complainRealNameList(List<String> complainRealNameList){
this.complainRealNameList = complainRealNameList;
return this;
}
/**
* 设置 核查说明
* @param checkDesc
* 设置 联系电话
* @param contact
*/
public PerformAttendAppealQuery checkDesc(String checkDesc){
setCheckDesc(checkDesc);
public PerformAttendAppealQuery contact(String contact){
setContact(contact);
return this;
}
/**
* 设置 核查说明
* @param checkDescList
* 设置 联系电话
* @param contactList
*/
public PerformAttendAppealQuery checkDescList(List<String> checkDescList){
this.checkDescList = checkDescList;
public PerformAttendAppealQuery contactList(List<String> contactList){
this.contactList = contactList;
return this;
}
/**
* 设置 核查结果
* @param checkResult
* 设置 投诉来源
* @param complainSource
*/
public PerformAttendAppealQuery checkResult(String checkResult){
setCheckResult(checkResult);
public PerformAttendAppealQuery complainSource(String complainSource){
setComplainSource(complainSource);
return this;
}
/**
* 设置 核查结果
* @param checkResultList
* 设置 投诉来源
* @param complainSourceList
*/
public PerformAttendAppealQuery checkResultList(List<String> checkResultList){
this.checkResultList = checkResultList;
public PerformAttendAppealQuery complainSourceList(List<String> complainSourceList){
this.complainSourceList = complainSourceList;
return this;
}
/**
* 设置 处理状态(1.未处理,2.已处理)
* @param processStatus
* 设置 投诉设备
* @param complainDevice
*/
public PerformAttendAppealQuery processStatus(Integer processStatus){
setProcessStatus(processStatus);
public PerformAttendAppealQuery complainDevice(String complainDevice){
setComplainDevice(complainDevice);
return this;
}
/**
* 设置 开始 处理状态(1.未处理,2.已处理)
* @param processStatusStart
* 设置 投诉设备
* @param complainDeviceList
*/
public PerformAttendAppealQuery processStatusStart(Integer processStatusStart){
this.processStatusStart = processStatusStart;
public PerformAttendAppealQuery complainDeviceList(List<String> complainDeviceList){
this.complainDeviceList = complainDeviceList;
return this;
}
/**
* 设置 结束 处理状态(1.未处理,2.已处理)
* @param processStatusEnd
* 设置 办件编码
* @param goworkCode
*/
public PerformAttendAppealQuery processStatusEnd(Integer processStatusEnd){
this.processStatusEnd = processStatusEnd;
public PerformAttendAppealQuery goworkCode(String goworkCode){
setGoworkCode(goworkCode);
return this;
}
/**
* 设置 增加 处理状态(1.未处理,2.已处理)
* @param processStatusIncrement
* 设置 办件编码
* @param goworkCodeList
*/
public PerformAttendAppealQuery processStatusIncrement(Integer processStatusIncrement){
this.processStatusIncrement = processStatusIncrement;
public PerformAttendAppealQuery goworkCodeList(List<String> goworkCodeList){
this.goworkCodeList = goworkCodeList;
return this;
}
/**
* 设置 处理状态(1.未处理,2.已处理)
* @param processStatusList
* 设置 办件所属部门
* @param goworkDepts
*/
public PerformAttendAppealQuery processStatusList(List<Integer> processStatusList){
this.processStatusList = processStatusList;
public PerformAttendAppealQuery goworkDepts(String goworkDepts){
setGoworkDepts(goworkDepts);
return this;
}
/**
* 设置 处理状态(1.未处理,2.已处理)
* @param processStatusNotList
* 设置 办件所属部门
* @param goworkDeptsList
*/
public PerformAttendAppealQuery processStatusNotList(List<Integer> processStatusNotList){
this.processStatusNotList = processStatusNotList;
public PerformAttendAppealQuery goworkDeptsList(List<String> goworkDeptsList){
this.goworkDeptsList = goworkDeptsList;
return this;
}
/**
* 设置 申诉说明
* @param appealDesc
* 设置 事项名称
* @param matterlName
*/
public PerformAttendAppealQuery appealDesc(String appealDesc){
setAppealDesc(appealDesc);
public PerformAttendAppealQuery matterlName(String matterlName){
setMatterlName(matterlName);
return this;
}
/**
* 设置 申诉说明
* @param appealDescList
* 设置 事项名称
* @param matterlNameList
*/
public PerformAttendAppealQuery appealDescList(List<String> appealDescList){
this.appealDescList = appealDescList;
public PerformAttendAppealQuery matterlNameList(List<String> matterlNameList){
this.matterlNameList = matterlNameList;
return this;
}
/**
* 设置 申诉结果(1.通过,2.不通过)
* @param appealResult
* 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularType
*/
public PerformAttendAppealQuery appealResult(Integer appealResult){
setAppealResult(appealResult);
public PerformAttendAppealQuery irregularType(Integer irregularType){
setIrregularType(irregularType);
return this;
}
/**
* 设置 开始 申诉结果(1.通过,2.不通过)
* @param appealResultStart
* 设置 开始 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeStart
*/
public PerformAttendAppealQuery appealResultStart(Integer appealResultStart){
this.appealResultStart = appealResultStart;
public PerformAttendAppealQuery irregularTypeStart(Integer irregularTypeStart){
this.irregularTypeStart = irregularTypeStart;
return this;
}
/**
* 设置 结束 申诉结果(1.通过,2.不通过)
* @param appealResultEnd
* 设置 结束 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeEnd
*/
public PerformAttendAppealQuery appealResultEnd(Integer appealResultEnd){
this.appealResultEnd = appealResultEnd;
public PerformAttendAppealQuery irregularTypeEnd(Integer irregularTypeEnd){
this.irregularTypeEnd = irregularTypeEnd;
return this;
}
/**
* 设置 增加 申诉结果(1.通过,2.不通过)
* @param appealResultIncrement
* 设置 增加 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeIncrement
*/
public PerformAttendAppealQuery appealResultIncrement(Integer appealResultIncrement){
this.appealResultIncrement = appealResultIncrement;
public PerformAttendAppealQuery irregularTypeIncrement(Integer irregularTypeIncrement){
this.irregularTypeIncrement = irregularTypeIncrement;
return this;
}
/**
* 设置 申诉结果(1.通过,2.不通过)
* @param appealResultList
* 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeList
*/
public PerformAttendAppealQuery appealResultList(List<Integer> appealResultList){
this.appealResultList = appealResultList;
public PerformAttendAppealQuery irregularTypeList(List<Integer> irregularTypeList){
this.irregularTypeList = irregularTypeList;
return this;
}
/**
* 设置 申诉结果(1.通过,2.不通过)
* @param appealResultNotList
* 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeNotList
*/
public PerformAttendAppealQuery appealResultNotList(List<Integer> appealResultNotList){
this.appealResultNotList = appealResultNotList;
public PerformAttendAppealQuery irregularTypeNotList(List<Integer> irregularTypeNotList){
this.irregularTypeNotList = irregularTypeNotList;
return this;
}
/**
* 设置 说明
* @param remark
* 设置 持续时间,秒
* @param duration
*/
public PerformAttendAppealQuery remark(String remark){
setRemark(remark);
public PerformAttendAppealQuery duration(Integer duration){
setDuration(duration);
return this;
}
/**
* 设置 说明
* @param remarkList
* 设置 开始 持续时间,秒
* @param durationStart
*/
public PerformAttendAppealQuery remarkList(List<String> remarkList){
this.remarkList = remarkList;
public PerformAttendAppealQuery durationStart(Integer durationStart){
this.durationStart = durationStart;
return this;
}
/**
* 设置 创建用户
* @param createUserId
* 设置 结束 持续时间,秒
* @param durationEnd
*/
public PerformAttendAppealQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
public PerformAttendAppealQuery durationEnd(Integer durationEnd){
this.durationEnd = durationEnd;
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
* 设置 增加 持续时间,秒
* @param durationIncrement
*/
public PerformAttendAppealQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
public PerformAttendAppealQuery durationIncrement(Integer durationIncrement){
this.durationIncrement = durationIncrement;
return this;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
* 设置 持续时间,秒
* @param durationList
*/
public PerformAttendAppealQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
public PerformAttendAppealQuery durationList(List<Integer> durationList){
this.durationList = durationList;
return this;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
* 设置 持续时间,秒
* @param durationNotList
*/
public PerformAttendAppealQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
public PerformAttendAppealQuery durationNotList(List<Integer> durationNotList){
this.durationNotList = durationNotList;
return this;
}
/**
* 设置 创建用户
* @param createUserIdList
* 设置 图片凭证地址
* @param snapPath
*/
public PerformAttendAppealQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
public PerformAttendAppealQuery snapPath(String snapPath){
setSnapPath(snapPath);
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
* 设置 图片凭证地址
* @param snapPathList
*/
public PerformAttendAppealQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
public PerformAttendAppealQuery snapPathList(List<String> snapPathList){
this.snapPathList = snapPathList;
return this;
}
/**
* 设置 更新用户
* @param updateUserId
* 设置 违规类型(1.工作纪律)
* @param irregularOtherType
*/
public PerformAttendAppealQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId);
public PerformAttendAppealQuery irregularOtherType(Integer irregularOtherType){
setIrregularOtherType(irregularOtherType);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
* 设置 开始 违规类型(1.工作纪律)
* @param irregularOtherTypeStart
*/
public PerformAttendAppealQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
public PerformAttendAppealQuery irregularOtherTypeStart(Integer irregularOtherTypeStart){
this.irregularOtherTypeStart = irregularOtherTypeStart;
return this;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
* 设置 结束 违规类型(1.工作纪律)
* @param irregularOtherTypeEnd
*/
public PerformAttendAppealQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
public PerformAttendAppealQuery irregularOtherTypeEnd(Integer irregularOtherTypeEnd){
this.irregularOtherTypeEnd = irregularOtherTypeEnd;
return this;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
* 设置 增加 违规类型(1.工作纪律)
* @param irregularOtherTypeIncrement
*/
public PerformAttendAppealQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
public PerformAttendAppealQuery irregularOtherTypeIncrement(Integer irregularOtherTypeIncrement){
this.irregularOtherTypeIncrement = irregularOtherTypeIncrement;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdList
* 设置 违规类型(1.工作纪律)
* @param irregularOtherTypeList
*/
public PerformAttendAppealQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
public PerformAttendAppealQuery irregularOtherTypeList(List<Integer> irregularOtherTypeList){
this.irregularOtherTypeList = irregularOtherTypeList;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
* 设置 违规类型(1.工作纪律)
* @param irregularOtherTypeNotList
*/
public PerformAttendAppealQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
public PerformAttendAppealQuery irregularOtherTypeNotList(List<Integer> irregularOtherTypeNotList){
this.irregularOtherTypeNotList = irregularOtherTypeNotList;
return this;
}
/**
* 设置 违规类型
* @param violationType
* 设置 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @param performType
*/
public PerformAttendAppealQuery violationType(String violationType){
setViolationType(violationType);
public PerformAttendAppealQuery performType(String performType){
setPerformType(performType);
return this;
}
/**
* 设置 违规类型
* @param violationTypeList
* 设置 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @param performTypeList
*/
public PerformAttendAppealQuery violationTypeList(List<String> violationTypeList){
this.violationTypeList = violationTypeList;
public PerformAttendAppealQuery performTypeList(List<String> performTypeList){
this.performTypeList = performTypeList;
return this;
}
......
......@@ -11,7 +11,7 @@ import java.util.Date;
* 绩效记录申诉信息视图对象
*
* @author zxfei
* @date 2023-07-05
* @date 2023-07-12
*/
@Data
public class PerformAttendAppealVo extends BaseEntityLong {
......
package com.mortals.xhx.module.perform.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.perform.model.PerformPerposeDeptEntity;
import com.mortals.xhx.module.perform.model.PerformPerposeEntity;
import java.util.ArrayList;
import java.util.List;
import com.mortals.xhx.module.perform.model.PerformPerposeStaffEntity;
import lombok.Data;
/**
* 考核目标视图对象
*
* @author zxfei
* @date 2023-05-16
*/
* 考核目标视图对象
*
* @author zxfei
* @date 2023-05-16
*/
@Data
public class PerformPerposeVo extends BaseEntityLong {
/**
* 员工目标
*/
private List<PerformPerposeStaffEntity> perposeStaffList;
/**
* 部门目标
*/
private List<PerformPerposeDeptEntity> perposeDeptList;
private String staffPerpose;
private String deptPerpose;
}
\ No newline at end of file
......@@ -8,7 +8,7 @@ import com.mortals.xhx.module.perform.dao.PerformAttendAppealDao;
* 绩效记录申诉信息 service接口
*
* @author zxfei
* @date 2023-07-05
* @date 2023-07-12
*/
public interface PerformAttendAppealService extends ICRUDService<PerformAttendAppealEntity,Long>{
......
......@@ -20,7 +20,7 @@ import lombok.extern.slf4j.Slf4j;
* 绩效记录申诉信息 service实现
*
* @author zxfei
* @date 2023-07-05
* @date 2023-07-12
*/
@Service("performAttendAppealService")
@Slf4j
......
package com.mortals.xhx.module.perform.service.impl;
import com.mortals.framework.model.PageInfo;
import com.mortals.xhx.common.code.AssessmentScopeEnum;
import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.service.DeptService;
import com.mortals.xhx.module.perform.model.*;
import com.mortals.xhx.module.perform.service.PerformPerposeDeptService;
import com.mortals.xhx.module.perform.service.PerformPerposeStaffService;
import com.mortals.xhx.module.staff.model.StaffEntity;
import com.mortals.xhx.module.staff.service.StaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.xhx.module.perform.dao.PerformPerposeDao;
import com.mortals.xhx.module.perform.model.PerformPerposeEntity;
import com.mortals.xhx.module.perform.service.PerformPerposeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.util.ObjectUtils;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;
/**
* PerformPerposeService
* 考核目标 service实现
*
* @author zxfei
* @date 2023-05-16
*/
* PerformPerposeService
* 考核目标 service实现
*
* @author zxfei
* @date 2023-05-16
*/
@Service("performPerposeService")
@Slf4j
public class PerformPerposeServiceImpl extends AbstractCRUDServiceImpl<PerformPerposeDao, PerformPerposeEntity, Long> implements PerformPerposeService {
@Autowired
private PerformPerposeStaffService perposeStaffService;
@Autowired
private PerformPerposeDeptService perposeDeptService;
@Autowired
private DeptService deptService;
@Autowired
private StaffService staffService;
@Override
protected void findAfter(PerformPerposeEntity params, PageInfo pageInfo, Context context, List<PerformPerposeEntity> list) throws AppException {
super.findAfter(params, pageInfo, context, list);
list.stream().forEach(item->{
if(AssessmentScopeEnum.个人.getValue()==item.getAssessmentScope()){
List<PerformPerposeStaffEntity> staffEntities = perposeStaffService.find(new PerformPerposeStaffQuery().purposeConfId(item.getId()));
item.setPerposeStaffList(staffEntities);
item.setStaffPerpose(staffEntities.stream().map(item1->item1.getStaffName()).collect(Collectors.joining(",")));
}else if(AssessmentScopeEnum.部门.getValue()==item.getAssessmentScope()){
List<PerformPerposeDeptEntity> deptEntities = perposeDeptService.find(new PerformPerposeDeptQuery().purposeConfId(item.getId()));
item.setPerposeDeptList(deptEntities);
item.setDeptPerpose(deptEntities.stream().map(item1->item1.getDeptName()).collect(Collectors.joining(",")));
}
});
}
@Override
protected void saveAfter(PerformPerposeEntity entity, Context context) throws AppException {
super.saveAfter(entity, context);
if (!ObjectUtils.isEmpty(entity.getPerposeStaffList())) {
entity.getPerposeStaffList().stream().peek(item -> {
item.setPurposeConfId(entity.getId());
if (!ObjectUtils.isEmpty(item.getStaffId())) {
StaffEntity staffCache = staffService.getCache(item.getStaffId().toString());
if (!ObjectUtils.isEmpty(staffCache)) {
item.setStaffName(staffCache.getName());
item.setNumber(staffCache.getWorkNum());
}
}
item.setCreateUserId(this.getContextUserId(context));
item.setCreateTime(new Date());
}).count();
perposeStaffService.save(entity.getPerposeStaffList());
}
if (!ObjectUtils.isEmpty(entity.getPerposeDeptList())) {
entity.getPerposeDeptList().stream().peek(item -> {
item.setPurposeConfId(entity.getId());
if (!ObjectUtils.isEmpty(item.getDeptId())) {
DeptEntity deptEntity = deptService.get(item.getDeptId(), context);
if (!ObjectUtils.isEmpty(deptEntity)) {
item.setDeptName(deptEntity.getDeptName());
}
}
item.setCreateUserId(this.getContextUserId(context));
item.setCreateTime(new Date());
}).count();
perposeDeptService.save(entity.getPerposeDeptList(), context);
}
}
@Override
protected void updateAfter(PerformPerposeEntity entity, Context context) throws AppException {
super.updateAfter(entity, context);
if (!ObjectUtils.isEmpty(entity.getPerposeStaffList())) {
Long[] performAttendAppealFilesIds = perposeStaffService.find(new PerformPerposeStaffQuery().purposeConfId(entity.getId())).stream().map(PerformPerposeStaffEntity::getId).toArray(Long[]::new);
perposeStaffService.remove(performAttendAppealFilesIds, context);
entity.getPerposeStaffList().stream().peek(item -> {
item.setPurposeConfId(entity.getId());
if (!ObjectUtils.isEmpty(item.getStaffId())) {
StaffEntity staffCache = staffService.getCache(item.getStaffId().toString());
if (!ObjectUtils.isEmpty(staffCache)) {
item.setStaffName(staffCache.getName());
item.setNumber(staffCache.getWorkNum());
}
}
item.setCreateUserId(this.getContextUserId(context));
item.setCreateTime(new Date());
}).count();
perposeStaffService.save(entity.getPerposeStaffList());
}
if (!ObjectUtils.isEmpty(entity.getPerposeDeptList())) {
Long[] performAttendAppealFilesIds = perposeDeptService.find(new PerformPerposeDeptQuery().purposeConfId(entity.getId())).stream().map(PerformPerposeDeptEntity::getId).toArray(Long[]::new);
perposeDeptService.remove(performAttendAppealFilesIds, context);
entity.getPerposeDeptList().stream().peek(item -> {
item.setPurposeConfId(entity.getId());
if (!ObjectUtils.isEmpty(item.getDeptId())) {
DeptEntity deptEntity = deptService.get(item.getDeptId(), context);
if (!ObjectUtils.isEmpty(deptEntity)) {
item.setDeptName(deptEntity.getDeptName());
}
}
item.setCreateUserId(this.getContextUserId(context));
item.setCreateTime(new Date());
}).count();
perposeDeptService.save(entity.getPerposeDeptList(), context);
}
}
@Override
protected void removeAfter(Long[] ids, Context context, int result) throws AppException {
super.removeAfter(ids, context, result);
List<PerformPerposeStaffEntity> staffEntityList = perposeStaffService.find(new PerformPerposeStaffQuery().purposeConfIdList(Arrays.asList(ids)));
perposeStaffService.removeList(staffEntityList, context);
List<PerformPerposeDeptEntity> deptEntityList = perposeDeptService.find(new PerformPerposeDeptQuery().purposeConfIdList(Arrays.asList(ids)));
perposeDeptService.removeList(deptEntityList, context);
}
}
\ No newline at end of file
......@@ -27,7 +27,7 @@ import static com.mortals.framework.ap.SysConstains.*;
* 绩效记录申诉信息
*
* @author zxfei
* @date 2023-07-05
* @date 2023-07-12
*/
@RestController
@RequestMapping("perform/attend/appeal")
......@@ -46,6 +46,10 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
this.addDict(model, "subAddType", paramService.getParamBySecondOrganize("PerformAttendAppeal","subAddType"));
this.addDict(model, "processStatus", paramService.getParamBySecondOrganize("PerformAttendAppeal","processStatus"));
this.addDict(model, "appealResult", paramService.getParamBySecondOrganize("PerformAttendAppeal","appealResult"));
this.addDict(model, "reviewResult", paramService.getParamBySecondOrganize("PerformAttendAppeal","reviewResult"));
this.addDict(model, "reviewSource", paramService.getParamBySecondOrganize("PerformAttendAppeal","reviewSource"));
this.addDict(model, "irregularType", paramService.getParamBySecondOrganize("PerformAttendAppeal","irregularType"));
this.addDict(model, "irregularOtherType", paramService.getParamBySecondOrganize("PerformAttendAppeal","irregularOtherType"));
super.init(model, context);
}
......
......@@ -38,6 +38,28 @@
<result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" />
<result property="violationType" column="violationType" />
<result property="reviewResult" column="reviewResult" />
<result property="reviewTime" column="reviewTime" />
<result property="reviewSource" column="reviewSource" />
<result property="reviewDevice" column="reviewDevice" />
<result property="complainTitle" column="complainTitle" />
<result property="complainContent" column="complainContent" />
<result property="complainRealName" column="complainRealName" />
<result property="contact" column="contact" />
<result property="complainTime" column="complainTime" />
<result property="complainSource" column="complainSource" />
<result property="complainDevice" column="complainDevice" />
<result property="goworkCode" column="goworkCode" />
<result property="goworkDepts" column="goworkDepts" />
<result property="matterlName" column="matterlName" />
<result property="goworkTime" column="goworkTime" />
<result property="irregularType" column="irregularType" />
<result property="happenTime" column="happenTime" />
<result property="duration" column="duration" />
<result property="alarmTime" column="alarmTime" />
<result property="snapPath" column="snapPath" />
<result property="irregularOtherType" column="irregularOtherType" />
<result property="performType" column="performType" />
<collection property="performAttendAppealFilesList" column="id" ofType="PerformAttendAppealFilesEntity" javaType="ArrayList" select="getPerformAttendAppealFilesByAppealId"></collection>
</resultMap>
<resultMap type="PerformAttendAppealFilesEntity" id="PerformAttendAppealFilesEntity-Map">
......@@ -154,6 +176,72 @@
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('violationType') or colPickMode == 1 and data.containsKey('violationType')))">
a.violationType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reviewResult') or colPickMode == 1 and data.containsKey('reviewResult')))">
a.reviewResult,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reviewTime') or colPickMode == 1 and data.containsKey('reviewTime')))">
a.reviewTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reviewSource') or colPickMode == 1 and data.containsKey('reviewSource')))">
a.reviewSource,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reviewDevice') or colPickMode == 1 and data.containsKey('reviewDevice')))">
a.reviewDevice,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('complainTitle') or colPickMode == 1 and data.containsKey('complainTitle')))">
a.complainTitle,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('complainContent') or colPickMode == 1 and data.containsKey('complainContent')))">
a.complainContent,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('complainRealName') or colPickMode == 1 and data.containsKey('complainRealName')))">
a.complainRealName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('contact') or colPickMode == 1 and data.containsKey('contact')))">
a.contact,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('complainTime') or colPickMode == 1 and data.containsKey('complainTime')))">
a.complainTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('complainSource') or colPickMode == 1 and data.containsKey('complainSource')))">
a.complainSource,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('complainDevice') or colPickMode == 1 and data.containsKey('complainDevice')))">
a.complainDevice,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('goworkCode') or colPickMode == 1 and data.containsKey('goworkCode')))">
a.goworkCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('goworkDepts') or colPickMode == 1 and data.containsKey('goworkDepts')))">
a.goworkDepts,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterlName') or colPickMode == 1 and data.containsKey('matterlName')))">
a.matterlName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('goworkTime') or colPickMode == 1 and data.containsKey('goworkTime')))">
a.goworkTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('irregularType') or colPickMode == 1 and data.containsKey('irregularType')))">
a.irregularType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('happenTime') or colPickMode == 1 and data.containsKey('happenTime')))">
a.happenTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('duration') or colPickMode == 1 and data.containsKey('duration')))">
a.duration,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('alarmTime') or colPickMode == 1 and data.containsKey('alarmTime')))">
a.alarmTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('snapPath') or colPickMode == 1 and data.containsKey('snapPath')))">
a.snapPath,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('irregularOtherType') or colPickMode == 1 and data.containsKey('irregularOtherType')))">
a.irregularOtherType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('performType') or colPickMode == 1 and data.containsKey('performType')))">
a.performType,
</if>
</trim>
</sql>
<!-- 子表所有列 -->
......@@ -165,18 +253,18 @@
<!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="PerformAttendAppealEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_perform_attend_appeal
(checkRecordId,staffId,staffName,workNum,deptId,deptName,attendanceGroupId,attendanceGroupName,attendanceDate,ruleId,ruleName,subMethod,subAddType,score,goOffTimeStr,errorTime,actualAttendTime,errorResult,checkPerson,checkTime,checkDesc,checkResult,processStatus,appealDesc,appealTime,appealResult,remark,createUserId,createTime,updateUserId,updateTime,violationType)
(checkRecordId,staffId,staffName,workNum,deptId,deptName,attendanceGroupId,attendanceGroupName,attendanceDate,ruleId,ruleName,subMethod,subAddType,score,goOffTimeStr,errorTime,actualAttendTime,errorResult,checkPerson,checkTime,checkDesc,checkResult,processStatus,appealDesc,appealTime,appealResult,remark,createUserId,createTime,updateUserId,updateTime,violationType,reviewResult,reviewTime,reviewSource,reviewDevice,complainTitle,complainContent,complainRealName,contact,complainTime,complainSource,complainDevice,goworkCode,goworkDepts,matterlName,goworkTime,irregularType,happenTime,duration,alarmTime,snapPath,irregularOtherType,performType)
VALUES
(#{checkRecordId},#{staffId},#{staffName},#{workNum},#{deptId},#{deptName},#{attendanceGroupId},#{attendanceGroupName},#{attendanceDate},#{ruleId},#{ruleName},#{subMethod},#{subAddType},#{score},#{goOffTimeStr},#{errorTime},#{actualAttendTime},#{errorResult},#{checkPerson},#{checkTime},#{checkDesc},#{checkResult},#{processStatus},#{appealDesc},#{appealTime},#{appealResult},#{remark},#{createUserId},#{createTime},#{updateUserId},#{updateTime},#{violationType})
(#{checkRecordId},#{staffId},#{staffName},#{workNum},#{deptId},#{deptName},#{attendanceGroupId},#{attendanceGroupName},#{attendanceDate},#{ruleId},#{ruleName},#{subMethod},#{subAddType},#{score},#{goOffTimeStr},#{errorTime},#{actualAttendTime},#{errorResult},#{checkPerson},#{checkTime},#{checkDesc},#{checkResult},#{processStatus},#{appealDesc},#{appealTime},#{appealResult},#{remark},#{createUserId},#{createTime},#{updateUserId},#{updateTime},#{violationType},#{reviewResult},#{reviewTime},#{reviewSource},#{reviewDevice},#{complainTitle},#{complainContent},#{complainRealName},#{contact},#{complainTime},#{complainSource},#{complainDevice},#{goworkCode},#{goworkDepts},#{matterlName},#{goworkTime},#{irregularType},#{happenTime},#{duration},#{alarmTime},#{snapPath},#{irregularOtherType},#{performType})
</insert>
<!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_perform_attend_appeal
(checkRecordId,staffId,staffName,workNum,deptId,deptName,attendanceGroupId,attendanceGroupName,attendanceDate,ruleId,ruleName,subMethod,subAddType,score,goOffTimeStr,errorTime,actualAttendTime,errorResult,checkPerson,checkTime,checkDesc,checkResult,processStatus,appealDesc,appealTime,appealResult,remark,createUserId,createTime,updateUserId,updateTime,violationType)
(checkRecordId,staffId,staffName,workNum,deptId,deptName,attendanceGroupId,attendanceGroupName,attendanceDate,ruleId,ruleName,subMethod,subAddType,score,goOffTimeStr,errorTime,actualAttendTime,errorResult,checkPerson,checkTime,checkDesc,checkResult,processStatus,appealDesc,appealTime,appealResult,remark,createUserId,createTime,updateUserId,updateTime,violationType,reviewResult,reviewTime,reviewSource,reviewDevice,complainTitle,complainContent,complainRealName,contact,complainTime,complainSource,complainDevice,goworkCode,goworkDepts,matterlName,goworkTime,irregularType,happenTime,duration,alarmTime,snapPath,irregularOtherType,performType)
VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.checkRecordId},#{item.staffId},#{item.staffName},#{item.workNum},#{item.deptId},#{item.deptName},#{item.attendanceGroupId},#{item.attendanceGroupName},#{item.attendanceDate},#{item.ruleId},#{item.ruleName},#{item.subMethod},#{item.subAddType},#{item.score},#{item.goOffTimeStr},#{item.errorTime},#{item.actualAttendTime},#{item.errorResult},#{item.checkPerson},#{item.checkTime},#{item.checkDesc},#{item.checkResult},#{item.processStatus},#{item.appealDesc},#{item.appealTime},#{item.appealResult},#{item.remark},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime},#{item.violationType})
(#{item.checkRecordId},#{item.staffId},#{item.staffName},#{item.workNum},#{item.deptId},#{item.deptName},#{item.attendanceGroupId},#{item.attendanceGroupName},#{item.attendanceDate},#{item.ruleId},#{item.ruleName},#{item.subMethod},#{item.subAddType},#{item.score},#{item.goOffTimeStr},#{item.errorTime},#{item.actualAttendTime},#{item.errorResult},#{item.checkPerson},#{item.checkTime},#{item.checkDesc},#{item.checkResult},#{item.processStatus},#{item.appealDesc},#{item.appealTime},#{item.appealResult},#{item.remark},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime},#{item.violationType},#{item.reviewResult},#{item.reviewTime},#{item.reviewSource},#{item.reviewDevice},#{item.complainTitle},#{item.complainContent},#{item.complainRealName},#{item.contact},#{item.complainTime},#{item.complainSource},#{item.complainDevice},#{item.goworkCode},#{item.goworkDepts},#{item.matterlName},#{item.goworkTime},#{item.irregularType},#{item.happenTime},#{item.duration},#{item.alarmTime},#{item.snapPath},#{item.irregularOtherType},#{item.performType})
</foreach>
</insert>
......@@ -318,6 +406,84 @@
<if test="(colPickMode==0 and data.containsKey('violationType')) or (colPickMode==1 and !data.containsKey('violationType'))">
a.violationType=#{data.violationType},
</if>
<if test="(colPickMode==0 and data.containsKey('reviewResult')) or (colPickMode==1 and !data.containsKey('reviewResult'))">
a.reviewResult=#{data.reviewResult},
</if>
<if test="(colPickMode==0 and data.containsKey('reviewResultIncrement')) or (colPickMode==1 and !data.containsKey('reviewResultIncrement'))">
a.reviewResult=ifnull(a.reviewResult,0) + #{data.reviewResultIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('reviewTime')) or (colPickMode==1 and !data.containsKey('reviewTime'))">
a.reviewTime=#{data.reviewTime},
</if>
<if test="(colPickMode==0 and data.containsKey('reviewSource')) or (colPickMode==1 and !data.containsKey('reviewSource'))">
a.reviewSource=#{data.reviewSource},
</if>
<if test="(colPickMode==0 and data.containsKey('reviewDevice')) or (colPickMode==1 and !data.containsKey('reviewDevice'))">
a.reviewDevice=#{data.reviewDevice},
</if>
<if test="(colPickMode==0 and data.containsKey('complainTitle')) or (colPickMode==1 and !data.containsKey('complainTitle'))">
a.complainTitle=#{data.complainTitle},
</if>
<if test="(colPickMode==0 and data.containsKey('complainContent')) or (colPickMode==1 and !data.containsKey('complainContent'))">
a.complainContent=#{data.complainContent},
</if>
<if test="(colPickMode==0 and data.containsKey('complainRealName')) or (colPickMode==1 and !data.containsKey('complainRealName'))">
a.complainRealName=#{data.complainRealName},
</if>
<if test="(colPickMode==0 and data.containsKey('contact')) or (colPickMode==1 and !data.containsKey('contact'))">
a.contact=#{data.contact},
</if>
<if test="(colPickMode==0 and data.containsKey('complainTime')) or (colPickMode==1 and !data.containsKey('complainTime'))">
a.complainTime=#{data.complainTime},
</if>
<if test="(colPickMode==0 and data.containsKey('complainSource')) or (colPickMode==1 and !data.containsKey('complainSource'))">
a.complainSource=#{data.complainSource},
</if>
<if test="(colPickMode==0 and data.containsKey('complainDevice')) or (colPickMode==1 and !data.containsKey('complainDevice'))">
a.complainDevice=#{data.complainDevice},
</if>
<if test="(colPickMode==0 and data.containsKey('goworkCode')) or (colPickMode==1 and !data.containsKey('goworkCode'))">
a.goworkCode=#{data.goworkCode},
</if>
<if test="(colPickMode==0 and data.containsKey('goworkDepts')) or (colPickMode==1 and !data.containsKey('goworkDepts'))">
a.goworkDepts=#{data.goworkDepts},
</if>
<if test="(colPickMode==0 and data.containsKey('matterlName')) or (colPickMode==1 and !data.containsKey('matterlName'))">
a.matterlName=#{data.matterlName},
</if>
<if test="(colPickMode==0 and data.containsKey('goworkTime')) or (colPickMode==1 and !data.containsKey('goworkTime'))">
a.goworkTime=#{data.goworkTime},
</if>
<if test="(colPickMode==0 and data.containsKey('irregularType')) or (colPickMode==1 and !data.containsKey('irregularType'))">
a.irregularType=#{data.irregularType},
</if>
<if test="(colPickMode==0 and data.containsKey('irregularTypeIncrement')) or (colPickMode==1 and !data.containsKey('irregularTypeIncrement'))">
a.irregularType=ifnull(a.irregularType,0) + #{data.irregularTypeIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('happenTime')) or (colPickMode==1 and !data.containsKey('happenTime'))">
a.happenTime=#{data.happenTime},
</if>
<if test="(colPickMode==0 and data.containsKey('duration')) or (colPickMode==1 and !data.containsKey('duration'))">
a.duration=#{data.duration},
</if>
<if test="(colPickMode==0 and data.containsKey('durationIncrement')) or (colPickMode==1 and !data.containsKey('durationIncrement'))">
a.duration=ifnull(a.duration,0) + #{data.durationIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('alarmTime')) or (colPickMode==1 and !data.containsKey('alarmTime'))">
a.alarmTime=#{data.alarmTime},
</if>
<if test="(colPickMode==0 and data.containsKey('snapPath')) or (colPickMode==1 and !data.containsKey('snapPath'))">
a.snapPath=#{data.snapPath},
</if>
<if test="(colPickMode==0 and data.containsKey('irregularOtherType')) or (colPickMode==1 and !data.containsKey('irregularOtherType'))">
a.irregularOtherType=#{data.irregularOtherType},
</if>
<if test="(colPickMode==0 and data.containsKey('irregularOtherTypeIncrement')) or (colPickMode==1 and !data.containsKey('irregularOtherTypeIncrement'))">
a.irregularOtherType=ifnull(a.irregularOtherType,0) + #{data.irregularOtherTypeIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('performType')) or (colPickMode==1 and !data.containsKey('performType'))">
a.performType=#{data.performType},
</if>
</trim>
<trim suffixOverrides="where" suffix="">
where
......@@ -614,6 +780,180 @@
</if>
</foreach>
</trim>
<trim prefix="reviewResult=(case" suffix="ELSE reviewResult end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('reviewResult')) or (colPickMode==1 and !item.containsKey('reviewResult'))">
when a.id=#{item.id} then #{item.reviewResult}
</when>
<when test="(colPickMode==0 and item.containsKey('reviewResultIncrement')) or (colPickMode==1 and !item.containsKey('reviewResultIncrement'))">
when a.id=#{item.id} then ifnull(a.reviewResult,0) + #{item.reviewResultIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="reviewTime=(case" suffix="ELSE reviewTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('reviewTime')) or (colPickMode==1 and !item.containsKey('reviewTime'))">
when a.id=#{item.id} then #{item.reviewTime}
</if>
</foreach>
</trim>
<trim prefix="reviewSource=(case" suffix="ELSE reviewSource end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('reviewSource')) or (colPickMode==1 and !item.containsKey('reviewSource'))">
when a.id=#{item.id} then #{item.reviewSource}
</if>
</foreach>
</trim>
<trim prefix="reviewDevice=(case" suffix="ELSE reviewDevice end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('reviewDevice')) or (colPickMode==1 and !item.containsKey('reviewDevice'))">
when a.id=#{item.id} then #{item.reviewDevice}
</if>
</foreach>
</trim>
<trim prefix="complainTitle=(case" suffix="ELSE complainTitle end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('complainTitle')) or (colPickMode==1 and !item.containsKey('complainTitle'))">
when a.id=#{item.id} then #{item.complainTitle}
</if>
</foreach>
</trim>
<trim prefix="complainContent=(case" suffix="ELSE complainContent end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('complainContent')) or (colPickMode==1 and !item.containsKey('complainContent'))">
when a.id=#{item.id} then #{item.complainContent}
</if>
</foreach>
</trim>
<trim prefix="complainRealName=(case" suffix="ELSE complainRealName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('complainRealName')) or (colPickMode==1 and !item.containsKey('complainRealName'))">
when a.id=#{item.id} then #{item.complainRealName}
</if>
</foreach>
</trim>
<trim prefix="contact=(case" suffix="ELSE contact end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('contact')) or (colPickMode==1 and !item.containsKey('contact'))">
when a.id=#{item.id} then #{item.contact}
</if>
</foreach>
</trim>
<trim prefix="complainTime=(case" suffix="ELSE complainTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('complainTime')) or (colPickMode==1 and !item.containsKey('complainTime'))">
when a.id=#{item.id} then #{item.complainTime}
</if>
</foreach>
</trim>
<trim prefix="complainSource=(case" suffix="ELSE complainSource end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('complainSource')) or (colPickMode==1 and !item.containsKey('complainSource'))">
when a.id=#{item.id} then #{item.complainSource}
</if>
</foreach>
</trim>
<trim prefix="complainDevice=(case" suffix="ELSE complainDevice end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('complainDevice')) or (colPickMode==1 and !item.containsKey('complainDevice'))">
when a.id=#{item.id} then #{item.complainDevice}
</if>
</foreach>
</trim>
<trim prefix="goworkCode=(case" suffix="ELSE goworkCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('goworkCode')) or (colPickMode==1 and !item.containsKey('goworkCode'))">
when a.id=#{item.id} then #{item.goworkCode}
</if>
</foreach>
</trim>
<trim prefix="goworkDepts=(case" suffix="ELSE goworkDepts end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('goworkDepts')) or (colPickMode==1 and !item.containsKey('goworkDepts'))">
when a.id=#{item.id} then #{item.goworkDepts}
</if>
</foreach>
</trim>
<trim prefix="matterlName=(case" suffix="ELSE matterlName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('matterlName')) or (colPickMode==1 and !item.containsKey('matterlName'))">
when a.id=#{item.id} then #{item.matterlName}
</if>
</foreach>
</trim>
<trim prefix="goworkTime=(case" suffix="ELSE goworkTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('goworkTime')) or (colPickMode==1 and !item.containsKey('goworkTime'))">
when a.id=#{item.id} then #{item.goworkTime}
</if>
</foreach>
</trim>
<trim prefix="irregularType=(case" suffix="ELSE irregularType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('irregularType')) or (colPickMode==1 and !item.containsKey('irregularType'))">
when a.id=#{item.id} then #{item.irregularType}
</when>
<when test="(colPickMode==0 and item.containsKey('irregularTypeIncrement')) or (colPickMode==1 and !item.containsKey('irregularTypeIncrement'))">
when a.id=#{item.id} then ifnull(a.irregularType,0) + #{item.irregularTypeIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="happenTime=(case" suffix="ELSE happenTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('happenTime')) or (colPickMode==1 and !item.containsKey('happenTime'))">
when a.id=#{item.id} then #{item.happenTime}
</if>
</foreach>
</trim>
<trim prefix="duration=(case" suffix="ELSE duration end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('duration')) or (colPickMode==1 and !item.containsKey('duration'))">
when a.id=#{item.id} then #{item.duration}
</when>
<when test="(colPickMode==0 and item.containsKey('durationIncrement')) or (colPickMode==1 and !item.containsKey('durationIncrement'))">
when a.id=#{item.id} then ifnull(a.duration,0) + #{item.durationIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="alarmTime=(case" suffix="ELSE alarmTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('alarmTime')) or (colPickMode==1 and !item.containsKey('alarmTime'))">
when a.id=#{item.id} then #{item.alarmTime}
</if>
</foreach>
</trim>
<trim prefix="snapPath=(case" suffix="ELSE snapPath end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('snapPath')) or (colPickMode==1 and !item.containsKey('snapPath'))">
when a.id=#{item.id} then #{item.snapPath}
</if>
</foreach>
</trim>
<trim prefix="irregularOtherType=(case" suffix="ELSE irregularOtherType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('irregularOtherType')) or (colPickMode==1 and !item.containsKey('irregularOtherType'))">
when a.id=#{item.id} then #{item.irregularOtherType}
</when>
<when test="(colPickMode==0 and item.containsKey('irregularOtherTypeIncrement')) or (colPickMode==1 and !item.containsKey('irregularOtherTypeIncrement'))">
when a.id=#{item.id} then ifnull(a.irregularOtherType,0) + #{item.irregularOtherTypeIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="performType=(case" suffix="ELSE performType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('performType')) or (colPickMode==1 and !item.containsKey('performType'))">
when a.id=#{item.id} then #{item.performType}
</if>
</foreach>
</trim>
</trim>
where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
......@@ -1467,6 +1807,462 @@
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reviewResult')">
<if test="conditionParamRef.reviewResult != null ">
${_conditionType_} a.reviewResult = #{${_conditionParam_}.reviewResult}
</if>
<if test="conditionParamRef.reviewResult == null">
${_conditionType_} a.reviewResult is null
</if>
</if>
<if test="conditionParamRef.containsKey('reviewResultList') and conditionParamRef.reviewResultList.size() > 0">
${_conditionType_} a.reviewResult in
<foreach collection="conditionParamRef.reviewResultList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reviewResultNotList') and conditionParamRef.reviewResultNotList.size() > 0">
${_conditionType_} a.reviewResult not in
<foreach collection="conditionParamRef.reviewResultNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reviewResultStart') and conditionParamRef.reviewResultStart != null">
${_conditionType_} a.reviewResult <![CDATA[ >= ]]> #{${_conditionParam_}.reviewResultStart}
</if>
<if test="conditionParamRef.containsKey('reviewResultEnd') and conditionParamRef.reviewResultEnd != null">
${_conditionType_} a.reviewResult <![CDATA[ <= ]]> #{${_conditionParam_}.reviewResultEnd}
</if>
<if test="conditionParamRef.containsKey('reviewTime')">
<if test="conditionParamRef.reviewTime != null ">
${_conditionType_} a.reviewTime = #{${_conditionParam_}.reviewTime}
</if>
<if test="conditionParamRef.reviewTime == null">
${_conditionType_} a.reviewTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('reviewTimeStart') and conditionParamRef.reviewTimeStart != null and conditionParamRef.reviewTimeStart!=''">
${_conditionType_} a.reviewTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.reviewTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('reviewTimeEnd') and conditionParamRef.reviewTimeEnd != null and conditionParamRef.reviewTimeEnd!=''">
${_conditionType_} a.reviewTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.reviewTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('reviewSource')">
<if test="conditionParamRef.reviewSource != null and conditionParamRef.reviewSource != ''">
${_conditionType_} a.reviewSource like #{${_conditionParam_}.reviewSource}
</if>
<if test="conditionParamRef.reviewSource == null">
${_conditionType_} a.reviewSource is null
</if>
</if>
<if test="conditionParamRef.containsKey('reviewSourceList') and conditionParamRef.reviewSourceList.size() > 0">
${_conditionType_} a.reviewSource in
<foreach collection="conditionParamRef.reviewSourceList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reviewSourceNotList') and conditionParamRef.reviewSourceNotList.size() > 0">
${_conditionType_} a.reviewSource not in
<foreach collection="conditionParamRef.reviewSourceNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reviewDevice')">
<if test="conditionParamRef.reviewDevice != null and conditionParamRef.reviewDevice != ''">
${_conditionType_} a.reviewDevice like #{${_conditionParam_}.reviewDevice}
</if>
<if test="conditionParamRef.reviewDevice == null">
${_conditionType_} a.reviewDevice is null
</if>
</if>
<if test="conditionParamRef.containsKey('reviewDeviceList') and conditionParamRef.reviewDeviceList.size() > 0">
${_conditionType_} a.reviewDevice in
<foreach collection="conditionParamRef.reviewDeviceList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reviewDeviceNotList') and conditionParamRef.reviewDeviceNotList.size() > 0">
${_conditionType_} a.reviewDevice not in
<foreach collection="conditionParamRef.reviewDeviceNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainTitle')">
<if test="conditionParamRef.complainTitle != null and conditionParamRef.complainTitle != ''">
${_conditionType_} a.complainTitle like #{${_conditionParam_}.complainTitle}
</if>
<if test="conditionParamRef.complainTitle == null">
${_conditionType_} a.complainTitle is null
</if>
</if>
<if test="conditionParamRef.containsKey('complainTitleList') and conditionParamRef.complainTitleList.size() > 0">
${_conditionType_} a.complainTitle in
<foreach collection="conditionParamRef.complainTitleList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainTitleNotList') and conditionParamRef.complainTitleNotList.size() > 0">
${_conditionType_} a.complainTitle not in
<foreach collection="conditionParamRef.complainTitleNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainContent')">
<if test="conditionParamRef.complainContent != null and conditionParamRef.complainContent != ''">
${_conditionType_} a.complainContent like #{${_conditionParam_}.complainContent}
</if>
<if test="conditionParamRef.complainContent == null">
${_conditionType_} a.complainContent is null
</if>
</if>
<if test="conditionParamRef.containsKey('complainContentList') and conditionParamRef.complainContentList.size() > 0">
${_conditionType_} a.complainContent in
<foreach collection="conditionParamRef.complainContentList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainContentNotList') and conditionParamRef.complainContentNotList.size() > 0">
${_conditionType_} a.complainContent not in
<foreach collection="conditionParamRef.complainContentNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainRealName')">
<if test="conditionParamRef.complainRealName != null and conditionParamRef.complainRealName != ''">
${_conditionType_} a.complainRealName like #{${_conditionParam_}.complainRealName}
</if>
<if test="conditionParamRef.complainRealName == null">
${_conditionType_} a.complainRealName is null
</if>
</if>
<if test="conditionParamRef.containsKey('complainRealNameList') and conditionParamRef.complainRealNameList.size() > 0">
${_conditionType_} a.complainRealName in
<foreach collection="conditionParamRef.complainRealNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainRealNameNotList') and conditionParamRef.complainRealNameNotList.size() > 0">
${_conditionType_} a.complainRealName not in
<foreach collection="conditionParamRef.complainRealNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('contact')">
<if test="conditionParamRef.contact != null and conditionParamRef.contact != ''">
${_conditionType_} a.contact like #{${_conditionParam_}.contact}
</if>
<if test="conditionParamRef.contact == null">
${_conditionType_} a.contact is null
</if>
</if>
<if test="conditionParamRef.containsKey('contactList') and conditionParamRef.contactList.size() > 0">
${_conditionType_} a.contact in
<foreach collection="conditionParamRef.contactList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('contactNotList') and conditionParamRef.contactNotList.size() > 0">
${_conditionType_} a.contact not in
<foreach collection="conditionParamRef.contactNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainTime')">
<if test="conditionParamRef.complainTime != null ">
${_conditionType_} a.complainTime = #{${_conditionParam_}.complainTime}
</if>
<if test="conditionParamRef.complainTime == null">
${_conditionType_} a.complainTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('complainTimeStart') and conditionParamRef.complainTimeStart != null and conditionParamRef.complainTimeStart!=''">
${_conditionType_} a.complainTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.complainTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('complainTimeEnd') and conditionParamRef.complainTimeEnd != null and conditionParamRef.complainTimeEnd!=''">
${_conditionType_} a.complainTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.complainTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('complainSource')">
<if test="conditionParamRef.complainSource != null and conditionParamRef.complainSource != ''">
${_conditionType_} a.complainSource like #{${_conditionParam_}.complainSource}
</if>
<if test="conditionParamRef.complainSource == null">
${_conditionType_} a.complainSource is null
</if>
</if>
<if test="conditionParamRef.containsKey('complainSourceList') and conditionParamRef.complainSourceList.size() > 0">
${_conditionType_} a.complainSource in
<foreach collection="conditionParamRef.complainSourceList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainSourceNotList') and conditionParamRef.complainSourceNotList.size() > 0">
${_conditionType_} a.complainSource not in
<foreach collection="conditionParamRef.complainSourceNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainDevice')">
<if test="conditionParamRef.complainDevice != null and conditionParamRef.complainDevice != ''">
${_conditionType_} a.complainDevice like #{${_conditionParam_}.complainDevice}
</if>
<if test="conditionParamRef.complainDevice == null">
${_conditionType_} a.complainDevice is null
</if>
</if>
<if test="conditionParamRef.containsKey('complainDeviceList') and conditionParamRef.complainDeviceList.size() > 0">
${_conditionType_} a.complainDevice in
<foreach collection="conditionParamRef.complainDeviceList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainDeviceNotList') and conditionParamRef.complainDeviceNotList.size() > 0">
${_conditionType_} a.complainDevice not in
<foreach collection="conditionParamRef.complainDeviceNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('goworkCode')">
<if test="conditionParamRef.goworkCode != null and conditionParamRef.goworkCode != ''">
${_conditionType_} a.goworkCode like #{${_conditionParam_}.goworkCode}
</if>
<if test="conditionParamRef.goworkCode == null">
${_conditionType_} a.goworkCode is null
</if>
</if>
<if test="conditionParamRef.containsKey('goworkCodeList') and conditionParamRef.goworkCodeList.size() > 0">
${_conditionType_} a.goworkCode in
<foreach collection="conditionParamRef.goworkCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('goworkCodeNotList') and conditionParamRef.goworkCodeNotList.size() > 0">
${_conditionType_} a.goworkCode not in
<foreach collection="conditionParamRef.goworkCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('goworkDepts')">
<if test="conditionParamRef.goworkDepts != null and conditionParamRef.goworkDepts != ''">
${_conditionType_} a.goworkDepts like #{${_conditionParam_}.goworkDepts}
</if>
<if test="conditionParamRef.goworkDepts == null">
${_conditionType_} a.goworkDepts is null
</if>
</if>
<if test="conditionParamRef.containsKey('goworkDeptsList') and conditionParamRef.goworkDeptsList.size() > 0">
${_conditionType_} a.goworkDepts in
<foreach collection="conditionParamRef.goworkDeptsList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('goworkDeptsNotList') and conditionParamRef.goworkDeptsNotList.size() > 0">
${_conditionType_} a.goworkDepts not in
<foreach collection="conditionParamRef.goworkDeptsNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterlName')">
<if test="conditionParamRef.matterlName != null and conditionParamRef.matterlName != ''">
${_conditionType_} a.matterlName like #{${_conditionParam_}.matterlName}
</if>
<if test="conditionParamRef.matterlName == null">
${_conditionType_} a.matterlName is null
</if>
</if>
<if test="conditionParamRef.containsKey('matterlNameList') and conditionParamRef.matterlNameList.size() > 0">
${_conditionType_} a.matterlName in
<foreach collection="conditionParamRef.matterlNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterlNameNotList') and conditionParamRef.matterlNameNotList.size() > 0">
${_conditionType_} a.matterlName not in
<foreach collection="conditionParamRef.matterlNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('goworkTime')">
<if test="conditionParamRef.goworkTime != null ">
${_conditionType_} a.goworkTime = #{${_conditionParam_}.goworkTime}
</if>
<if test="conditionParamRef.goworkTime == null">
${_conditionType_} a.goworkTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('goworkTimeStart') and conditionParamRef.goworkTimeStart != null and conditionParamRef.goworkTimeStart!=''">
${_conditionType_} a.goworkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.goworkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('goworkTimeEnd') and conditionParamRef.goworkTimeEnd != null and conditionParamRef.goworkTimeEnd!=''">
${_conditionType_} a.goworkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.goworkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('irregularType')">
<if test="conditionParamRef.irregularType != null ">
${_conditionType_} a.irregularType = #{${_conditionParam_}.irregularType}
</if>
<if test="conditionParamRef.irregularType == null">
${_conditionType_} a.irregularType is null
</if>
</if>
<if test="conditionParamRef.containsKey('irregularTypeList') and conditionParamRef.irregularTypeList.size() > 0">
${_conditionType_} a.irregularType in
<foreach collection="conditionParamRef.irregularTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('irregularTypeNotList') and conditionParamRef.irregularTypeNotList.size() > 0">
${_conditionType_} a.irregularType not in
<foreach collection="conditionParamRef.irregularTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('irregularTypeStart') and conditionParamRef.irregularTypeStart != null">
${_conditionType_} a.irregularType <![CDATA[ >= ]]> #{${_conditionParam_}.irregularTypeStart}
</if>
<if test="conditionParamRef.containsKey('irregularTypeEnd') and conditionParamRef.irregularTypeEnd != null">
${_conditionType_} a.irregularType <![CDATA[ <= ]]> #{${_conditionParam_}.irregularTypeEnd}
</if>
<if test="conditionParamRef.containsKey('happenTime')">
<if test="conditionParamRef.happenTime != null ">
${_conditionType_} a.happenTime = #{${_conditionParam_}.happenTime}
</if>
<if test="conditionParamRef.happenTime == null">
${_conditionType_} a.happenTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('happenTimeStart') and conditionParamRef.happenTimeStart != null and conditionParamRef.happenTimeStart!=''">
${_conditionType_} a.happenTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.happenTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('happenTimeEnd') and conditionParamRef.happenTimeEnd != null and conditionParamRef.happenTimeEnd!=''">
${_conditionType_} a.happenTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.happenTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('duration')">
<if test="conditionParamRef.duration != null ">
${_conditionType_} a.duration = #{${_conditionParam_}.duration}
</if>
<if test="conditionParamRef.duration == null">
${_conditionType_} a.duration is null
</if>
</if>
<if test="conditionParamRef.containsKey('durationList') and conditionParamRef.durationList.size() > 0">
${_conditionType_} a.duration in
<foreach collection="conditionParamRef.durationList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('durationNotList') and conditionParamRef.durationNotList.size() > 0">
${_conditionType_} a.duration not in
<foreach collection="conditionParamRef.durationNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('durationStart') and conditionParamRef.durationStart != null">
${_conditionType_} a.duration <![CDATA[ >= ]]> #{${_conditionParam_}.durationStart}
</if>
<if test="conditionParamRef.containsKey('durationEnd') and conditionParamRef.durationEnd != null">
${_conditionType_} a.duration <![CDATA[ <= ]]> #{${_conditionParam_}.durationEnd}
</if>
<if test="conditionParamRef.containsKey('alarmTime')">
<if test="conditionParamRef.alarmTime != null ">
${_conditionType_} a.alarmTime = #{${_conditionParam_}.alarmTime}
</if>
<if test="conditionParamRef.alarmTime == null">
${_conditionType_} a.alarmTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('alarmTimeStart') and conditionParamRef.alarmTimeStart != null and conditionParamRef.alarmTimeStart!=''">
${_conditionType_} a.alarmTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.alarmTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('alarmTimeEnd') and conditionParamRef.alarmTimeEnd != null and conditionParamRef.alarmTimeEnd!=''">
${_conditionType_} a.alarmTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.alarmTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('snapPath')">
<if test="conditionParamRef.snapPath != null and conditionParamRef.snapPath != ''">
${_conditionType_} a.snapPath like #{${_conditionParam_}.snapPath}
</if>
<if test="conditionParamRef.snapPath == null">
${_conditionType_} a.snapPath is null
</if>
</if>
<if test="conditionParamRef.containsKey('snapPathList') and conditionParamRef.snapPathList.size() > 0">
${_conditionType_} a.snapPath in
<foreach collection="conditionParamRef.snapPathList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('snapPathNotList') and conditionParamRef.snapPathNotList.size() > 0">
${_conditionType_} a.snapPath not in
<foreach collection="conditionParamRef.snapPathNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('irregularOtherType')">
<if test="conditionParamRef.irregularOtherType != null ">
${_conditionType_} a.irregularOtherType = #{${_conditionParam_}.irregularOtherType}
</if>
<if test="conditionParamRef.irregularOtherType == null">
${_conditionType_} a.irregularOtherType is null
</if>
</if>
<if test="conditionParamRef.containsKey('irregularOtherTypeList') and conditionParamRef.irregularOtherTypeList.size() > 0">
${_conditionType_} a.irregularOtherType in
<foreach collection="conditionParamRef.irregularOtherTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('irregularOtherTypeNotList') and conditionParamRef.irregularOtherTypeNotList.size() > 0">
${_conditionType_} a.irregularOtherType not in
<foreach collection="conditionParamRef.irregularOtherTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('irregularOtherTypeStart') and conditionParamRef.irregularOtherTypeStart != null">
${_conditionType_} a.irregularOtherType <![CDATA[ >= ]]> #{${_conditionParam_}.irregularOtherTypeStart}
</if>
<if test="conditionParamRef.containsKey('irregularOtherTypeEnd') and conditionParamRef.irregularOtherTypeEnd != null">
${_conditionType_} a.irregularOtherType <![CDATA[ <= ]]> #{${_conditionParam_}.irregularOtherTypeEnd}
</if>
<if test="conditionParamRef.containsKey('performType')">
<if test="conditionParamRef.performType != null and conditionParamRef.performType != ''">
${_conditionType_} a.performType like #{${_conditionParam_}.performType}
</if>
<if test="conditionParamRef.performType == null">
${_conditionType_} a.performType is null
</if>
</if>
<if test="conditionParamRef.containsKey('performTypeList') and conditionParamRef.performTypeList.size() > 0">
${_conditionType_} a.performType in
<foreach collection="conditionParamRef.performTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('performTypeNotList') and conditionParamRef.performTypeNotList.size() > 0">
${_conditionType_} a.performType not in
<foreach collection="conditionParamRef.performTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
</sql>
<sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()">
......@@ -1645,6 +2441,116 @@
<if test='orderCol.violationType != null and "DESC".equalsIgnoreCase(orderCol.violationType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('reviewResult')">
a.reviewResult
<if test='orderCol.reviewResult != null and "DESC".equalsIgnoreCase(orderCol.reviewResult)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('reviewTime')">
a.reviewTime
<if test='orderCol.reviewTime != null and "DESC".equalsIgnoreCase(orderCol.reviewTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('reviewSource')">
a.reviewSource
<if test='orderCol.reviewSource != null and "DESC".equalsIgnoreCase(orderCol.reviewSource)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('reviewDevice')">
a.reviewDevice
<if test='orderCol.reviewDevice != null and "DESC".equalsIgnoreCase(orderCol.reviewDevice)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('complainTitle')">
a.complainTitle
<if test='orderCol.complainTitle != null and "DESC".equalsIgnoreCase(orderCol.complainTitle)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('complainContent')">
a.complainContent
<if test='orderCol.complainContent != null and "DESC".equalsIgnoreCase(orderCol.complainContent)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('complainRealName')">
a.complainRealName
<if test='orderCol.complainRealName != null and "DESC".equalsIgnoreCase(orderCol.complainRealName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('contact')">
a.contact
<if test='orderCol.contact != null and "DESC".equalsIgnoreCase(orderCol.contact)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('complainTime')">
a.complainTime
<if test='orderCol.complainTime != null and "DESC".equalsIgnoreCase(orderCol.complainTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('complainSource')">
a.complainSource
<if test='orderCol.complainSource != null and "DESC".equalsIgnoreCase(orderCol.complainSource)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('complainDevice')">
a.complainDevice
<if test='orderCol.complainDevice != null and "DESC".equalsIgnoreCase(orderCol.complainDevice)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('goworkCode')">
a.goworkCode
<if test='orderCol.goworkCode != null and "DESC".equalsIgnoreCase(orderCol.goworkCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('goworkDepts')">
a.goworkDepts
<if test='orderCol.goworkDepts != null and "DESC".equalsIgnoreCase(orderCol.goworkDepts)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('matterlName')">
a.matterlName
<if test='orderCol.matterlName != null and "DESC".equalsIgnoreCase(orderCol.matterlName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('goworkTime')">
a.goworkTime
<if test='orderCol.goworkTime != null and "DESC".equalsIgnoreCase(orderCol.goworkTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('irregularType')">
a.irregularType
<if test='orderCol.irregularType != null and "DESC".equalsIgnoreCase(orderCol.irregularType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('happenTime')">
a.happenTime
<if test='orderCol.happenTime != null and "DESC".equalsIgnoreCase(orderCol.happenTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('duration')">
a.duration
<if test='orderCol.duration != null and "DESC".equalsIgnoreCase(orderCol.duration)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('alarmTime')">
a.alarmTime
<if test='orderCol.alarmTime != null and "DESC".equalsIgnoreCase(orderCol.alarmTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('snapPath')">
a.snapPath
<if test='orderCol.snapPath != null and "DESC".equalsIgnoreCase(orderCol.snapPath)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('irregularOtherType')">
a.irregularOtherType
<if test='orderCol.irregularOtherType != null and "DESC".equalsIgnoreCase(orderCol.irregularOtherType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('performType')">
a.performType
<if test='orderCol.performType != null and "DESC".equalsIgnoreCase(orderCol.performType)'>DESC</if>
,
</if>
</trim>
</if>
</sql>
......
......@@ -29,34 +29,56 @@ Authorization: {{authToken}}
Content-Type: application/json
{
"checkRecordId":387,
"staffId":305,
"staffName":"78kg5e",
"workNum":"wy77ky",
"deptId":849,
"deptName":"ry3y3a",
"attendanceGroupId":7,
"attendanceGroupName":"s7n602",
"attendanceDate":"1688486400000",
"ruleId":418,
"ruleName":"y3gz3p",
"checkRecordId":702,
"staffId":566,
"staffName":"b7xpn0",
"workNum":"ymsc43",
"deptId":975,
"deptName":"x9lhxh",
"attendanceGroupId":352,
"attendanceGroupName":"ijhjyv",
"attendanceDate":"1689091200000",
"ruleId":714,
"ruleName":"k3nou3",
"subMethod":1,
"subAddType":1,
"score":0.00,
"goOffTimeStr":"rjf27a",
"errorTime":"1688486400000",
"actualAttendTime":"1688486400000",
"errorResult":"ysfu6y",
"checkPerson":"w4rf2x",
"checkTime":"1688486400000",
"checkDesc":"30plug",
"checkResult":"lu4x9b",
"goOffTimeStr":"3tpp9v",
"errorTime":"1689091200000",
"actualAttendTime":"1689091200000",
"errorResult":"e36tyi",
"checkPerson":"brd56v",
"checkTime":"1689091200000",
"checkDesc":"dxif0b",
"checkResult":"5wz0wh",
"processStatus":1,
"appealDesc":"cumgvt",
"appealTime":"1688486400000",
"appealDesc":"bhhaf6",
"appealTime":"1689091200000",
"appealResult":2,
"remark":"n4bgtv",
"violationType":"1t3xtd"
"remark":"owbk12",
"violationType":"7tb1sj",
"reviewResult":378,
"reviewTime":"1689091200000",
"reviewSource":"hvc7j5",
"reviewDevice":"rbmr61",
"complainTitle":"tirz94",
"complainContent":"wtjqma",
"complainRealName":"v9550o",
"contact":"9lzrer",
"complainTime":"1689091200000",
"complainSource":"r8xzzy",
"complainDevice":"odwoei",
"goworkCode":"ac7kwy",
"goworkDepts":"90jn57",
"matterlName":"9e1tph",
"goworkTime":"1689091200000",
"irregularType":767,
"happenTime":"1689091200000",
"duration":0,
"alarmTime":"1689091200000",
"snapPath":"7r7qk4",
"irregularOtherType":754,
"performType":"yqp4d7"
}
> {%
......
......@@ -420,3 +420,68 @@ ALTER TABLE mortals_xhx_staff_perform_stat ADD COLUMN `totalAddScore` decimal(10
ALTER TABLE mortals_xhx_staff_perform_stat ADD COLUMN `totalSubScore` decimal(10,2) DEFAULT 0.0 COMMENT '员工绩效减分总分数汇总' AFTER totalAddScore;
ALTER TABLE mortals_xhx_staff_perform_stat ADD COLUMN `complainScoreAdd` decimal(10,2) DEFAULT 0.0 COMMENT '员工绩效指标增加分数' AFTER totalSubScore;
ALTER TABLE mortals_xhx_staff_perform_stat ADD COLUMN `complainScoreSub` decimal(10,2) DEFAULT 0.0 COMMENT '员工绩效指标扣减分数' AFTER complainScoreAdd;
-- ----------------------------
-- 绩效记录申诉信息表
-- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_perform_attend_appeal`;
CREATE TABLE mortals_xhx_perform_attend_appeal(
`id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长',
`checkRecordId` bigint(20) COMMENT '核查记录Id',
`staffId` bigint(20) COMMENT '员工ID',
`staffName` varchar(64) NOT NULL COMMENT '员工姓名',
`workNum` varchar(128) COMMENT '工号',
`deptId` bigint(20) COMMENT '所属部门',
`deptName` varchar(128) COMMENT '所属部门名称',
`attendanceGroupId` bigint(20) COMMENT '所属考勤组ID',
`attendanceGroupName` varchar(128) COMMENT '所属考勤组名称',
`attendanceDate` datetime COMMENT '扣分时间',
`ruleId` bigint(20) COMMENT '绩效规则id',
`ruleName` varchar(128) COMMENT '规则名称',
`subMethod` tinyint(1) DEFAULT '1' COMMENT '扣分方式(1.系统自动,2.人工添加,3.大厅巡查)',
`subAddType` tinyint(1) DEFAULT '1' COMMENT '增减类型(1.增加,2.扣除)',
`score` decimal(10,2) DEFAULT '0.00' COMMENT '扣分或增加分值',
`goOffTimeStr` varchar(128) COMMENT '上下班时间',
`errorTime` datetime COMMENT '异常时间',
`actualAttendTime` datetime COMMENT '实际打卡时间',
`errorResult` varchar(128) COMMENT '异常处理结果',
`checkPerson` varchar(128) COMMENT '核查人员',
`checkTime` datetime COMMENT '核查时间',
`checkDesc` varchar(512) COMMENT '核查说明',
`checkResult` varchar(128) COMMENT '核查结果',
`processStatus` tinyint(1) DEFAULT '1' COMMENT '处理状态(1.未处理,2.已处理)',
`appealDesc` varchar(128) COMMENT '申诉说明',
`appealTime` datetime COMMENT '申诉时间',
`appealResult` tinyint(1) DEFAULT '2' COMMENT '申诉结果(1.通过,2.不通过)',
`remark` varchar(512) COMMENT '说明',
`violationType` varchar(64) COMMENT '违规类型,',
`reviewResult` tinyint(1) COMMENT '评价结果(1.非常不满意,2.差评)',
`reviewTime` datetime COMMENT '评价时间',
`reviewSource` varchar(64) COMMENT '评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)',
`reviewDevice` varchar(128) COMMENT '评价设备',
`complainTitle` varchar(128) COMMENT '投诉标题',
`complainContent` varchar(512) COMMENT '投诉内容',
`complainRealName` varchar(128) COMMENT '投诉人真实姓名',
`contact` varchar(128) COMMENT '联系电话',
`complainTime` datetime COMMENT '投诉时间',
`complainSource` varchar(128) COMMENT '投诉来源',
`complainDevice` varchar(128) COMMENT '投诉设备',
`goworkCode` varchar(128) COMMENT '办件编码',
`goworkDepts` varchar(512) COMMENT '办件所属部门',
`matterlName` varchar(256) COMMENT '事项名称',
`goworkTime` datetime COMMENT '办理时间',
`irregularType` tinyint(1) COMMENT '违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)',
`happenTime` datetime COMMENT '发生时间',
`duration` int(9) DEFAULT '0' COMMENT '持续时间,秒',
`alarmTime` datetime COMMENT '报警时间',
`snapPath` varchar(255) COMMENT '图片凭证地址',
`irregularOtherType` tinyint(1) COMMENT '违规类型(1.工作纪律)',
`performType` varchar(64) COMMENT '绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】',
`createUserId` bigint(20) NOT NULL COMMENT '创建用户',
`createTime` datetime NOT NULL COMMENT '创建时间',
`updateUserId` bigint(20) COMMENT '更新用户',
`updateTime` datetime COMMENT '更新时间',
PRIMARY KEY (`id`)
) 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