Commit 7932169f authored by 周亚武's avatar 周亚武

Merge remote-tracking branch 'origin/master'

parents e0f251f0 bd406c3f
package com.mortals.xhx.busiz.req; package com.mortals.xhx.busiz.req;
import com.mortals.framework.annotation.Excel;
import com.mortals.xhx.busiz.BaseReq; import com.mortals.xhx.busiz.BaseReq;
import com.mortals.xhx.module.perform.model.PerformAttendAppealFilesEntity;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.List;
@Data @Data
...@@ -29,7 +33,22 @@ public class AppealReq extends BaseReq { ...@@ -29,7 +33,22 @@ public class AppealReq extends BaseReq {
*/ */
private Long staffId; private Long staffId;
/**
* 核查记录id
*/
private Long 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; ...@@ -10,14 +10,11 @@ import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context; import com.mortals.framework.model.Context;
import com.mortals.framework.model.PageInfo; import com.mortals.framework.model.PageInfo;
import com.mortals.framework.model.Result; 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.AppealReq;
import com.mortals.xhx.busiz.req.PerformReq; import com.mortals.xhx.busiz.req.PerformReq;
import com.mortals.xhx.busiz.rsp.AppealStatInfo; 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.PerformTypeEnum;
import com.mortals.xhx.common.code.ProcessStatusEnum;
import com.mortals.xhx.common.utils.BeanUtil; import com.mortals.xhx.common.utils.BeanUtil;
import com.mortals.xhx.module.check.model.*; import com.mortals.xhx.module.check.model.*;
import com.mortals.xhx.module.check.service.*; import com.mortals.xhx.module.check.service.*;
...@@ -25,7 +22,6 @@ import com.mortals.xhx.module.perform.model.PerformAttendAppealEntity; ...@@ -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.model.PerformAttendAppealQuery;
import com.mortals.xhx.module.perform.service.PerformAttendAppealService; import com.mortals.xhx.module.perform.service.PerformAttendAppealService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
...@@ -36,9 +32,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -36,9 +32,7 @@ import org.springframework.web.bind.annotation.RestController;
import java.util.Date; import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors;
import static com.mortals.framework.ap.SysConstains.*; import static com.mortals.framework.ap.SysConstains.*;
import static com.mortals.xhx.common.key.ErrorCode.ERROR_TOKEN_EXPIRED; 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; ...@@ -56,7 +50,22 @@ import static com.mortals.xhx.common.key.ErrorCode.ERROR_TOKEN_EXPIRED_CONTENT;
public class AppealApiController extends AbstractBaseController<PerformReq> { public class AppealApiController extends AbstractBaseController<PerformReq> {
@Autowired @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> { ...@@ -112,7 +121,7 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
query.setAppealTimeEnd(appealReq.getAppealEndDate()); query.setAppealTimeEnd(appealReq.getAppealEndDate());
query.setStaffId(context.getUser().getCustomerId()); 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(KEY_RESULT_DATA, result.getList());
model.put(PAGEINFO_KEY, result.getPageInfo()); model.put(PAGEINFO_KEY, result.getPageInfo());
parsePageInfo(model, result.getPageInfo()); parsePageInfo(model, result.getPageInfo());
...@@ -139,7 +148,7 @@ public class AppealApiController extends AbstractBaseController<PerformReq> { ...@@ -139,7 +148,7 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
if (ObjectUtils.isEmpty(appealReq.getId())) { if (ObjectUtils.isEmpty(appealReq.getId())) {
throw new AppException("详细查询id不能为空!"); throw new AppException("详细查询id不能为空!");
} }
PerformAttendAppealEntity performAttendAppealEntity = attendAppealService.get(appealReq.getId(), context); PerformAttendAppealEntity performAttendAppealEntity = appealService.get(appealReq.getId(), context);
rest.setData(performAttendAppealEntity); rest.setData(performAttendAppealEntity);
recordSysLog(request, busiDesc + " 【成功】"); recordSysLog(request, busiDesc + " 【成功】");
...@@ -155,21 +164,53 @@ public class AppealApiController extends AbstractBaseController<PerformReq> { ...@@ -155,21 +164,53 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
* 申诉新增 * 申诉新增
*/ */
@PostMapping(value = "save") @PostMapping(value = "save")
public Rest<PerformAttendAppealEntity> appealSave(@RequestBody PerformAttendAppealEntity appealEntity) { public Rest<PerformAttendAppealEntity> appealSave(@RequestBody AppealReq req) {
String busiDesc = "个人申诉新增"; String busiDesc = "个人申诉新增";
log.info("【{}】【请求体】--> {}", busiDesc, JSONObject.toJSONString(appealEntity)); log.info("【{}】【请求体】--> {}", busiDesc, JSONObject.toJSONString(req));
Rest<PerformAttendAppealEntity> rest = Rest.ok(busiDesc + " 【成功】"); Rest<PerformAttendAppealEntity> rest = Rest.ok(busiDesc + " 【成功】");
Context context = this.getContext(); Context context = this.getContext();
try { 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); rest.setData(saveEntity);
recordSysLog(request, busiDesc + " 【成功】"); recordSysLog(request, busiDesc + " 【成功】");
} catch (Exception e) { } catch (Exception e) {
log.error(busiDesc, e); log.error(busiDesc, e);
rest = Rest.fail(super.convertException(e)); rest = Rest.fail(super.convertException(e));
} }
log.info("【{}】【响应体】--> {}", busiDesc, JSONObject.toJSONString(appealEntity)); log.info("【{}】【响应体】--> {}", busiDesc, JSONObject.toJSONString(req));
return rest; return rest;
} }
......
...@@ -8,11 +8,10 @@ import java.util.Map; ...@@ -8,11 +8,10 @@ import java.util.Map;
*/ */
public enum CheckTypeEnum { public enum CheckTypeEnum {
考勤绩效(1, "考勤绩效"), 考勤绩效(1, "考勤绩效"),
效能绩效(2, "效能绩效"), 评价绩效(2, "评价绩效"),
评价绩效(3, "评价绩效"), 办件绩效(3, "办件绩效"),
办件绩效(4, "办件绩效"), 效能绩效(4, "效能绩效"),
差评绩效(5, "差评绩效"), 其它绩效(5, "其它绩效"),
其它绩效(6, "其它绩效"),
; ;
private Integer value; private Integer value;
private String desc; private String desc;
......
...@@ -4,13 +4,13 @@ import java.util.LinkedHashMap; ...@@ -4,13 +4,13 @@ import java.util.LinkedHashMap;
import java.util.Map; import java.util.Map;
/** /**
* 处理状态(1.未核查,2.已核查)枚举类 * 处理状态(1.未处理,2.已处理)枚举类
* *
* @author zxfei * @author zxfei
*/ */
public enum ProcessStatusEnum { public enum ProcessStatusEnum {
核查(1, "未核查"), 处理(1, "未处理"),
核查(2, "已核查"); 处理(2, "已处理");
private Integer value; private Integer value;
private String desc; private String desc;
......
...@@ -4,13 +4,14 @@ import java.util.LinkedHashMap; ...@@ -4,13 +4,14 @@ import java.util.LinkedHashMap;
import java.util.Map; import java.util.Map;
/** /**
* 扣分方式(1.系统自动,2.人工添加)枚举类 * 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)枚举类
* *
* @author zxfei * @author zxfei
*/ */
public enum SubMethodEnum { public enum SubMethodEnum {
系统自动(1, "系统自动"), 系统自动(1, "系统自动"),
人工添加(2, "人工添加"); 人工添加(2, "人工添加"),
大厅巡查(3, "大厅巡查");
private Integer value; private Integer value;
private String desc; private String desc;
......
...@@ -133,7 +133,7 @@ public class CheckAttendRecordEntity extends CheckAttendRecordVo { ...@@ -133,7 +133,7 @@ public class CheckAttendRecordEntity extends CheckAttendRecordVo {
*/ */
private Long categoryId; private Long categoryId;
/** /**
* 规则名称 * 规则分类名称
*/ */
private String categoryName; private String categoryName;
@Override @Override
......
...@@ -8,7 +8,7 @@ import java.util.List; ...@@ -8,7 +8,7 @@ import java.util.List;
* 绩效记录申诉信息 DAO接口 * 绩效记录申诉信息 DAO接口
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
public interface PerformAttendAppealDao extends ICRUDDao<PerformAttendAppealEntity,Long>{ public interface PerformAttendAppealDao extends ICRUDDao<PerformAttendAppealEntity,Long>{
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
* 绩效记录申诉信息DaoImpl DAO接口 * 绩效记录申诉信息DaoImpl DAO接口
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
@Repository("performAttendAppealDao") @Repository("performAttendAppealDao")
public class PerformAttendAppealDaoImpl extends BaseCRUDDaoMybatis<PerformAttendAppealEntity,Long> implements PerformAttendAppealDao { public class PerformAttendAppealDaoImpl extends BaseCRUDDaoMybatis<PerformAttendAppealEntity,Long> implements PerformAttendAppealDao {
......
...@@ -14,7 +14,7 @@ import lombok.Data; ...@@ -14,7 +14,7 @@ import lombok.Data;
* 绩效记录申诉信息实体对象 * 绩效记录申诉信息实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
@Data @Data
public class PerformAttendAppealEntity extends PerformAttendAppealVo { public class PerformAttendAppealEntity extends PerformAttendAppealVo {
...@@ -134,10 +134,108 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo { ...@@ -134,10 +134,108 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo {
@Excel(name = "说明") @Excel(name = "说明")
private String remark; private String remark;
/** /**
* 违规类型 * 违规类型
*/ */
private String violationType; 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<>();; private List<PerformAttendAppealFilesEntity> performAttendAppealFilesList=new ArrayList<>();;
...@@ -221,5 +319,49 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo { ...@@ -221,5 +319,49 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo {
this.remark = ""; this.remark = "";
this.violationType = ""; 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; ...@@ -9,7 +9,7 @@ import com.mortals.xhx.module.perform.model.PerformAttendAppealEntity;
* 绩效记录申诉信息查询对象 * 绩效记录申诉信息查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
public class PerformAttendAppealQuery extends PerformAttendAppealEntity { public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
/** 开始 序号,主键,自增长 */ /** 开始 序号,主键,自增长 */
...@@ -309,11 +309,166 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -309,11 +309,166 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
/** 结束 更新时间 */ /** 结束 更新时间 */
private String updateTimeEnd; private String updateTimeEnd;
/** 违规类型 */ /** 违规类型 */
private List<String> violationTypeList; private List<String> violationTypeList;
/** 违规类型排除列表 */ /** 违规类型排除列表 */
private List <String> violationTypeNotList; 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) */ /** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<PerformAttendAppealQuery> orConditionList; private List<PerformAttendAppealQuery> orConditionList;
...@@ -1984,7 +2139,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -1984,7 +2139,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
} }
/** /**
* 获取 违规类型 * 获取 违规类型
* @return violationTypeList * @return violationTypeList
*/ */
public List<String> getViolationTypeList(){ public List<String> getViolationTypeList(){
...@@ -1992,7 +2147,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -1992,7 +2147,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
} }
/** /**
* 设置 违规类型 * 设置 违规类型
* @param violationTypeList * @param violationTypeList
*/ */
public void setViolationTypeList(List<String> violationTypeList){ public void setViolationTypeList(List<String> violationTypeList){
...@@ -2000,7 +2155,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -2000,7 +2155,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
} }
/** /**
* 获取 违规类型 * 获取 违规类型
* @return violationTypeNotList * @return violationTypeNotList
*/ */
public List<String> getViolationTypeNotList(){ public List<String> getViolationTypeNotList(){
...@@ -2008,7 +2163,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -2008,7 +2163,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
} }
/** /**
* 设置 违规类型 * 设置 违规类型
* @param violationTypeNotList * @param violationTypeNotList
*/ */
public void setViolationTypeNotList(List<String> violationTypeNotList){ public void setViolationTypeNotList(List<String> violationTypeNotList){
...@@ -2016,382 +2171,1282 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -2016,382 +2171,1282 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
} }
/** /**
* 设置 序号,主键,自增长 * 获取 开始 评价结果(1.非常不满意,2.差评)
* @param id * @return reviewResultStart
*/ */
public PerformAttendAppealQuery id(Long id){ public Integer getReviewResultStart(){
setId(id); return this.reviewResultStart;
return this;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 评价结果(1.非常不满意,2.差评)
* @param idStart * @param reviewResultStart
*/ */
public PerformAttendAppealQuery idStart(Long idStart){ public void setReviewResultStart(Integer reviewResultStart){
this.idStart = idStart; this.reviewResultStart = reviewResultStart;
return this;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 获取 结束 评价结果(1.非常不满意,2.差评)
* @param idEnd * @return $reviewResultEnd
*/ */
public PerformAttendAppealQuery idEnd(Long idEnd){ public Integer getReviewResultEnd(){
this.idEnd = idEnd; return this.reviewResultEnd;
return this;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 结束 评价结果(1.非常不满意,2.差评)
* @param idIncrement * @param reviewResultEnd
*/ */
public PerformAttendAppealQuery idIncrement(Long idIncrement){ public void setReviewResultEnd(Integer reviewResultEnd){
this.idIncrement = idIncrement; this.reviewResultEnd = reviewResultEnd;
return this;
} }
/** /**
* 设置 序号,主键,自增长 * 获取 增加 评价结果(1.非常不满意,2.差评)
* @param idList * @return reviewResultIncrement
*/ */
public PerformAttendAppealQuery idList(List<Long> idList){ public Integer getReviewResultIncrement(){
this.idList = idList; return this.reviewResultIncrement;
return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 增加 评价结果(1.非常不满意,2.差评)
* @param idNotList * @param reviewResultIncrement
*/ */
public PerformAttendAppealQuery idNotList(List<Long> idNotList){ public void setReviewResultIncrement(Integer reviewResultIncrement){
this.idNotList = idNotList; this.reviewResultIncrement = reviewResultIncrement;
return this;
} }
/** /**
* 设置 核查记录Id * 获取 评价结果(1.非常不满意,2.差评)
* @param checkRecordId * @return reviewResultList
*/ */
public PerformAttendAppealQuery checkRecordId(Long checkRecordId){ public List<Integer> getReviewResultList(){
setCheckRecordId(checkRecordId); return this.reviewResultList;
return this;
} }
/** /**
* 设置 开始 核查记录Id * 设置 评价结果(1.非常不满意,2.差评)
* @param checkRecordIdStart * @param reviewResultList
*/ */
public PerformAttendAppealQuery checkRecordIdStart(Long checkRecordIdStart){ public void setReviewResultList(List<Integer> reviewResultList){
this.checkRecordIdStart = checkRecordIdStart; this.reviewResultList = reviewResultList;
return this;
} }
/** /**
* 设置 结束 核查记录Id * 获取 评价结果(1.非常不满意,2.差评)
* @param checkRecordIdEnd * @return reviewResultNotList
*/ */
public PerformAttendAppealQuery checkRecordIdEnd(Long checkRecordIdEnd){ public List<Integer> getReviewResultNotList(){
this.checkRecordIdEnd = checkRecordIdEnd; return this.reviewResultNotList;
return this;
} }
/** /**
* 设置 增加 核查记录Id * 设置 评价结果(1.非常不满意,2.差评)
* @param checkRecordIdIncrement * @param reviewResultNotList
*/ */
public PerformAttendAppealQuery checkRecordIdIncrement(Long checkRecordIdIncrement){ public void setReviewResultNotList(List<Integer> reviewResultNotList){
this.checkRecordIdIncrement = checkRecordIdIncrement; this.reviewResultNotList = reviewResultNotList;
return this;
} }
/** /**
* 设置 核查记录Id * 获取 开始 评价时间
* @param checkRecordIdList * @return reviewTimeStart
*/ */
public PerformAttendAppealQuery checkRecordIdList(List<Long> checkRecordIdList){ public String getReviewTimeStart(){
this.checkRecordIdList = checkRecordIdList; return this.reviewTimeStart;
return this;
} }
/** /**
* 设置 核查记录Id * 设置 开始 评价时间
* @param checkRecordIdNotList * @param reviewTimeStart
*/ */
public PerformAttendAppealQuery checkRecordIdNotList(List<Long> checkRecordIdNotList){ public void setReviewTimeStart(String reviewTimeStart){
this.checkRecordIdNotList = checkRecordIdNotList; this.reviewTimeStart = reviewTimeStart;
return this;
} }
/** /**
* 设置 员工ID * 获取 结束 评价时间
* @param staffId * @return reviewTimeEnd
*/ */
public PerformAttendAppealQuery staffId(Long staffId){ public String getReviewTimeEnd(){
setStaffId(staffId); return this.reviewTimeEnd;
return this;
} }
/** /**
* 设置 开始 员工ID * 设置 结束 评价时间
* @param staffIdStart * @param reviewTimeEnd
*/ */
public PerformAttendAppealQuery staffIdStart(Long staffIdStart){ public void setReviewTimeEnd(String reviewTimeEnd){
this.staffIdStart = staffIdStart; this.reviewTimeEnd = reviewTimeEnd;
return this;
} }
/** /**
* 设置 结束 员工ID * 获取 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param staffIdEnd * @return reviewSourceList
*/ */
public PerformAttendAppealQuery staffIdEnd(Long staffIdEnd){ public List<String> getReviewSourceList(){
this.staffIdEnd = staffIdEnd; return this.reviewSourceList;
return this;
} }
/** /**
* 设置 增加 员工ID * 设置 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param staffIdIncrement * @param reviewSourceList
*/ */
public PerformAttendAppealQuery staffIdIncrement(Long staffIdIncrement){ public void setReviewSourceList(List<String> reviewSourceList){
this.staffIdIncrement = staffIdIncrement; this.reviewSourceList = reviewSourceList;
return this;
} }
/** /**
* 设置 员工ID * 获取 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param staffIdList * @return reviewSourceNotList
*/ */
public PerformAttendAppealQuery staffIdList(List<Long> staffIdList){ public List<String> getReviewSourceNotList(){
this.staffIdList = staffIdList; return this.reviewSourceNotList;
return this;
} }
/** /**
* 设置 员工ID * 设置 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param staffIdNotList * @param reviewSourceNotList
*/ */
public PerformAttendAppealQuery staffIdNotList(List<Long> staffIdNotList){ public void setReviewSourceNotList(List<String> reviewSourceNotList){
this.staffIdNotList = staffIdNotList; this.reviewSourceNotList = reviewSourceNotList;
return this;
} }
/** /**
* 设置 员工姓名 * 获取 评价设备
* @param staffName * @return reviewDeviceList
*/ */
public PerformAttendAppealQuery staffName(String staffName){ public List<String> getReviewDeviceList(){
setStaffName(staffName); return this.reviewDeviceList;
return this;
} }
/** /**
* 设置 员工姓名 * 设置 评价设备
* @param staffNameList * @param reviewDeviceList
*/ */
public PerformAttendAppealQuery staffNameList(List<String> staffNameList){ public void setReviewDeviceList(List<String> reviewDeviceList){
this.staffNameList = staffNameList; this.reviewDeviceList = reviewDeviceList;
return this;
} }
/** /**
* 设置 工号 * 获取 评价设备
* @param workNum * @return reviewDeviceNotList
*/ */
public PerformAttendAppealQuery workNum(String workNum){ public List<String> getReviewDeviceNotList(){
setWorkNum(workNum); return this.reviewDeviceNotList;
return this;
} }
/** /**
* 设置 工号 * 设置 评价设备
* @param workNumList * @param reviewDeviceNotList
*/ */
public PerformAttendAppealQuery workNumList(List<String> workNumList){ public void setReviewDeviceNotList(List<String> reviewDeviceNotList){
this.workNumList = workNumList; this.reviewDeviceNotList = reviewDeviceNotList;
return this;
} }
/** /**
* 设置 所属部门 * 获取 投诉标题
* @param deptId * @return complainTitleList
*/ */
public PerformAttendAppealQuery deptId(Long deptId){ public List<String> getComplainTitleList(){
setDeptId(deptId); return this.complainTitleList;
return this;
} }
/** /**
* 设置 开始 所属部门 * 设置 投诉标题
* @param deptIdStart * @param complainTitleList
*/ */
public PerformAttendAppealQuery deptIdStart(Long deptIdStart){ public void setComplainTitleList(List<String> complainTitleList){
this.deptIdStart = deptIdStart; this.complainTitleList = complainTitleList;
return this;
} }
/** /**
* 设置 结束 所属部门 * 获取 投诉标题
* @param deptIdEnd * @return complainTitleNotList
*/ */
public PerformAttendAppealQuery deptIdEnd(Long deptIdEnd){ public List<String> getComplainTitleNotList(){
this.deptIdEnd = deptIdEnd; return this.complainTitleNotList;
return this;
} }
/** /**
* 设置 增加 所属部门 * 设置 投诉标题
* @param deptIdIncrement * @param complainTitleNotList
*/ */
public PerformAttendAppealQuery deptIdIncrement(Long deptIdIncrement){ public void setComplainTitleNotList(List<String> complainTitleNotList){
this.deptIdIncrement = deptIdIncrement; this.complainTitleNotList = complainTitleNotList;
return this;
} }
/** /**
* 设置 所属部门 * 获取 投诉内容
* @param deptIdList * @return complainContentList
*/ */
public PerformAttendAppealQuery deptIdList(List<Long> deptIdList){ public List<String> getComplainContentList(){
this.deptIdList = deptIdList; return this.complainContentList;
return this;
} }
/** /**
* 设置 所属部门 * 设置 投诉内容
* @param deptIdNotList * @param complainContentList
*/ */
public PerformAttendAppealQuery deptIdNotList(List<Long> deptIdNotList){ public void setComplainContentList(List<String> complainContentList){
this.deptIdNotList = deptIdNotList; this.complainContentList = complainContentList;
return this;
} }
/** /**
* 设置 所属部门名称 * 获取 投诉内容
* @param deptName * @return complainContentNotList
*/ */
public PerformAttendAppealQuery deptName(String deptName){ public List<String> getComplainContentNotList(){
setDeptName(deptName); return this.complainContentNotList;
return this;
} }
/** /**
* 设置 所属部门名称 * 设置 投诉内容
* @param deptNameList * @param complainContentNotList
*/ */
public PerformAttendAppealQuery deptNameList(List<String> deptNameList){ public void setComplainContentNotList(List<String> complainContentNotList){
this.deptNameList = deptNameList; this.complainContentNotList = complainContentNotList;
return this;
} }
/** /**
* 设置 所属考勤组ID * 获取 投诉人真实姓名
* @param attendanceGroupId * @return complainRealNameList
*/ */
public PerformAttendAppealQuery attendanceGroupId(Long attendanceGroupId){ public List<String> getComplainRealNameList(){
setAttendanceGroupId(attendanceGroupId); return this.complainRealNameList;
return this;
} }
/** /**
* 设置 开始 所属考勤组ID * 设置 投诉人真实姓名
* @param attendanceGroupIdStart * @param complainRealNameList
*/ */
public PerformAttendAppealQuery attendanceGroupIdStart(Long attendanceGroupIdStart){ public void setComplainRealNameList(List<String> complainRealNameList){
this.attendanceGroupIdStart = attendanceGroupIdStart; this.complainRealNameList = complainRealNameList;
return this;
} }
/** /**
* 设置 结束 所属考勤组ID * 获取 投诉人真实姓名
* @param attendanceGroupIdEnd * @return complainRealNameNotList
*/ */
public PerformAttendAppealQuery attendanceGroupIdEnd(Long attendanceGroupIdEnd){ public List<String> getComplainRealNameNotList(){
this.attendanceGroupIdEnd = attendanceGroupIdEnd; return this.complainRealNameNotList;
return this;
} }
/** /**
* 设置 增加 所属考勤组ID * 设置 投诉人真实姓名
* @param attendanceGroupIdIncrement * @param complainRealNameNotList
*/ */
public PerformAttendAppealQuery attendanceGroupIdIncrement(Long attendanceGroupIdIncrement){ public void setComplainRealNameNotList(List<String> complainRealNameNotList){
this.attendanceGroupIdIncrement = attendanceGroupIdIncrement; this.complainRealNameNotList = complainRealNameNotList;
return this;
} }
/** /**
* 设置 所属考勤组ID * 获取 联系电话
* @param attendanceGroupIdList * @return contactList
*/ */
public PerformAttendAppealQuery attendanceGroupIdList(List<Long> attendanceGroupIdList){ public List<String> getContactList(){
this.attendanceGroupIdList = attendanceGroupIdList; return this.contactList;
return this;
} }
/** /**
* 设置 所属考勤组ID * 设置 联系电话
* @param attendanceGroupIdNotList * @param contactList
*/ */
public PerformAttendAppealQuery attendanceGroupIdNotList(List<Long> attendanceGroupIdNotList){ public void setContactList(List<String> contactList){
this.attendanceGroupIdNotList = attendanceGroupIdNotList; this.contactList = contactList;
return this;
} }
/** /**
* 设置 所属考勤组名称 * 获取 联系电话
* @param attendanceGroupName * @return contactNotList
*/ */
public PerformAttendAppealQuery attendanceGroupName(String attendanceGroupName){ public List<String> getContactNotList(){
setAttendanceGroupName(attendanceGroupName); return this.contactNotList;
return this;
} }
/** /**
* 设置 所属考勤组名称 * 设置 联系电话
* @param attendanceGroupNameList * @param contactNotList
*/ */
public PerformAttendAppealQuery attendanceGroupNameList(List<String> attendanceGroupNameList){ public void setContactNotList(List<String> contactNotList){
this.attendanceGroupNameList = attendanceGroupNameList; this.contactNotList = contactNotList;
return this;
} }
/** /**
* 设置 绩效规则id * 获取 开始 投诉时间
* @param ruleId * @return complainTimeStart
*/ */
public PerformAttendAppealQuery ruleId(Long ruleId){ public String getComplainTimeStart(){
setRuleId(ruleId); return this.complainTimeStart;
return this;
} }
/** /**
* 设置 开始 绩效规则id * 设置 开始 投诉时间
* @param ruleIdStart * @param complainTimeStart
*/ */
public PerformAttendAppealQuery ruleIdStart(Long ruleIdStart){ public void setComplainTimeStart(String complainTimeStart){
this.ruleIdStart = ruleIdStart; this.complainTimeStart = complainTimeStart;
return this;
} }
/** /**
* 设置 结束 绩效规则id * 获取 结束 投诉时间
* @param ruleIdEnd * @return complainTimeEnd
*/ */
public PerformAttendAppealQuery ruleIdEnd(Long ruleIdEnd){ public String getComplainTimeEnd(){
this.ruleIdEnd = ruleIdEnd; return this.complainTimeEnd;
return this;
} }
/** /**
* 设置 增加 绩效规则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){ public PerformAttendAppealQuery ruleIdIncrement(Long ruleIdIncrement){
this.ruleIdIncrement = ruleIdIncrement; this.ruleIdIncrement = ruleIdIncrement;
...@@ -2399,575 +3454,1043 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -2399,575 +3454,1043 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
} }
/** /**
* 设置 绩效规则id * 设置 绩效规则id
* @param ruleIdList * @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){ public PerformAttendAppealQuery checkDesc(String checkDesc){
this.ruleIdList = ruleIdList; setCheckDesc(checkDesc);
return this; return this;
} }
/** /**
* 设置 绩效规则id * 设置 核查说明
* @param ruleIdNotList * @param checkDescList
*/ */
public PerformAttendAppealQuery ruleIdNotList(List<Long> ruleIdNotList){ public PerformAttendAppealQuery checkDescList(List<String> checkDescList){
this.ruleIdNotList = ruleIdNotList; this.checkDescList = checkDescList;
return this; return this;
} }
/** /**
* 设置 规则名称 * 设置 核查结果
* @param ruleName * @param checkResult
*/ */
public PerformAttendAppealQuery ruleName(String ruleName){ public PerformAttendAppealQuery checkResult(String checkResult){
setRuleName(ruleName); setCheckResult(checkResult);
return this; return this;
} }
/** /**
* 设置 规则名称 * 设置 核查结果
* @param ruleNameList * @param checkResultList
*/ */
public PerformAttendAppealQuery ruleNameList(List<String> ruleNameList){ public PerformAttendAppealQuery checkResultList(List<String> checkResultList){
this.ruleNameList = ruleNameList; this.checkResultList = checkResultList;
return this; return this;
} }
/** /**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查) * 设置 处理状态(1.未处理,2.已处理)
* @param subMethod * @param processStatus
*/ */
public PerformAttendAppealQuery subMethod(Integer subMethod){ public PerformAttendAppealQuery processStatus(Integer processStatus){
setSubMethod(subMethod); setProcessStatus(processStatus);
return this; return this;
} }
/** /**
* 设置 开始 扣分方式(1.系统自动,2.人工添加,3.大厅巡查) * 设置 开始 处理状态(1.未处理,2.已处理)
* @param subMethodStart * @param processStatusStart
*/ */
public PerformAttendAppealQuery subMethodStart(Integer subMethodStart){ public PerformAttendAppealQuery processStatusStart(Integer processStatusStart){
this.subMethodStart = subMethodStart; this.processStatusStart = processStatusStart;
return this; return this;
} }
/** /**
* 设置 结束 扣分方式(1.系统自动,2.人工添加,3.大厅巡查) * 设置 结束 处理状态(1.未处理,2.已处理)
* @param subMethodEnd * @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){ public PerformAttendAppealQuery updateUserIdEnd(Long updateUserIdEnd){
this.subMethodEnd = subMethodEnd; this.updateUserIdEnd = updateUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 扣分方式(1.系统自动,2.人工添加,3.大厅巡查) * 设置 增加 更新用户
* @param subMethodIncrement * @param updateUserIdIncrement
*/ */
public PerformAttendAppealQuery subMethodIncrement(Integer subMethodIncrement){ public PerformAttendAppealQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.subMethodIncrement = subMethodIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查) * 设置 更新用户
* @param subMethodList * @param updateUserIdList
*/ */
public PerformAttendAppealQuery subMethodList(List<Integer> subMethodList){ public PerformAttendAppealQuery updateUserIdList(List<Long> updateUserIdList){
this.subMethodList = subMethodList; this.updateUserIdList = updateUserIdList;
return this; return this;
} }
/** /**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查) * 设置 更新用户
* @param subMethodNotList * @param updateUserIdNotList
*/ */
public PerformAttendAppealQuery subMethodNotList(List<Integer> subMethodNotList){ public PerformAttendAppealQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.subMethodNotList = subMethodNotList; this.updateUserIdNotList = updateUserIdNotList;
return this; return this;
} }
/** /**
* 设置 增减类型(1.增加,2.扣除) * 设置 违规类型,
* @param subAddType * @param violationType
*/ */
public PerformAttendAppealQuery subAddType(Integer subAddType){ public PerformAttendAppealQuery violationType(String violationType){
setSubAddType(subAddType); setViolationType(violationType);
return this; return this;
} }
/** /**
* 设置 开始 增减类型(1.增加,2.扣除) * 设置 违规类型,
* @param subAddTypeStart * @param violationTypeList
*/ */
public PerformAttendAppealQuery subAddTypeStart(Integer subAddTypeStart){ public PerformAttendAppealQuery violationTypeList(List<String> violationTypeList){
this.subAddTypeStart = subAddTypeStart; this.violationTypeList = violationTypeList;
return this; return this;
} }
/** /**
* 设置 结束 增减类型(1.增加,2.扣除) * 设置 评价结果(1.非常不满意,2.差评)
* @param subAddTypeEnd * @param reviewResult
*/ */
public PerformAttendAppealQuery subAddTypeEnd(Integer subAddTypeEnd){ public PerformAttendAppealQuery reviewResult(Integer reviewResult){
this.subAddTypeEnd = subAddTypeEnd; setReviewResult(reviewResult);
return this; return this;
} }
/** /**
* 设置 增加 增减类型(1.增加,2.扣除) * 设置 开始 评价结果(1.非常不满意,2.差评)
* @param subAddTypeIncrement * @param reviewResultStart
*/ */
public PerformAttendAppealQuery subAddTypeIncrement(Integer subAddTypeIncrement){ public PerformAttendAppealQuery reviewResultStart(Integer reviewResultStart){
this.subAddTypeIncrement = subAddTypeIncrement; this.reviewResultStart = reviewResultStart;
return this; return this;
} }
/** /**
* 设置 增减类型(1.增加,2.扣除) * 设置 结束 评价结果(1.非常不满意,2.差评)
* @param subAddTypeList * @param reviewResultEnd
*/ */
public PerformAttendAppealQuery subAddTypeList(List<Integer> subAddTypeList){ public PerformAttendAppealQuery reviewResultEnd(Integer reviewResultEnd){
this.subAddTypeList = subAddTypeList; this.reviewResultEnd = reviewResultEnd;
return this; return this;
} }
/** /**
* 设置 增减类型(1.增加,2.扣除) * 设置 增加 评价结果(1.非常不满意,2.差评)
* @param subAddTypeNotList * @param reviewResultIncrement
*/ */
public PerformAttendAppealQuery subAddTypeNotList(List<Integer> subAddTypeNotList){ public PerformAttendAppealQuery reviewResultIncrement(Integer reviewResultIncrement){
this.subAddTypeNotList = subAddTypeNotList; this.reviewResultIncrement = reviewResultIncrement;
return this; return this;
} }
/** /**
* 设置 扣分或增加分值 * 设置 评价结果(1.非常不满意,2.差评)
* @param score * @param reviewResultList
*/ */
public PerformAttendAppealQuery score(BigDecimal score){ public PerformAttendAppealQuery reviewResultList(List<Integer> reviewResultList){
setScore(score); this.reviewResultList = reviewResultList;
return this; return this;
} }
/** /**
* 设置 开始 扣分或增加分值 * 设置 评价结果(1.非常不满意,2.差评)
* @param scoreStart * @param reviewResultNotList
*/ */
public PerformAttendAppealQuery scoreStart(BigDecimal scoreStart){ public PerformAttendAppealQuery reviewResultNotList(List<Integer> reviewResultNotList){
this.scoreStart = scoreStart; this.reviewResultNotList = reviewResultNotList;
return this; return this;
} }
/** /**
* 设置 结束 扣分或增加分值 * 设置 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param scoreEnd * @param reviewSource
*/ */
public PerformAttendAppealQuery scoreEnd(BigDecimal scoreEnd){ public PerformAttendAppealQuery reviewSource(String reviewSource){
this.scoreEnd = scoreEnd; setReviewSource(reviewSource);
return this; return this;
} }
/** /**
* 设置 增加 扣分或增加分值 * 设置 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param scoreIncrement * @param reviewSourceList
*/ */
public PerformAttendAppealQuery scoreIncrement(BigDecimal scoreIncrement){ public PerformAttendAppealQuery reviewSourceList(List<String> reviewSourceList){
this.scoreIncrement = scoreIncrement; this.reviewSourceList = reviewSourceList;
return this; return this;
} }
/** /**
* 设置 扣分或增加分值 * 设置 评价设备
* @param scoreList * @param reviewDevice
*/ */
public PerformAttendAppealQuery scoreList(List<BigDecimal> scoreList){ public PerformAttendAppealQuery reviewDevice(String reviewDevice){
this.scoreList = scoreList; setReviewDevice(reviewDevice);
return this; return this;
} }
/** /**
* 设置 扣分或增加分值 * 设置 评价设备
* @param scoreNotList * @param reviewDeviceList
*/ */
public PerformAttendAppealQuery scoreNotList(List<BigDecimal> scoreNotList){ public PerformAttendAppealQuery reviewDeviceList(List<String> reviewDeviceList){
this.scoreNotList = scoreNotList; this.reviewDeviceList = reviewDeviceList;
return this; return this;
} }
/** /**
* 设置 上下班时间 * 设置 投诉标题
* @param goOffTimeStr * @param complainTitle
*/ */
public PerformAttendAppealQuery goOffTimeStr(String goOffTimeStr){ public PerformAttendAppealQuery complainTitle(String complainTitle){
setGoOffTimeStr(goOffTimeStr); setComplainTitle(complainTitle);
return this; return this;
} }
/** /**
* 设置 上下班时间 * 设置 投诉标题
* @param goOffTimeStrList * @param complainTitleList
*/ */
public PerformAttendAppealQuery goOffTimeStrList(List<String> goOffTimeStrList){ public PerformAttendAppealQuery complainTitleList(List<String> complainTitleList){
this.goOffTimeStrList = goOffTimeStrList; this.complainTitleList = complainTitleList;
return this; return this;
} }
/** /**
* 设置 异常处理结果 * 设置 投诉内容
* @param errorResult * @param complainContent
*/ */
public PerformAttendAppealQuery errorResult(String errorResult){ public PerformAttendAppealQuery complainContent(String complainContent){
setErrorResult(errorResult); setComplainContent(complainContent);
return this; return this;
} }
/** /**
* 设置 异常处理结果 * 设置 投诉内容
* @param errorResultList * @param complainContentList
*/ */
public PerformAttendAppealQuery errorResultList(List<String> errorResultList){ public PerformAttendAppealQuery complainContentList(List<String> complainContentList){
this.errorResultList = errorResultList; this.complainContentList = complainContentList;
return this; return this;
} }
/** /**
* 设置 核查人员 * 设置 投诉人真实姓名
* @param checkPerson * @param complainRealName
*/ */
public PerformAttendAppealQuery checkPerson(String checkPerson){ public PerformAttendAppealQuery complainRealName(String complainRealName){
setCheckPerson(checkPerson); setComplainRealName(complainRealName);
return this; return this;
} }
/** /**
* 设置 核查人员 * 设置 投诉人真实姓名
* @param checkPersonList * @param complainRealNameList
*/ */
public PerformAttendAppealQuery checkPersonList(List<String> checkPersonList){ public PerformAttendAppealQuery complainRealNameList(List<String> complainRealNameList){
this.checkPersonList = checkPersonList; this.complainRealNameList = complainRealNameList;
return this; return this;
} }
/** /**
* 设置 核查说明 * 设置 联系电话
* @param checkDesc * @param contact
*/ */
public PerformAttendAppealQuery checkDesc(String checkDesc){ public PerformAttendAppealQuery contact(String contact){
setCheckDesc(checkDesc); setContact(contact);
return this; return this;
} }
/** /**
* 设置 核查说明 * 设置 联系电话
* @param checkDescList * @param contactList
*/ */
public PerformAttendAppealQuery checkDescList(List<String> checkDescList){ public PerformAttendAppealQuery contactList(List<String> contactList){
this.checkDescList = checkDescList; this.contactList = contactList;
return this; return this;
} }
/** /**
* 设置 核查结果 * 设置 投诉来源
* @param checkResult * @param complainSource
*/ */
public PerformAttendAppealQuery checkResult(String checkResult){ public PerformAttendAppealQuery complainSource(String complainSource){
setCheckResult(checkResult); setComplainSource(complainSource);
return this; return this;
} }
/** /**
* 设置 核查结果 * 设置 投诉来源
* @param checkResultList * @param complainSourceList
*/ */
public PerformAttendAppealQuery checkResultList(List<String> checkResultList){ public PerformAttendAppealQuery complainSourceList(List<String> complainSourceList){
this.checkResultList = checkResultList; this.complainSourceList = complainSourceList;
return this; return this;
} }
/** /**
* 设置 处理状态(1.未处理,2.已处理) * 设置 投诉设备
* @param processStatus * @param complainDevice
*/ */
public PerformAttendAppealQuery processStatus(Integer processStatus){ public PerformAttendAppealQuery complainDevice(String complainDevice){
setProcessStatus(processStatus); setComplainDevice(complainDevice);
return this; return this;
} }
/** /**
* 设置 开始 处理状态(1.未处理,2.已处理) * 设置 投诉设备
* @param processStatusStart * @param complainDeviceList
*/ */
public PerformAttendAppealQuery processStatusStart(Integer processStatusStart){ public PerformAttendAppealQuery complainDeviceList(List<String> complainDeviceList){
this.processStatusStart = processStatusStart; this.complainDeviceList = complainDeviceList;
return this; return this;
} }
/** /**
* 设置 结束 处理状态(1.未处理,2.已处理) * 设置 办件编码
* @param processStatusEnd * @param goworkCode
*/ */
public PerformAttendAppealQuery processStatusEnd(Integer processStatusEnd){ public PerformAttendAppealQuery goworkCode(String goworkCode){
this.processStatusEnd = processStatusEnd; setGoworkCode(goworkCode);
return this; return this;
} }
/** /**
* 设置 增加 处理状态(1.未处理,2.已处理) * 设置 办件编码
* @param processStatusIncrement * @param goworkCodeList
*/ */
public PerformAttendAppealQuery processStatusIncrement(Integer processStatusIncrement){ public PerformAttendAppealQuery goworkCodeList(List<String> goworkCodeList){
this.processStatusIncrement = processStatusIncrement; this.goworkCodeList = goworkCodeList;
return this; return this;
} }
/** /**
* 设置 处理状态(1.未处理,2.已处理) * 设置 办件所属部门
* @param processStatusList * @param goworkDepts
*/ */
public PerformAttendAppealQuery processStatusList(List<Integer> processStatusList){ public PerformAttendAppealQuery goworkDepts(String goworkDepts){
this.processStatusList = processStatusList; setGoworkDepts(goworkDepts);
return this; return this;
} }
/** /**
* 设置 处理状态(1.未处理,2.已处理) * 设置 办件所属部门
* @param processStatusNotList * @param goworkDeptsList
*/ */
public PerformAttendAppealQuery processStatusNotList(List<Integer> processStatusNotList){ public PerformAttendAppealQuery goworkDeptsList(List<String> goworkDeptsList){
this.processStatusNotList = processStatusNotList; this.goworkDeptsList = goworkDeptsList;
return this; return this;
} }
/** /**
* 设置 申诉说明 * 设置 事项名称
* @param appealDesc * @param matterlName
*/ */
public PerformAttendAppealQuery appealDesc(String appealDesc){ public PerformAttendAppealQuery matterlName(String matterlName){
setAppealDesc(appealDesc); setMatterlName(matterlName);
return this; return this;
} }
/** /**
* 设置 申诉说明 * 设置 事项名称
* @param appealDescList * @param matterlNameList
*/ */
public PerformAttendAppealQuery appealDescList(List<String> appealDescList){ public PerformAttendAppealQuery matterlNameList(List<String> matterlNameList){
this.appealDescList = appealDescList; this.matterlNameList = matterlNameList;
return this; return this;
} }
/** /**
* 设置 申诉结果(1.通过,2.不通过) * 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param appealResult * @param irregularType
*/ */
public PerformAttendAppealQuery appealResult(Integer appealResult){ public PerformAttendAppealQuery irregularType(Integer irregularType){
setAppealResult(appealResult); setIrregularType(irregularType);
return this; return this;
} }
/** /**
* 设置 开始 申诉结果(1.通过,2.不通过) * 设置 开始 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param appealResultStart * @param irregularTypeStart
*/ */
public PerformAttendAppealQuery appealResultStart(Integer appealResultStart){ public PerformAttendAppealQuery irregularTypeStart(Integer irregularTypeStart){
this.appealResultStart = appealResultStart; this.irregularTypeStart = irregularTypeStart;
return this; return this;
} }
/** /**
* 设置 结束 申诉结果(1.通过,2.不通过) * 设置 结束 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param appealResultEnd * @param irregularTypeEnd
*/ */
public PerformAttendAppealQuery appealResultEnd(Integer appealResultEnd){ public PerformAttendAppealQuery irregularTypeEnd(Integer irregularTypeEnd){
this.appealResultEnd = appealResultEnd; this.irregularTypeEnd = irregularTypeEnd;
return this; return this;
} }
/** /**
* 设置 增加 申诉结果(1.通过,2.不通过) * 设置 增加 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param appealResultIncrement * @param irregularTypeIncrement
*/ */
public PerformAttendAppealQuery appealResultIncrement(Integer appealResultIncrement){ public PerformAttendAppealQuery irregularTypeIncrement(Integer irregularTypeIncrement){
this.appealResultIncrement = appealResultIncrement; this.irregularTypeIncrement = irregularTypeIncrement;
return this; return this;
} }
/** /**
* 设置 申诉结果(1.通过,2.不通过) * 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param appealResultList * @param irregularTypeList
*/ */
public PerformAttendAppealQuery appealResultList(List<Integer> appealResultList){ public PerformAttendAppealQuery irregularTypeList(List<Integer> irregularTypeList){
this.appealResultList = appealResultList; this.irregularTypeList = irregularTypeList;
return this; return this;
} }
/** /**
* 设置 申诉结果(1.通过,2.不通过) * 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param appealResultNotList * @param irregularTypeNotList
*/ */
public PerformAttendAppealQuery appealResultNotList(List<Integer> appealResultNotList){ public PerformAttendAppealQuery irregularTypeNotList(List<Integer> irregularTypeNotList){
this.appealResultNotList = appealResultNotList; this.irregularTypeNotList = irregularTypeNotList;
return this; return this;
} }
/** /**
* 设置 说明 * 设置 持续时间,秒
* @param remark * @param duration
*/ */
public PerformAttendAppealQuery remark(String remark){ public PerformAttendAppealQuery duration(Integer duration){
setRemark(remark); setDuration(duration);
return this; return this;
} }
/** /**
* 设置 说明 * 设置 开始 持续时间,秒
* @param remarkList * @param durationStart
*/ */
public PerformAttendAppealQuery remarkList(List<String> remarkList){ public PerformAttendAppealQuery durationStart(Integer durationStart){
this.remarkList = remarkList; this.durationStart = durationStart;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 结束 持续时间,秒
* @param createUserId * @param durationEnd
*/ */
public PerformAttendAppealQuery createUserId(Long createUserId){ public PerformAttendAppealQuery durationEnd(Integer durationEnd){
setCreateUserId(createUserId); this.durationEnd = durationEnd;
return this; return this;
} }
/** /**
* 设置 开始 创建用户 * 设置 增加 持续时间,秒
* @param createUserIdStart * @param durationIncrement
*/ */
public PerformAttendAppealQuery createUserIdStart(Long createUserIdStart){ public PerformAttendAppealQuery durationIncrement(Integer durationIncrement){
this.createUserIdStart = createUserIdStart; this.durationIncrement = durationIncrement;
return this; return this;
} }
/** /**
* 设置 结束 创建用户 * 设置 持续时间,秒
* @param createUserIdEnd * @param durationList
*/ */
public PerformAttendAppealQuery createUserIdEnd(Long createUserIdEnd){ public PerformAttendAppealQuery durationList(List<Integer> durationList){
this.createUserIdEnd = createUserIdEnd; this.durationList = durationList;
return this; return this;
} }
/** /**
* 设置 增加 创建用户 * 设置 持续时间,秒
* @param createUserIdIncrement * @param durationNotList
*/ */
public PerformAttendAppealQuery createUserIdIncrement(Long createUserIdIncrement){ public PerformAttendAppealQuery durationNotList(List<Integer> durationNotList){
this.createUserIdIncrement = createUserIdIncrement; this.durationNotList = durationNotList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 图片凭证地址
* @param createUserIdList * @param snapPath
*/ */
public PerformAttendAppealQuery createUserIdList(List<Long> createUserIdList){ public PerformAttendAppealQuery snapPath(String snapPath){
this.createUserIdList = createUserIdList; setSnapPath(snapPath);
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 图片凭证地址
* @param createUserIdNotList * @param snapPathList
*/ */
public PerformAttendAppealQuery createUserIdNotList(List<Long> createUserIdNotList){ public PerformAttendAppealQuery snapPathList(List<String> snapPathList){
this.createUserIdNotList = createUserIdNotList; this.snapPathList = snapPathList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 违规类型(1.工作纪律)
* @param updateUserId * @param irregularOtherType
*/ */
public PerformAttendAppealQuery updateUserId(Long updateUserId){ public PerformAttendAppealQuery irregularOtherType(Integer irregularOtherType){
setUpdateUserId(updateUserId); setIrregularOtherType(irregularOtherType);
return this; return this;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 违规类型(1.工作纪律)
* @param updateUserIdStart * @param irregularOtherTypeStart
*/ */
public PerformAttendAppealQuery updateUserIdStart(Long updateUserIdStart){ public PerformAttendAppealQuery irregularOtherTypeStart(Integer irregularOtherTypeStart){
this.updateUserIdStart = updateUserIdStart; this.irregularOtherTypeStart = irregularOtherTypeStart;
return this; return this;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 违规类型(1.工作纪律)
* @param updateUserIdEnd * @param irregularOtherTypeEnd
*/ */
public PerformAttendAppealQuery updateUserIdEnd(Long updateUserIdEnd){ public PerformAttendAppealQuery irregularOtherTypeEnd(Integer irregularOtherTypeEnd){
this.updateUserIdEnd = updateUserIdEnd; this.irregularOtherTypeEnd = irregularOtherTypeEnd;
return this; return this;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 违规类型(1.工作纪律)
* @param updateUserIdIncrement * @param irregularOtherTypeIncrement
*/ */
public PerformAttendAppealQuery updateUserIdIncrement(Long updateUserIdIncrement){ public PerformAttendAppealQuery irregularOtherTypeIncrement(Integer irregularOtherTypeIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.irregularOtherTypeIncrement = irregularOtherTypeIncrement;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 违规类型(1.工作纪律)
* @param updateUserIdList * @param irregularOtherTypeList
*/ */
public PerformAttendAppealQuery updateUserIdList(List<Long> updateUserIdList){ public PerformAttendAppealQuery irregularOtherTypeList(List<Integer> irregularOtherTypeList){
this.updateUserIdList = updateUserIdList; this.irregularOtherTypeList = irregularOtherTypeList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 违规类型(1.工作纪律)
* @param updateUserIdNotList * @param irregularOtherTypeNotList
*/ */
public PerformAttendAppealQuery updateUserIdNotList(List<Long> updateUserIdNotList){ public PerformAttendAppealQuery irregularOtherTypeNotList(List<Integer> irregularOtherTypeNotList){
this.updateUserIdNotList = updateUserIdNotList; this.irregularOtherTypeNotList = irregularOtherTypeNotList;
return this; return this;
} }
/** /**
* 设置 违规类型 * 设置 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @param violationType * @param performType
*/ */
public PerformAttendAppealQuery violationType(String violationType){ public PerformAttendAppealQuery performType(String performType){
setViolationType(violationType); setPerformType(performType);
return this; return this;
} }
/** /**
* 设置 违规类型 * 设置 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @param violationTypeList * @param performTypeList
*/ */
public PerformAttendAppealQuery violationTypeList(List<String> violationTypeList){ public PerformAttendAppealQuery performTypeList(List<String> performTypeList){
this.violationTypeList = violationTypeList; this.performTypeList = performTypeList;
return this; return this;
} }
......
...@@ -11,7 +11,7 @@ import java.util.Date; ...@@ -11,7 +11,7 @@ import java.util.Date;
* 绩效记录申诉信息视图对象 * 绩效记录申诉信息视图对象
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
@Data @Data
public class PerformAttendAppealVo extends BaseEntityLong { public class PerformAttendAppealVo extends BaseEntityLong {
......
package com.mortals.xhx.module.perform.model.vo; package com.mortals.xhx.module.perform.model.vo;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.perform.model.PerformDeptConfDetailEntity;
import com.mortals.xhx.module.perform.model.PerformDeptConfEntity; import com.mortals.xhx.module.perform.model.PerformDeptConfEntity;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
...@@ -13,6 +14,7 @@ import lombok.Data; ...@@ -13,6 +14,7 @@ import lombok.Data;
@Data @Data
public class PerformDeptConfVo extends BaseEntityLong { public class PerformDeptConfVo extends BaseEntityLong {
/** 部门考核内容详细信息 */
List<PerformDeptConfDetailEntity> deptConfDetail;
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.model.vo; package com.mortals.xhx.module.perform.model.vo;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.perform.model.PerformPerposeDeptEntity;
import com.mortals.xhx.module.perform.model.PerformPerposeEntity; import com.mortals.xhx.module.perform.model.PerformPerposeEntity;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.perform.model.PerformPerposeStaffEntity;
import lombok.Data; import lombok.Data;
/** /**
* 考核目标视图对象 * 考核目标视图对象
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-05-16
*/ */
@Data @Data
public class PerformPerposeVo extends BaseEntityLong { 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
package com.mortals.xhx.module.perform.model.vo; package com.mortals.xhx.module.perform.model.vo;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.perform.model.PerformStaffConfDetailEntity;
import com.mortals.xhx.module.perform.model.PerformStaffConfEntity; import com.mortals.xhx.module.perform.model.PerformStaffConfEntity;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
...@@ -12,7 +13,7 @@ import lombok.Data; ...@@ -12,7 +13,7 @@ import lombok.Data;
*/ */
@Data @Data
public class PerformStaffConfVo extends BaseEntityLong { public class PerformStaffConfVo extends BaseEntityLong {
/** 人员自动考核内容详细信息 */
private List<PerformStaffConfDetailEntity> staffConfDetail;
} }
\ No newline at end of file
...@@ -8,7 +8,7 @@ import com.mortals.xhx.module.perform.dao.PerformAttendAppealDao; ...@@ -8,7 +8,7 @@ import com.mortals.xhx.module.perform.dao.PerformAttendAppealDao;
* 绩效记录申诉信息 service接口 * 绩效记录申诉信息 service接口
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
public interface PerformAttendAppealService extends ICRUDService<PerformAttendAppealEntity,Long>{ public interface PerformAttendAppealService extends ICRUDService<PerformAttendAppealEntity,Long>{
......
...@@ -20,7 +20,7 @@ import lombok.extern.slf4j.Slf4j; ...@@ -20,7 +20,7 @@ import lombok.extern.slf4j.Slf4j;
* 绩效记录申诉信息 service实现 * 绩效记录申诉信息 service实现
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
@Service("performAttendAppealService") @Service("performAttendAppealService")
@Slf4j @Slf4j
......
package com.mortals.xhx.module.perform.service.impl; package com.mortals.xhx.module.perform.service.impl;
import com.mortals.framework.model.PageInfo;
import com.mortals.xhx.common.code.CheckTypeEnum;
import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.service.DeptService;
import com.mortals.xhx.module.perform.model.PerformDeptConfDetailEntity;
import com.mortals.xhx.module.perform.model.PerformDeptConfDetailQuery;
import com.mortals.xhx.module.perform.service.PerformDeptConfDetailService;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
...@@ -7,6 +16,11 @@ import com.mortals.xhx.module.perform.dao.PerformDeptConfDao; ...@@ -7,6 +16,11 @@ import com.mortals.xhx.module.perform.dao.PerformDeptConfDao;
import com.mortals.xhx.module.perform.model.PerformDeptConfEntity; import com.mortals.xhx.module.perform.model.PerformDeptConfEntity;
import com.mortals.xhx.module.perform.service.PerformDeptConfService; import com.mortals.xhx.module.perform.service.PerformDeptConfService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/** /**
* PerformDeptConfService * PerformDeptConfService
* 部门自动考核信息 service实现 * 部门自动考核信息 service实现
...@@ -18,4 +32,91 @@ import lombok.extern.slf4j.Slf4j; ...@@ -18,4 +32,91 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j @Slf4j
public class PerformDeptConfServiceImpl extends AbstractCRUDServiceImpl<PerformDeptConfDao, PerformDeptConfEntity, Long> implements PerformDeptConfService { public class PerformDeptConfServiceImpl extends AbstractCRUDServiceImpl<PerformDeptConfDao, PerformDeptConfEntity, Long> implements PerformDeptConfService {
@Autowired
private PerformDeptConfDetailService performDeptConfDetailService;
@Autowired
private DeptService deptService;
@Override
protected void findAfter(PerformDeptConfEntity params, PageInfo pageInfo, Context context, List<PerformDeptConfEntity> list) throws AppException {
if(CollectionUtils.isNotEmpty(list)){
for (PerformDeptConfEntity item:list){
List<PerformDeptConfDetailEntity> detailEntityList = performDeptConfDetailService.find(new PerformDeptConfDetailQuery().deptConfId(item.getId()));
item.setDeptConfDetail(detailEntityList);
}
}
}
@Override
protected void saveBefore(PerformDeptConfEntity entity, Context context) throws AppException {
super.saveBefore(entity,context);
DeptEntity deptEntity = deptService.get(entity.getDeptId());
if(deptEntity!=null){
entity.setDeptName(deptEntity.getDeptName());
}
if(CollectionUtils.isNotEmpty(entity.getDeptConfDetail())){
Map<Integer,List<PerformDeptConfDetailEntity>> groupMap = entity.getDeptConfDetail().stream().collect(Collectors.groupingBy(PerformDeptConfDetailEntity::getType));
if(groupMap.containsKey(CheckTypeEnum.考勤绩效.getValue())) {
entity.setAttendCount(groupMap.get(CheckTypeEnum.考勤绩效.getValue()).size());
}else {
entity.setAttendCount(0);
}
if(groupMap.containsKey(CheckTypeEnum.评价绩效.getValue())) {
entity.setAssessCount(groupMap.get(CheckTypeEnum.评价绩效.getValue()).size());
}else {
entity.setAssessCount(0);
}
if(groupMap.containsKey(CheckTypeEnum.办件绩效.getValue())) {
entity.setWorkCount(groupMap.get(CheckTypeEnum.办件绩效.getValue()).size());
}else {
entity.setWorkCount(0);
}
if(groupMap.containsKey(CheckTypeEnum.效能绩效.getValue())) {
entity.setEffectCount(groupMap.get(CheckTypeEnum.效能绩效.getValue()).size());
}else {
entity.setEffectCount(0);
}
if(groupMap.containsKey(CheckTypeEnum.其它绩效.getValue())) {
entity.setOtherCount(groupMap.get(CheckTypeEnum.其它绩效.getValue()).size());
}else {
entity.setOtherCount(0);
}
}
}
@Override
protected void saveAfter(PerformDeptConfEntity entity, Context context) throws AppException {
if(CollectionUtils.isNotEmpty(entity.getDeptConfDetail())){
for(PerformDeptConfDetailEntity item:entity.getDeptConfDetail()){
item.setDeptConfId(entity.getId());
item.setCreateTime(entity.getCreateTime());
item.setCreateUser(entity.getCreateUser());
item.setDeptId(entity.getDeptId());
item.setDeptName(entity.getDeptName());
item.setId(null);
}
performDeptConfDetailService.save(entity.getDeptConfDetail(),context);
}
}
@Override
public PerformDeptConfEntity get(Long key, Context context) throws AppException {
PerformDeptConfEntity entity = this.dao.get(key);
if(entity!=null) {
List<PerformDeptConfDetailEntity> detailEntityList = performDeptConfDetailService.find(new PerformDeptConfDetailQuery().deptConfId(entity.getId()));
entity.setDeptConfDetail(detailEntityList);
}
return entity;
}
@Override
protected void removeAfter(Long[] ids, Context context, int result) throws AppException {
if(ids != null && ids.length != 0){
for (Long id:ids){
PerformDeptConfDetailEntity condition = new PerformDeptConfDetailEntity();
condition.setDeptConfId(id);
performDeptConfDetailService.remove(condition,context);
}
}
}
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.service.impl; 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 org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context; import com.mortals.framework.model.Context;
import com.mortals.xhx.module.perform.dao.PerformPerposeDao; 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 com.mortals.xhx.module.perform.service.PerformPerposeService;
import lombok.extern.slf4j.Slf4j; 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 * PerformPerposeService
* 考核目标 service实现 * 考核目标 service实现
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-05-16
*/ */
@Service("performPerposeService") @Service("performPerposeService")
@Slf4j @Slf4j
public class PerformPerposeServiceImpl extends AbstractCRUDServiceImpl<PerformPerposeDao, PerformPerposeEntity, Long> implements PerformPerposeService { 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
package com.mortals.xhx.module.perform.service.impl; package com.mortals.xhx.module.perform.service.impl;
import com.mortals.framework.model.PageInfo;
import com.mortals.xhx.common.code.CheckTypeEnum;
import com.mortals.xhx.module.perform.model.*;
import com.mortals.xhx.module.perform.service.PerformStaffConfDetailService;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context; import com.mortals.framework.model.Context;
import com.mortals.xhx.module.perform.dao.PerformStaffConfDao; import com.mortals.xhx.module.perform.dao.PerformStaffConfDao;
import com.mortals.xhx.module.perform.model.PerformStaffConfEntity;
import com.mortals.xhx.module.perform.service.PerformStaffConfService; import com.mortals.xhx.module.perform.service.PerformStaffConfService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/** /**
* PerformStaffConfService * PerformStaffConfService
* 人员自动考核信息 service实现 * 人员自动考核信息 service实现
...@@ -18,4 +28,64 @@ import lombok.extern.slf4j.Slf4j; ...@@ -18,4 +28,64 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j @Slf4j
public class PerformStaffConfServiceImpl extends AbstractCRUDServiceImpl<PerformStaffConfDao, PerformStaffConfEntity, Long> implements PerformStaffConfService { public class PerformStaffConfServiceImpl extends AbstractCRUDServiceImpl<PerformStaffConfDao, PerformStaffConfEntity, Long> implements PerformStaffConfService {
@Autowired
private PerformStaffConfDetailService performStaffConfDetailService;
@Override
protected void saveBefore(PerformStaffConfEntity entity, Context context) throws AppException {
super.saveBefore(entity,context);
if(CollectionUtils.isNotEmpty(entity.getStaffConfDetail())){
// Map<Integer,List<PerformStaffConfDetailEntity>> groupMap = entity.getStaffConfDetail().stream().collect(Collectors.groupingBy(PerformStaffConfDetailEntity::getType));
// if(groupMap.containsKey(CheckTypeEnum.考勤绩效.getValue())) {
// entity.setAttendCount(groupMap.get(CheckTypeEnum.考勤绩效.getValue()).size());
// }else {
// entity.setAttendCount(0);
// }
// if(groupMap.containsKey(CheckTypeEnum.评价绩效.getValue())) {
// entity.setAssessCount(groupMap.get(CheckTypeEnum.评价绩效.getValue()).size());
// }else {
// entity.setAssessCount(0);
// }
// if(groupMap.containsKey(CheckTypeEnum.办件绩效.getValue())) {
// entity.setWorkCount(groupMap.get(CheckTypeEnum.办件绩效.getValue()).size());
// }else {
// entity.setWorkCount(0);
// }
// if(groupMap.containsKey(CheckTypeEnum.效能绩效.getValue())) {
// entity.setEffectCount(groupMap.get(CheckTypeEnum.效能绩效.getValue()).size());
// }else {
// entity.setEffectCount(0);
// }
// if(groupMap.containsKey(CheckTypeEnum.其它绩效.getValue())) {
// entity.setOtherCount(groupMap.get(CheckTypeEnum.其它绩效.getValue()).size());
// }else {
// entity.setOtherCount(0);
// }
}
}
@Override
protected void saveAfter(PerformStaffConfEntity entity, Context context) throws AppException {
if(CollectionUtils.isNotEmpty(entity.getStaffConfDetail())){
// for(PerformStaffConfDetailEntity item:entity.getStaffConfDetail()){
// item.setStaffConfId(entity.getId());
// item.setCreateTime(entity.getCreateTime());
// item.setCreateUser(entity.getCreateUser());
// item.setStaffId(entity.getStaffId());
// item.setStaffName(entity.getStaffName());
// item.setId(null);
// }
// performDeptConfDetailService.save(entity.getDeptConfDetail(),context);
}
}
@Override
protected void findAfter(PerformStaffConfEntity params, PageInfo pageInfo, Context context, List<PerformStaffConfEntity> list) throws AppException {
if(CollectionUtils.isNotEmpty(list)){
for (PerformStaffConfEntity item:list){
List<PerformStaffConfDetailEntity> detailEntityList = performStaffConfDetailService.find(new PerformStaffConfDetailQuery().staffConfId(item.getId()));
item.setStaffConfDetail(detailEntityList);
}
}
}
} }
\ No newline at end of file
...@@ -27,7 +27,7 @@ import static com.mortals.framework.ap.SysConstains.*; ...@@ -27,7 +27,7 @@ import static com.mortals.framework.ap.SysConstains.*;
* 绩效记录申诉信息 * 绩效记录申诉信息
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
@RestController @RestController
@RequestMapping("perform/attend/appeal") @RequestMapping("perform/attend/appeal")
...@@ -46,6 +46,10 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro ...@@ -46,6 +46,10 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
this.addDict(model, "subAddType", paramService.getParamBySecondOrganize("PerformAttendAppeal","subAddType")); this.addDict(model, "subAddType", paramService.getParamBySecondOrganize("PerformAttendAppeal","subAddType"));
this.addDict(model, "processStatus", paramService.getParamBySecondOrganize("PerformAttendAppeal","processStatus")); this.addDict(model, "processStatus", paramService.getParamBySecondOrganize("PerformAttendAppeal","processStatus"));
this.addDict(model, "appealResult", paramService.getParamBySecondOrganize("PerformAttendAppeal","appealResult")); 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); super.init(model, context);
} }
......
package com.mortals.xhx.module.perform.web; package com.mortals.xhx.module.perform.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.code.CheckTypeEnum;
import com.mortals.xhx.common.code.EnableEnum;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -42,6 +44,8 @@ public class PerformDeptConfController extends BaseCRUDJsonBodyMappingController ...@@ -42,6 +44,8 @@ public class PerformDeptConfController extends BaseCRUDJsonBodyMappingController
@Override @Override
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "type", CheckTypeEnum.getEnumMap());
this.addDict(model, "enable", EnableEnum.getEnumMap());
super.init(model, context); super.init(model, context);
} }
......
package com.mortals.xhx.module.perform.web; package com.mortals.xhx.module.perform.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.code.CheckTypeEnum;
import com.mortals.xhx.common.code.EnableEnum;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -42,8 +44,8 @@ public class PerformDeptConfDetailController extends BaseCRUDJsonBodyMappingCont ...@@ -42,8 +44,8 @@ public class PerformDeptConfDetailController extends BaseCRUDJsonBodyMappingCont
@Override @Override
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "type", paramService.getParamBySecondOrganize("PerformDeptConfDetail","type")); this.addDict(model, "type", CheckTypeEnum.getEnumMap());
this.addDict(model, "enable", paramService.getParamBySecondOrganize("PerformDeptConfDetail","enable")); this.addDict(model, "enable", EnableEnum.getEnumMap());
super.init(model, context); super.init(model, context);
} }
......
package com.mortals.xhx.module.perform.web; package com.mortals.xhx.module.perform.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.code.CheckTypeEnum;
import com.mortals.xhx.common.code.EnableEnum;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -42,6 +44,8 @@ public class PerformStaffConfController extends BaseCRUDJsonBodyMappingControlle ...@@ -42,6 +44,8 @@ public class PerformStaffConfController extends BaseCRUDJsonBodyMappingControlle
@Override @Override
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "type", CheckTypeEnum.getEnumMap());
this.addDict(model, "enable", EnableEnum.getEnumMap());
super.init(model, context); super.init(model, context);
} }
......
package com.mortals.xhx.module.perform.web; package com.mortals.xhx.module.perform.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.code.CheckTypeEnum;
import com.mortals.xhx.common.code.EnableEnum;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -42,8 +44,8 @@ public class PerformStaffConfDetailController extends BaseCRUDJsonBodyMappingCon ...@@ -42,8 +44,8 @@ public class PerformStaffConfDetailController extends BaseCRUDJsonBodyMappingCon
@Override @Override
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "type", paramService.getParamBySecondOrganize("PerformStaffConfDetail","type")); this.addDict(model, "type", CheckTypeEnum.getEnumMap());
this.addDict(model, "enable", paramService.getParamBySecondOrganize("PerformStaffConfDetail","enable")); this.addDict(model, "enable", EnableEnum.getEnumMap());
super.init(model, context); super.init(model, context);
} }
......
package com.mortals.xhx.module.staff.web; package com.mortals.xhx.module.staff.web;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -46,5 +47,8 @@ public class StaffPerformSummaryController extends BaseCRUDJsonBodyMappingContro ...@@ -46,5 +47,8 @@ public class StaffPerformSummaryController extends BaseCRUDJsonBodyMappingContro
super.init(model, context); super.init(model, context);
} }
@Override
protected void doListBefore(StaffPerformSummaryEntity query, Map<String, Object> model, Context context) throws AppException {
}
} }
...@@ -9,28 +9,12 @@ ...@@ -9,28 +9,12 @@
DATE_FORMAT(checkTime,'%Y') as `year`, DATE_FORMAT(checkTime,'%Y') as `year`,
DATE_FORMAT(checkTime,'%m') as `month`, DATE_FORMAT(checkTime,'%m') as `month`,
SUM(CASE subAddType WHEN 1 THEN score ELSE score*-1 END) as sumScore SUM(CASE subAddType WHEN 1 THEN score ELSE score*-1 END) as sumScore
FROM
(
SELECT
id,recordId,staffId,staffName,workNum,deptId,deptName,subAddType,score,checkTime
FROM FROM
mortals_xhx_check_complain_record mortals_xhx_check_complain_record
WHERE WHERE checkStatus = 2
checkStatus = 2
<if test="staffId != null and staffId!=''"> AND staffId = #{staffId} </if>
<if test="checkTimeStart != null and checkTimeStart!=''"> AND checkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') </if>
<if test="checkTimeEnd != null and checkTimeEnd!=''"> AND checkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') </if>
UNION
SELECT
id,recordId,staffId,staffName,workNum,deptId,deptName,subAddType,score,checkTime
FROM
mortals_xhx_check_review_record
WHERE
checkStatus = 2
<if test="staffId != null and staffId!=''"> AND staffId = #{staffId} </if> <if test="staffId != null and staffId!=''"> AND staffId = #{staffId} </if>
<if test="checkTimeStart != null and checkTimeStart!=''"> AND checkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') </if> <if test="checkTimeStart != null and checkTimeStart!=''"> AND checkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') </if>
<if test="checkTimeEnd != null and checkTimeEnd!=''"> AND checkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') </if> <if test="checkTimeEnd != null and checkTimeEnd!=''"> AND checkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') </if>
) AS t
GROUP BY GROUP BY
staffId,staffName,workNum,deptId,deptName,DATE_FORMAT(checkTime,'%Y-%m') staffId,staffName,workNum,deptId,deptName,DATE_FORMAT(checkTime,'%Y-%m')
</select> </select>
......
...@@ -9,28 +9,12 @@ ...@@ -9,28 +9,12 @@
DATE_FORMAT(checkTime,'%Y') as `year`, DATE_FORMAT(checkTime,'%Y') as `year`,
DATE_FORMAT(checkTime,'%m') as `month`, DATE_FORMAT(checkTime,'%m') as `month`,
SUM(CASE subAddType WHEN 1 THEN score ELSE score*-1 END) as sumScore SUM(CASE subAddType WHEN 1 THEN score ELSE score*-1 END) as sumScore
FROM
(
SELECT
id,recordId,staffId,staffName,workNum,deptId,deptName,subAddType,score,checkTime
FROM
mortals_xhx_check_complain_record
WHERE
checkStatus = 2
<if test="staffId != null and staffId!=''"> AND staffId = #{staffId} </if>
<if test="checkTimeStart != null and checkTimeStart!=''"> AND checkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') </if>
<if test="checkTimeEnd != null and checkTimeEnd!=''"> AND checkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') </if>
UNION
SELECT
id,recordId,staffId,staffName,workNum,deptId,deptName,subAddType,score,checkTime
FROM FROM
mortals_xhx_check_review_record mortals_xhx_check_review_record
WHERE WHERE checkStatus = 2
checkStatus = 2
<if test="staffId != null and staffId!=''"> AND staffId = #{staffId} </if> <if test="staffId != null and staffId!=''"> AND staffId = #{staffId} </if>
<if test="checkTimeStart != null and checkTimeStart!=''"> AND checkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') </if> <if test="checkTimeStart != null and checkTimeStart!=''"> AND checkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') </if>
<if test="checkTimeEnd != null and checkTimeEnd!=''"> AND checkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') </if> <if test="checkTimeEnd != null and checkTimeEnd!=''"> AND checkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') </if>
) AS t
GROUP BY GROUP BY
staffId,staffName,workNum,deptId,deptName,DATE_FORMAT(checkTime,'%Y-%m') staffId,staffName,workNum,deptId,deptName,DATE_FORMAT(checkTime,'%Y-%m')
</select> </select>
......
...@@ -38,6 +38,28 @@ ...@@ -38,6 +38,28 @@
<result property="updateUserId" column="updateUserId" /> <result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" /> <result property="updateTime" column="updateTime" />
<result property="violationType" column="violationType" /> <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> <collection property="performAttendAppealFilesList" column="id" ofType="PerformAttendAppealFilesEntity" javaType="ArrayList" select="getPerformAttendAppealFilesByAppealId"></collection>
</resultMap> </resultMap>
<resultMap type="PerformAttendAppealFilesEntity" id="PerformAttendAppealFilesEntity-Map"> <resultMap type="PerformAttendAppealFilesEntity" id="PerformAttendAppealFilesEntity-Map">
...@@ -154,6 +176,72 @@ ...@@ -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')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('violationType') or colPickMode == 1 and data.containsKey('violationType')))">
a.violationType, a.violationType,
</if> </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> </trim>
</sql> </sql>
<!-- 子表所有列 --> <!-- 子表所有列 -->
...@@ -165,18 +253,18 @@ ...@@ -165,18 +253,18 @@
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="PerformAttendAppealEntity" useGeneratedKeys="true" keyProperty="id"> <insert id="insert" parameterType="PerformAttendAppealEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_perform_attend_appeal 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 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>
<!-- 批量新增 --> <!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto"> <insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_perform_attend_appeal 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 VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," > <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> </foreach>
</insert> </insert>
...@@ -318,6 +406,84 @@ ...@@ -318,6 +406,84 @@
<if test="(colPickMode==0 and data.containsKey('violationType')) or (colPickMode==1 and !data.containsKey('violationType'))"> <if test="(colPickMode==0 and data.containsKey('violationType')) or (colPickMode==1 and !data.containsKey('violationType'))">
a.violationType=#{data.violationType}, a.violationType=#{data.violationType},
</if> </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>
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
where where
...@@ -614,6 +780,180 @@ ...@@ -614,6 +780,180 @@
</if> </if>
</foreach> </foreach>
</trim> </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> </trim>
where id in where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")"> <foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
...@@ -1467,6 +1807,462 @@ ...@@ -1467,6 +1807,462 @@
#{item} #{item}
</foreach> </foreach>
</if> </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>
<sql id="_orderCols_"> <sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()"> <if test="orderColList != null and !orderColList.isEmpty()">
...@@ -1645,6 +2441,116 @@ ...@@ -1645,6 +2441,116 @@
<if test='orderCol.violationType != null and "DESC".equalsIgnoreCase(orderCol.violationType)'>DESC</if> <if test='orderCol.violationType != null and "DESC".equalsIgnoreCase(orderCol.violationType)'>DESC</if>
, ,
</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> </trim>
</if> </if>
</sql> </sql>
......
...@@ -29,34 +29,56 @@ Authorization: {{authToken}} ...@@ -29,34 +29,56 @@ Authorization: {{authToken}}
Content-Type: application/json Content-Type: application/json
{ {
"checkRecordId":387, "checkRecordId":702,
"staffId":305, "staffId":566,
"staffName":"78kg5e", "staffName":"b7xpn0",
"workNum":"wy77ky", "workNum":"ymsc43",
"deptId":849, "deptId":975,
"deptName":"ry3y3a", "deptName":"x9lhxh",
"attendanceGroupId":7, "attendanceGroupId":352,
"attendanceGroupName":"s7n602", "attendanceGroupName":"ijhjyv",
"attendanceDate":"1688486400000", "attendanceDate":"1689091200000",
"ruleId":418, "ruleId":714,
"ruleName":"y3gz3p", "ruleName":"k3nou3",
"subMethod":1, "subMethod":1,
"subAddType":1, "subAddType":1,
"score":0.00, "score":0.00,
"goOffTimeStr":"rjf27a", "goOffTimeStr":"3tpp9v",
"errorTime":"1688486400000", "errorTime":"1689091200000",
"actualAttendTime":"1688486400000", "actualAttendTime":"1689091200000",
"errorResult":"ysfu6y", "errorResult":"e36tyi",
"checkPerson":"w4rf2x", "checkPerson":"brd56v",
"checkTime":"1688486400000", "checkTime":"1689091200000",
"checkDesc":"30plug", "checkDesc":"dxif0b",
"checkResult":"lu4x9b", "checkResult":"5wz0wh",
"processStatus":1, "processStatus":1,
"appealDesc":"cumgvt", "appealDesc":"bhhaf6",
"appealTime":"1688486400000", "appealTime":"1689091200000",
"appealResult":2, "appealResult":2,
"remark":"n4bgtv", "remark":"owbk12",
"violationType":"1t3xtd" "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 ...@@ -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 `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 `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; 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