Commit 56b22778 authored by daijunxiong's avatar daijunxiong

新增考勤假期字段

parent 415c5c9c
package com.mortals.xhx.module.attendance.model; package com.mortals.xhx.module.attendance.model;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel; import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.attendance.model.vo.AttendanceLeaveRecordVo; import com.mortals.xhx.module.attendance.model.vo.AttendanceLeaveRecordVo;
import java.util.Date;
/** /**
* 请假记录信息实体对象 * 请假记录信息实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-07 * @date 2023-04-14
*/ */
public class AttendanceLeaveRecordEntity extends AttendanceLeaveRecordVo { public class AttendanceLeaveRecordEntity extends AttendanceLeaveRecordVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 请假人id * 请假人id
*/ */
@Excel(name = "请假人id") @Excel(name = "请假人id")
private Long leavePersonId; private Long leavePersonId;
/** /**
* 请假人 * 请假人
*/ */
private String leavePerson; private String leavePerson;
/** /**
* 所属部门id * 所属部门id
*/ */
private Long deptId; private Long deptId;
/** /**
* 所属部门 * 所属部门
*/ */
private String deptName; private String deptName;
/** /**
* 电话号码 * 电话号码
*/ */
private String phoneNumber; private String phoneNumber;
/** /**
* 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
*/ */
private Integer leaveType; private Integer leaveType;
/** /**
* 开始时间 * 开始时间
*/ */
private Date startTime; private Date startTime;
/** /**
* 结束时间 * 结束时间
*/ */
private Date endTime; private Date endTime;
/** /**
* 时长,单位秒 * 时长,单位秒
*/ */
private Integer duration; private Integer duration;
/** /**
* 请假事由 * 请假事由
*/ */
private String reason; private String reason;
/** /**
* 审批负责人Id * 审批负责人Id
*/ */
private Long approverId; private Long approverId;
/** /**
* 审批负责人 * 审批负责人
*/ */
private String approver; private String approver;
/** /**
* 附件 * 附件
*/ */
private String attachment; private String attachment;
/** /**
* 附件路径 * 附件路径
*/ */
private String attachmentPath; private String attachmentPath;
/** /**
* 备注 * 备注
*/ */
private String remark; private String remark;
public AttendanceLeaveRecordEntity(){} public AttendanceLeaveRecordEntity(){}
/** /**
* 获取 请假人id * 获取 请假人id
* @return Long * @return Long
*/ */
public Long getLeavePersonId(){ public Long getLeavePersonId(){
return leavePersonId; return leavePersonId;
} }
/** /**
* 设置 请假人id * 设置 请假人id
* @param leavePersonId * @param leavePersonId
*/ */
public void setLeavePersonId(Long leavePersonId){ public void setLeavePersonId(Long leavePersonId){
this.leavePersonId = leavePersonId; this.leavePersonId = leavePersonId;
} }
/** /**
* 获取 请假人 * 获取 请假人
* @return String * @return String
*/ */
public String getLeavePerson(){ public String getLeavePerson(){
return leavePerson; return leavePerson;
} }
/** /**
* 设置 请假人 * 设置 请假人
* @param leavePerson * @param leavePerson
*/ */
public void setLeavePerson(String leavePerson){ public void setLeavePerson(String leavePerson){
this.leavePerson = leavePerson; this.leavePerson = leavePerson;
} }
/** /**
* 获取 所属部门id * 获取 所属部门id
* @return Long * @return Long
*/ */
public Long getDeptId(){ public Long getDeptId(){
return deptId; return deptId;
} }
/** /**
* 设置 所属部门id * 设置 所属部门id
* @param deptId * @param deptId
*/ */
public void setDeptId(Long deptId){ public void setDeptId(Long deptId){
this.deptId = deptId; this.deptId = deptId;
} }
/** /**
* 获取 所属部门 * 获取 所属部门
* @return String * @return String
*/ */
public String getDeptName(){ public String getDeptName(){
return deptName; return deptName;
} }
/** /**
* 设置 所属部门 * 设置 所属部门
* @param deptName * @param deptName
*/ */
public void setDeptName(String deptName){ public void setDeptName(String deptName){
this.deptName = deptName; this.deptName = deptName;
} }
/** /**
* 获取 电话号码 * 获取 电话号码
* @return String * @return String
*/ */
public String getPhoneNumber(){ public String getPhoneNumber(){
return phoneNumber; return phoneNumber;
} }
/** /**
* 设置 电话号码 * 设置 电话号码
* @param phoneNumber * @param phoneNumber
*/ */
public void setPhoneNumber(String phoneNumber){ public void setPhoneNumber(String phoneNumber){
this.phoneNumber = phoneNumber; this.phoneNumber = phoneNumber;
} }
/** /**
* 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @return Integer * @return Integer
*/ */
public Integer getLeaveType(){ public Integer getLeaveType(){
return leaveType; return leaveType;
} }
/** /**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param leaveType * @param leaveType
*/ */
public void setLeaveType(Integer leaveType){ public void setLeaveType(Integer leaveType){
this.leaveType = leaveType; this.leaveType = leaveType;
} }
/** /**
* 获取 开始时间 * 获取 开始时间
* @return Date * @return Date
*/ */
public Date getStartTime(){ public Date getStartTime(){
return startTime; return startTime;
} }
/** /**
* 设置 开始时间 * 设置 开始时间
* @param startTime * @param startTime
*/ */
public void setStartTime(Date startTime){ public void setStartTime(Date startTime){
this.startTime = startTime; this.startTime = startTime;
} }
/** /**
* 获取 结束时间 * 获取 结束时间
* @return Date * @return Date
*/ */
public Date getEndTime(){ public Date getEndTime(){
return endTime; return endTime;
} }
/** /**
* 设置 结束时间 * 设置 结束时间
* @param endTime * @param endTime
*/ */
public void setEndTime(Date endTime){ public void setEndTime(Date endTime){
this.endTime = endTime; this.endTime = endTime;
} }
/** /**
* 获取 时长,单位秒 * 获取 时长,单位秒
* @return Integer * @return Integer
*/ */
public Integer getDuration(){ public Integer getDuration(){
return duration; return duration;
} }
/** /**
* 设置 时长,单位秒 * 设置 时长,单位秒
* @param duration * @param duration
*/ */
public void setDuration(Integer duration){ public void setDuration(Integer duration){
this.duration = duration; this.duration = duration;
} }
/** /**
* 获取 请假事由 * 获取 请假事由
* @return String * @return String
*/ */
public String getReason(){ public String getReason(){
return reason; return reason;
} }
/** /**
* 设置 请假事由 * 设置 请假事由
* @param reason * @param reason
*/ */
public void setReason(String reason){ public void setReason(String reason){
this.reason = reason; this.reason = reason;
} }
/** /**
* 获取 审批负责人Id * 获取 审批负责人Id
* @return Long * @return Long
*/ */
public Long getApproverId(){ public Long getApproverId(){
return approverId; return approverId;
} }
/** /**
* 设置 审批负责人Id * 设置 审批负责人Id
* @param approverId * @param approverId
*/ */
public void setApproverId(Long approverId){ public void setApproverId(Long approverId){
this.approverId = approverId; this.approverId = approverId;
} }
/** /**
* 获取 审批负责人 * 获取 审批负责人
* @return String * @return String
*/ */
public String getApprover(){ public String getApprover(){
return approver; return approver;
} }
/** /**
* 设置 审批负责人 * 设置 审批负责人
* @param approver * @param approver
*/ */
public void setApprover(String approver){ public void setApprover(String approver){
this.approver = approver; this.approver = approver;
} }
/** /**
* 获取 附件 * 获取 附件
* @return String * @return String
*/ */
public String getAttachment(){ public String getAttachment(){
return attachment; return attachment;
} }
/** /**
* 设置 附件 * 设置 附件
* @param attachment * @param attachment
*/ */
public void setAttachment(String attachment){ public void setAttachment(String attachment){
this.attachment = attachment; this.attachment = attachment;
} }
/** /**
* 获取 附件路径 * 获取 附件路径
* @return String * @return String
*/ */
public String getAttachmentPath(){ public String getAttachmentPath(){
return attachmentPath; return attachmentPath;
} }
/** /**
* 设置 附件路径 * 设置 附件路径
* @param attachmentPath * @param attachmentPath
*/ */
public void setAttachmentPath(String attachmentPath){ public void setAttachmentPath(String attachmentPath){
this.attachmentPath = attachmentPath; this.attachmentPath = attachmentPath;
} }
/** /**
* 获取 备注 * 获取 备注
* @return String * @return String
*/ */
public String getRemark(){ public String getRemark(){
return remark; return remark;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public void setRemark(String remark){ public void setRemark(String remark){
this.remark = remark; this.remark = remark;
} }
...@@ -298,7 +295,7 @@ public class AttendanceLeaveRecordEntity extends AttendanceLeaveRecordVo { ...@@ -298,7 +295,7 @@ public class AttendanceLeaveRecordEntity extends AttendanceLeaveRecordVo {
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -306,7 +303,7 @@ public class AttendanceLeaveRecordEntity extends AttendanceLeaveRecordVo { ...@@ -306,7 +303,7 @@ public class AttendanceLeaveRecordEntity extends AttendanceLeaveRecordVo {
if (obj instanceof AttendanceLeaveRecordEntity) { if (obj instanceof AttendanceLeaveRecordEntity) {
AttendanceLeaveRecordEntity tmp = (AttendanceLeaveRecordEntity) obj; AttendanceLeaveRecordEntity tmp = (AttendanceLeaveRecordEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
...@@ -334,34 +331,34 @@ public class AttendanceLeaveRecordEntity extends AttendanceLeaveRecordVo { ...@@ -334,34 +331,34 @@ public class AttendanceLeaveRecordEntity extends AttendanceLeaveRecordVo {
public void initAttrValue(){ public void initAttrValue(){
this.leavePersonId = null; this.leavePersonId = null;
this.leavePerson = ""; this.leavePerson = "";
this.deptId = null; this.deptId = null;
this.deptName = ""; this.deptName = "";
this.phoneNumber = ""; this.phoneNumber = "";
this.leaveType = null; this.leaveType = null;
this.startTime = null; this.startTime = null;
this.endTime = null; this.endTime = null;
this.duration = null; this.duration = null;
this.reason = ""; this.reason = "";
this.approverId = null; this.approverId = null;
this.approver = ""; this.approver = "";
this.attachment = ""; this.attachment = "";
this.attachmentPath = ""; this.attachmentPath = "";
this.remark = ""; this.remark = "";
} }
} }
\ No newline at end of file
package com.mortals.xhx.module.attendance.model; package com.mortals.xhx.module.attendance.model;
import java.util.Date;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.attendance.model.AttendanceLeaveRecordEntity;
/** /**
* 请假记录信息查询对象 * 请假记录信息查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-07 * @date 2023-04-14
*/ */
public class AttendanceLeaveRecordQuery extends AttendanceLeaveRecordEntity { public class AttendanceLeaveRecordQuery extends AttendanceLeaveRecordEntity {
/** 开始 序号,主键,自增长 */ /** 开始 序号,主键,自增长 */
private Long idStart; private Long idStart;
...@@ -70,19 +68,19 @@ public class AttendanceLeaveRecordQuery extends AttendanceLeaveRecordEntity { ...@@ -70,19 +68,19 @@ public class AttendanceLeaveRecordQuery extends AttendanceLeaveRecordEntity {
/** 电话号码排除列表 */ /** 电话号码排除列表 */
private List <String> phoneNumberNotList; private List <String> phoneNumberNotList;
/** 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) */ /** 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假) */
private Integer leaveTypeStart; private Integer leaveTypeStart;
/** 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) */ /** 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假) */
private Integer leaveTypeEnd; private Integer leaveTypeEnd;
/** 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) */ /** 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假) */
private Integer leaveTypeIncrement; private Integer leaveTypeIncrement;
/** 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)列表 */ /** 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)列表 */
private List <Integer> leaveTypeList; private List <Integer> leaveTypeList;
/** 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)排除列表 */ /** 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)排除列表 */
private List <Integer> leaveTypeNotList; private List <Integer> leaveTypeNotList;
/** 开始 开始时间 */ /** 开始 开始时间 */
...@@ -203,1653 +201,1653 @@ public class AttendanceLeaveRecordQuery extends AttendanceLeaveRecordEntity { ...@@ -203,1653 +201,1653 @@ public class AttendanceLeaveRecordQuery extends AttendanceLeaveRecordEntity {
public AttendanceLeaveRecordQuery(){} public AttendanceLeaveRecordQuery(){}
/** /**
* 获取 开始 序号,主键,自增长 * 获取 开始 序号,主键,自增长
* @return idStart * @return idStart
*/ */
public Long getIdStart(){ public Long getIdStart(){
return this.idStart; return this.idStart;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 序号,主键,自增长
* @param idStart * @param idStart
*/ */
public void setIdStart(Long idStart){ public void setIdStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
} }
/** /**
* 获取 结束 序号,主键,自增长 * 获取 结束 序号,主键,自增长
* @return $idEnd * @return $idEnd
*/ */
public Long getIdEnd(){ public Long getIdEnd(){
return this.idEnd; return this.idEnd;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 设置 结束 序号,主键,自增长
* @param idEnd * @param idEnd
*/ */
public void setIdEnd(Long idEnd){ public void setIdEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
} }
/** /**
* 获取 增加 序号,主键,自增长 * 获取 增加 序号,主键,自增长
* @return idIncrement * @return idIncrement
*/ */
public Long getIdIncrement(){ public Long getIdIncrement(){
return this.idIncrement; return this.idIncrement;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 增加 序号,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public void setIdIncrement(Long idIncrement){ public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
} }
/** /**
* 获取 序号,主键,自增长 * 获取 序号,主键,自增长
* @return idList * @return idList
*/ */
public List<Long> getIdList(){ public List<Long> getIdList(){
return this.idList; return this.idList;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idList * @param idList
*/ */
public void setIdList(List<Long> idList){ public void setIdList(List<Long> idList){
this.idList = idList; this.idList = idList;
} }
/** /**
* 获取 序号,主键,自增长 * 获取 序号,主键,自增长
* @return idNotList * @return idNotList
*/ */
public List<Long> getIdNotList(){ public List<Long> getIdNotList(){
return this.idNotList; return this.idNotList;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idNotList * @param idNotList
*/ */
public void setIdNotList(List<Long> idNotList){ public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
} }
/** /**
* 获取 开始 请假人id * 获取 开始 请假人id
* @return leavePersonIdStart * @return leavePersonIdStart
*/ */
public Long getLeavePersonIdStart(){ public Long getLeavePersonIdStart(){
return this.leavePersonIdStart; return this.leavePersonIdStart;
} }
/** /**
* 设置 开始 请假人id * 设置 开始 请假人id
* @param leavePersonIdStart * @param leavePersonIdStart
*/ */
public void setLeavePersonIdStart(Long leavePersonIdStart){ public void setLeavePersonIdStart(Long leavePersonIdStart){
this.leavePersonIdStart = leavePersonIdStart; this.leavePersonIdStart = leavePersonIdStart;
} }
/** /**
* 获取 结束 请假人id * 获取 结束 请假人id
* @return $leavePersonIdEnd * @return $leavePersonIdEnd
*/ */
public Long getLeavePersonIdEnd(){ public Long getLeavePersonIdEnd(){
return this.leavePersonIdEnd; return this.leavePersonIdEnd;
} }
/** /**
* 设置 结束 请假人id * 设置 结束 请假人id
* @param leavePersonIdEnd * @param leavePersonIdEnd
*/ */
public void setLeavePersonIdEnd(Long leavePersonIdEnd){ public void setLeavePersonIdEnd(Long leavePersonIdEnd){
this.leavePersonIdEnd = leavePersonIdEnd; this.leavePersonIdEnd = leavePersonIdEnd;
} }
/** /**
* 获取 增加 请假人id * 获取 增加 请假人id
* @return leavePersonIdIncrement * @return leavePersonIdIncrement
*/ */
public Long getLeavePersonIdIncrement(){ public Long getLeavePersonIdIncrement(){
return this.leavePersonIdIncrement; return this.leavePersonIdIncrement;
} }
/** /**
* 设置 增加 请假人id * 设置 增加 请假人id
* @param leavePersonIdIncrement * @param leavePersonIdIncrement
*/ */
public void setLeavePersonIdIncrement(Long leavePersonIdIncrement){ public void setLeavePersonIdIncrement(Long leavePersonIdIncrement){
this.leavePersonIdIncrement = leavePersonIdIncrement; this.leavePersonIdIncrement = leavePersonIdIncrement;
} }
/** /**
* 获取 请假人id * 获取 请假人id
* @return leavePersonIdList * @return leavePersonIdList
*/ */
public List<Long> getLeavePersonIdList(){ public List<Long> getLeavePersonIdList(){
return this.leavePersonIdList; return this.leavePersonIdList;
} }
/** /**
* 设置 请假人id * 设置 请假人id
* @param leavePersonIdList * @param leavePersonIdList
*/ */
public void setLeavePersonIdList(List<Long> leavePersonIdList){ public void setLeavePersonIdList(List<Long> leavePersonIdList){
this.leavePersonIdList = leavePersonIdList; this.leavePersonIdList = leavePersonIdList;
} }
/** /**
* 获取 请假人id * 获取 请假人id
* @return leavePersonIdNotList * @return leavePersonIdNotList
*/ */
public List<Long> getLeavePersonIdNotList(){ public List<Long> getLeavePersonIdNotList(){
return this.leavePersonIdNotList; return this.leavePersonIdNotList;
} }
/** /**
* 设置 请假人id * 设置 请假人id
* @param leavePersonIdNotList * @param leavePersonIdNotList
*/ */
public void setLeavePersonIdNotList(List<Long> leavePersonIdNotList){ public void setLeavePersonIdNotList(List<Long> leavePersonIdNotList){
this.leavePersonIdNotList = leavePersonIdNotList; this.leavePersonIdNotList = leavePersonIdNotList;
} }
/** /**
* 获取 请假人 * 获取 请假人
* @return leavePersonList * @return leavePersonList
*/ */
public List<String> getLeavePersonList(){ public List<String> getLeavePersonList(){
return this.leavePersonList; return this.leavePersonList;
} }
/** /**
* 设置 请假人 * 设置 请假人
* @param leavePersonList * @param leavePersonList
*/ */
public void setLeavePersonList(List<String> leavePersonList){ public void setLeavePersonList(List<String> leavePersonList){
this.leavePersonList = leavePersonList; this.leavePersonList = leavePersonList;
} }
/** /**
* 获取 请假人 * 获取 请假人
* @return leavePersonNotList * @return leavePersonNotList
*/ */
public List<String> getLeavePersonNotList(){ public List<String> getLeavePersonNotList(){
return this.leavePersonNotList; return this.leavePersonNotList;
} }
/** /**
* 设置 请假人 * 设置 请假人
* @param leavePersonNotList * @param leavePersonNotList
*/ */
public void setLeavePersonNotList(List<String> leavePersonNotList){ public void setLeavePersonNotList(List<String> leavePersonNotList){
this.leavePersonNotList = leavePersonNotList; this.leavePersonNotList = leavePersonNotList;
} }
/** /**
* 获取 开始 所属部门id * 获取 开始 所属部门id
* @return deptIdStart * @return deptIdStart
*/ */
public Long getDeptIdStart(){ public Long getDeptIdStart(){
return this.deptIdStart; return this.deptIdStart;
} }
/** /**
* 设置 开始 所属部门id * 设置 开始 所属部门id
* @param deptIdStart * @param deptIdStart
*/ */
public void setDeptIdStart(Long deptIdStart){ public void setDeptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart; this.deptIdStart = deptIdStart;
} }
/** /**
* 获取 结束 所属部门id * 获取 结束 所属部门id
* @return $deptIdEnd * @return $deptIdEnd
*/ */
public Long getDeptIdEnd(){ public Long getDeptIdEnd(){
return this.deptIdEnd; return this.deptIdEnd;
} }
/** /**
* 设置 结束 所属部门id * 设置 结束 所属部门id
* @param deptIdEnd * @param deptIdEnd
*/ */
public void setDeptIdEnd(Long deptIdEnd){ public void setDeptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd; this.deptIdEnd = deptIdEnd;
} }
/** /**
* 获取 增加 所属部门id * 获取 增加 所属部门id
* @return deptIdIncrement * @return deptIdIncrement
*/ */
public Long getDeptIdIncrement(){ public Long getDeptIdIncrement(){
return this.deptIdIncrement; return this.deptIdIncrement;
} }
/** /**
* 设置 增加 所属部门id * 设置 增加 所属部门id
* @param deptIdIncrement * @param deptIdIncrement
*/ */
public void setDeptIdIncrement(Long deptIdIncrement){ public void setDeptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement; this.deptIdIncrement = deptIdIncrement;
} }
/** /**
* 获取 所属部门id * 获取 所属部门id
* @return deptIdList * @return deptIdList
*/ */
public List<Long> getDeptIdList(){ public List<Long> getDeptIdList(){
return this.deptIdList; return this.deptIdList;
} }
/** /**
* 设置 所属部门id * 设置 所属部门id
* @param deptIdList * @param deptIdList
*/ */
public void setDeptIdList(List<Long> deptIdList){ public void setDeptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
} }
/** /**
* 获取 所属部门id * 获取 所属部门id
* @return deptIdNotList * @return deptIdNotList
*/ */
public List<Long> getDeptIdNotList(){ public List<Long> getDeptIdNotList(){
return this.deptIdNotList; return this.deptIdNotList;
} }
/** /**
* 设置 所属部门id * 设置 所属部门id
* @param deptIdNotList * @param deptIdNotList
*/ */
public void setDeptIdNotList(List<Long> deptIdNotList){ public void setDeptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList; this.deptIdNotList = deptIdNotList;
} }
/** /**
* 获取 所属部门 * 获取 所属部门
* @return deptNameList * @return deptNameList
*/ */
public List<String> getDeptNameList(){ public List<String> getDeptNameList(){
return this.deptNameList; return this.deptNameList;
} }
/** /**
* 设置 所属部门 * 设置 所属部门
* @param deptNameList * @param deptNameList
*/ */
public void setDeptNameList(List<String> deptNameList){ public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList; this.deptNameList = deptNameList;
} }
/** /**
* 获取 所属部门 * 获取 所属部门
* @return deptNameNotList * @return deptNameNotList
*/ */
public List<String> getDeptNameNotList(){ public List<String> getDeptNameNotList(){
return this.deptNameNotList; return this.deptNameNotList;
} }
/** /**
* 设置 所属部门 * 设置 所属部门
* @param deptNameNotList * @param deptNameNotList
*/ */
public void setDeptNameNotList(List<String> deptNameNotList){ public void setDeptNameNotList(List<String> deptNameNotList){
this.deptNameNotList = deptNameNotList; this.deptNameNotList = deptNameNotList;
} }
/** /**
* 获取 电话号码 * 获取 电话号码
* @return phoneNumberList * @return phoneNumberList
*/ */
public List<String> getPhoneNumberList(){ public List<String> getPhoneNumberList(){
return this.phoneNumberList; return this.phoneNumberList;
} }
/** /**
* 设置 电话号码 * 设置 电话号码
* @param phoneNumberList * @param phoneNumberList
*/ */
public void setPhoneNumberList(List<String> phoneNumberList){ public void setPhoneNumberList(List<String> phoneNumberList){
this.phoneNumberList = phoneNumberList; this.phoneNumberList = phoneNumberList;
} }
/** /**
* 获取 电话号码 * 获取 电话号码
* @return phoneNumberNotList * @return phoneNumberNotList
*/ */
public List<String> getPhoneNumberNotList(){ public List<String> getPhoneNumberNotList(){
return this.phoneNumberNotList; return this.phoneNumberNotList;
} }
/** /**
* 设置 电话号码 * 设置 电话号码
* @param phoneNumberNotList * @param phoneNumberNotList
*/ */
public void setPhoneNumberNotList(List<String> phoneNumberNotList){ public void setPhoneNumberNotList(List<String> phoneNumberNotList){
this.phoneNumberNotList = phoneNumberNotList; this.phoneNumberNotList = phoneNumberNotList;
} }
/** /**
* 获取 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 获取 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @return leaveTypeStart * @return leaveTypeStart
*/ */
public Integer getLeaveTypeStart(){ public Integer getLeaveTypeStart(){
return this.leaveTypeStart; return this.leaveTypeStart;
} }
/** /**
* 设置 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param leaveTypeStart * @param leaveTypeStart
*/ */
public void setLeaveTypeStart(Integer leaveTypeStart){ public void setLeaveTypeStart(Integer leaveTypeStart){
this.leaveTypeStart = leaveTypeStart; this.leaveTypeStart = leaveTypeStart;
} }
/** /**
* 获取 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 获取 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @return $leaveTypeEnd * @return $leaveTypeEnd
*/ */
public Integer getLeaveTypeEnd(){ public Integer getLeaveTypeEnd(){
return this.leaveTypeEnd; return this.leaveTypeEnd;
} }
/** /**
* 设置 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param leaveTypeEnd * @param leaveTypeEnd
*/ */
public void setLeaveTypeEnd(Integer leaveTypeEnd){ public void setLeaveTypeEnd(Integer leaveTypeEnd){
this.leaveTypeEnd = leaveTypeEnd; this.leaveTypeEnd = leaveTypeEnd;
} }
/** /**
* 获取 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 获取 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @return leaveTypeIncrement * @return leaveTypeIncrement
*/ */
public Integer getLeaveTypeIncrement(){ public Integer getLeaveTypeIncrement(){
return this.leaveTypeIncrement; return this.leaveTypeIncrement;
} }
/** /**
* 设置 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param leaveTypeIncrement * @param leaveTypeIncrement
*/ */
public void setLeaveTypeIncrement(Integer leaveTypeIncrement){ public void setLeaveTypeIncrement(Integer leaveTypeIncrement){
this.leaveTypeIncrement = leaveTypeIncrement; this.leaveTypeIncrement = leaveTypeIncrement;
} }
/** /**
* 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @return leaveTypeList * @return leaveTypeList
*/ */
public List<Integer> getLeaveTypeList(){ public List<Integer> getLeaveTypeList(){
return this.leaveTypeList; return this.leaveTypeList;
} }
/** /**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param leaveTypeList * @param leaveTypeList
*/ */
public void setLeaveTypeList(List<Integer> leaveTypeList){ public void setLeaveTypeList(List<Integer> leaveTypeList){
this.leaveTypeList = leaveTypeList; this.leaveTypeList = leaveTypeList;
} }
/** /**
* 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @return leaveTypeNotList * @return leaveTypeNotList
*/ */
public List<Integer> getLeaveTypeNotList(){ public List<Integer> getLeaveTypeNotList(){
return this.leaveTypeNotList; return this.leaveTypeNotList;
} }
/** /**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param leaveTypeNotList * @param leaveTypeNotList
*/ */
public void setLeaveTypeNotList(List<Integer> leaveTypeNotList){ public void setLeaveTypeNotList(List<Integer> leaveTypeNotList){
this.leaveTypeNotList = leaveTypeNotList; this.leaveTypeNotList = leaveTypeNotList;
} }
/** /**
* 获取 开始 开始时间 * 获取 开始 开始时间
* @return startTimeStart * @return startTimeStart
*/ */
public String getStartTimeStart(){ public String getStartTimeStart(){
return this.startTimeStart; return this.startTimeStart;
} }
/** /**
* 设置 开始 开始时间 * 设置 开始 开始时间
* @param startTimeStart * @param startTimeStart
*/ */
public void setStartTimeStart(String startTimeStart){ public void setStartTimeStart(String startTimeStart){
this.startTimeStart = startTimeStart; this.startTimeStart = startTimeStart;
} }
/** /**
* 获取 结束 开始时间 * 获取 结束 开始时间
* @return startTimeEnd * @return startTimeEnd
*/ */
public String getStartTimeEnd(){ public String getStartTimeEnd(){
return this.startTimeEnd; return this.startTimeEnd;
} }
/** /**
* 设置 结束 开始时间 * 设置 结束 开始时间
* @param startTimeEnd * @param startTimeEnd
*/ */
public void setStartTimeEnd(String startTimeEnd){ public void setStartTimeEnd(String startTimeEnd){
this.startTimeEnd = startTimeEnd; this.startTimeEnd = startTimeEnd;
} }
/** /**
* 获取 开始 结束时间 * 获取 开始 结束时间
* @return endTimeStart * @return endTimeStart
*/ */
public String getEndTimeStart(){ public String getEndTimeStart(){
return this.endTimeStart; return this.endTimeStart;
} }
/** /**
* 设置 开始 结束时间 * 设置 开始 结束时间
* @param endTimeStart * @param endTimeStart
*/ */
public void setEndTimeStart(String endTimeStart){ public void setEndTimeStart(String endTimeStart){
this.endTimeStart = endTimeStart; this.endTimeStart = endTimeStart;
} }
/** /**
* 获取 结束 结束时间 * 获取 结束 结束时间
* @return endTimeEnd * @return endTimeEnd
*/ */
public String getEndTimeEnd(){ public String getEndTimeEnd(){
return this.endTimeEnd; return this.endTimeEnd;
} }
/** /**
* 设置 结束 结束时间 * 设置 结束 结束时间
* @param endTimeEnd * @param endTimeEnd
*/ */
public void setEndTimeEnd(String endTimeEnd){ public void setEndTimeEnd(String endTimeEnd){
this.endTimeEnd = endTimeEnd; this.endTimeEnd = endTimeEnd;
} }
/** /**
* 获取 开始 时长,单位秒 * 获取 开始 时长,单位秒
* @return durationStart * @return durationStart
*/ */
public Integer getDurationStart(){ public Integer getDurationStart(){
return this.durationStart; return this.durationStart;
} }
/** /**
* 设置 开始 时长,单位秒 * 设置 开始 时长,单位秒
* @param durationStart * @param durationStart
*/ */
public void setDurationStart(Integer durationStart){ public void setDurationStart(Integer durationStart){
this.durationStart = durationStart; this.durationStart = durationStart;
} }
/** /**
* 获取 结束 时长,单位秒 * 获取 结束 时长,单位秒
* @return $durationEnd * @return $durationEnd
*/ */
public Integer getDurationEnd(){ public Integer getDurationEnd(){
return this.durationEnd; return this.durationEnd;
} }
/** /**
* 设置 结束 时长,单位秒 * 设置 结束 时长,单位秒
* @param durationEnd * @param durationEnd
*/ */
public void setDurationEnd(Integer durationEnd){ public void setDurationEnd(Integer durationEnd){
this.durationEnd = durationEnd; this.durationEnd = durationEnd;
} }
/** /**
* 获取 增加 时长,单位秒 * 获取 增加 时长,单位秒
* @return durationIncrement * @return durationIncrement
*/ */
public Integer getDurationIncrement(){ public Integer getDurationIncrement(){
return this.durationIncrement; return this.durationIncrement;
} }
/** /**
* 设置 增加 时长,单位秒 * 设置 增加 时长,单位秒
* @param durationIncrement * @param durationIncrement
*/ */
public void setDurationIncrement(Integer durationIncrement){ public void setDurationIncrement(Integer durationIncrement){
this.durationIncrement = durationIncrement; this.durationIncrement = durationIncrement;
} }
/** /**
* 获取 时长,单位秒 * 获取 时长,单位秒
* @return durationList * @return durationList
*/ */
public List<Integer> getDurationList(){ public List<Integer> getDurationList(){
return this.durationList; return this.durationList;
} }
/** /**
* 设置 时长,单位秒 * 设置 时长,单位秒
* @param durationList * @param durationList
*/ */
public void setDurationList(List<Integer> durationList){ public void setDurationList(List<Integer> durationList){
this.durationList = durationList; this.durationList = durationList;
} }
/** /**
* 获取 时长,单位秒 * 获取 时长,单位秒
* @return durationNotList * @return durationNotList
*/ */
public List<Integer> getDurationNotList(){ public List<Integer> getDurationNotList(){
return this.durationNotList; return this.durationNotList;
} }
/** /**
* 设置 时长,单位秒 * 设置 时长,单位秒
* @param durationNotList * @param durationNotList
*/ */
public void setDurationNotList(List<Integer> durationNotList){ public void setDurationNotList(List<Integer> durationNotList){
this.durationNotList = durationNotList; this.durationNotList = durationNotList;
} }
/** /**
* 获取 请假事由 * 获取 请假事由
* @return reasonList * @return reasonList
*/ */
public List<String> getReasonList(){ public List<String> getReasonList(){
return this.reasonList; return this.reasonList;
} }
/** /**
* 设置 请假事由 * 设置 请假事由
* @param reasonList * @param reasonList
*/ */
public void setReasonList(List<String> reasonList){ public void setReasonList(List<String> reasonList){
this.reasonList = reasonList; this.reasonList = reasonList;
} }
/** /**
* 获取 请假事由 * 获取 请假事由
* @return reasonNotList * @return reasonNotList
*/ */
public List<String> getReasonNotList(){ public List<String> getReasonNotList(){
return this.reasonNotList; return this.reasonNotList;
} }
/** /**
* 设置 请假事由 * 设置 请假事由
* @param reasonNotList * @param reasonNotList
*/ */
public void setReasonNotList(List<String> reasonNotList){ public void setReasonNotList(List<String> reasonNotList){
this.reasonNotList = reasonNotList; this.reasonNotList = reasonNotList;
} }
/** /**
* 获取 开始 审批负责人Id * 获取 开始 审批负责人Id
* @return approverIdStart * @return approverIdStart
*/ */
public Long getApproverIdStart(){ public Long getApproverIdStart(){
return this.approverIdStart; return this.approverIdStart;
} }
/** /**
* 设置 开始 审批负责人Id * 设置 开始 审批负责人Id
* @param approverIdStart * @param approverIdStart
*/ */
public void setApproverIdStart(Long approverIdStart){ public void setApproverIdStart(Long approverIdStart){
this.approverIdStart = approverIdStart; this.approverIdStart = approverIdStart;
} }
/** /**
* 获取 结束 审批负责人Id * 获取 结束 审批负责人Id
* @return $approverIdEnd * @return $approverIdEnd
*/ */
public Long getApproverIdEnd(){ public Long getApproverIdEnd(){
return this.approverIdEnd; return this.approverIdEnd;
} }
/** /**
* 设置 结束 审批负责人Id * 设置 结束 审批负责人Id
* @param approverIdEnd * @param approverIdEnd
*/ */
public void setApproverIdEnd(Long approverIdEnd){ public void setApproverIdEnd(Long approverIdEnd){
this.approverIdEnd = approverIdEnd; this.approverIdEnd = approverIdEnd;
} }
/** /**
* 获取 增加 审批负责人Id * 获取 增加 审批负责人Id
* @return approverIdIncrement * @return approverIdIncrement
*/ */
public Long getApproverIdIncrement(){ public Long getApproverIdIncrement(){
return this.approverIdIncrement; return this.approverIdIncrement;
} }
/** /**
* 设置 增加 审批负责人Id * 设置 增加 审批负责人Id
* @param approverIdIncrement * @param approverIdIncrement
*/ */
public void setApproverIdIncrement(Long approverIdIncrement){ public void setApproverIdIncrement(Long approverIdIncrement){
this.approverIdIncrement = approverIdIncrement; this.approverIdIncrement = approverIdIncrement;
} }
/** /**
* 获取 审批负责人Id * 获取 审批负责人Id
* @return approverIdList * @return approverIdList
*/ */
public List<Long> getApproverIdList(){ public List<Long> getApproverIdList(){
return this.approverIdList; return this.approverIdList;
} }
/** /**
* 设置 审批负责人Id * 设置 审批负责人Id
* @param approverIdList * @param approverIdList
*/ */
public void setApproverIdList(List<Long> approverIdList){ public void setApproverIdList(List<Long> approverIdList){
this.approverIdList = approverIdList; this.approverIdList = approverIdList;
} }
/** /**
* 获取 审批负责人Id * 获取 审批负责人Id
* @return approverIdNotList * @return approverIdNotList
*/ */
public List<Long> getApproverIdNotList(){ public List<Long> getApproverIdNotList(){
return this.approverIdNotList; return this.approverIdNotList;
} }
/** /**
* 设置 审批负责人Id * 设置 审批负责人Id
* @param approverIdNotList * @param approverIdNotList
*/ */
public void setApproverIdNotList(List<Long> approverIdNotList){ public void setApproverIdNotList(List<Long> approverIdNotList){
this.approverIdNotList = approverIdNotList; this.approverIdNotList = approverIdNotList;
} }
/** /**
* 获取 审批负责人 * 获取 审批负责人
* @return approverList * @return approverList
*/ */
public List<String> getApproverList(){ public List<String> getApproverList(){
return this.approverList; return this.approverList;
} }
/** /**
* 设置 审批负责人 * 设置 审批负责人
* @param approverList * @param approverList
*/ */
public void setApproverList(List<String> approverList){ public void setApproverList(List<String> approverList){
this.approverList = approverList; this.approverList = approverList;
} }
/** /**
* 获取 审批负责人 * 获取 审批负责人
* @return approverNotList * @return approverNotList
*/ */
public List<String> getApproverNotList(){ public List<String> getApproverNotList(){
return this.approverNotList; return this.approverNotList;
} }
/** /**
* 设置 审批负责人 * 设置 审批负责人
* @param approverNotList * @param approverNotList
*/ */
public void setApproverNotList(List<String> approverNotList){ public void setApproverNotList(List<String> approverNotList){
this.approverNotList = approverNotList; this.approverNotList = approverNotList;
} }
/** /**
* 获取 附件 * 获取 附件
* @return attachmentList * @return attachmentList
*/ */
public List<String> getAttachmentList(){ public List<String> getAttachmentList(){
return this.attachmentList; return this.attachmentList;
} }
/** /**
* 设置 附件 * 设置 附件
* @param attachmentList * @param attachmentList
*/ */
public void setAttachmentList(List<String> attachmentList){ public void setAttachmentList(List<String> attachmentList){
this.attachmentList = attachmentList; this.attachmentList = attachmentList;
} }
/** /**
* 获取 附件 * 获取 附件
* @return attachmentNotList * @return attachmentNotList
*/ */
public List<String> getAttachmentNotList(){ public List<String> getAttachmentNotList(){
return this.attachmentNotList; return this.attachmentNotList;
} }
/** /**
* 设置 附件 * 设置 附件
* @param attachmentNotList * @param attachmentNotList
*/ */
public void setAttachmentNotList(List<String> attachmentNotList){ public void setAttachmentNotList(List<String> attachmentNotList){
this.attachmentNotList = attachmentNotList; this.attachmentNotList = attachmentNotList;
} }
/** /**
* 获取 附件路径 * 获取 附件路径
* @return attachmentPathList * @return attachmentPathList
*/ */
public List<String> getAttachmentPathList(){ public List<String> getAttachmentPathList(){
return this.attachmentPathList; return this.attachmentPathList;
} }
/** /**
* 设置 附件路径 * 设置 附件路径
* @param attachmentPathList * @param attachmentPathList
*/ */
public void setAttachmentPathList(List<String> attachmentPathList){ public void setAttachmentPathList(List<String> attachmentPathList){
this.attachmentPathList = attachmentPathList; this.attachmentPathList = attachmentPathList;
} }
/** /**
* 获取 附件路径 * 获取 附件路径
* @return attachmentPathNotList * @return attachmentPathNotList
*/ */
public List<String> getAttachmentPathNotList(){ public List<String> getAttachmentPathNotList(){
return this.attachmentPathNotList; return this.attachmentPathNotList;
} }
/** /**
* 设置 附件路径 * 设置 附件路径
* @param attachmentPathNotList * @param attachmentPathNotList
*/ */
public void setAttachmentPathNotList(List<String> attachmentPathNotList){ public void setAttachmentPathNotList(List<String> attachmentPathNotList){
this.attachmentPathNotList = attachmentPathNotList; this.attachmentPathNotList = attachmentPathNotList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkList * @return remarkList
*/ */
public List<String> getRemarkList(){ public List<String> getRemarkList(){
return this.remarkList; return this.remarkList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public void setRemarkList(List<String> remarkList){ public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkNotList * @return remarkNotList
*/ */
public List<String> getRemarkNotList(){ public List<String> getRemarkNotList(){
return this.remarkNotList; return this.remarkNotList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkNotList * @param remarkNotList
*/ */
public void setRemarkNotList(List<String> remarkNotList){ public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList; this.remarkNotList = remarkNotList;
} }
/** /**
* 获取 开始 创建用户 * 获取 开始 创建用户
* @return createUserIdStart * @return createUserIdStart
*/ */
public Long getCreateUserIdStart(){ public Long getCreateUserIdStart(){
return this.createUserIdStart; return this.createUserIdStart;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public void setCreateUserIdStart(Long createUserIdStart){ public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
} }
/** /**
* 获取 结束 创建用户 * 获取 结束 创建用户
* @return $createUserIdEnd * @return $createUserIdEnd
*/ */
public Long getCreateUserIdEnd(){ public Long getCreateUserIdEnd(){
return this.createUserIdEnd; return this.createUserIdEnd;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public void setCreateUserIdEnd(Long createUserIdEnd){ public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
} }
/** /**
* 获取 增加 创建用户 * 获取 增加 创建用户
* @return createUserIdIncrement * @return createUserIdIncrement
*/ */
public Long getCreateUserIdIncrement(){ public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement; return this.createUserIdIncrement;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public void setCreateUserIdIncrement(Long createUserIdIncrement){ public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdList * @return createUserIdList
*/ */
public List<Long> getCreateUserIdList(){ public List<Long> getCreateUserIdList(){
return this.createUserIdList; return this.createUserIdList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public void setCreateUserIdList(List<Long> createUserIdList){ public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdNotList * @return createUserIdNotList
*/ */
public List<Long> getCreateUserIdNotList(){ public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList; return this.createUserIdNotList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public void setCreateUserIdNotList(List<Long> createUserIdNotList){ public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
} }
/** /**
* 获取 开始 创建时间 * 获取 开始 创建时间
* @return createTimeStart * @return createTimeStart
*/ */
public String getCreateTimeStart(){ public String getCreateTimeStart(){
return this.createTimeStart; return this.createTimeStart;
} }
/** /**
* 设置 开始 创建时间 * 设置 开始 创建时间
* @param createTimeStart * @param createTimeStart
*/ */
public void setCreateTimeStart(String createTimeStart){ public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart; this.createTimeStart = createTimeStart;
} }
/** /**
* 获取 结束 创建时间 * 获取 结束 创建时间
* @return createTimeEnd * @return createTimeEnd
*/ */
public String getCreateTimeEnd(){ public String getCreateTimeEnd(){
return this.createTimeEnd; return this.createTimeEnd;
} }
/** /**
* 设置 结束 创建时间 * 设置 结束 创建时间
* @param createTimeEnd * @param createTimeEnd
*/ */
public void setCreateTimeEnd(String createTimeEnd){ public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd; this.createTimeEnd = createTimeEnd;
} }
/** /**
* 获取 开始 更新用户 * 获取 开始 更新用户
* @return updateUserIdStart * @return updateUserIdStart
*/ */
public Long getUpdateUserIdStart(){ public Long getUpdateUserIdStart(){
return this.updateUserIdStart; return this.updateUserIdStart;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public void setUpdateUserIdStart(Long updateUserIdStart){ public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
} }
/** /**
* 获取 结束 更新用户 * 获取 结束 更新用户
* @return $updateUserIdEnd * @return $updateUserIdEnd
*/ */
public Long getUpdateUserIdEnd(){ public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd; return this.updateUserIdEnd;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public void setUpdateUserIdEnd(Long updateUserIdEnd){ public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
} }
/** /**
* 获取 增加 更新用户 * 获取 增加 更新用户
* @return updateUserIdIncrement * @return updateUserIdIncrement
*/ */
public Long getUpdateUserIdIncrement(){ public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement; return this.updateUserIdIncrement;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){ public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdList * @return updateUserIdList
*/ */
public List<Long> getUpdateUserIdList(){ public List<Long> getUpdateUserIdList(){
return this.updateUserIdList; return this.updateUserIdList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public void setUpdateUserIdList(List<Long> updateUserIdList){ public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdNotList * @return updateUserIdNotList
*/ */
public List<Long> getUpdateUserIdNotList(){ public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList; return this.updateUserIdNotList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){ public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
} }
/** /**
* 获取 开始 更新时间 * 获取 开始 更新时间
* @return updateTimeStart * @return updateTimeStart
*/ */
public String getUpdateTimeStart(){ public String getUpdateTimeStart(){
return this.updateTimeStart; return this.updateTimeStart;
} }
/** /**
* 设置 开始 更新时间 * 设置 开始 更新时间
* @param updateTimeStart * @param updateTimeStart
*/ */
public void setUpdateTimeStart(String updateTimeStart){ public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart; this.updateTimeStart = updateTimeStart;
} }
/** /**
* 获取 结束 更新时间 * 获取 结束 更新时间
* @return updateTimeEnd * @return updateTimeEnd
*/ */
public String getUpdateTimeEnd(){ public String getUpdateTimeEnd(){
return this.updateTimeEnd; return this.updateTimeEnd;
} }
/** /**
* 设置 结束 更新时间 * 设置 结束 更新时间
* @param updateTimeEnd * @param updateTimeEnd
*/ */
public void setUpdateTimeEnd(String updateTimeEnd){ public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd; this.updateTimeEnd = updateTimeEnd;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param id * @param id
*/ */
public AttendanceLeaveRecordQuery id(Long id){ public AttendanceLeaveRecordQuery id(Long id){
setId(id); setId(id);
return this; return this;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 序号,主键,自增长
* @param idStart * @param idStart
*/ */
public AttendanceLeaveRecordQuery idStart(Long idStart){ public AttendanceLeaveRecordQuery idStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
return this; return this;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 设置 结束 序号,主键,自增长
* @param idEnd * @param idEnd
*/ */
public AttendanceLeaveRecordQuery idEnd(Long idEnd){ public AttendanceLeaveRecordQuery idEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
return this; return this;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 增加 序号,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public AttendanceLeaveRecordQuery idIncrement(Long idIncrement){ public AttendanceLeaveRecordQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
return this; return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idList * @param idList
*/ */
public AttendanceLeaveRecordQuery idList(List<Long> idList){ public AttendanceLeaveRecordQuery idList(List<Long> idList){
this.idList = idList; this.idList = idList;
return this; return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idNotList * @param idNotList
*/ */
public AttendanceLeaveRecordQuery idNotList(List<Long> idNotList){ public AttendanceLeaveRecordQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
return this; return this;
} }
/** /**
* 设置 请假人id * 设置 请假人id
* @param leavePersonId * @param leavePersonId
*/ */
public AttendanceLeaveRecordQuery leavePersonId(Long leavePersonId){ public AttendanceLeaveRecordQuery leavePersonId(Long leavePersonId){
setLeavePersonId(leavePersonId); setLeavePersonId(leavePersonId);
return this; return this;
} }
/** /**
* 设置 开始 请假人id * 设置 开始 请假人id
* @param leavePersonIdStart * @param leavePersonIdStart
*/ */
public AttendanceLeaveRecordQuery leavePersonIdStart(Long leavePersonIdStart){ public AttendanceLeaveRecordQuery leavePersonIdStart(Long leavePersonIdStart){
this.leavePersonIdStart = leavePersonIdStart; this.leavePersonIdStart = leavePersonIdStart;
return this; return this;
} }
/** /**
* 设置 结束 请假人id * 设置 结束 请假人id
* @param leavePersonIdEnd * @param leavePersonIdEnd
*/ */
public AttendanceLeaveRecordQuery leavePersonIdEnd(Long leavePersonIdEnd){ public AttendanceLeaveRecordQuery leavePersonIdEnd(Long leavePersonIdEnd){
this.leavePersonIdEnd = leavePersonIdEnd; this.leavePersonIdEnd = leavePersonIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 请假人id * 设置 增加 请假人id
* @param leavePersonIdIncrement * @param leavePersonIdIncrement
*/ */
public AttendanceLeaveRecordQuery leavePersonIdIncrement(Long leavePersonIdIncrement){ public AttendanceLeaveRecordQuery leavePersonIdIncrement(Long leavePersonIdIncrement){
this.leavePersonIdIncrement = leavePersonIdIncrement; this.leavePersonIdIncrement = leavePersonIdIncrement;
return this; return this;
} }
/** /**
* 设置 请假人id * 设置 请假人id
* @param leavePersonIdList * @param leavePersonIdList
*/ */
public AttendanceLeaveRecordQuery leavePersonIdList(List<Long> leavePersonIdList){ public AttendanceLeaveRecordQuery leavePersonIdList(List<Long> leavePersonIdList){
this.leavePersonIdList = leavePersonIdList; this.leavePersonIdList = leavePersonIdList;
return this; return this;
} }
/** /**
* 设置 请假人id * 设置 请假人id
* @param leavePersonIdNotList * @param leavePersonIdNotList
*/ */
public AttendanceLeaveRecordQuery leavePersonIdNotList(List<Long> leavePersonIdNotList){ public AttendanceLeaveRecordQuery leavePersonIdNotList(List<Long> leavePersonIdNotList){
this.leavePersonIdNotList = leavePersonIdNotList; this.leavePersonIdNotList = leavePersonIdNotList;
return this; return this;
} }
/** /**
* 设置 请假人 * 设置 请假人
* @param leavePerson * @param leavePerson
*/ */
public AttendanceLeaveRecordQuery leavePerson(String leavePerson){ public AttendanceLeaveRecordQuery leavePerson(String leavePerson){
setLeavePerson(leavePerson); setLeavePerson(leavePerson);
return this; return this;
} }
/** /**
* 设置 请假人 * 设置 请假人
* @param leavePersonList * @param leavePersonList
*/ */
public AttendanceLeaveRecordQuery leavePersonList(List<String> leavePersonList){ public AttendanceLeaveRecordQuery leavePersonList(List<String> leavePersonList){
this.leavePersonList = leavePersonList; this.leavePersonList = leavePersonList;
return this; return this;
} }
/** /**
* 设置 所属部门id * 设置 所属部门id
* @param deptId * @param deptId
*/ */
public AttendanceLeaveRecordQuery deptId(Long deptId){ public AttendanceLeaveRecordQuery deptId(Long deptId){
setDeptId(deptId); setDeptId(deptId);
return this; return this;
} }
/** /**
* 设置 开始 所属部门id * 设置 开始 所属部门id
* @param deptIdStart * @param deptIdStart
*/ */
public AttendanceLeaveRecordQuery deptIdStart(Long deptIdStart){ public AttendanceLeaveRecordQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart; this.deptIdStart = deptIdStart;
return this; return this;
} }
/** /**
* 设置 结束 所属部门id * 设置 结束 所属部门id
* @param deptIdEnd * @param deptIdEnd
*/ */
public AttendanceLeaveRecordQuery deptIdEnd(Long deptIdEnd){ public AttendanceLeaveRecordQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd; this.deptIdEnd = deptIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 所属部门id * 设置 增加 所属部门id
* @param deptIdIncrement * @param deptIdIncrement
*/ */
public AttendanceLeaveRecordQuery deptIdIncrement(Long deptIdIncrement){ public AttendanceLeaveRecordQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement; this.deptIdIncrement = deptIdIncrement;
return this; return this;
} }
/** /**
* 设置 所属部门id * 设置 所属部门id
* @param deptIdList * @param deptIdList
*/ */
public AttendanceLeaveRecordQuery deptIdList(List<Long> deptIdList){ public AttendanceLeaveRecordQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
return this; return this;
} }
/** /**
* 设置 所属部门id * 设置 所属部门id
* @param deptIdNotList * @param deptIdNotList
*/ */
public AttendanceLeaveRecordQuery deptIdNotList(List<Long> deptIdNotList){ public AttendanceLeaveRecordQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList; this.deptIdNotList = deptIdNotList;
return this; return this;
} }
/** /**
* 设置 所属部门 * 设置 所属部门
* @param deptName * @param deptName
*/ */
public AttendanceLeaveRecordQuery deptName(String deptName){ public AttendanceLeaveRecordQuery deptName(String deptName){
setDeptName(deptName); setDeptName(deptName);
return this; return this;
} }
/** /**
* 设置 所属部门 * 设置 所属部门
* @param deptNameList * @param deptNameList
*/ */
public AttendanceLeaveRecordQuery deptNameList(List<String> deptNameList){ public AttendanceLeaveRecordQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList; this.deptNameList = deptNameList;
return this; return this;
} }
/** /**
* 设置 电话号码 * 设置 电话号码
* @param phoneNumber * @param phoneNumber
*/ */
public AttendanceLeaveRecordQuery phoneNumber(String phoneNumber){ public AttendanceLeaveRecordQuery phoneNumber(String phoneNumber){
setPhoneNumber(phoneNumber); setPhoneNumber(phoneNumber);
return this; return this;
} }
/** /**
* 设置 电话号码 * 设置 电话号码
* @param phoneNumberList * @param phoneNumberList
*/ */
public AttendanceLeaveRecordQuery phoneNumberList(List<String> phoneNumberList){ public AttendanceLeaveRecordQuery phoneNumberList(List<String> phoneNumberList){
this.phoneNumberList = phoneNumberList; this.phoneNumberList = phoneNumberList;
return this; return this;
} }
/** /**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param leaveType * @param leaveType
*/ */
public AttendanceLeaveRecordQuery leaveType(Integer leaveType){ public AttendanceLeaveRecordQuery leaveType(Integer leaveType){
setLeaveType(leaveType); setLeaveType(leaveType);
return this; return this;
} }
/** /**
* 设置 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param leaveTypeStart * @param leaveTypeStart
*/ */
public AttendanceLeaveRecordQuery leaveTypeStart(Integer leaveTypeStart){ public AttendanceLeaveRecordQuery leaveTypeStart(Integer leaveTypeStart){
this.leaveTypeStart = leaveTypeStart; this.leaveTypeStart = leaveTypeStart;
return this; return this;
} }
/** /**
* 设置 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param leaveTypeEnd * @param leaveTypeEnd
*/ */
public AttendanceLeaveRecordQuery leaveTypeEnd(Integer leaveTypeEnd){ public AttendanceLeaveRecordQuery leaveTypeEnd(Integer leaveTypeEnd){
this.leaveTypeEnd = leaveTypeEnd; this.leaveTypeEnd = leaveTypeEnd;
return this; return this;
} }
/** /**
* 设置 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param leaveTypeIncrement * @param leaveTypeIncrement
*/ */
public AttendanceLeaveRecordQuery leaveTypeIncrement(Integer leaveTypeIncrement){ public AttendanceLeaveRecordQuery leaveTypeIncrement(Integer leaveTypeIncrement){
this.leaveTypeIncrement = leaveTypeIncrement; this.leaveTypeIncrement = leaveTypeIncrement;
return this; return this;
} }
/** /**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param leaveTypeList * @param leaveTypeList
*/ */
public AttendanceLeaveRecordQuery leaveTypeList(List<Integer> leaveTypeList){ public AttendanceLeaveRecordQuery leaveTypeList(List<Integer> leaveTypeList){
this.leaveTypeList = leaveTypeList; this.leaveTypeList = leaveTypeList;
return this; return this;
} }
/** /**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param leaveTypeNotList * @param leaveTypeNotList
*/ */
public AttendanceLeaveRecordQuery leaveTypeNotList(List<Integer> leaveTypeNotList){ public AttendanceLeaveRecordQuery leaveTypeNotList(List<Integer> leaveTypeNotList){
this.leaveTypeNotList = leaveTypeNotList; this.leaveTypeNotList = leaveTypeNotList;
return this; return this;
} }
/** /**
* 设置 时长,单位秒 * 设置 时长,单位秒
* @param duration * @param duration
*/ */
public AttendanceLeaveRecordQuery duration(Integer duration){ public AttendanceLeaveRecordQuery duration(Integer duration){
setDuration(duration); setDuration(duration);
return this; return this;
} }
/** /**
* 设置 开始 时长,单位秒 * 设置 开始 时长,单位秒
* @param durationStart * @param durationStart
*/ */
public AttendanceLeaveRecordQuery durationStart(Integer durationStart){ public AttendanceLeaveRecordQuery durationStart(Integer durationStart){
this.durationStart = durationStart; this.durationStart = durationStart;
return this; return this;
} }
/** /**
* 设置 结束 时长,单位秒 * 设置 结束 时长,单位秒
* @param durationEnd * @param durationEnd
*/ */
public AttendanceLeaveRecordQuery durationEnd(Integer durationEnd){ public AttendanceLeaveRecordQuery durationEnd(Integer durationEnd){
this.durationEnd = durationEnd; this.durationEnd = durationEnd;
return this; return this;
} }
/** /**
* 设置 增加 时长,单位秒 * 设置 增加 时长,单位秒
* @param durationIncrement * @param durationIncrement
*/ */
public AttendanceLeaveRecordQuery durationIncrement(Integer durationIncrement){ public AttendanceLeaveRecordQuery durationIncrement(Integer durationIncrement){
this.durationIncrement = durationIncrement; this.durationIncrement = durationIncrement;
return this; return this;
} }
/** /**
* 设置 时长,单位秒 * 设置 时长,单位秒
* @param durationList * @param durationList
*/ */
public AttendanceLeaveRecordQuery durationList(List<Integer> durationList){ public AttendanceLeaveRecordQuery durationList(List<Integer> durationList){
this.durationList = durationList; this.durationList = durationList;
return this; return this;
} }
/** /**
* 设置 时长,单位秒 * 设置 时长,单位秒
* @param durationNotList * @param durationNotList
*/ */
public AttendanceLeaveRecordQuery durationNotList(List<Integer> durationNotList){ public AttendanceLeaveRecordQuery durationNotList(List<Integer> durationNotList){
this.durationNotList = durationNotList; this.durationNotList = durationNotList;
return this; return this;
} }
/** /**
* 设置 请假事由 * 设置 请假事由
* @param reason * @param reason
*/ */
public AttendanceLeaveRecordQuery reason(String reason){ public AttendanceLeaveRecordQuery reason(String reason){
setReason(reason); setReason(reason);
return this; return this;
} }
/** /**
* 设置 请假事由 * 设置 请假事由
* @param reasonList * @param reasonList
*/ */
public AttendanceLeaveRecordQuery reasonList(List<String> reasonList){ public AttendanceLeaveRecordQuery reasonList(List<String> reasonList){
this.reasonList = reasonList; this.reasonList = reasonList;
return this; return this;
} }
/** /**
* 设置 审批负责人Id * 设置 审批负责人Id
* @param approverId * @param approverId
*/ */
public AttendanceLeaveRecordQuery approverId(Long approverId){ public AttendanceLeaveRecordQuery approverId(Long approverId){
setApproverId(approverId); setApproverId(approverId);
return this; return this;
} }
/** /**
* 设置 开始 审批负责人Id * 设置 开始 审批负责人Id
* @param approverIdStart * @param approverIdStart
*/ */
public AttendanceLeaveRecordQuery approverIdStart(Long approverIdStart){ public AttendanceLeaveRecordQuery approverIdStart(Long approverIdStart){
this.approverIdStart = approverIdStart; this.approverIdStart = approverIdStart;
return this; return this;
} }
/** /**
* 设置 结束 审批负责人Id * 设置 结束 审批负责人Id
* @param approverIdEnd * @param approverIdEnd
*/ */
public AttendanceLeaveRecordQuery approverIdEnd(Long approverIdEnd){ public AttendanceLeaveRecordQuery approverIdEnd(Long approverIdEnd){
this.approverIdEnd = approverIdEnd; this.approverIdEnd = approverIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 审批负责人Id * 设置 增加 审批负责人Id
* @param approverIdIncrement * @param approverIdIncrement
*/ */
public AttendanceLeaveRecordQuery approverIdIncrement(Long approverIdIncrement){ public AttendanceLeaveRecordQuery approverIdIncrement(Long approverIdIncrement){
this.approverIdIncrement = approverIdIncrement; this.approverIdIncrement = approverIdIncrement;
return this; return this;
} }
/** /**
* 设置 审批负责人Id * 设置 审批负责人Id
* @param approverIdList * @param approverIdList
*/ */
public AttendanceLeaveRecordQuery approverIdList(List<Long> approverIdList){ public AttendanceLeaveRecordQuery approverIdList(List<Long> approverIdList){
this.approverIdList = approverIdList; this.approverIdList = approverIdList;
return this; return this;
} }
/** /**
* 设置 审批负责人Id * 设置 审批负责人Id
* @param approverIdNotList * @param approverIdNotList
*/ */
public AttendanceLeaveRecordQuery approverIdNotList(List<Long> approverIdNotList){ public AttendanceLeaveRecordQuery approverIdNotList(List<Long> approverIdNotList){
this.approverIdNotList = approverIdNotList; this.approverIdNotList = approverIdNotList;
return this; return this;
} }
/** /**
* 设置 审批负责人 * 设置 审批负责人
* @param approver * @param approver
*/ */
public AttendanceLeaveRecordQuery approver(String approver){ public AttendanceLeaveRecordQuery approver(String approver){
setApprover(approver); setApprover(approver);
return this; return this;
} }
/** /**
* 设置 审批负责人 * 设置 审批负责人
* @param approverList * @param approverList
*/ */
public AttendanceLeaveRecordQuery approverList(List<String> approverList){ public AttendanceLeaveRecordQuery approverList(List<String> approverList){
this.approverList = approverList; this.approverList = approverList;
return this; return this;
} }
/** /**
* 设置 附件 * 设置 附件
* @param attachment * @param attachment
*/ */
public AttendanceLeaveRecordQuery attachment(String attachment){ public AttendanceLeaveRecordQuery attachment(String attachment){
setAttachment(attachment); setAttachment(attachment);
return this; return this;
} }
/** /**
* 设置 附件 * 设置 附件
* @param attachmentList * @param attachmentList
*/ */
public AttendanceLeaveRecordQuery attachmentList(List<String> attachmentList){ public AttendanceLeaveRecordQuery attachmentList(List<String> attachmentList){
this.attachmentList = attachmentList; this.attachmentList = attachmentList;
return this; return this;
} }
/** /**
* 设置 附件路径 * 设置 附件路径
* @param attachmentPath * @param attachmentPath
*/ */
public AttendanceLeaveRecordQuery attachmentPath(String attachmentPath){ public AttendanceLeaveRecordQuery attachmentPath(String attachmentPath){
setAttachmentPath(attachmentPath); setAttachmentPath(attachmentPath);
return this; return this;
} }
/** /**
* 设置 附件路径 * 设置 附件路径
* @param attachmentPathList * @param attachmentPathList
*/ */
public AttendanceLeaveRecordQuery attachmentPathList(List<String> attachmentPathList){ public AttendanceLeaveRecordQuery attachmentPathList(List<String> attachmentPathList){
this.attachmentPathList = attachmentPathList; this.attachmentPathList = attachmentPathList;
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public AttendanceLeaveRecordQuery remark(String remark){ public AttendanceLeaveRecordQuery remark(String remark){
setRemark(remark); setRemark(remark);
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public AttendanceLeaveRecordQuery remarkList(List<String> remarkList){ public AttendanceLeaveRecordQuery remarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserId * @param createUserId
*/ */
public AttendanceLeaveRecordQuery createUserId(Long createUserId){ public AttendanceLeaveRecordQuery createUserId(Long createUserId){
setCreateUserId(createUserId); setCreateUserId(createUserId);
return this; return this;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public AttendanceLeaveRecordQuery createUserIdStart(Long createUserIdStart){ public AttendanceLeaveRecordQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public AttendanceLeaveRecordQuery createUserIdEnd(Long createUserIdEnd){ public AttendanceLeaveRecordQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public AttendanceLeaveRecordQuery createUserIdIncrement(Long createUserIdIncrement){ public AttendanceLeaveRecordQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public AttendanceLeaveRecordQuery createUserIdList(List<Long> createUserIdList){ public AttendanceLeaveRecordQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public AttendanceLeaveRecordQuery createUserIdNotList(List<Long> createUserIdNotList){ public AttendanceLeaveRecordQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserId * @param updateUserId
*/ */
public AttendanceLeaveRecordQuery updateUserId(Long updateUserId){ public AttendanceLeaveRecordQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId); setUpdateUserId(updateUserId);
return this; return this;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public AttendanceLeaveRecordQuery updateUserIdStart(Long updateUserIdStart){ public AttendanceLeaveRecordQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public AttendanceLeaveRecordQuery updateUserIdEnd(Long updateUserIdEnd){ public AttendanceLeaveRecordQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public AttendanceLeaveRecordQuery updateUserIdIncrement(Long updateUserIdIncrement){ public AttendanceLeaveRecordQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public AttendanceLeaveRecordQuery updateUserIdList(List<Long> updateUserIdList){ public AttendanceLeaveRecordQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public AttendanceLeaveRecordQuery updateUserIdNotList(List<Long> updateUserIdNotList){ public AttendanceLeaveRecordQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
return this; return this;
} }
/** /**
* 获取 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)
* @return orConditionList * @return orConditionList
*/ */
public List<AttendanceLeaveRecordQuery> getOrConditionList(){ public List<AttendanceLeaveRecordQuery> getOrConditionList(){
return this.orConditionList; return this.orConditionList;
} }
/** /**
* 设置 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)
* @param orConditionList * @param orConditionList
*/ */
public void setOrConditionList(List<AttendanceLeaveRecordQuery> orConditionList){ public void setOrConditionList(List<AttendanceLeaveRecordQuery> orConditionList){
this.orConditionList = orConditionList; this.orConditionList = orConditionList;
} }
/** /**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList * @return andConditionList
*/ */
public List<AttendanceLeaveRecordQuery> getAndConditionList(){ public List<AttendanceLeaveRecordQuery> getAndConditionList(){
return this.andConditionList; return this.andConditionList;
} }
/** /**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList * @param andConditionList
*/ */
public void setAndConditionList(List<AttendanceLeaveRecordQuery> andConditionList){ public void setAndConditionList(List<AttendanceLeaveRecordQuery> andConditionList){
this.andConditionList = andConditionList; this.andConditionList = andConditionList;
} }
......
package com.mortals.xhx.module.attendance.model; package com.mortals.xhx.module.attendance.model;
import java.math.BigDecimal;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel; import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.attendance.model.vo.AttendanceStatVo; import com.mortals.xhx.module.attendance.model.vo.AttendanceStatVo;
import java.math.BigDecimal;
/** /**
* 考勤汇总信息实体对象 * 考勤汇总信息实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-08 * @date 2023-04-14
*/ */
public class AttendanceStatEntity extends AttendanceStatVo { public class AttendanceStatEntity extends AttendanceStatVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 窗口类别 * 窗口类别
*/ */
@Excel(name = "窗口类别") @Excel(name = "窗口类别")
private String windowCategory; private String windowCategory;
/** /**
* 员工ID * 员工ID
*/ */
private Long staffId; private Long staffId;
/** /**
* 员工姓名 * 员工姓名
*/ */
private String staffName; private String staffName;
/** /**
* 所属部门 * 所属部门
*/ */
private Long deptId; private Long deptId;
/** /**
* 所属部门名称 * 所属部门名称
*/ */
private String deptName; private String deptName;
/** /**
* 回单位(天) * 回单位(天)
*/ */
@Excel(name = "回单位") @Excel(name = "回单位")
private BigDecimal backToUnit; private BigDecimal backToUnit;
/** /**
* 因公请假(天) * 因公请假(天)
*/ */
@Excel(name = "因公请假") @Excel(name = "因公请假")
private BigDecimal onDutyLeave; private BigDecimal onDutyLeave;
/** /**
* 外出勘验(天) * 外出勘验(天)
*/ */
@Excel(name = "外出勘验") @Excel(name = "外出勘验")
private BigDecimal outOfOffice; private BigDecimal outOfOffice;
/** /**
* 值班补班(天) * 值班补班(天)
*/ */
@Excel(name = "值班补班") @Excel(name = "值班补班")
private BigDecimal shiftCompensation; private BigDecimal shiftCompensation;
/** /**
* 体检(天) * 体检(天)
*/ */
@Excel(name = "体检") @Excel(name = "体检")
private BigDecimal physicalExamination; private BigDecimal physicalExamination;
/** /**
* 隔离(天) * 隔离(天)
*/ */
@Excel(name = "隔离") @Excel(name = "隔离")
private BigDecimal quarantine; private BigDecimal quarantine;
/** /**
* 因公外出(与窗口工作无关/天) * 因公外出(与窗口工作无关/天)
*/ */
@Excel(name = "因公外出") @Excel(name = "因公外出")
private BigDecimal businessTrip; private BigDecimal businessTrip;
/** /**
* 公休(天) * 公休(天)
*/ */
@Excel(name = "公休") @Excel(name = "公休")
private BigDecimal publicHoliday; private BigDecimal publicHoliday;
/** /**
* 病假(天) * 病假(天)
*/ */
@Excel(name = "病假") @Excel(name = "病假")
private BigDecimal sickLeave; private BigDecimal sickLeave;
/** /**
* 丧假(天) * 丧假(天)
*/ */
@Excel(name = "丧假") @Excel(name = "丧假")
private BigDecimal funeralLeave; private BigDecimal funeralLeave;
/** /**
* 婚假(天) * 婚假(天)
*/ */
@Excel(name = "婚假") @Excel(name = "婚假")
private BigDecimal marriageLeave; private BigDecimal marriageLeave;
/** /**
* 育儿假(天) * 育儿假(天)
*/ */
@Excel(name = "育儿假") @Excel(name = "育儿假")
private BigDecimal childRearingLeave; private BigDecimal childRearingLeave;
/** /**
* 产假(陪护假/天 * 产假(天)
*/ */
@Excel(name = "产假") @Excel(name = "产假")
private BigDecimal maternityLeave; private BigDecimal maternityLeave;
/** /**
* 调回单位(或离职/天) * 调回单位(或离职/天)
*/ */
@Excel(name = "调回单位") @Excel(name = "调回单位")
private BigDecimal transferBack; private BigDecimal transferBack;
/** /**
* 探亲假(天) * 探亲假(天)
*/ */
@Excel(name = "探亲假") @Excel(name = "探亲假")
private BigDecimal homeLeave; private BigDecimal homeLeave;
/** /**
* 事假(天) * 事假(天)
*/ */
@Excel(name = "事假") @Excel(name = "事假")
private BigDecimal personalLeave; private BigDecimal personalLeave;
/** /**
* 考勤汇总-旷工(天) * 考勤汇总-旷工(天)
*/ */
@Excel(name = "考勤汇总-旷工") @Excel(name = "考勤汇总-旷工")
private BigDecimal absenteeismDays; private BigDecimal absenteeismDays;
/** /**
* 考勤汇总-其他(天) * 考勤汇总-其他(天)
*/ */
@Excel(name = "考勤汇总-其他") @Excel(name = "考勤汇总-其他")
private BigDecimal otherDays; private BigDecimal otherDays;
/** /**
* 考勤汇总-出勤率(%) * 考勤汇总-出勤率(%)
*/ */
@Excel(name = "考勤汇总-出勤率") @Excel(name = "考勤汇总-出勤率")
private BigDecimal attendanceRate; private BigDecimal attendanceRate;
/** /**
* 考勤汇总-未按规定打卡(含忘记打卡) * 考勤汇总-未按规定打卡(含忘记打卡)
*/ */
@Excel(name = "考勤汇总-未按规定打卡") @Excel(name = "考勤汇总-未按规定打卡")
private BigDecimal nonCompliancePunch; private BigDecimal nonCompliancePunch;
/** /**
* 考勤汇总-迟到(次) * 考勤汇总-迟到(次)
*/ */
@Excel(name = "考勤汇总-迟到") @Excel(name = "考勤汇总-迟到")
private Integer lateTimes; private Integer lateTimes;
/** /**
* 考勤汇总-上网耍手机(次) * 考勤汇总-上网耍手机(次)
*/ */
@Excel(name = "考勤汇总-上网耍手机") @Excel(name = "考勤汇总-上网耍手机")
private Integer surfingMobileTimes; private Integer surfingMobileTimes;
/** /**
* 考勤汇总-溜班(次) * 考勤汇总-溜班(次)
*/ */
@Excel(name = "考勤汇总-溜班") @Excel(name = "考勤汇总-溜班")
private Integer overtimeTimes; private Integer overtimeTimes;
/** /**
* 考勤汇总-空岗 * 考勤汇总-空岗
*/ */
@Excel(name = "考勤汇总-空岗") @Excel(name = "考勤汇总-空岗")
private BigDecimal vacancy; private BigDecimal vacancy;
/** /**
* 考勤汇总-未规范着装(次) * 考勤汇总-未规范着装(次)
*/ */
@Excel(name = "考勤汇总-未规范着装") @Excel(name = "考勤汇总-未规范着装")
private Integer nonStandardDressTimes; private Integer nonStandardDressTimes;
/** /**
* 考勤汇总-无故缺席会议 * 考勤汇总-无故缺席会议
*/ */
@Excel(name = "考勤汇总-无故缺席会议") @Excel(name = "考勤汇总-无故缺席会议")
private BigDecimal unexcusedMeetingAbsence; private BigDecimal unexcusedMeetingAbsence;
/** /**
* 考勤汇总-会议早退 * 考勤汇总-会议早退
*/ */
@Excel(name = "考勤汇总-会议早退") @Excel(name = "考勤汇总-会议早退")
private BigDecimal earlyLeaveMeeting; private BigDecimal earlyLeaveMeeting;
/** /**
* 年 * 年
*/ */
private Integer year; private Integer year;
/** /**
* 月 * 月
*/ */
private Integer month; private Integer month;
/** /**
* 日 * 日
*/ */
private Integer day; private Integer day;
/** /**
* 备注 * 备注
*/ */
private String remark; private String remark;
/**
* 哺乳假(天)
*/
@Excel(name = "哺乳假")
private BigDecimal breastfeedingLeaveDays;
/**
* 例假(天)
*/
@Excel(name = "例假")
private BigDecimal menstrualLeaveDays;
/**
* 年假(天)
*/
@Excel(name = "年假")
private BigDecimal annualLeaveDays;
/**
* 调休(天)
*/
@Excel(name = "调休")
private BigDecimal compensatedLeaveDays;
/**
* 陪产假(天)
*/
@Excel(name = "陪产假")
private BigDecimal paternityLeaveDays;
public AttendanceStatEntity(){} public AttendanceStatEntity(){}
/** /**
* 获取 窗口类别 * 获取 窗口类别
* @return String * @return String
*/ */
public String getWindowCategory(){ public String getWindowCategory(){
return windowCategory; return windowCategory;
} }
/** /**
* 设置 窗口类别 * 设置 窗口类别
* @param windowCategory * @param windowCategory
*/ */
public void setWindowCategory(String windowCategory){ public void setWindowCategory(String windowCategory){
this.windowCategory = windowCategory; this.windowCategory = windowCategory;
} }
/** /**
* 获取 员工ID * 获取 员工ID
* @return Long * @return Long
*/ */
public Long getStaffId(){ public Long getStaffId(){
return staffId; return staffId;
} }
/** /**
* 设置 员工ID * 设置 员工ID
* @param staffId * @param staffId
*/ */
public void setStaffId(Long staffId){ public void setStaffId(Long staffId){
this.staffId = staffId; this.staffId = staffId;
} }
/** /**
* 获取 员工姓名 * 获取 员工姓名
* @return String * @return String
*/ */
public String getStaffName(){ public String getStaffName(){
return staffName; return staffName;
} }
/** /**
* 设置 员工姓名 * 设置 员工姓名
* @param staffName * @param staffName
*/ */
public void setStaffName(String staffName){ public void setStaffName(String staffName){
this.staffName = staffName; this.staffName = staffName;
} }
/** /**
* 获取 所属部门 * 获取 所属部门
* @return Long * @return Long
*/ */
public Long getDeptId(){ public Long getDeptId(){
return deptId; return deptId;
} }
/** /**
* 设置 所属部门 * 设置 所属部门
* @param deptId * @param deptId
*/ */
public void setDeptId(Long deptId){ public void setDeptId(Long deptId){
this.deptId = deptId; this.deptId = deptId;
} }
/** /**
* 获取 所属部门名称 * 获取 所属部门名称
* @return String * @return String
*/ */
public String getDeptName(){ public String getDeptName(){
return deptName; return deptName;
} }
/** /**
* 设置 所属部门名称 * 设置 所属部门名称
* @param deptName * @param deptName
*/ */
public void setDeptName(String deptName){ public void setDeptName(String deptName){
this.deptName = deptName; this.deptName = deptName;
} }
/** /**
* 获取 回单位(天) * 获取 回单位(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getBackToUnit(){ public BigDecimal getBackToUnit(){
return backToUnit; return backToUnit;
} }
/** /**
* 设置 回单位(天) * 设置 回单位(天)
* @param backToUnit * @param backToUnit
*/ */
public void setBackToUnit(BigDecimal backToUnit){ public void setBackToUnit(BigDecimal backToUnit){
this.backToUnit = backToUnit; this.backToUnit = backToUnit;
} }
/** /**
* 获取 因公请假(天) * 获取 因公请假(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getOnDutyLeave(){ public BigDecimal getOnDutyLeave(){
return onDutyLeave; return onDutyLeave;
} }
/** /**
* 设置 因公请假(天) * 设置 因公请假(天)
* @param onDutyLeave * @param onDutyLeave
*/ */
public void setOnDutyLeave(BigDecimal onDutyLeave){ public void setOnDutyLeave(BigDecimal onDutyLeave){
this.onDutyLeave = onDutyLeave; this.onDutyLeave = onDutyLeave;
} }
/** /**
* 获取 外出勘验(天) * 获取 外出勘验(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getOutOfOffice(){ public BigDecimal getOutOfOffice(){
return outOfOffice; return outOfOffice;
} }
/** /**
* 设置 外出勘验(天) * 设置 外出勘验(天)
* @param outOfOffice * @param outOfOffice
*/ */
public void setOutOfOffice(BigDecimal outOfOffice){ public void setOutOfOffice(BigDecimal outOfOffice){
this.outOfOffice = outOfOffice; this.outOfOffice = outOfOffice;
} }
/** /**
* 获取 值班补班(天) * 获取 值班补班(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getShiftCompensation(){ public BigDecimal getShiftCompensation(){
return shiftCompensation; return shiftCompensation;
} }
/** /**
* 设置 值班补班(天) * 设置 值班补班(天)
* @param shiftCompensation * @param shiftCompensation
*/ */
public void setShiftCompensation(BigDecimal shiftCompensation){ public void setShiftCompensation(BigDecimal shiftCompensation){
this.shiftCompensation = shiftCompensation; this.shiftCompensation = shiftCompensation;
} }
/** /**
* 获取 体检(天) * 获取 体检(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getPhysicalExamination(){ public BigDecimal getPhysicalExamination(){
return physicalExamination; return physicalExamination;
} }
/** /**
* 设置 体检(天) * 设置 体检(天)
* @param physicalExamination * @param physicalExamination
*/ */
public void setPhysicalExamination(BigDecimal physicalExamination){ public void setPhysicalExamination(BigDecimal physicalExamination){
this.physicalExamination = physicalExamination; this.physicalExamination = physicalExamination;
} }
/** /**
* 获取 隔离(天) * 获取 隔离(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getQuarantine(){ public BigDecimal getQuarantine(){
return quarantine; return quarantine;
} }
/** /**
* 设置 隔离(天) * 设置 隔离(天)
* @param quarantine * @param quarantine
*/ */
public void setQuarantine(BigDecimal quarantine){ public void setQuarantine(BigDecimal quarantine){
this.quarantine = quarantine; this.quarantine = quarantine;
} }
/** /**
* 获取 因公外出(与窗口工作无关/天) * 获取 因公外出(与窗口工作无关/天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getBusinessTrip(){ public BigDecimal getBusinessTrip(){
return businessTrip; return businessTrip;
} }
/** /**
* 设置 因公外出(与窗口工作无关/天) * 设置 因公外出(与窗口工作无关/天)
* @param businessTrip * @param businessTrip
*/ */
public void setBusinessTrip(BigDecimal businessTrip){ public void setBusinessTrip(BigDecimal businessTrip){
this.businessTrip = businessTrip; this.businessTrip = businessTrip;
} }
/** /**
* 获取 公休(天) * 获取 公休(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getPublicHoliday(){ public BigDecimal getPublicHoliday(){
return publicHoliday; return publicHoliday;
} }
/** /**
* 设置 公休(天) * 设置 公休(天)
* @param publicHoliday * @param publicHoliday
*/ */
public void setPublicHoliday(BigDecimal publicHoliday){ public void setPublicHoliday(BigDecimal publicHoliday){
this.publicHoliday = publicHoliday; this.publicHoliday = publicHoliday;
} }
/** /**
* 获取 病假(天) * 获取 病假(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getSickLeave(){ public BigDecimal getSickLeave(){
return sickLeave; return sickLeave;
} }
/** /**
* 设置 病假(天) * 设置 病假(天)
* @param sickLeave * @param sickLeave
*/ */
public void setSickLeave(BigDecimal sickLeave){ public void setSickLeave(BigDecimal sickLeave){
this.sickLeave = sickLeave; this.sickLeave = sickLeave;
} }
/** /**
* 获取 丧假(天) * 获取 丧假(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getFuneralLeave(){ public BigDecimal getFuneralLeave(){
return funeralLeave; return funeralLeave;
} }
/** /**
* 设置 丧假(天) * 设置 丧假(天)
* @param funeralLeave * @param funeralLeave
*/ */
public void setFuneralLeave(BigDecimal funeralLeave){ public void setFuneralLeave(BigDecimal funeralLeave){
this.funeralLeave = funeralLeave; this.funeralLeave = funeralLeave;
} }
/** /**
* 获取 婚假(天) * 获取 婚假(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getMarriageLeave(){ public BigDecimal getMarriageLeave(){
return marriageLeave; return marriageLeave;
} }
/** /**
* 设置 婚假(天) * 设置 婚假(天)
* @param marriageLeave * @param marriageLeave
*/ */
public void setMarriageLeave(BigDecimal marriageLeave){ public void setMarriageLeave(BigDecimal marriageLeave){
this.marriageLeave = marriageLeave; this.marriageLeave = marriageLeave;
} }
/** /**
* 获取 育儿假(天) * 获取 育儿假(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getChildRearingLeave(){ public BigDecimal getChildRearingLeave(){
return childRearingLeave; return childRearingLeave;
} }
/** /**
* 设置 育儿假(天) * 设置 育儿假(天)
* @param childRearingLeave * @param childRearingLeave
*/ */
public void setChildRearingLeave(BigDecimal childRearingLeave){ public void setChildRearingLeave(BigDecimal childRearingLeave){
this.childRearingLeave = childRearingLeave; this.childRearingLeave = childRearingLeave;
} }
/** /**
* 获取 产假(陪护假/天 * 获取 产假(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getMaternityLeave(){ public BigDecimal getMaternityLeave(){
return maternityLeave; return maternityLeave;
} }
/** /**
* 设置 产假(陪护假/天 * 设置 产假(天)
* @param maternityLeave * @param maternityLeave
*/ */
public void setMaternityLeave(BigDecimal maternityLeave){ public void setMaternityLeave(BigDecimal maternityLeave){
this.maternityLeave = maternityLeave; this.maternityLeave = maternityLeave;
} }
/** /**
* 获取 调回单位(或离职/天) * 获取 调回单位(或离职/天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getTransferBack(){ public BigDecimal getTransferBack(){
return transferBack; return transferBack;
} }
/** /**
* 设置 调回单位(或离职/天) * 设置 调回单位(或离职/天)
* @param transferBack * @param transferBack
*/ */
public void setTransferBack(BigDecimal transferBack){ public void setTransferBack(BigDecimal transferBack){
this.transferBack = transferBack; this.transferBack = transferBack;
} }
/** /**
* 获取 探亲假(天) * 获取 探亲假(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getHomeLeave(){ public BigDecimal getHomeLeave(){
return homeLeave; return homeLeave;
} }
/** /**
* 设置 探亲假(天) * 设置 探亲假(天)
* @param homeLeave * @param homeLeave
*/ */
public void setHomeLeave(BigDecimal homeLeave){ public void setHomeLeave(BigDecimal homeLeave){
this.homeLeave = homeLeave; this.homeLeave = homeLeave;
} }
/** /**
* 获取 事假(天) * 获取 事假(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getPersonalLeave(){ public BigDecimal getPersonalLeave(){
return personalLeave; return personalLeave;
} }
/** /**
* 设置 事假(天) * 设置 事假(天)
* @param personalLeave * @param personalLeave
*/ */
public void setPersonalLeave(BigDecimal personalLeave){ public void setPersonalLeave(BigDecimal personalLeave){
this.personalLeave = personalLeave; this.personalLeave = personalLeave;
} }
/** /**
* 获取 考勤汇总-旷工(天) * 获取 考勤汇总-旷工(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getAbsenteeismDays(){ public BigDecimal getAbsenteeismDays(){
return absenteeismDays; return absenteeismDays;
} }
/** /**
* 设置 考勤汇总-旷工(天) * 设置 考勤汇总-旷工(天)
* @param absenteeismDays * @param absenteeismDays
*/ */
public void setAbsenteeismDays(BigDecimal absenteeismDays){ public void setAbsenteeismDays(BigDecimal absenteeismDays){
this.absenteeismDays = absenteeismDays; this.absenteeismDays = absenteeismDays;
} }
/** /**
* 获取 考勤汇总-其他(天) * 获取 考勤汇总-其他(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getOtherDays(){ public BigDecimal getOtherDays(){
return otherDays; return otherDays;
} }
/** /**
* 设置 考勤汇总-其他(天) * 设置 考勤汇总-其他(天)
* @param otherDays * @param otherDays
*/ */
public void setOtherDays(BigDecimal otherDays){ public void setOtherDays(BigDecimal otherDays){
this.otherDays = otherDays; this.otherDays = otherDays;
} }
/** /**
* 获取 考勤汇总-出勤率(%) * 获取 考勤汇总-出勤率(%)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getAttendanceRate(){ public BigDecimal getAttendanceRate(){
return attendanceRate; return attendanceRate;
} }
/** /**
* 设置 考勤汇总-出勤率(%) * 设置 考勤汇总-出勤率(%)
* @param attendanceRate * @param attendanceRate
*/ */
public void setAttendanceRate(BigDecimal attendanceRate){ public void setAttendanceRate(BigDecimal attendanceRate){
this.attendanceRate = attendanceRate; this.attendanceRate = attendanceRate;
} }
/** /**
* 获取 考勤汇总-未按规定打卡(含忘记打卡) * 获取 考勤汇总-未按规定打卡(含忘记打卡)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getNonCompliancePunch(){ public BigDecimal getNonCompliancePunch(){
return nonCompliancePunch; return nonCompliancePunch;
} }
/** /**
* 设置 考勤汇总-未按规定打卡(含忘记打卡) * 设置 考勤汇总-未按规定打卡(含忘记打卡)
* @param nonCompliancePunch * @param nonCompliancePunch
*/ */
public void setNonCompliancePunch(BigDecimal nonCompliancePunch){ public void setNonCompliancePunch(BigDecimal nonCompliancePunch){
this.nonCompliancePunch = nonCompliancePunch; this.nonCompliancePunch = nonCompliancePunch;
} }
/** /**
* 获取 考勤汇总-迟到(次) * 获取 考勤汇总-迟到(次)
* @return Integer * @return Integer
*/ */
public Integer getLateTimes(){ public Integer getLateTimes(){
return lateTimes; return lateTimes;
} }
/** /**
* 设置 考勤汇总-迟到(次) * 设置 考勤汇总-迟到(次)
* @param lateTimes * @param lateTimes
*/ */
public void setLateTimes(Integer lateTimes){ public void setLateTimes(Integer lateTimes){
this.lateTimes = lateTimes; this.lateTimes = lateTimes;
} }
/** /**
* 获取 考勤汇总-上网耍手机(次) * 获取 考勤汇总-上网耍手机(次)
* @return Integer * @return Integer
*/ */
public Integer getSurfingMobileTimes(){ public Integer getSurfingMobileTimes(){
return surfingMobileTimes; return surfingMobileTimes;
} }
/** /**
* 设置 考勤汇总-上网耍手机(次) * 设置 考勤汇总-上网耍手机(次)
* @param surfingMobileTimes * @param surfingMobileTimes
*/ */
public void setSurfingMobileTimes(Integer surfingMobileTimes){ public void setSurfingMobileTimes(Integer surfingMobileTimes){
this.surfingMobileTimes = surfingMobileTimes; this.surfingMobileTimes = surfingMobileTimes;
} }
/** /**
* 获取 考勤汇总-溜班(次) * 获取 考勤汇总-溜班(次)
* @return Integer * @return Integer
*/ */
public Integer getOvertimeTimes(){ public Integer getOvertimeTimes(){
return overtimeTimes; return overtimeTimes;
} }
/** /**
* 设置 考勤汇总-溜班(次) * 设置 考勤汇总-溜班(次)
* @param overtimeTimes * @param overtimeTimes
*/ */
public void setOvertimeTimes(Integer overtimeTimes){ public void setOvertimeTimes(Integer overtimeTimes){
this.overtimeTimes = overtimeTimes; this.overtimeTimes = overtimeTimes;
} }
/** /**
* 获取 考勤汇总-空岗 * 获取 考勤汇总-空岗
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getVacancy(){ public BigDecimal getVacancy(){
return vacancy; return vacancy;
} }
/** /**
* 设置 考勤汇总-空岗 * 设置 考勤汇总-空岗
* @param vacancy * @param vacancy
*/ */
public void setVacancy(BigDecimal vacancy){ public void setVacancy(BigDecimal vacancy){
this.vacancy = vacancy; this.vacancy = vacancy;
} }
/** /**
* 获取 考勤汇总-未规范着装(次) * 获取 考勤汇总-未规范着装(次)
* @return Integer * @return Integer
*/ */
public Integer getNonStandardDressTimes(){ public Integer getNonStandardDressTimes(){
return nonStandardDressTimes; return nonStandardDressTimes;
} }
/** /**
* 设置 考勤汇总-未规范着装(次) * 设置 考勤汇总-未规范着装(次)
* @param nonStandardDressTimes * @param nonStandardDressTimes
*/ */
public void setNonStandardDressTimes(Integer nonStandardDressTimes){ public void setNonStandardDressTimes(Integer nonStandardDressTimes){
this.nonStandardDressTimes = nonStandardDressTimes; this.nonStandardDressTimes = nonStandardDressTimes;
} }
/** /**
* 获取 考勤汇总-无故缺席会议 * 获取 考勤汇总-无故缺席会议
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getUnexcusedMeetingAbsence(){ public BigDecimal getUnexcusedMeetingAbsence(){
return unexcusedMeetingAbsence; return unexcusedMeetingAbsence;
} }
/** /**
* 设置 考勤汇总-无故缺席会议 * 设置 考勤汇总-无故缺席会议
* @param unexcusedMeetingAbsence * @param unexcusedMeetingAbsence
*/ */
public void setUnexcusedMeetingAbsence(BigDecimal unexcusedMeetingAbsence){ public void setUnexcusedMeetingAbsence(BigDecimal unexcusedMeetingAbsence){
this.unexcusedMeetingAbsence = unexcusedMeetingAbsence; this.unexcusedMeetingAbsence = unexcusedMeetingAbsence;
} }
/** /**
* 获取 考勤汇总-会议早退 * 获取 考勤汇总-会议早退
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getEarlyLeaveMeeting(){ public BigDecimal getEarlyLeaveMeeting(){
return earlyLeaveMeeting; return earlyLeaveMeeting;
} }
/** /**
* 设置 考勤汇总-会议早退 * 设置 考勤汇总-会议早退
* @param earlyLeaveMeeting * @param earlyLeaveMeeting
*/ */
public void setEarlyLeaveMeeting(BigDecimal earlyLeaveMeeting){ public void setEarlyLeaveMeeting(BigDecimal earlyLeaveMeeting){
this.earlyLeaveMeeting = earlyLeaveMeeting; this.earlyLeaveMeeting = earlyLeaveMeeting;
} }
/** /**
* 获取 年 * 获取 年
* @return Integer * @return Integer
*/ */
public Integer getYear(){ public Integer getYear(){
return year; return year;
} }
/** /**
* 设置 年 * 设置 年
* @param year * @param year
*/ */
public void setYear(Integer year){ public void setYear(Integer year){
this.year = year; this.year = year;
} }
/** /**
* 获取 月 * 获取 月
* @return Integer * @return Integer
*/ */
public Integer getMonth(){ public Integer getMonth(){
return month; return month;
} }
/** /**
* 设置 月 * 设置 月
* @param month * @param month
*/ */
public void setMonth(Integer month){ public void setMonth(Integer month){
this.month = month; this.month = month;
} }
/** /**
* 获取 日 * 获取 日
* @return Integer * @return Integer
*/ */
public Integer getDay(){ public Integer getDay(){
return day; return day;
} }
/** /**
* 设置 日 * 设置 日
* @param day * @param day
*/ */
public void setDay(Integer day){ public void setDay(Integer day){
this.day = day; this.day = day;
} }
/** /**
* 获取 备注 * 获取 备注
* @return String * @return String
*/ */
public String getRemark(){ public String getRemark(){
return remark; return remark;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public void setRemark(String remark){ public void setRemark(String remark){
this.remark = remark; this.remark = remark;
} }
/**
* 获取 哺乳假(天)
* @return BigDecimal
*/
public BigDecimal getBreastfeedingLeaveDays(){
return breastfeedingLeaveDays;
}
/**
* 设置 哺乳假(天)
* @param breastfeedingLeaveDays
*/
public void setBreastfeedingLeaveDays(BigDecimal breastfeedingLeaveDays){
this.breastfeedingLeaveDays = breastfeedingLeaveDays;
}
/**
* 获取 例假(天)
* @return BigDecimal
*/
public BigDecimal getMenstrualLeaveDays(){
return menstrualLeaveDays;
}
/**
* 设置 例假(天)
* @param menstrualLeaveDays
*/
public void setMenstrualLeaveDays(BigDecimal menstrualLeaveDays){
this.menstrualLeaveDays = menstrualLeaveDays;
}
/**
* 获取 年假(天)
* @return BigDecimal
*/
public BigDecimal getAnnualLeaveDays(){
return annualLeaveDays;
}
/**
* 设置 年假(天)
* @param annualLeaveDays
*/
public void setAnnualLeaveDays(BigDecimal annualLeaveDays){
this.annualLeaveDays = annualLeaveDays;
}
/**
* 获取 调休(天)
* @return BigDecimal
*/
public BigDecimal getCompensatedLeaveDays(){
return compensatedLeaveDays;
}
/**
* 设置 调休(天)
* @param compensatedLeaveDays
*/
public void setCompensatedLeaveDays(BigDecimal compensatedLeaveDays){
this.compensatedLeaveDays = compensatedLeaveDays;
}
/**
* 获取 陪产假(天)
* @return BigDecimal
*/
public BigDecimal getPaternityLeaveDays(){
return paternityLeaveDays;
}
/**
* 设置 陪产假(天)
* @param paternityLeaveDays
*/
public void setPaternityLeaveDays(BigDecimal paternityLeaveDays){
this.paternityLeaveDays = paternityLeaveDays;
}
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -711,7 +803,7 @@ public class AttendanceStatEntity extends AttendanceStatVo { ...@@ -711,7 +803,7 @@ public class AttendanceStatEntity extends AttendanceStatVo {
if (obj instanceof AttendanceStatEntity) { if (obj instanceof AttendanceStatEntity) {
AttendanceStatEntity tmp = (AttendanceStatEntity) obj; AttendanceStatEntity tmp = (AttendanceStatEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
...@@ -755,81 +847,96 @@ public class AttendanceStatEntity extends AttendanceStatVo { ...@@ -755,81 +847,96 @@ public class AttendanceStatEntity extends AttendanceStatVo {
sb.append(",month:").append(getMonth()); sb.append(",month:").append(getMonth());
sb.append(",day:").append(getDay()); sb.append(",day:").append(getDay());
sb.append(",remark:").append(getRemark()); sb.append(",remark:").append(getRemark());
sb.append(",breastfeedingLeaveDays:").append(getBreastfeedingLeaveDays());
sb.append(",menstrualLeaveDays:").append(getMenstrualLeaveDays());
sb.append(",annualLeaveDays:").append(getAnnualLeaveDays());
sb.append(",compensatedLeaveDays:").append(getCompensatedLeaveDays());
sb.append(",paternityLeaveDays:").append(getPaternityLeaveDays());
return sb.toString(); return sb.toString();
} }
public void initAttrValue(){ public void initAttrValue(){
this.windowCategory = ""; this.windowCategory = "";
this.staffId = null;
this.staffName = "";
this.deptId = null;
this.deptName = "";
this.backToUnit = BigDecimal.valueOf(0.0);
this.staffId = null; this.onDutyLeave = BigDecimal.valueOf(0.0);
this.staffName = ""; this.outOfOffice = BigDecimal.valueOf(0.0);
this.deptId = null; this.shiftCompensation = BigDecimal.valueOf(0.0);
this.deptName = ""; this.physicalExamination = BigDecimal.valueOf(0.0);
this.backToUnit = BigDecimal.valueOf(0.0); this.quarantine = BigDecimal.valueOf(0.0);
this.onDutyLeave = BigDecimal.valueOf(0.0); this.businessTrip = BigDecimal.valueOf(0.0);
this.outOfOffice = BigDecimal.valueOf(0.0); this.publicHoliday = BigDecimal.valueOf(0.0);
this.shiftCompensation = BigDecimal.valueOf(0.0); this.sickLeave = BigDecimal.valueOf(0.0);
this.physicalExamination = BigDecimal.valueOf(0.0); this.funeralLeave = BigDecimal.valueOf(0.0);
this.quarantine = BigDecimal.valueOf(0.0); this.marriageLeave = BigDecimal.valueOf(0.0);
this.businessTrip = BigDecimal.valueOf(0.0); this.childRearingLeave = BigDecimal.valueOf(0.0);
this.publicHoliday = BigDecimal.valueOf(0.0); this.maternityLeave = BigDecimal.valueOf(0.0);
this.sickLeave = BigDecimal.valueOf(0.0); this.transferBack = BigDecimal.valueOf(0.0);
this.funeralLeave = BigDecimal.valueOf(0.0); this.homeLeave = BigDecimal.valueOf(0.0);
this.marriageLeave = BigDecimal.valueOf(0.0); this.personalLeave = BigDecimal.valueOf(0.0);
this.childRearingLeave = BigDecimal.valueOf(0.0); this.absenteeismDays = BigDecimal.valueOf(0.0);
this.maternityLeave = BigDecimal.valueOf(0.0); this.otherDays = BigDecimal.valueOf(0.0);
this.transferBack = BigDecimal.valueOf(0.0); this.attendanceRate = BigDecimal.valueOf(0.00);
this.homeLeave = BigDecimal.valueOf(0.0); this.nonCompliancePunch = BigDecimal.valueOf(0);
this.personalLeave = BigDecimal.valueOf(0.0); this.lateTimes = 0;
this.absenteeismDays = BigDecimal.valueOf(0.0); this.surfingMobileTimes = 0;
this.otherDays = BigDecimal.valueOf(0.0); this.overtimeTimes = 0;
this.attendanceRate = BigDecimal.valueOf(0.00); this.vacancy = BigDecimal.valueOf(0);
this.nonCompliancePunch = BigDecimal.valueOf(0); this.nonStandardDressTimes = 0;
this.lateTimes = 0; this.unexcusedMeetingAbsence = BigDecimal.valueOf(0);
this.surfingMobileTimes = 0; this.earlyLeaveMeeting = BigDecimal.valueOf(0);
this.overtimeTimes = 0; this.year = null;
this.vacancy = BigDecimal.valueOf(0); this.month = null;
this.nonStandardDressTimes = 0; this.day = null;
this.unexcusedMeetingAbsence = BigDecimal.valueOf(0); this.remark = "";
this.earlyLeaveMeeting = BigDecimal.valueOf(0); this.breastfeedingLeaveDays = BigDecimal.valueOf(0.0);
this.year = null; this.menstrualLeaveDays = BigDecimal.valueOf(0.0);
this.month = null; this.annualLeaveDays = BigDecimal.valueOf(0.0);
this.day = null; this.compensatedLeaveDays = BigDecimal.valueOf(0.0);
this.remark = ""; this.paternityLeaveDays = BigDecimal.valueOf(0.0);
} }
} }
\ No newline at end of file
package com.mortals.xhx.module.attendance.model; package com.mortals.xhx.module.attendance.model;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel; import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.attendance.model.vo.AttendanceVacationBalanceVo; import com.mortals.xhx.module.attendance.model.vo.AttendanceVacationBalanceVo;
import java.math.BigDecimal;
import java.util.Date;
/** /**
* 员工假期余额信息实体对象 * 员工假期余额信息实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-11 * @date 2023-04-14
*/ */
public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo { public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo {
...@@ -55,6 +52,14 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo ...@@ -55,6 +52,14 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo
* 年假(天) * 年假(天)
*/ */
private BigDecimal annualLeaveDays; private BigDecimal annualLeaveDays;
/**
* 婚假(天)
*/
private BigDecimal marriageLeaveDays;
/**
* 备注
*/
private String remark;
/** /**
* 产假(天) * 产假(天)
*/ */
...@@ -63,10 +68,6 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo ...@@ -63,10 +68,6 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo
* 陪产假(天) * 陪产假(天)
*/ */
private BigDecimal paternityLeaveDays; private BigDecimal paternityLeaveDays;
/**
* 婚假(天)
*/
private BigDecimal marriageLeaveDays;
/** /**
* 例假(天) * 例假(天)
*/ */
...@@ -80,9 +81,49 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo ...@@ -80,9 +81,49 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo
*/ */
private BigDecimal bereavementLeaveDays; private BigDecimal bereavementLeaveDays;
/** /**
* 备注 * 回单位(天)
*/ */
private String remark; private BigDecimal backToUnit;
/**
* 因公请假(天)
*/
private BigDecimal onDutyLeave;
/**
* 外出勘验(天)
*/
private BigDecimal outOfOffice;
/**
* 值班补班(天)
*/
private BigDecimal shiftCompensation;
/**
* 体检(天)
*/
private BigDecimal physicalExamination;
/**
* 隔离(天)
*/
private BigDecimal quarantine;
/**
* 因公外出(与窗口工作无关/天)
*/
private BigDecimal businessTrip;
/**
* 公休(天)
*/
private BigDecimal publicHoliday;
/**
* 育儿假(天)
*/
private BigDecimal childRearingLeave;
/**
* 调回单位(或离职/天)
*/
private BigDecimal transferBack;
/**
* 探亲假(天)
*/
private BigDecimal homeLeave;
...@@ -213,6 +254,34 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo ...@@ -213,6 +254,34 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo
public void setAnnualLeaveDays(BigDecimal annualLeaveDays){ public void setAnnualLeaveDays(BigDecimal annualLeaveDays){
this.annualLeaveDays = annualLeaveDays; this.annualLeaveDays = annualLeaveDays;
} }
/**
* 获取 婚假(天)
* @return BigDecimal
*/
public BigDecimal getMarriageLeaveDays(){
return marriageLeaveDays;
}
/**
* 设置 婚假(天)
* @param marriageLeaveDays
*/
public void setMarriageLeaveDays(BigDecimal marriageLeaveDays){
this.marriageLeaveDays = marriageLeaveDays;
}
/**
* 获取 备注
* @return String
*/
public String getRemark(){
return remark;
}
/**
* 设置 备注
* @param remark
*/
public void setRemark(String remark){
this.remark = remark;
}
/** /**
* 获取 产假(天) * 获取 产假(天)
* @return BigDecimal * @return BigDecimal
...@@ -241,20 +310,6 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo ...@@ -241,20 +310,6 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo
public void setPaternityLeaveDays(BigDecimal paternityLeaveDays){ public void setPaternityLeaveDays(BigDecimal paternityLeaveDays){
this.paternityLeaveDays = paternityLeaveDays; this.paternityLeaveDays = paternityLeaveDays;
} }
/**
* 获取 婚假(天)
* @return BigDecimal
*/
public BigDecimal getMarriageLeaveDays(){
return marriageLeaveDays;
}
/**
* 设置 婚假(天)
* @param marriageLeaveDays
*/
public void setMarriageLeaveDays(BigDecimal marriageLeaveDays){
this.marriageLeaveDays = marriageLeaveDays;
}
/** /**
* 获取 例假(天) * 获取 例假(天)
* @return BigDecimal * @return BigDecimal
...@@ -298,18 +353,158 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo ...@@ -298,18 +353,158 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo
this.bereavementLeaveDays = bereavementLeaveDays; this.bereavementLeaveDays = bereavementLeaveDays;
} }
/** /**
* 获取 备注 * 获取 回单位(天)
* @return String * @return BigDecimal
*/ */
public String getRemark(){ public BigDecimal getBackToUnit(){
return remark; return backToUnit;
} }
/** /**
* 设置 备注 * 设置 回单位(天)
* @param remark * @param backToUnit
*/ */
public void setRemark(String remark){ public void setBackToUnit(BigDecimal backToUnit){
this.remark = remark; this.backToUnit = backToUnit;
}
/**
* 获取 因公请假(天)
* @return BigDecimal
*/
public BigDecimal getOnDutyLeave(){
return onDutyLeave;
}
/**
* 设置 因公请假(天)
* @param onDutyLeave
*/
public void setOnDutyLeave(BigDecimal onDutyLeave){
this.onDutyLeave = onDutyLeave;
}
/**
* 获取 外出勘验(天)
* @return BigDecimal
*/
public BigDecimal getOutOfOffice(){
return outOfOffice;
}
/**
* 设置 外出勘验(天)
* @param outOfOffice
*/
public void setOutOfOffice(BigDecimal outOfOffice){
this.outOfOffice = outOfOffice;
}
/**
* 获取 值班补班(天)
* @return BigDecimal
*/
public BigDecimal getShiftCompensation(){
return shiftCompensation;
}
/**
* 设置 值班补班(天)
* @param shiftCompensation
*/
public void setShiftCompensation(BigDecimal shiftCompensation){
this.shiftCompensation = shiftCompensation;
}
/**
* 获取 体检(天)
* @return BigDecimal
*/
public BigDecimal getPhysicalExamination(){
return physicalExamination;
}
/**
* 设置 体检(天)
* @param physicalExamination
*/
public void setPhysicalExamination(BigDecimal physicalExamination){
this.physicalExamination = physicalExamination;
}
/**
* 获取 隔离(天)
* @return BigDecimal
*/
public BigDecimal getQuarantine(){
return quarantine;
}
/**
* 设置 隔离(天)
* @param quarantine
*/
public void setQuarantine(BigDecimal quarantine){
this.quarantine = quarantine;
}
/**
* 获取 因公外出(与窗口工作无关/天)
* @return BigDecimal
*/
public BigDecimal getBusinessTrip(){
return businessTrip;
}
/**
* 设置 因公外出(与窗口工作无关/天)
* @param businessTrip
*/
public void setBusinessTrip(BigDecimal businessTrip){
this.businessTrip = businessTrip;
}
/**
* 获取 公休(天)
* @return BigDecimal
*/
public BigDecimal getPublicHoliday(){
return publicHoliday;
}
/**
* 设置 公休(天)
* @param publicHoliday
*/
public void setPublicHoliday(BigDecimal publicHoliday){
this.publicHoliday = publicHoliday;
}
/**
* 获取 育儿假(天)
* @return BigDecimal
*/
public BigDecimal getChildRearingLeave(){
return childRearingLeave;
}
/**
* 设置 育儿假(天)
* @param childRearingLeave
*/
public void setChildRearingLeave(BigDecimal childRearingLeave){
this.childRearingLeave = childRearingLeave;
}
/**
* 获取 调回单位(或离职/天)
* @return BigDecimal
*/
public BigDecimal getTransferBack(){
return transferBack;
}
/**
* 设置 调回单位(或离职/天)
* @param transferBack
*/
public void setTransferBack(BigDecimal transferBack){
this.transferBack = transferBack;
}
/**
* 获取 探亲假(天)
* @return BigDecimal
*/
public BigDecimal getHomeLeave(){
return homeLeave;
}
/**
* 设置 探亲假(天)
* @param homeLeave
*/
public void setHomeLeave(BigDecimal homeLeave){
this.homeLeave = homeLeave;
} }
...@@ -342,13 +537,24 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo ...@@ -342,13 +537,24 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo
sb.append(",compensatedLeaveDays:").append(getCompensatedLeaveDays()); sb.append(",compensatedLeaveDays:").append(getCompensatedLeaveDays());
sb.append(",sickLeaveDays:").append(getSickLeaveDays()); sb.append(",sickLeaveDays:").append(getSickLeaveDays());
sb.append(",annualLeaveDays:").append(getAnnualLeaveDays()); sb.append(",annualLeaveDays:").append(getAnnualLeaveDays());
sb.append(",marriageLeaveDays:").append(getMarriageLeaveDays());
sb.append(",remark:").append(getRemark());
sb.append(",maternityLeaveDays:").append(getMaternityLeaveDays()); sb.append(",maternityLeaveDays:").append(getMaternityLeaveDays());
sb.append(",paternityLeaveDays:").append(getPaternityLeaveDays()); sb.append(",paternityLeaveDays:").append(getPaternityLeaveDays());
sb.append(",marriageLeaveDays:").append(getMarriageLeaveDays());
sb.append(",menstrualLeaveDays:").append(getMenstrualLeaveDays()); sb.append(",menstrualLeaveDays:").append(getMenstrualLeaveDays());
sb.append(",breastfeedingLeaveDays:").append(getBreastfeedingLeaveDays()); sb.append(",breastfeedingLeaveDays:").append(getBreastfeedingLeaveDays());
sb.append(",bereavementLeaveDays:").append(getBereavementLeaveDays()); sb.append(",bereavementLeaveDays:").append(getBereavementLeaveDays());
sb.append(",remark:").append(getRemark()); sb.append(",backToUnit:").append(getBackToUnit());
sb.append(",onDutyLeave:").append(getOnDutyLeave());
sb.append(",outOfOffice:").append(getOutOfOffice());
sb.append(",shiftCompensation:").append(getShiftCompensation());
sb.append(",physicalExamination:").append(getPhysicalExamination());
sb.append(",quarantine:").append(getQuarantine());
sb.append(",businessTrip:").append(getBusinessTrip());
sb.append(",publicHoliday:").append(getPublicHoliday());
sb.append(",childRearingLeave:").append(getChildRearingLeave());
sb.append(",transferBack:").append(getTransferBack());
sb.append(",homeLeave:").append(getHomeLeave());
return sb.toString(); return sb.toString();
} }
...@@ -372,18 +578,40 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo ...@@ -372,18 +578,40 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo
this.annualLeaveDays = BigDecimal.valueOf(0); this.annualLeaveDays = BigDecimal.valueOf(0);
this.marriageLeaveDays = BigDecimal.valueOf(0);
this.remark = "";
this.maternityLeaveDays = BigDecimal.valueOf(0); this.maternityLeaveDays = BigDecimal.valueOf(0);
this.paternityLeaveDays = BigDecimal.valueOf(0); this.paternityLeaveDays = BigDecimal.valueOf(0);
this.marriageLeaveDays = BigDecimal.valueOf(0);
this.menstrualLeaveDays = BigDecimal.valueOf(0); this.menstrualLeaveDays = BigDecimal.valueOf(0);
this.breastfeedingLeaveDays = BigDecimal.valueOf(0); this.breastfeedingLeaveDays = BigDecimal.valueOf(0);
this.bereavementLeaveDays = BigDecimal.valueOf(0); this.bereavementLeaveDays = BigDecimal.valueOf(0);
this.remark = ""; this.backToUnit = BigDecimal.valueOf(0);
this.onDutyLeave = BigDecimal.valueOf(0);
this.outOfOffice = BigDecimal.valueOf(0);
this.shiftCompensation = BigDecimal.valueOf(0);
this.physicalExamination = BigDecimal.valueOf(0);
this.quarantine = BigDecimal.valueOf(0);
this.businessTrip = BigDecimal.valueOf(0);
this.publicHoliday = BigDecimal.valueOf(0);
this.childRearingLeave = BigDecimal.valueOf(0);
this.transferBack = BigDecimal.valueOf(0);
this.homeLeave = BigDecimal.valueOf(0);
} }
} }
\ No newline at end of file
package com.mortals.xhx.module.attendance.model; package com.mortals.xhx.module.attendance.model;
import java.math.BigDecimal;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel; import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.attendance.model.vo.AttendanceVacationRecordVo; import com.mortals.xhx.module.attendance.model.vo.AttendanceVacationRecordVo;
import java.math.BigDecimal;
/** /**
* 员工假期记录信息实体对象 * 员工假期记录信息实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-12 * @date 2023-04-14
*/ */
public class AttendanceVacationRecordEntity extends AttendanceVacationRecordVo { public class AttendanceVacationRecordEntity extends AttendanceVacationRecordVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 员工id * 员工id
*/ */
@Excel(name = "员工id") @Excel(name = "员工id")
private Long staffId; private Long staffId;
/** /**
* 员工姓名 * 员工姓名
*/ */
private String staffName; private String staffName;
/** /**
* 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
*/ */
private Integer type; private Integer type;
/** /**
* 增减类型(1.增加,2.扣除) * 增减类型(1.增加,2.扣除)
*/ */
private Integer subAddType; private Integer subAddType;
/** /**
* 有效期 * 有效期
*/ */
private String validityPeriod; private String validityPeriod;
/** /**
* 增加或扣减天数(天) * 增加或扣减天数(天)
*/ */
private BigDecimal subOrAddDays; private BigDecimal subOrAddDays;
/** /**
* 内容 * 内容
*/ */
private String content; private String content;
/** /**
* 规则 * 规则
*/ */
private String rule; private String rule;
/** /**
* 理由 * 理由
*/ */
private String reason; private String reason;
/** /**
* 备注 * 备注
*/ */
private String remark; private String remark;
public AttendanceVacationRecordEntity(){} public AttendanceVacationRecordEntity(){}
/** /**
* 获取 员工id * 获取 员工id
* @return Long * @return Long
*/ */
public Long getStaffId(){ public Long getStaffId(){
return staffId; return staffId;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffId * @param staffId
*/ */
public void setStaffId(Long staffId){ public void setStaffId(Long staffId){
this.staffId = staffId; this.staffId = staffId;
} }
/** /**
* 获取 员工姓名 * 获取 员工姓名
* @return String * @return String
*/ */
public String getStaffName(){ public String getStaffName(){
return staffName; return staffName;
} }
/** /**
* 设置 员工姓名 * 设置 员工姓名
* @param staffName * @param staffName
*/ */
public void setStaffName(String staffName){ public void setStaffName(String staffName){
this.staffName = staffName; this.staffName = staffName;
} }
/** /**
* 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @return Integer * @return Integer
*/ */
public Integer getType(){ public Integer getType(){
return type; return type;
} }
/** /**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param type * @param type
*/ */
public void setType(Integer type){ public void setType(Integer type){
this.type = type; this.type = type;
} }
/** /**
* 获取 增减类型(1.增加,2.扣除) * 获取 增减类型(1.增加,2.扣除)
* @return Integer * @return Integer
*/ */
public Integer getSubAddType(){ public Integer getSubAddType(){
return subAddType; return subAddType;
} }
/** /**
* 设置 增减类型(1.增加,2.扣除) * 设置 增减类型(1.增加,2.扣除)
* @param subAddType * @param subAddType
*/ */
public void setSubAddType(Integer subAddType){ public void setSubAddType(Integer subAddType){
this.subAddType = subAddType; this.subAddType = subAddType;
} }
/** /**
* 获取 有效期 * 获取 有效期
* @return String * @return String
*/ */
public String getValidityPeriod(){ public String getValidityPeriod(){
return validityPeriod; return validityPeriod;
} }
/** /**
* 设置 有效期 * 设置 有效期
* @param validityPeriod * @param validityPeriod
*/ */
public void setValidityPeriod(String validityPeriod){ public void setValidityPeriod(String validityPeriod){
this.validityPeriod = validityPeriod; this.validityPeriod = validityPeriod;
} }
/** /**
* 获取 增加或扣减天数(天) * 获取 增加或扣减天数(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getSubOrAddDays(){ public BigDecimal getSubOrAddDays(){
return subOrAddDays; return subOrAddDays;
} }
/** /**
* 设置 增加或扣减天数(天) * 设置 增加或扣减天数(天)
* @param subOrAddDays * @param subOrAddDays
*/ */
public void setSubOrAddDays(BigDecimal subOrAddDays){ public void setSubOrAddDays(BigDecimal subOrAddDays){
this.subOrAddDays = subOrAddDays; this.subOrAddDays = subOrAddDays;
} }
/** /**
* 获取 内容 * 获取 内容
* @return String * @return String
*/ */
public String getContent(){ public String getContent(){
return content; return content;
} }
/** /**
* 设置 内容 * 设置 内容
* @param content * @param content
*/ */
public void setContent(String content){ public void setContent(String content){
this.content = content; this.content = content;
} }
/** /**
* 获取 规则 * 获取 规则
* @return String * @return String
*/ */
public String getRule(){ public String getRule(){
return rule; return rule;
} }
/** /**
* 设置 规则 * 设置 规则
* @param rule * @param rule
*/ */
public void setRule(String rule){ public void setRule(String rule){
this.rule = rule; this.rule = rule;
} }
/** /**
* 获取 理由 * 获取 理由
* @return String * @return String
*/ */
public String getReason(){ public String getReason(){
return reason; return reason;
} }
/** /**
* 设置 理由 * 设置 理由
* @param reason * @param reason
*/ */
public void setReason(String reason){ public void setReason(String reason){
this.reason = reason; this.reason = reason;
} }
/** /**
* 获取 备注 * 获取 备注
* @return String * @return String
*/ */
public String getRemark(){ public String getRemark(){
return remark; return remark;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public void setRemark(String remark){ public void setRemark(String remark){
this.remark = remark; this.remark = remark;
} }
...@@ -208,7 +205,7 @@ public class AttendanceVacationRecordEntity extends AttendanceVacationRecordVo { ...@@ -208,7 +205,7 @@ public class AttendanceVacationRecordEntity extends AttendanceVacationRecordVo {
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -216,7 +213,7 @@ public class AttendanceVacationRecordEntity extends AttendanceVacationRecordVo { ...@@ -216,7 +213,7 @@ public class AttendanceVacationRecordEntity extends AttendanceVacationRecordVo {
if (obj instanceof AttendanceVacationRecordEntity) { if (obj instanceof AttendanceVacationRecordEntity) {
AttendanceVacationRecordEntity tmp = (AttendanceVacationRecordEntity) obj; AttendanceVacationRecordEntity tmp = (AttendanceVacationRecordEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
...@@ -239,24 +236,24 @@ public class AttendanceVacationRecordEntity extends AttendanceVacationRecordVo { ...@@ -239,24 +236,24 @@ public class AttendanceVacationRecordEntity extends AttendanceVacationRecordVo {
public void initAttrValue(){ public void initAttrValue(){
this.staffId = null; this.staffId = null;
this.staffName = ""; this.staffName = "";
this.type = null; this.type = null;
this.subAddType = 1; this.subAddType = 1;
this.validityPeriod = "0"; this.validityPeriod = "0";
this.subOrAddDays = BigDecimal.valueOf(0); this.subOrAddDays = BigDecimal.valueOf(0);
this.content = ""; this.content = "";
this.rule = ""; this.rule = "";
this.reason = ""; this.reason = "";
this.remark = ""; this.remark = "";
} }
} }
\ No newline at end of file
...@@ -2,13 +2,12 @@ package com.mortals.xhx.module.attendance.model; ...@@ -2,13 +2,12 @@ package com.mortals.xhx.module.attendance.model;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.attendance.model.AttendanceVacationRecordEntity;
/** /**
* 员工假期记录信息查询对象 * 员工假期记录信息查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-12 * @date 2023-04-14
*/ */
public class AttendanceVacationRecordQuery extends AttendanceVacationRecordEntity { public class AttendanceVacationRecordQuery extends AttendanceVacationRecordEntity {
/** 开始 序号,主键,自增长 */ /** 开始 序号,主键,自增长 */
private Long idStart; private Long idStart;
...@@ -45,19 +44,19 @@ public class AttendanceVacationRecordQuery extends AttendanceVacationRecordEntit ...@@ -45,19 +44,19 @@ public class AttendanceVacationRecordQuery extends AttendanceVacationRecordEntit
/** 员工姓名排除列表 */ /** 员工姓名排除列表 */
private List <String> staffNameNotList; private List <String> staffNameNotList;
/** 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) */ /** 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假) */
private Integer typeStart; private Integer typeStart;
/** 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) */ /** 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假) */
private Integer typeEnd; private Integer typeEnd;
/** 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) */ /** 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假) */
private Integer typeIncrement; private Integer typeIncrement;
/** 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)列表 */ /** 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)列表 */
private List <Integer> typeList; private List <Integer> typeList;
/** 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)排除列表 */ /** 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)排除列表 */
private List <Integer> typeNotList; private List <Integer> typeNotList;
/** 开始 增减类型(1.增加,2.扣除) */ /** 开始 增减类型(1.增加,2.扣除) */
...@@ -166,1350 +165,1350 @@ public class AttendanceVacationRecordQuery extends AttendanceVacationRecordEntit ...@@ -166,1350 +165,1350 @@ public class AttendanceVacationRecordQuery extends AttendanceVacationRecordEntit
public AttendanceVacationRecordQuery(){} public AttendanceVacationRecordQuery(){}
/** /**
* 获取 开始 序号,主键,自增长 * 获取 开始 序号,主键,自增长
* @return idStart * @return idStart
*/ */
public Long getIdStart(){ public Long getIdStart(){
return this.idStart; return this.idStart;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 序号,主键,自增长
* @param idStart * @param idStart
*/ */
public void setIdStart(Long idStart){ public void setIdStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
} }
/** /**
* 获取 结束 序号,主键,自增长 * 获取 结束 序号,主键,自增长
* @return $idEnd * @return $idEnd
*/ */
public Long getIdEnd(){ public Long getIdEnd(){
return this.idEnd; return this.idEnd;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 设置 结束 序号,主键,自增长
* @param idEnd * @param idEnd
*/ */
public void setIdEnd(Long idEnd){ public void setIdEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
} }
/** /**
* 获取 增加 序号,主键,自增长 * 获取 增加 序号,主键,自增长
* @return idIncrement * @return idIncrement
*/ */
public Long getIdIncrement(){ public Long getIdIncrement(){
return this.idIncrement; return this.idIncrement;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 增加 序号,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public void setIdIncrement(Long idIncrement){ public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
} }
/** /**
* 获取 序号,主键,自增长 * 获取 序号,主键,自增长
* @return idList * @return idList
*/ */
public List<Long> getIdList(){ public List<Long> getIdList(){
return this.idList; return this.idList;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idList * @param idList
*/ */
public void setIdList(List<Long> idList){ public void setIdList(List<Long> idList){
this.idList = idList; this.idList = idList;
} }
/** /**
* 获取 序号,主键,自增长 * 获取 序号,主键,自增长
* @return idNotList * @return idNotList
*/ */
public List<Long> getIdNotList(){ public List<Long> getIdNotList(){
return this.idNotList; return this.idNotList;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idNotList * @param idNotList
*/ */
public void setIdNotList(List<Long> idNotList){ public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
} }
/** /**
* 获取 开始 员工id * 获取 开始 员工id
* @return staffIdStart * @return staffIdStart
*/ */
public Long getStaffIdStart(){ public Long getStaffIdStart(){
return this.staffIdStart; return this.staffIdStart;
} }
/** /**
* 设置 开始 员工id * 设置 开始 员工id
* @param staffIdStart * @param staffIdStart
*/ */
public void setStaffIdStart(Long staffIdStart){ public void setStaffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart; this.staffIdStart = staffIdStart;
} }
/** /**
* 获取 结束 员工id * 获取 结束 员工id
* @return $staffIdEnd * @return $staffIdEnd
*/ */
public Long getStaffIdEnd(){ public Long getStaffIdEnd(){
return this.staffIdEnd; return this.staffIdEnd;
} }
/** /**
* 设置 结束 员工id * 设置 结束 员工id
* @param staffIdEnd * @param staffIdEnd
*/ */
public void setStaffIdEnd(Long staffIdEnd){ public void setStaffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd; this.staffIdEnd = staffIdEnd;
} }
/** /**
* 获取 增加 员工id * 获取 增加 员工id
* @return staffIdIncrement * @return staffIdIncrement
*/ */
public Long getStaffIdIncrement(){ public Long getStaffIdIncrement(){
return this.staffIdIncrement; return this.staffIdIncrement;
} }
/** /**
* 设置 增加 员工id * 设置 增加 员工id
* @param staffIdIncrement * @param staffIdIncrement
*/ */
public void setStaffIdIncrement(Long staffIdIncrement){ public void setStaffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement; this.staffIdIncrement = staffIdIncrement;
} }
/** /**
* 获取 员工id * 获取 员工id
* @return staffIdList * @return staffIdList
*/ */
public List<Long> getStaffIdList(){ public List<Long> getStaffIdList(){
return this.staffIdList; return this.staffIdList;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffIdList * @param staffIdList
*/ */
public void setStaffIdList(List<Long> staffIdList){ public void setStaffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList; this.staffIdList = staffIdList;
} }
/** /**
* 获取 员工id * 获取 员工id
* @return staffIdNotList * @return staffIdNotList
*/ */
public List<Long> getStaffIdNotList(){ public List<Long> getStaffIdNotList(){
return this.staffIdNotList; return this.staffIdNotList;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffIdNotList * @param staffIdNotList
*/ */
public void setStaffIdNotList(List<Long> staffIdNotList){ public void setStaffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList; this.staffIdNotList = staffIdNotList;
} }
/** /**
* 获取 员工姓名 * 获取 员工姓名
* @return staffNameList * @return staffNameList
*/ */
public List<String> getStaffNameList(){ public List<String> getStaffNameList(){
return this.staffNameList; return this.staffNameList;
} }
/** /**
* 设置 员工姓名 * 设置 员工姓名
* @param staffNameList * @param staffNameList
*/ */
public void setStaffNameList(List<String> staffNameList){ public void setStaffNameList(List<String> staffNameList){
this.staffNameList = staffNameList; this.staffNameList = staffNameList;
} }
/** /**
* 获取 员工姓名 * 获取 员工姓名
* @return staffNameNotList * @return staffNameNotList
*/ */
public List<String> getStaffNameNotList(){ public List<String> getStaffNameNotList(){
return this.staffNameNotList; return this.staffNameNotList;
} }
/** /**
* 设置 员工姓名 * 设置 员工姓名
* @param staffNameNotList * @param staffNameNotList
*/ */
public void setStaffNameNotList(List<String> staffNameNotList){ public void setStaffNameNotList(List<String> staffNameNotList){
this.staffNameNotList = staffNameNotList; this.staffNameNotList = staffNameNotList;
} }
/** /**
* 获取 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 获取 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @return typeStart * @return typeStart
*/ */
public Integer getTypeStart(){ public Integer getTypeStart(){
return this.typeStart; return this.typeStart;
} }
/** /**
* 设置 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param typeStart * @param typeStart
*/ */
public void setTypeStart(Integer typeStart){ public void setTypeStart(Integer typeStart){
this.typeStart = typeStart; this.typeStart = typeStart;
} }
/** /**
* 获取 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 获取 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @return $typeEnd * @return $typeEnd
*/ */
public Integer getTypeEnd(){ public Integer getTypeEnd(){
return this.typeEnd; return this.typeEnd;
} }
/** /**
* 设置 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param typeEnd * @param typeEnd
*/ */
public void setTypeEnd(Integer typeEnd){ public void setTypeEnd(Integer typeEnd){
this.typeEnd = typeEnd; this.typeEnd = typeEnd;
} }
/** /**
* 获取 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 获取 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @return typeIncrement * @return typeIncrement
*/ */
public Integer getTypeIncrement(){ public Integer getTypeIncrement(){
return this.typeIncrement; return this.typeIncrement;
} }
/** /**
* 设置 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param typeIncrement * @param typeIncrement
*/ */
public void setTypeIncrement(Integer typeIncrement){ public void setTypeIncrement(Integer typeIncrement){
this.typeIncrement = typeIncrement; this.typeIncrement = typeIncrement;
} }
/** /**
* 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @return typeList * @return typeList
*/ */
public List<Integer> getTypeList(){ public List<Integer> getTypeList(){
return this.typeList; return this.typeList;
} }
/** /**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param typeList * @param typeList
*/ */
public void setTypeList(List<Integer> typeList){ public void setTypeList(List<Integer> typeList){
this.typeList = typeList; this.typeList = typeList;
} }
/** /**
* 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @return typeNotList * @return typeNotList
*/ */
public List<Integer> getTypeNotList(){ public List<Integer> getTypeNotList(){
return this.typeNotList; return this.typeNotList;
} }
/** /**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param typeNotList * @param typeNotList
*/ */
public void setTypeNotList(List<Integer> typeNotList){ public void setTypeNotList(List<Integer> typeNotList){
this.typeNotList = typeNotList; this.typeNotList = typeNotList;
} }
/** /**
* 获取 开始 增减类型(1.增加,2.扣除) * 获取 开始 增减类型(1.增加,2.扣除)
* @return subAddTypeStart * @return subAddTypeStart
*/ */
public Integer getSubAddTypeStart(){ public Integer getSubAddTypeStart(){
return this.subAddTypeStart; return this.subAddTypeStart;
} }
/** /**
* 设置 开始 增减类型(1.增加,2.扣除) * 设置 开始 增减类型(1.增加,2.扣除)
* @param subAddTypeStart * @param subAddTypeStart
*/ */
public void setSubAddTypeStart(Integer subAddTypeStart){ public void setSubAddTypeStart(Integer subAddTypeStart){
this.subAddTypeStart = subAddTypeStart; this.subAddTypeStart = subAddTypeStart;
} }
/** /**
* 获取 结束 增减类型(1.增加,2.扣除) * 获取 结束 增减类型(1.增加,2.扣除)
* @return $subAddTypeEnd * @return $subAddTypeEnd
*/ */
public Integer getSubAddTypeEnd(){ public Integer getSubAddTypeEnd(){
return this.subAddTypeEnd; return this.subAddTypeEnd;
} }
/** /**
* 设置 结束 增减类型(1.增加,2.扣除) * 设置 结束 增减类型(1.增加,2.扣除)
* @param subAddTypeEnd * @param subAddTypeEnd
*/ */
public void setSubAddTypeEnd(Integer subAddTypeEnd){ public void setSubAddTypeEnd(Integer subAddTypeEnd){
this.subAddTypeEnd = subAddTypeEnd; this.subAddTypeEnd = subAddTypeEnd;
} }
/** /**
* 获取 增加 增减类型(1.增加,2.扣除) * 获取 增加 增减类型(1.增加,2.扣除)
* @return subAddTypeIncrement * @return subAddTypeIncrement
*/ */
public Integer getSubAddTypeIncrement(){ public Integer getSubAddTypeIncrement(){
return this.subAddTypeIncrement; return this.subAddTypeIncrement;
} }
/** /**
* 设置 增加 增减类型(1.增加,2.扣除) * 设置 增加 增减类型(1.增加,2.扣除)
* @param subAddTypeIncrement * @param subAddTypeIncrement
*/ */
public void setSubAddTypeIncrement(Integer subAddTypeIncrement){ public void setSubAddTypeIncrement(Integer subAddTypeIncrement){
this.subAddTypeIncrement = subAddTypeIncrement; this.subAddTypeIncrement = subAddTypeIncrement;
} }
/** /**
* 获取 增减类型(1.增加,2.扣除) * 获取 增减类型(1.增加,2.扣除)
* @return subAddTypeList * @return subAddTypeList
*/ */
public List<Integer> getSubAddTypeList(){ public List<Integer> getSubAddTypeList(){
return this.subAddTypeList; return this.subAddTypeList;
} }
/** /**
* 设置 增减类型(1.增加,2.扣除) * 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeList * @param subAddTypeList
*/ */
public void setSubAddTypeList(List<Integer> subAddTypeList){ public void setSubAddTypeList(List<Integer> subAddTypeList){
this.subAddTypeList = subAddTypeList; this.subAddTypeList = subAddTypeList;
} }
/** /**
* 获取 增减类型(1.增加,2.扣除) * 获取 增减类型(1.增加,2.扣除)
* @return subAddTypeNotList * @return subAddTypeNotList
*/ */
public List<Integer> getSubAddTypeNotList(){ public List<Integer> getSubAddTypeNotList(){
return this.subAddTypeNotList; return this.subAddTypeNotList;
} }
/** /**
* 设置 增减类型(1.增加,2.扣除) * 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeNotList * @param subAddTypeNotList
*/ */
public void setSubAddTypeNotList(List<Integer> subAddTypeNotList){ public void setSubAddTypeNotList(List<Integer> subAddTypeNotList){
this.subAddTypeNotList = subAddTypeNotList; this.subAddTypeNotList = subAddTypeNotList;
} }
/** /**
* 获取 有效期 * 获取 有效期
* @return validityPeriodList * @return validityPeriodList
*/ */
public List<String> getValidityPeriodList(){ public List<String> getValidityPeriodList(){
return this.validityPeriodList; return this.validityPeriodList;
} }
/** /**
* 设置 有效期 * 设置 有效期
* @param validityPeriodList * @param validityPeriodList
*/ */
public void setValidityPeriodList(List<String> validityPeriodList){ public void setValidityPeriodList(List<String> validityPeriodList){
this.validityPeriodList = validityPeriodList; this.validityPeriodList = validityPeriodList;
} }
/** /**
* 获取 有效期 * 获取 有效期
* @return validityPeriodNotList * @return validityPeriodNotList
*/ */
public List<String> getValidityPeriodNotList(){ public List<String> getValidityPeriodNotList(){
return this.validityPeriodNotList; return this.validityPeriodNotList;
} }
/** /**
* 设置 有效期 * 设置 有效期
* @param validityPeriodNotList * @param validityPeriodNotList
*/ */
public void setValidityPeriodNotList(List<String> validityPeriodNotList){ public void setValidityPeriodNotList(List<String> validityPeriodNotList){
this.validityPeriodNotList = validityPeriodNotList; this.validityPeriodNotList = validityPeriodNotList;
} }
/** /**
* 获取 开始 增加或扣减天数(天) * 获取 开始 增加或扣减天数(天)
* @return subOrAddDaysStart * @return subOrAddDaysStart
*/ */
public BigDecimal getSubOrAddDaysStart(){ public BigDecimal getSubOrAddDaysStart(){
return this.subOrAddDaysStart; return this.subOrAddDaysStart;
} }
/** /**
* 设置 开始 增加或扣减天数(天) * 设置 开始 增加或扣减天数(天)
* @param subOrAddDaysStart * @param subOrAddDaysStart
*/ */
public void setSubOrAddDaysStart(BigDecimal subOrAddDaysStart){ public void setSubOrAddDaysStart(BigDecimal subOrAddDaysStart){
this.subOrAddDaysStart = subOrAddDaysStart; this.subOrAddDaysStart = subOrAddDaysStart;
} }
/** /**
* 获取 结束 增加或扣减天数(天) * 获取 结束 增加或扣减天数(天)
* @return $subOrAddDaysEnd * @return $subOrAddDaysEnd
*/ */
public BigDecimal getSubOrAddDaysEnd(){ public BigDecimal getSubOrAddDaysEnd(){
return this.subOrAddDaysEnd; return this.subOrAddDaysEnd;
} }
/** /**
* 设置 结束 增加或扣减天数(天) * 设置 结束 增加或扣减天数(天)
* @param subOrAddDaysEnd * @param subOrAddDaysEnd
*/ */
public void setSubOrAddDaysEnd(BigDecimal subOrAddDaysEnd){ public void setSubOrAddDaysEnd(BigDecimal subOrAddDaysEnd){
this.subOrAddDaysEnd = subOrAddDaysEnd; this.subOrAddDaysEnd = subOrAddDaysEnd;
} }
/** /**
* 获取 增加 增加或扣减天数(天) * 获取 增加 增加或扣减天数(天)
* @return subOrAddDaysIncrement * @return subOrAddDaysIncrement
*/ */
public BigDecimal getSubOrAddDaysIncrement(){ public BigDecimal getSubOrAddDaysIncrement(){
return this.subOrAddDaysIncrement; return this.subOrAddDaysIncrement;
} }
/** /**
* 设置 增加 增加或扣减天数(天) * 设置 增加 增加或扣减天数(天)
* @param subOrAddDaysIncrement * @param subOrAddDaysIncrement
*/ */
public void setSubOrAddDaysIncrement(BigDecimal subOrAddDaysIncrement){ public void setSubOrAddDaysIncrement(BigDecimal subOrAddDaysIncrement){
this.subOrAddDaysIncrement = subOrAddDaysIncrement; this.subOrAddDaysIncrement = subOrAddDaysIncrement;
} }
/** /**
* 获取 增加或扣减天数(天) * 获取 增加或扣减天数(天)
* @return subOrAddDaysList * @return subOrAddDaysList
*/ */
public List<BigDecimal> getSubOrAddDaysList(){ public List<BigDecimal> getSubOrAddDaysList(){
return this.subOrAddDaysList; return this.subOrAddDaysList;
} }
/** /**
* 设置 增加或扣减天数(天) * 设置 增加或扣减天数(天)
* @param subOrAddDaysList * @param subOrAddDaysList
*/ */
public void setSubOrAddDaysList(List<BigDecimal> subOrAddDaysList){ public void setSubOrAddDaysList(List<BigDecimal> subOrAddDaysList){
this.subOrAddDaysList = subOrAddDaysList; this.subOrAddDaysList = subOrAddDaysList;
} }
/** /**
* 获取 增加或扣减天数(天) * 获取 增加或扣减天数(天)
* @return subOrAddDaysNotList * @return subOrAddDaysNotList
*/ */
public List<BigDecimal> getSubOrAddDaysNotList(){ public List<BigDecimal> getSubOrAddDaysNotList(){
return this.subOrAddDaysNotList; return this.subOrAddDaysNotList;
} }
/** /**
* 设置 增加或扣减天数(天) * 设置 增加或扣减天数(天)
* @param subOrAddDaysNotList * @param subOrAddDaysNotList
*/ */
public void setSubOrAddDaysNotList(List<BigDecimal> subOrAddDaysNotList){ public void setSubOrAddDaysNotList(List<BigDecimal> subOrAddDaysNotList){
this.subOrAddDaysNotList = subOrAddDaysNotList; this.subOrAddDaysNotList = subOrAddDaysNotList;
} }
/** /**
* 获取 内容 * 获取 内容
* @return contentList * @return contentList
*/ */
public List<String> getContentList(){ public List<String> getContentList(){
return this.contentList; return this.contentList;
} }
/** /**
* 设置 内容 * 设置 内容
* @param contentList * @param contentList
*/ */
public void setContentList(List<String> contentList){ public void setContentList(List<String> contentList){
this.contentList = contentList; this.contentList = contentList;
} }
/** /**
* 获取 内容 * 获取 内容
* @return contentNotList * @return contentNotList
*/ */
public List<String> getContentNotList(){ public List<String> getContentNotList(){
return this.contentNotList; return this.contentNotList;
} }
/** /**
* 设置 内容 * 设置 内容
* @param contentNotList * @param contentNotList
*/ */
public void setContentNotList(List<String> contentNotList){ public void setContentNotList(List<String> contentNotList){
this.contentNotList = contentNotList; this.contentNotList = contentNotList;
} }
/** /**
* 获取 规则 * 获取 规则
* @return ruleList * @return ruleList
*/ */
public List<String> getRuleList(){ public List<String> getRuleList(){
return this.ruleList; return this.ruleList;
} }
/** /**
* 设置 规则 * 设置 规则
* @param ruleList * @param ruleList
*/ */
public void setRuleList(List<String> ruleList){ public void setRuleList(List<String> ruleList){
this.ruleList = ruleList; this.ruleList = ruleList;
} }
/** /**
* 获取 规则 * 获取 规则
* @return ruleNotList * @return ruleNotList
*/ */
public List<String> getRuleNotList(){ public List<String> getRuleNotList(){
return this.ruleNotList; return this.ruleNotList;
} }
/** /**
* 设置 规则 * 设置 规则
* @param ruleNotList * @param ruleNotList
*/ */
public void setRuleNotList(List<String> ruleNotList){ public void setRuleNotList(List<String> ruleNotList){
this.ruleNotList = ruleNotList; this.ruleNotList = ruleNotList;
} }
/** /**
* 获取 理由 * 获取 理由
* @return reasonList * @return reasonList
*/ */
public List<String> getReasonList(){ public List<String> getReasonList(){
return this.reasonList; return this.reasonList;
} }
/** /**
* 设置 理由 * 设置 理由
* @param reasonList * @param reasonList
*/ */
public void setReasonList(List<String> reasonList){ public void setReasonList(List<String> reasonList){
this.reasonList = reasonList; this.reasonList = reasonList;
} }
/** /**
* 获取 理由 * 获取 理由
* @return reasonNotList * @return reasonNotList
*/ */
public List<String> getReasonNotList(){ public List<String> getReasonNotList(){
return this.reasonNotList; return this.reasonNotList;
} }
/** /**
* 设置 理由 * 设置 理由
* @param reasonNotList * @param reasonNotList
*/ */
public void setReasonNotList(List<String> reasonNotList){ public void setReasonNotList(List<String> reasonNotList){
this.reasonNotList = reasonNotList; this.reasonNotList = reasonNotList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkList * @return remarkList
*/ */
public List<String> getRemarkList(){ public List<String> getRemarkList(){
return this.remarkList; return this.remarkList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public void setRemarkList(List<String> remarkList){ public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkNotList * @return remarkNotList
*/ */
public List<String> getRemarkNotList(){ public List<String> getRemarkNotList(){
return this.remarkNotList; return this.remarkNotList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkNotList * @param remarkNotList
*/ */
public void setRemarkNotList(List<String> remarkNotList){ public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList; this.remarkNotList = remarkNotList;
} }
/** /**
* 获取 开始 创建用户 * 获取 开始 创建用户
* @return createUserIdStart * @return createUserIdStart
*/ */
public Long getCreateUserIdStart(){ public Long getCreateUserIdStart(){
return this.createUserIdStart; return this.createUserIdStart;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public void setCreateUserIdStart(Long createUserIdStart){ public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
} }
/** /**
* 获取 结束 创建用户 * 获取 结束 创建用户
* @return $createUserIdEnd * @return $createUserIdEnd
*/ */
public Long getCreateUserIdEnd(){ public Long getCreateUserIdEnd(){
return this.createUserIdEnd; return this.createUserIdEnd;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public void setCreateUserIdEnd(Long createUserIdEnd){ public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
} }
/** /**
* 获取 增加 创建用户 * 获取 增加 创建用户
* @return createUserIdIncrement * @return createUserIdIncrement
*/ */
public Long getCreateUserIdIncrement(){ public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement; return this.createUserIdIncrement;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public void setCreateUserIdIncrement(Long createUserIdIncrement){ public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdList * @return createUserIdList
*/ */
public List<Long> getCreateUserIdList(){ public List<Long> getCreateUserIdList(){
return this.createUserIdList; return this.createUserIdList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public void setCreateUserIdList(List<Long> createUserIdList){ public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdNotList * @return createUserIdNotList
*/ */
public List<Long> getCreateUserIdNotList(){ public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList; return this.createUserIdNotList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public void setCreateUserIdNotList(List<Long> createUserIdNotList){ public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
} }
/** /**
* 获取 开始 创建时间 * 获取 开始 创建时间
* @return createTimeStart * @return createTimeStart
*/ */
public String getCreateTimeStart(){ public String getCreateTimeStart(){
return this.createTimeStart; return this.createTimeStart;
} }
/** /**
* 设置 开始 创建时间 * 设置 开始 创建时间
* @param createTimeStart * @param createTimeStart
*/ */
public void setCreateTimeStart(String createTimeStart){ public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart; this.createTimeStart = createTimeStart;
} }
/** /**
* 获取 结束 创建时间 * 获取 结束 创建时间
* @return createTimeEnd * @return createTimeEnd
*/ */
public String getCreateTimeEnd(){ public String getCreateTimeEnd(){
return this.createTimeEnd; return this.createTimeEnd;
} }
/** /**
* 设置 结束 创建时间 * 设置 结束 创建时间
* @param createTimeEnd * @param createTimeEnd
*/ */
public void setCreateTimeEnd(String createTimeEnd){ public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd; this.createTimeEnd = createTimeEnd;
} }
/** /**
* 获取 开始 更新用户 * 获取 开始 更新用户
* @return updateUserIdStart * @return updateUserIdStart
*/ */
public Long getUpdateUserIdStart(){ public Long getUpdateUserIdStart(){
return this.updateUserIdStart; return this.updateUserIdStart;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public void setUpdateUserIdStart(Long updateUserIdStart){ public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
} }
/** /**
* 获取 结束 更新用户 * 获取 结束 更新用户
* @return $updateUserIdEnd * @return $updateUserIdEnd
*/ */
public Long getUpdateUserIdEnd(){ public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd; return this.updateUserIdEnd;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public void setUpdateUserIdEnd(Long updateUserIdEnd){ public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
} }
/** /**
* 获取 增加 更新用户 * 获取 增加 更新用户
* @return updateUserIdIncrement * @return updateUserIdIncrement
*/ */
public Long getUpdateUserIdIncrement(){ public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement; return this.updateUserIdIncrement;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){ public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdList * @return updateUserIdList
*/ */
public List<Long> getUpdateUserIdList(){ public List<Long> getUpdateUserIdList(){
return this.updateUserIdList; return this.updateUserIdList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public void setUpdateUserIdList(List<Long> updateUserIdList){ public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdNotList * @return updateUserIdNotList
*/ */
public List<Long> getUpdateUserIdNotList(){ public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList; return this.updateUserIdNotList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){ public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
} }
/** /**
* 获取 开始 更新时间 * 获取 开始 更新时间
* @return updateTimeStart * @return updateTimeStart
*/ */
public String getUpdateTimeStart(){ public String getUpdateTimeStart(){
return this.updateTimeStart; return this.updateTimeStart;
} }
/** /**
* 设置 开始 更新时间 * 设置 开始 更新时间
* @param updateTimeStart * @param updateTimeStart
*/ */
public void setUpdateTimeStart(String updateTimeStart){ public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart; this.updateTimeStart = updateTimeStart;
} }
/** /**
* 获取 结束 更新时间 * 获取 结束 更新时间
* @return updateTimeEnd * @return updateTimeEnd
*/ */
public String getUpdateTimeEnd(){ public String getUpdateTimeEnd(){
return this.updateTimeEnd; return this.updateTimeEnd;
} }
/** /**
* 设置 结束 更新时间 * 设置 结束 更新时间
* @param updateTimeEnd * @param updateTimeEnd
*/ */
public void setUpdateTimeEnd(String updateTimeEnd){ public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd; this.updateTimeEnd = updateTimeEnd;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param id * @param id
*/ */
public AttendanceVacationRecordQuery id(Long id){ public AttendanceVacationRecordQuery id(Long id){
setId(id); setId(id);
return this; return this;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 序号,主键,自增长
* @param idStart * @param idStart
*/ */
public AttendanceVacationRecordQuery idStart(Long idStart){ public AttendanceVacationRecordQuery idStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
return this; return this;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 设置 结束 序号,主键,自增长
* @param idEnd * @param idEnd
*/ */
public AttendanceVacationRecordQuery idEnd(Long idEnd){ public AttendanceVacationRecordQuery idEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
return this; return this;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 增加 序号,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public AttendanceVacationRecordQuery idIncrement(Long idIncrement){ public AttendanceVacationRecordQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
return this; return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idList * @param idList
*/ */
public AttendanceVacationRecordQuery idList(List<Long> idList){ public AttendanceVacationRecordQuery idList(List<Long> idList){
this.idList = idList; this.idList = idList;
return this; return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idNotList * @param idNotList
*/ */
public AttendanceVacationRecordQuery idNotList(List<Long> idNotList){ public AttendanceVacationRecordQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
return this; return this;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffId * @param staffId
*/ */
public AttendanceVacationRecordQuery staffId(Long staffId){ public AttendanceVacationRecordQuery staffId(Long staffId){
setStaffId(staffId); setStaffId(staffId);
return this; return this;
} }
/** /**
* 设置 开始 员工id * 设置 开始 员工id
* @param staffIdStart * @param staffIdStart
*/ */
public AttendanceVacationRecordQuery staffIdStart(Long staffIdStart){ public AttendanceVacationRecordQuery staffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart; this.staffIdStart = staffIdStart;
return this; return this;
} }
/** /**
* 设置 结束 员工id * 设置 结束 员工id
* @param staffIdEnd * @param staffIdEnd
*/ */
public AttendanceVacationRecordQuery staffIdEnd(Long staffIdEnd){ public AttendanceVacationRecordQuery staffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd; this.staffIdEnd = staffIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 员工id * 设置 增加 员工id
* @param staffIdIncrement * @param staffIdIncrement
*/ */
public AttendanceVacationRecordQuery staffIdIncrement(Long staffIdIncrement){ public AttendanceVacationRecordQuery staffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement; this.staffIdIncrement = staffIdIncrement;
return this; return this;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffIdList * @param staffIdList
*/ */
public AttendanceVacationRecordQuery staffIdList(List<Long> staffIdList){ public AttendanceVacationRecordQuery staffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList; this.staffIdList = staffIdList;
return this; return this;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffIdNotList * @param staffIdNotList
*/ */
public AttendanceVacationRecordQuery staffIdNotList(List<Long> staffIdNotList){ public AttendanceVacationRecordQuery staffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList; this.staffIdNotList = staffIdNotList;
return this; return this;
} }
/** /**
* 设置 员工姓名 * 设置 员工姓名
* @param staffName * @param staffName
*/ */
public AttendanceVacationRecordQuery staffName(String staffName){ public AttendanceVacationRecordQuery staffName(String staffName){
setStaffName(staffName); setStaffName(staffName);
return this; return this;
} }
/** /**
* 设置 员工姓名 * 设置 员工姓名
* @param staffNameList * @param staffNameList
*/ */
public AttendanceVacationRecordQuery staffNameList(List<String> staffNameList){ public AttendanceVacationRecordQuery staffNameList(List<String> staffNameList){
this.staffNameList = staffNameList; this.staffNameList = staffNameList;
return this; return this;
} }
/** /**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param type * @param type
*/ */
public AttendanceVacationRecordQuery type(Integer type){ public AttendanceVacationRecordQuery type(Integer type){
setType(type); setType(type);
return this; return this;
} }
/** /**
* 设置 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param typeStart * @param typeStart
*/ */
public AttendanceVacationRecordQuery typeStart(Integer typeStart){ public AttendanceVacationRecordQuery typeStart(Integer typeStart){
this.typeStart = typeStart; this.typeStart = typeStart;
return this; return this;
} }
/** /**
* 设置 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param typeEnd * @param typeEnd
*/ */
public AttendanceVacationRecordQuery typeEnd(Integer typeEnd){ public AttendanceVacationRecordQuery typeEnd(Integer typeEnd){
this.typeEnd = typeEnd; this.typeEnd = typeEnd;
return this; return this;
} }
/** /**
* 设置 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param typeIncrement * @param typeIncrement
*/ */
public AttendanceVacationRecordQuery typeIncrement(Integer typeIncrement){ public AttendanceVacationRecordQuery typeIncrement(Integer typeIncrement){
this.typeIncrement = typeIncrement; this.typeIncrement = typeIncrement;
return this; return this;
} }
/** /**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param typeList * @param typeList
*/ */
public AttendanceVacationRecordQuery typeList(List<Integer> typeList){ public AttendanceVacationRecordQuery typeList(List<Integer> typeList){
this.typeList = typeList; this.typeList = typeList;
return this; return this;
} }
/** /**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) * 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)
* @param typeNotList * @param typeNotList
*/ */
public AttendanceVacationRecordQuery typeNotList(List<Integer> typeNotList){ public AttendanceVacationRecordQuery typeNotList(List<Integer> typeNotList){
this.typeNotList = typeNotList; this.typeNotList = typeNotList;
return this; return this;
} }
/** /**
* 设置 增减类型(1.增加,2.扣除) * 设置 增减类型(1.增加,2.扣除)
* @param subAddType * @param subAddType
*/ */
public AttendanceVacationRecordQuery subAddType(Integer subAddType){ public AttendanceVacationRecordQuery subAddType(Integer subAddType){
setSubAddType(subAddType); setSubAddType(subAddType);
return this; return this;
} }
/** /**
* 设置 开始 增减类型(1.增加,2.扣除) * 设置 开始 增减类型(1.增加,2.扣除)
* @param subAddTypeStart * @param subAddTypeStart
*/ */
public AttendanceVacationRecordQuery subAddTypeStart(Integer subAddTypeStart){ public AttendanceVacationRecordQuery subAddTypeStart(Integer subAddTypeStart){
this.subAddTypeStart = subAddTypeStart; this.subAddTypeStart = subAddTypeStart;
return this; return this;
} }
/** /**
* 设置 结束 增减类型(1.增加,2.扣除) * 设置 结束 增减类型(1.增加,2.扣除)
* @param subAddTypeEnd * @param subAddTypeEnd
*/ */
public AttendanceVacationRecordQuery subAddTypeEnd(Integer subAddTypeEnd){ public AttendanceVacationRecordQuery subAddTypeEnd(Integer subAddTypeEnd){
this.subAddTypeEnd = subAddTypeEnd; this.subAddTypeEnd = subAddTypeEnd;
return this; return this;
} }
/** /**
* 设置 增加 增减类型(1.增加,2.扣除) * 设置 增加 增减类型(1.增加,2.扣除)
* @param subAddTypeIncrement * @param subAddTypeIncrement
*/ */
public AttendanceVacationRecordQuery subAddTypeIncrement(Integer subAddTypeIncrement){ public AttendanceVacationRecordQuery subAddTypeIncrement(Integer subAddTypeIncrement){
this.subAddTypeIncrement = subAddTypeIncrement; this.subAddTypeIncrement = subAddTypeIncrement;
return this; return this;
} }
/** /**
* 设置 增减类型(1.增加,2.扣除) * 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeList * @param subAddTypeList
*/ */
public AttendanceVacationRecordQuery subAddTypeList(List<Integer> subAddTypeList){ public AttendanceVacationRecordQuery subAddTypeList(List<Integer> subAddTypeList){
this.subAddTypeList = subAddTypeList; this.subAddTypeList = subAddTypeList;
return this; return this;
} }
/** /**
* 设置 增减类型(1.增加,2.扣除) * 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeNotList * @param subAddTypeNotList
*/ */
public AttendanceVacationRecordQuery subAddTypeNotList(List<Integer> subAddTypeNotList){ public AttendanceVacationRecordQuery subAddTypeNotList(List<Integer> subAddTypeNotList){
this.subAddTypeNotList = subAddTypeNotList; this.subAddTypeNotList = subAddTypeNotList;
return this; return this;
} }
/** /**
* 设置 有效期 * 设置 有效期
* @param validityPeriod * @param validityPeriod
*/ */
public AttendanceVacationRecordQuery validityPeriod(String validityPeriod){ public AttendanceVacationRecordQuery validityPeriod(String validityPeriod){
setValidityPeriod(validityPeriod); setValidityPeriod(validityPeriod);
return this; return this;
} }
/** /**
* 设置 有效期 * 设置 有效期
* @param validityPeriodList * @param validityPeriodList
*/ */
public AttendanceVacationRecordQuery validityPeriodList(List<String> validityPeriodList){ public AttendanceVacationRecordQuery validityPeriodList(List<String> validityPeriodList){
this.validityPeriodList = validityPeriodList; this.validityPeriodList = validityPeriodList;
return this; return this;
} }
/** /**
* 设置 增加或扣减天数(天) * 设置 增加或扣减天数(天)
* @param subOrAddDays * @param subOrAddDays
*/ */
public AttendanceVacationRecordQuery subOrAddDays(BigDecimal subOrAddDays){ public AttendanceVacationRecordQuery subOrAddDays(BigDecimal subOrAddDays){
setSubOrAddDays(subOrAddDays); setSubOrAddDays(subOrAddDays);
return this; return this;
} }
/** /**
* 设置 开始 增加或扣减天数(天) * 设置 开始 增加或扣减天数(天)
* @param subOrAddDaysStart * @param subOrAddDaysStart
*/ */
public AttendanceVacationRecordQuery subOrAddDaysStart(BigDecimal subOrAddDaysStart){ public AttendanceVacationRecordQuery subOrAddDaysStart(BigDecimal subOrAddDaysStart){
this.subOrAddDaysStart = subOrAddDaysStart; this.subOrAddDaysStart = subOrAddDaysStart;
return this; return this;
} }
/** /**
* 设置 结束 增加或扣减天数(天) * 设置 结束 增加或扣减天数(天)
* @param subOrAddDaysEnd * @param subOrAddDaysEnd
*/ */
public AttendanceVacationRecordQuery subOrAddDaysEnd(BigDecimal subOrAddDaysEnd){ public AttendanceVacationRecordQuery subOrAddDaysEnd(BigDecimal subOrAddDaysEnd){
this.subOrAddDaysEnd = subOrAddDaysEnd; this.subOrAddDaysEnd = subOrAddDaysEnd;
return this; return this;
} }
/** /**
* 设置 增加 增加或扣减天数(天) * 设置 增加 增加或扣减天数(天)
* @param subOrAddDaysIncrement * @param subOrAddDaysIncrement
*/ */
public AttendanceVacationRecordQuery subOrAddDaysIncrement(BigDecimal subOrAddDaysIncrement){ public AttendanceVacationRecordQuery subOrAddDaysIncrement(BigDecimal subOrAddDaysIncrement){
this.subOrAddDaysIncrement = subOrAddDaysIncrement; this.subOrAddDaysIncrement = subOrAddDaysIncrement;
return this; return this;
} }
/** /**
* 设置 增加或扣减天数(天) * 设置 增加或扣减天数(天)
* @param subOrAddDaysList * @param subOrAddDaysList
*/ */
public AttendanceVacationRecordQuery subOrAddDaysList(List<BigDecimal> subOrAddDaysList){ public AttendanceVacationRecordQuery subOrAddDaysList(List<BigDecimal> subOrAddDaysList){
this.subOrAddDaysList = subOrAddDaysList; this.subOrAddDaysList = subOrAddDaysList;
return this; return this;
} }
/** /**
* 设置 增加或扣减天数(天) * 设置 增加或扣减天数(天)
* @param subOrAddDaysNotList * @param subOrAddDaysNotList
*/ */
public AttendanceVacationRecordQuery subOrAddDaysNotList(List<BigDecimal> subOrAddDaysNotList){ public AttendanceVacationRecordQuery subOrAddDaysNotList(List<BigDecimal> subOrAddDaysNotList){
this.subOrAddDaysNotList = subOrAddDaysNotList; this.subOrAddDaysNotList = subOrAddDaysNotList;
return this; return this;
} }
/** /**
* 设置 内容 * 设置 内容
* @param content * @param content
*/ */
public AttendanceVacationRecordQuery content(String content){ public AttendanceVacationRecordQuery content(String content){
setContent(content); setContent(content);
return this; return this;
} }
/** /**
* 设置 内容 * 设置 内容
* @param contentList * @param contentList
*/ */
public AttendanceVacationRecordQuery contentList(List<String> contentList){ public AttendanceVacationRecordQuery contentList(List<String> contentList){
this.contentList = contentList; this.contentList = contentList;
return this; return this;
} }
/** /**
* 设置 规则 * 设置 规则
* @param rule * @param rule
*/ */
public AttendanceVacationRecordQuery rule(String rule){ public AttendanceVacationRecordQuery rule(String rule){
setRule(rule); setRule(rule);
return this; return this;
} }
/** /**
* 设置 规则 * 设置 规则
* @param ruleList * @param ruleList
*/ */
public AttendanceVacationRecordQuery ruleList(List<String> ruleList){ public AttendanceVacationRecordQuery ruleList(List<String> ruleList){
this.ruleList = ruleList; this.ruleList = ruleList;
return this; return this;
} }
/** /**
* 设置 理由 * 设置 理由
* @param reason * @param reason
*/ */
public AttendanceVacationRecordQuery reason(String reason){ public AttendanceVacationRecordQuery reason(String reason){
setReason(reason); setReason(reason);
return this; return this;
} }
/** /**
* 设置 理由 * 设置 理由
* @param reasonList * @param reasonList
*/ */
public AttendanceVacationRecordQuery reasonList(List<String> reasonList){ public AttendanceVacationRecordQuery reasonList(List<String> reasonList){
this.reasonList = reasonList; this.reasonList = reasonList;
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public AttendanceVacationRecordQuery remark(String remark){ public AttendanceVacationRecordQuery remark(String remark){
setRemark(remark); setRemark(remark);
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public AttendanceVacationRecordQuery remarkList(List<String> remarkList){ public AttendanceVacationRecordQuery remarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserId * @param createUserId
*/ */
public AttendanceVacationRecordQuery createUserId(Long createUserId){ public AttendanceVacationRecordQuery createUserId(Long createUserId){
setCreateUserId(createUserId); setCreateUserId(createUserId);
return this; return this;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public AttendanceVacationRecordQuery createUserIdStart(Long createUserIdStart){ public AttendanceVacationRecordQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public AttendanceVacationRecordQuery createUserIdEnd(Long createUserIdEnd){ public AttendanceVacationRecordQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public AttendanceVacationRecordQuery createUserIdIncrement(Long createUserIdIncrement){ public AttendanceVacationRecordQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public AttendanceVacationRecordQuery createUserIdList(List<Long> createUserIdList){ public AttendanceVacationRecordQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public AttendanceVacationRecordQuery createUserIdNotList(List<Long> createUserIdNotList){ public AttendanceVacationRecordQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserId * @param updateUserId
*/ */
public AttendanceVacationRecordQuery updateUserId(Long updateUserId){ public AttendanceVacationRecordQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId); setUpdateUserId(updateUserId);
return this; return this;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public AttendanceVacationRecordQuery updateUserIdStart(Long updateUserIdStart){ public AttendanceVacationRecordQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public AttendanceVacationRecordQuery updateUserIdEnd(Long updateUserIdEnd){ public AttendanceVacationRecordQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public AttendanceVacationRecordQuery updateUserIdIncrement(Long updateUserIdIncrement){ public AttendanceVacationRecordQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public AttendanceVacationRecordQuery updateUserIdList(List<Long> updateUserIdList){ public AttendanceVacationRecordQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public AttendanceVacationRecordQuery updateUserIdNotList(List<Long> updateUserIdNotList){ public AttendanceVacationRecordQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
return this; return this;
} }
/** /**
* 获取 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)
* @return orConditionList * @return orConditionList
*/ */
public List<AttendanceVacationRecordQuery> getOrConditionList(){ public List<AttendanceVacationRecordQuery> getOrConditionList(){
return this.orConditionList; return this.orConditionList;
} }
/** /**
* 设置 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)
* @param orConditionList * @param orConditionList
*/ */
public void setOrConditionList(List<AttendanceVacationRecordQuery> orConditionList){ public void setOrConditionList(List<AttendanceVacationRecordQuery> orConditionList){
this.orConditionList = orConditionList; this.orConditionList = orConditionList;
} }
/** /**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList * @return andConditionList
*/ */
public List<AttendanceVacationRecordQuery> getAndConditionList(){ public List<AttendanceVacationRecordQuery> getAndConditionList(){
return this.andConditionList; return this.andConditionList;
} }
/** /**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList * @param andConditionList
*/ */
public void setAndConditionList(List<AttendanceVacationRecordQuery> andConditionList){ public void setAndConditionList(List<AttendanceVacationRecordQuery> andConditionList){
this.andConditionList = andConditionList; this.andConditionList = andConditionList;
} }
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd"> "mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.attendance.dao.ibatis.AttendanceLeaveRecordDaoImpl"> <mapper namespace="com.mortals.xhx.module.attendance.dao.ibatis.AttendanceLeaveRecordDaoImpl">
<!-- 字段和属性映射 --> <!-- 字段和属性映射 -->
<resultMap type="AttendanceLeaveRecordEntity" id="AttendanceLeaveRecordEntity-Map"> <resultMap type="AttendanceLeaveRecordEntity" id="AttendanceLeaveRecordEntity-Map">
<id property="id" column="id" /> <id property="id" column="id" />
<result property="leavePersonId" column="leavePersonId" /> <result property="leavePersonId" column="leavePersonId" />
<result property="leavePerson" column="leavePerson" /> <result property="leavePerson" column="leavePerson" />
<result property="deptId" column="deptId" /> <result property="deptId" column="deptId" />
<result property="deptName" column="deptName" /> <result property="deptName" column="deptName" />
<result property="phoneNumber" column="phoneNumber" /> <result property="phoneNumber" column="phoneNumber" />
<result property="leaveType" column="leaveType" /> <result property="leaveType" column="leaveType" />
<result property="startTime" column="startTime" /> <result property="startTime" column="startTime" />
<result property="endTime" column="endTime" /> <result property="endTime" column="endTime" />
<result property="duration" column="duration" /> <result property="duration" column="duration" />
<result property="reason" column="reason" /> <result property="reason" column="reason" />
<result property="approverId" column="approverId" /> <result property="approverId" column="approverId" />
<result property="approver" column="approver" /> <result property="approver" column="approver" />
<result property="attachment" column="attachment" /> <result property="attachment" column="attachment" />
<result property="attachmentPath" column="attachmentPath" /> <result property="attachmentPath" column="attachmentPath" />
<result property="remark" column="remark" /> <result property="remark" column="remark" />
<result property="createUserId" column="createUserId" /> <result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" /> <result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" /> <result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" /> <result property="updateTime" column="updateTime" />
</resultMap> </resultMap>
<!-- 表所有列 --> <!-- 表所有列 -->
<sql id="_columns"> <sql id="_columns">
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id, a.id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('leavePersonId') or colPickMode == 1 and data.containsKey('leavePersonId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('leavePersonId') or colPickMode == 1 and data.containsKey('leavePersonId')))">
a.leavePersonId, a.leavePersonId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('leavePerson') or colPickMode == 1 and data.containsKey('leavePerson')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('leavePerson') or colPickMode == 1 and data.containsKey('leavePerson')))">
a.leavePerson, a.leavePerson,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))">
a.deptId, a.deptId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))">
a.deptName, a.deptName,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('phoneNumber') or colPickMode == 1 and data.containsKey('phoneNumber')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('phoneNumber') or colPickMode == 1 and data.containsKey('phoneNumber')))">
a.phoneNumber, a.phoneNumber,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('leaveType') or colPickMode == 1 and data.containsKey('leaveType')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('leaveType') or colPickMode == 1 and data.containsKey('leaveType')))">
a.leaveType, a.leaveType,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('startTime') or colPickMode == 1 and data.containsKey('startTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('startTime') or colPickMode == 1 and data.containsKey('startTime')))">
a.startTime, a.startTime,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('endTime') or colPickMode == 1 and data.containsKey('endTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('endTime') or colPickMode == 1 and data.containsKey('endTime')))">
a.endTime, a.endTime,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('duration') or colPickMode == 1 and data.containsKey('duration')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('duration') or colPickMode == 1 and data.containsKey('duration')))">
a.duration, a.duration,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reason') or colPickMode == 1 and data.containsKey('reason')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reason') or colPickMode == 1 and data.containsKey('reason')))">
a.reason, a.reason,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('approverId') or colPickMode == 1 and data.containsKey('approverId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('approverId') or colPickMode == 1 and data.containsKey('approverId')))">
a.approverId, a.approverId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('approver') or colPickMode == 1 and data.containsKey('approver')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('approver') or colPickMode == 1 and data.containsKey('approver')))">
a.approver, a.approver,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('attachment') or colPickMode == 1 and data.containsKey('attachment')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('attachment') or colPickMode == 1 and data.containsKey('attachment')))">
a.attachment, a.attachment,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('attachmentPath') or colPickMode == 1 and data.containsKey('attachmentPath')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('attachmentPath') or colPickMode == 1 and data.containsKey('attachmentPath')))">
a.attachmentPath, a.attachmentPath,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.remark, a.remark,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId, a.createUserId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime, a.createTime,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId, a.updateUserId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime, a.updateTime,
</if> </if>
</trim> </trim>
</sql> </sql>
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
...@@ -208,174 +208,174 @@ ...@@ -208,174 +208,174 @@
<update id="updateBatch" parameterType="paramDto"> <update id="updateBatch" parameterType="paramDto">
update mortals_xhx_attendance_leave_record as a update mortals_xhx_attendance_leave_record as a
<trim prefix="set" suffixOverrides=","> <trim prefix="set" suffixOverrides=",">
<trim prefix="leavePersonId=(case" suffix="ELSE leavePersonId end),"> <trim prefix="leavePersonId=(case" suffix="ELSE leavePersonId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('leavePersonId')) or (colPickMode==1 and !item.containsKey('leavePersonId'))"> <when test="(colPickMode==0 and item.containsKey('leavePersonId')) or (colPickMode==1 and !item.containsKey('leavePersonId'))">
when a.id=#{item.id} then #{item.leavePersonId} when a.id=#{item.id} then #{item.leavePersonId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('leavePersonIdIncrement')) or (colPickMode==1 and !item.containsKey('leavePersonIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('leavePersonIdIncrement')) or (colPickMode==1 and !item.containsKey('leavePersonIdIncrement'))">
when a.id=#{item.id} then ifnull(a.leavePersonId,0) + #{item.leavePersonIdIncrement} when a.id=#{item.id} then ifnull(a.leavePersonId,0) + #{item.leavePersonIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="leavePerson=(case" suffix="ELSE leavePerson end),"> <trim prefix="leavePerson=(case" suffix="ELSE leavePerson end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('leavePerson')) or (colPickMode==1 and !item.containsKey('leavePerson'))"> <if test="(colPickMode==0 and item.containsKey('leavePerson')) or (colPickMode==1 and !item.containsKey('leavePerson'))">
when a.id=#{item.id} then #{item.leavePerson} when a.id=#{item.id} then #{item.leavePerson}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="deptId=(case" suffix="ELSE deptId end),"> <trim prefix="deptId=(case" suffix="ELSE deptId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('deptId')) or (colPickMode==1 and !item.containsKey('deptId'))"> <when test="(colPickMode==0 and item.containsKey('deptId')) or (colPickMode==1 and !item.containsKey('deptId'))">
when a.id=#{item.id} then #{item.deptId} when a.id=#{item.id} then #{item.deptId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('deptIdIncrement')) or (colPickMode==1 and !item.containsKey('deptIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('deptIdIncrement')) or (colPickMode==1 and !item.containsKey('deptIdIncrement'))">
when a.id=#{item.id} then ifnull(a.deptId,0) + #{item.deptIdIncrement} when a.id=#{item.id} then ifnull(a.deptId,0) + #{item.deptIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="deptName=(case" suffix="ELSE deptName end),"> <trim prefix="deptName=(case" suffix="ELSE deptName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deptName')) or (colPickMode==1 and !item.containsKey('deptName'))"> <if test="(colPickMode==0 and item.containsKey('deptName')) or (colPickMode==1 and !item.containsKey('deptName'))">
when a.id=#{item.id} then #{item.deptName} when a.id=#{item.id} then #{item.deptName}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="phoneNumber=(case" suffix="ELSE phoneNumber end),"> <trim prefix="phoneNumber=(case" suffix="ELSE phoneNumber end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('phoneNumber')) or (colPickMode==1 and !item.containsKey('phoneNumber'))"> <if test="(colPickMode==0 and item.containsKey('phoneNumber')) or (colPickMode==1 and !item.containsKey('phoneNumber'))">
when a.id=#{item.id} then #{item.phoneNumber} when a.id=#{item.id} then #{item.phoneNumber}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="leaveType=(case" suffix="ELSE leaveType end),"> <trim prefix="leaveType=(case" suffix="ELSE leaveType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('leaveType')) or (colPickMode==1 and !item.containsKey('leaveType'))"> <when test="(colPickMode==0 and item.containsKey('leaveType')) or (colPickMode==1 and !item.containsKey('leaveType'))">
when a.id=#{item.id} then #{item.leaveType} when a.id=#{item.id} then #{item.leaveType}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('leaveTypeIncrement')) or (colPickMode==1 and !item.containsKey('leaveTypeIncrement'))"> <when test="(colPickMode==0 and item.containsKey('leaveTypeIncrement')) or (colPickMode==1 and !item.containsKey('leaveTypeIncrement'))">
when a.id=#{item.id} then ifnull(a.leaveType,0) + #{item.leaveTypeIncrement} when a.id=#{item.id} then ifnull(a.leaveType,0) + #{item.leaveTypeIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="startTime=(case" suffix="ELSE startTime end),"> <trim prefix="startTime=(case" suffix="ELSE startTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('startTime')) or (colPickMode==1 and !item.containsKey('startTime'))"> <if test="(colPickMode==0 and item.containsKey('startTime')) or (colPickMode==1 and !item.containsKey('startTime'))">
when a.id=#{item.id} then #{item.startTime} when a.id=#{item.id} then #{item.startTime}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="endTime=(case" suffix="ELSE endTime end),"> <trim prefix="endTime=(case" suffix="ELSE endTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('endTime')) or (colPickMode==1 and !item.containsKey('endTime'))"> <if test="(colPickMode==0 and item.containsKey('endTime')) or (colPickMode==1 and !item.containsKey('endTime'))">
when a.id=#{item.id} then #{item.endTime} when a.id=#{item.id} then #{item.endTime}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="duration=(case" suffix="ELSE duration end),"> <trim prefix="duration=(case" suffix="ELSE duration end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('duration')) or (colPickMode==1 and !item.containsKey('duration'))"> <when test="(colPickMode==0 and item.containsKey('duration')) or (colPickMode==1 and !item.containsKey('duration'))">
when a.id=#{item.id} then #{item.duration} when a.id=#{item.id} then #{item.duration}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('durationIncrement')) or (colPickMode==1 and !item.containsKey('durationIncrement'))"> <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 a.id=#{item.id} then ifnull(a.duration,0) + #{item.durationIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="reason=(case" suffix="ELSE reason end),"> <trim prefix="reason=(case" suffix="ELSE reason end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('reason')) or (colPickMode==1 and !item.containsKey('reason'))"> <if test="(colPickMode==0 and item.containsKey('reason')) or (colPickMode==1 and !item.containsKey('reason'))">
when a.id=#{item.id} then #{item.reason} when a.id=#{item.id} then #{item.reason}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="approverId=(case" suffix="ELSE approverId end),"> <trim prefix="approverId=(case" suffix="ELSE approverId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('approverId')) or (colPickMode==1 and !item.containsKey('approverId'))"> <when test="(colPickMode==0 and item.containsKey('approverId')) or (colPickMode==1 and !item.containsKey('approverId'))">
when a.id=#{item.id} then #{item.approverId} when a.id=#{item.id} then #{item.approverId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('approverIdIncrement')) or (colPickMode==1 and !item.containsKey('approverIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('approverIdIncrement')) or (colPickMode==1 and !item.containsKey('approverIdIncrement'))">
when a.id=#{item.id} then ifnull(a.approverId,0) + #{item.approverIdIncrement} when a.id=#{item.id} then ifnull(a.approverId,0) + #{item.approverIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="approver=(case" suffix="ELSE approver end),"> <trim prefix="approver=(case" suffix="ELSE approver end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('approver')) or (colPickMode==1 and !item.containsKey('approver'))"> <if test="(colPickMode==0 and item.containsKey('approver')) or (colPickMode==1 and !item.containsKey('approver'))">
when a.id=#{item.id} then #{item.approver} when a.id=#{item.id} then #{item.approver}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="attachment=(case" suffix="ELSE attachment end),"> <trim prefix="attachment=(case" suffix="ELSE attachment end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('attachment')) or (colPickMode==1 and !item.containsKey('attachment'))"> <if test="(colPickMode==0 and item.containsKey('attachment')) or (colPickMode==1 and !item.containsKey('attachment'))">
when a.id=#{item.id} then #{item.attachment} when a.id=#{item.id} then #{item.attachment}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="attachmentPath=(case" suffix="ELSE attachmentPath end),"> <trim prefix="attachmentPath=(case" suffix="ELSE attachmentPath end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('attachmentPath')) or (colPickMode==1 and !item.containsKey('attachmentPath'))"> <if test="(colPickMode==0 and item.containsKey('attachmentPath')) or (colPickMode==1 and !item.containsKey('attachmentPath'))">
when a.id=#{item.id} then #{item.attachmentPath} when a.id=#{item.id} then #{item.attachmentPath}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="remark=(case" suffix="ELSE remark end),"> <trim prefix="remark=(case" suffix="ELSE remark end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))"> <if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))">
when a.id=#{item.id} then #{item.remark} when a.id=#{item.id} then #{item.remark}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),"> <trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))"> <when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId} when a.id=#{item.id} then #{item.createUserId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement} when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),"> <trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))"> <if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime} when a.id=#{item.id} then #{item.createTime}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),"> <trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))"> <when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.id=#{item.id} then #{item.updateUserId} when a.id=#{item.id} then #{item.updateUserId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement} when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),"> <trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))"> <if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime} when a.id=#{item.id} then #{item.updateTime}
</if> </if>
</foreach> </foreach>
</trim> </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=")">
...@@ -492,563 +492,563 @@ ...@@ -492,563 +492,563 @@
${_conditionType_} a.id=#{${_conditionParam_}.id} ${_conditionType_} a.id=#{${_conditionParam_}.id}
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('id')"> <if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null "> <if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id} ${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if>
<if test="conditionParamRef.containsKey('idList')">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList')">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if> </if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null"> <if test="conditionParamRef.id == null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd} ${_conditionType_} a.id is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('leavePersonId')"> <if test="conditionParamRef.containsKey('leavePersonId')">
<if test="conditionParamRef.leavePersonId != null "> <if test="conditionParamRef.leavePersonId != null ">
${_conditionType_} a.leavePersonId = #{${_conditionParam_}.leavePersonId} ${_conditionType_} a.leavePersonId = #{${_conditionParam_}.leavePersonId}
</if>
<if test="conditionParamRef.leavePersonId == null">
${_conditionType_} a.leavePersonId is null
</if>
</if>
<if test="conditionParamRef.containsKey('leavePersonIdList')">
${_conditionType_} a.leavePersonId in
<foreach collection="conditionParamRef.leavePersonIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leavePersonIdNotList')">
${_conditionType_} a.leavePersonId not in
<foreach collection="conditionParamRef.leavePersonIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leavePersonIdStart') and conditionParamRef.leavePersonIdStart != null">
${_conditionType_} a.leavePersonId <![CDATA[ >= ]]> #{${_conditionParam_}.leavePersonIdStart}
</if> </if>
<if test="conditionParamRef.containsKey('leavePersonIdEnd') and conditionParamRef.leavePersonIdEnd != null"> <if test="conditionParamRef.leavePersonId == null">
${_conditionType_} a.leavePersonId <![CDATA[ <= ]]> #{${_conditionParam_}.leavePersonIdEnd} ${_conditionType_} a.leavePersonId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('leavePersonIdList') and conditionParamRef.leavePersonIdList.size() > 0">
${_conditionType_} a.leavePersonId in
<foreach collection="conditionParamRef.leavePersonIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leavePersonIdNotList') and conditionParamRef.leavePersonIdNotList.size() > 0">
${_conditionType_} a.leavePersonId not in
<foreach collection="conditionParamRef.leavePersonIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leavePersonIdStart') and conditionParamRef.leavePersonIdStart != null">
${_conditionType_} a.leavePersonId <![CDATA[ >= ]]> #{${_conditionParam_}.leavePersonIdStart}
</if>
<if test="conditionParamRef.containsKey('leavePersonIdEnd') and conditionParamRef.leavePersonIdEnd != null">
${_conditionType_} a.leavePersonId <![CDATA[ <= ]]> #{${_conditionParam_}.leavePersonIdEnd}
</if>
<if test="conditionParamRef.containsKey('leavePerson')"> <if test="conditionParamRef.containsKey('leavePerson')">
<if test="conditionParamRef.leavePerson != null and conditionParamRef.leavePerson != ''"> <if test="conditionParamRef.leavePerson != null and conditionParamRef.leavePerson != ''">
${_conditionType_} a.leavePerson like #{${_conditionParam_}.leavePerson} ${_conditionType_} a.leavePerson like #{${_conditionParam_}.leavePerson}
</if>
<if test="conditionParamRef.leavePerson == null">
${_conditionType_} a.leavePerson is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('leavePersonList')"> <if test="conditionParamRef.leavePerson == null">
${_conditionType_} a.leavePerson in ${_conditionType_} a.leavePerson is null
<foreach collection="conditionParamRef.leavePersonList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('leavePersonNotList')"> </if>
${_conditionType_} a.leavePerson not in <if test="conditionParamRef.containsKey('leavePersonList') and conditionParamRef.leavePersonList.size() > 0">
<foreach collection="conditionParamRef.leavePersonNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.leavePerson in
#{item} <foreach collection="conditionParamRef.leavePersonList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</if> </foreach>
<if test="conditionParamRef.containsKey('deptId')"> </if>
<if test="conditionParamRef.deptId != null "> <if test="conditionParamRef.containsKey('leavePersonNotList') and conditionParamRef.leavePersonNotList.size() > 0">
${_conditionType_} a.deptId = #{${_conditionParam_}.deptId} ${_conditionType_} a.leavePerson not in
</if> <foreach collection="conditionParamRef.leavePersonNotList" open="(" close=")" index="index" item="item" separator=",">
<if test="conditionParamRef.deptId == null"> #{item}
${_conditionType_} a.deptId is null </foreach>
</if> </if>
</if> <if test="conditionParamRef.containsKey('deptId')">
<if test="conditionParamRef.containsKey('deptIdList')"> <if test="conditionParamRef.deptId != null ">
${_conditionType_} a.deptId in ${_conditionType_} a.deptId = #{${_conditionParam_}.deptId}
<foreach collection="conditionParamRef.deptIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdNotList')">
${_conditionType_} a.deptId not in
<foreach collection="conditionParamRef.deptIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdStart') and conditionParamRef.deptIdStart != null">
${_conditionType_} a.deptId <![CDATA[ >= ]]> #{${_conditionParam_}.deptIdStart}
</if> </if>
<if test="conditionParamRef.containsKey('deptIdEnd') and conditionParamRef.deptIdEnd != null"> <if test="conditionParamRef.deptId == null">
${_conditionType_} a.deptId <![CDATA[ <= ]]> #{${_conditionParam_}.deptIdEnd} ${_conditionType_} a.deptId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
${_conditionType_} a.deptId in
<foreach collection="conditionParamRef.deptIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdNotList') and conditionParamRef.deptIdNotList.size() > 0">
${_conditionType_} a.deptId not in
<foreach collection="conditionParamRef.deptIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdStart') and conditionParamRef.deptIdStart != null">
${_conditionType_} a.deptId <![CDATA[ >= ]]> #{${_conditionParam_}.deptIdStart}
</if>
<if test="conditionParamRef.containsKey('deptIdEnd') and conditionParamRef.deptIdEnd != null">
${_conditionType_} a.deptId <![CDATA[ <= ]]> #{${_conditionParam_}.deptIdEnd}
</if>
<if test="conditionParamRef.containsKey('deptName')"> <if test="conditionParamRef.containsKey('deptName')">
<if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''"> <if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''">
${_conditionType_} a.deptName like #{${_conditionParam_}.deptName} ${_conditionType_} a.deptName like #{${_conditionParam_}.deptName}
</if>
<if test="conditionParamRef.deptName == null">
${_conditionType_} a.deptName is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('deptNameList')"> <if test="conditionParamRef.deptName == null">
${_conditionType_} a.deptName in ${_conditionType_} a.deptName is null
<foreach collection="conditionParamRef.deptNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptNameNotList')">
${_conditionType_} a.deptName not in
<foreach collection="conditionParamRef.deptNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('deptNameList') and conditionParamRef.deptNameList.size() > 0">
${_conditionType_} a.deptName in
<foreach collection="conditionParamRef.deptNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptNameNotList') and conditionParamRef.deptNameNotList.size() > 0">
${_conditionType_} a.deptName not in
<foreach collection="conditionParamRef.deptNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('phoneNumber')"> <if test="conditionParamRef.containsKey('phoneNumber')">
<if test="conditionParamRef.phoneNumber != null and conditionParamRef.phoneNumber != ''"> <if test="conditionParamRef.phoneNumber != null and conditionParamRef.phoneNumber != ''">
${_conditionType_} a.phoneNumber like #{${_conditionParam_}.phoneNumber} ${_conditionType_} a.phoneNumber like #{${_conditionParam_}.phoneNumber}
</if>
<if test="conditionParamRef.phoneNumber == null">
${_conditionType_} a.phoneNumber is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('phoneNumberList')"> <if test="conditionParamRef.phoneNumber == null">
${_conditionType_} a.phoneNumber in ${_conditionType_} a.phoneNumber is null
<foreach collection="conditionParamRef.phoneNumberList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('phoneNumberNotList')">
${_conditionType_} a.phoneNumber not in
<foreach collection="conditionParamRef.phoneNumberNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('leaveType')"> </if>
<if test="conditionParamRef.leaveType != null "> <if test="conditionParamRef.containsKey('phoneNumberList') and conditionParamRef.phoneNumberList.size() > 0">
${_conditionType_} a.leaveType = #{${_conditionParam_}.leaveType} ${_conditionType_} a.phoneNumber in
</if> <foreach collection="conditionParamRef.phoneNumberList" open="(" close=")" index="index" item="item" separator=",">
<if test="conditionParamRef.leaveType == null"> #{item}
${_conditionType_} a.leaveType is null </foreach>
</if> </if>
</if> <if test="conditionParamRef.containsKey('phoneNumberNotList') and conditionParamRef.phoneNumberNotList.size() > 0">
<if test="conditionParamRef.containsKey('leaveTypeList')"> ${_conditionType_} a.phoneNumber not in
${_conditionType_} a.leaveType in <foreach collection="conditionParamRef.phoneNumberNotList" open="(" close=")" index="index" item="item" separator=",">
<foreach collection="conditionParamRef.leaveTypeList" open="(" close=")" index="index" item="item" separator=","> #{item}
#{item} </foreach>
</foreach> </if>
</if> <if test="conditionParamRef.containsKey('leaveType')">
<if test="conditionParamRef.containsKey('leaveTypeNotList')"> <if test="conditionParamRef.leaveType != null ">
${_conditionType_} a.leaveType not in ${_conditionType_} a.leaveType = #{${_conditionParam_}.leaveType}
<foreach collection="conditionParamRef.leaveTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leaveTypeStart') and conditionParamRef.leaveTypeStart != null">
${_conditionType_} a.leaveType <![CDATA[ >= ]]> #{${_conditionParam_}.leaveTypeStart}
</if> </if>
<if test="conditionParamRef.containsKey('leaveTypeEnd') and conditionParamRef.leaveTypeEnd != null"> <if test="conditionParamRef.leaveType == null">
${_conditionType_} a.leaveType <![CDATA[ <= ]]> #{${_conditionParam_}.leaveTypeEnd} ${_conditionType_} a.leaveType is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('leaveTypeList') and conditionParamRef.leaveTypeList.size() > 0">
${_conditionType_} a.leaveType in
<foreach collection="conditionParamRef.leaveTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leaveTypeNotList') and conditionParamRef.leaveTypeNotList.size() > 0">
${_conditionType_} a.leaveType not in
<foreach collection="conditionParamRef.leaveTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leaveTypeStart') and conditionParamRef.leaveTypeStart != null">
${_conditionType_} a.leaveType <![CDATA[ >= ]]> #{${_conditionParam_}.leaveTypeStart}
</if>
<if test="conditionParamRef.containsKey('leaveTypeEnd') and conditionParamRef.leaveTypeEnd != null">
${_conditionType_} a.leaveType <![CDATA[ <= ]]> #{${_conditionParam_}.leaveTypeEnd}
</if>
<if test="conditionParamRef.containsKey('startTime')"> <if test="conditionParamRef.containsKey('startTime')">
<if test="conditionParamRef.startTime != null "> <if test="conditionParamRef.startTime != null ">
${_conditionType_} a.startTime = #{${_conditionParam_}.startTime} ${_conditionType_} a.startTime = #{${_conditionParam_}.startTime}
</if>
<if test="conditionParamRef.startTime == null">
${_conditionType_} a.startTime is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('startTimeStart') and conditionParamRef.startTimeStart != null and conditionParamRef.startTimeStart!=''"> <if test="conditionParamRef.startTime == null">
${_conditionType_} a.startTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.startTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.startTime is null
</if>
<if test="conditionParamRef.containsKey('startTimeEnd') and conditionParamRef.startTimeEnd != null and conditionParamRef.startTimeEnd!=''">
${_conditionType_} a.startTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.startTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if> </if>
</if>
<if test="conditionParamRef.containsKey('startTimeStart') and conditionParamRef.startTimeStart != null and conditionParamRef.startTimeStart!=''">
${_conditionType_} a.startTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.startTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('startTimeEnd') and conditionParamRef.startTimeEnd != null and conditionParamRef.startTimeEnd!=''">
${_conditionType_} a.startTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.startTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('endTime')"> <if test="conditionParamRef.containsKey('endTime')">
<if test="conditionParamRef.endTime != null "> <if test="conditionParamRef.endTime != null ">
${_conditionType_} a.endTime = #{${_conditionParam_}.endTime} ${_conditionType_} a.endTime = #{${_conditionParam_}.endTime}
</if>
<if test="conditionParamRef.endTime == null">
${_conditionType_} a.endTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('endTimeStart') and conditionParamRef.endTimeStart != null and conditionParamRef.endTimeStart!=''">
${_conditionType_} a.endTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.endTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('endTimeEnd') and conditionParamRef.endTimeEnd != null and conditionParamRef.endTimeEnd!=''">
${_conditionType_} a.endTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.endTimeEnd},' 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')">
${_conditionType_} a.duration in
<foreach collection="conditionParamRef.durationList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('durationNotList')"> <if test="conditionParamRef.endTime == null">
${_conditionType_} a.duration not in ${_conditionType_} a.endTime is null
<foreach collection="conditionParamRef.durationNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('durationStart') and conditionParamRef.durationStart != null"> </if>
${_conditionType_} a.duration <![CDATA[ >= ]]> #{${_conditionParam_}.durationStart} <if test="conditionParamRef.containsKey('endTimeStart') and conditionParamRef.endTimeStart != null and conditionParamRef.endTimeStart!=''">
${_conditionType_} a.endTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.endTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('endTimeEnd') and conditionParamRef.endTimeEnd != null and conditionParamRef.endTimeEnd!=''">
${_conditionType_} a.endTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.endTimeEnd},' 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>
<if test="conditionParamRef.containsKey('durationEnd') and conditionParamRef.durationEnd != null"> <if test="conditionParamRef.duration == null">
${_conditionType_} a.duration <![CDATA[ <= ]]> #{${_conditionParam_}.durationEnd} ${_conditionType_} a.duration is null
</if> </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('reason')"> <if test="conditionParamRef.containsKey('reason')">
<if test="conditionParamRef.reason != null and conditionParamRef.reason != ''"> <if test="conditionParamRef.reason != null and conditionParamRef.reason != ''">
${_conditionType_} a.reason like #{${_conditionParam_}.reason} ${_conditionType_} a.reason like #{${_conditionParam_}.reason}
</if>
<if test="conditionParamRef.reason == null">
${_conditionType_} a.reason is null
</if>
</if>
<if test="conditionParamRef.containsKey('reasonList')">
${_conditionType_} a.reason in
<foreach collection="conditionParamRef.reasonList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reasonNotList')">
${_conditionType_} a.reason not in
<foreach collection="conditionParamRef.reasonNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('approverId')"> <if test="conditionParamRef.reason == null">
<if test="conditionParamRef.approverId != null "> ${_conditionType_} a.reason is null
${_conditionType_} a.approverId = #{${_conditionParam_}.approverId}
</if>
<if test="conditionParamRef.approverId == null">
${_conditionType_} a.approverId is null
</if>
</if>
<if test="conditionParamRef.containsKey('approverIdList')">
${_conditionType_} a.approverId in
<foreach collection="conditionParamRef.approverIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('approverIdNotList')"> </if>
${_conditionType_} a.approverId not in <if test="conditionParamRef.containsKey('reasonList') and conditionParamRef.reasonList.size() > 0">
<foreach collection="conditionParamRef.approverIdNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.reason in
#{item} <foreach collection="conditionParamRef.reasonList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</if> </foreach>
<if test="conditionParamRef.containsKey('approverIdStart') and conditionParamRef.approverIdStart != null"> </if>
${_conditionType_} a.approverId <![CDATA[ >= ]]> #{${_conditionParam_}.approverIdStart} <if test="conditionParamRef.containsKey('reasonNotList') and conditionParamRef.reasonNotList.size() > 0">
${_conditionType_} a.reason not in
<foreach collection="conditionParamRef.reasonNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('approverId')">
<if test="conditionParamRef.approverId != null ">
${_conditionType_} a.approverId = #{${_conditionParam_}.approverId}
</if> </if>
<if test="conditionParamRef.containsKey('approverIdEnd') and conditionParamRef.approverIdEnd != null"> <if test="conditionParamRef.approverId == null">
${_conditionType_} a.approverId <![CDATA[ <= ]]> #{${_conditionParam_}.approverIdEnd} ${_conditionType_} a.approverId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('approverIdList') and conditionParamRef.approverIdList.size() > 0">
${_conditionType_} a.approverId in
<foreach collection="conditionParamRef.approverIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('approverIdNotList') and conditionParamRef.approverIdNotList.size() > 0">
${_conditionType_} a.approverId not in
<foreach collection="conditionParamRef.approverIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('approverIdStart') and conditionParamRef.approverIdStart != null">
${_conditionType_} a.approverId <![CDATA[ >= ]]> #{${_conditionParam_}.approverIdStart}
</if>
<if test="conditionParamRef.containsKey('approverIdEnd') and conditionParamRef.approverIdEnd != null">
${_conditionType_} a.approverId <![CDATA[ <= ]]> #{${_conditionParam_}.approverIdEnd}
</if>
<if test="conditionParamRef.containsKey('approver')"> <if test="conditionParamRef.containsKey('approver')">
<if test="conditionParamRef.approver != null and conditionParamRef.approver != ''"> <if test="conditionParamRef.approver != null and conditionParamRef.approver != ''">
${_conditionType_} a.approver like #{${_conditionParam_}.approver} ${_conditionType_} a.approver like #{${_conditionParam_}.approver}
</if>
<if test="conditionParamRef.approver == null">
${_conditionType_} a.approver is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('approverList')"> <if test="conditionParamRef.approver == null">
${_conditionType_} a.approver in ${_conditionType_} a.approver is null
<foreach collection="conditionParamRef.approverList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('approverNotList')">
${_conditionType_} a.approver not in
<foreach collection="conditionParamRef.approverNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('approverList') and conditionParamRef.approverList.size() > 0">
${_conditionType_} a.approver in
<foreach collection="conditionParamRef.approverList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('approverNotList') and conditionParamRef.approverNotList.size() > 0">
${_conditionType_} a.approver not in
<foreach collection="conditionParamRef.approverNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('attachment')"> <if test="conditionParamRef.containsKey('attachment')">
<if test="conditionParamRef.attachment != null and conditionParamRef.attachment != ''"> <if test="conditionParamRef.attachment != null and conditionParamRef.attachment != ''">
${_conditionType_} a.attachment like #{${_conditionParam_}.attachment} ${_conditionType_} a.attachment like #{${_conditionParam_}.attachment}
</if>
<if test="conditionParamRef.attachment == null">
${_conditionType_} a.attachment is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('attachmentList')"> <if test="conditionParamRef.attachment == null">
${_conditionType_} a.attachment in ${_conditionType_} a.attachment is null
<foreach collection="conditionParamRef.attachmentList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('attachmentNotList')">
${_conditionType_} a.attachment not in
<foreach collection="conditionParamRef.attachmentNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('attachmentList') and conditionParamRef.attachmentList.size() > 0">
${_conditionType_} a.attachment in
<foreach collection="conditionParamRef.attachmentList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('attachmentNotList') and conditionParamRef.attachmentNotList.size() > 0">
${_conditionType_} a.attachment not in
<foreach collection="conditionParamRef.attachmentNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('attachmentPath')"> <if test="conditionParamRef.containsKey('attachmentPath')">
<if test="conditionParamRef.attachmentPath != null and conditionParamRef.attachmentPath != ''"> <if test="conditionParamRef.attachmentPath != null and conditionParamRef.attachmentPath != ''">
${_conditionType_} a.attachmentPath like #{${_conditionParam_}.attachmentPath} ${_conditionType_} a.attachmentPath like #{${_conditionParam_}.attachmentPath}
</if>
<if test="conditionParamRef.attachmentPath == null">
${_conditionType_} a.attachmentPath is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('attachmentPathList')"> <if test="conditionParamRef.attachmentPath == null">
${_conditionType_} a.attachmentPath in ${_conditionType_} a.attachmentPath is null
<foreach collection="conditionParamRef.attachmentPathList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('attachmentPathNotList')">
${_conditionType_} a.attachmentPath not in
<foreach collection="conditionParamRef.attachmentPathNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('attachmentPathList') and conditionParamRef.attachmentPathList.size() > 0">
${_conditionType_} a.attachmentPath in
<foreach collection="conditionParamRef.attachmentPathList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('attachmentPathNotList') and conditionParamRef.attachmentPathNotList.size() > 0">
${_conditionType_} a.attachmentPath not in
<foreach collection="conditionParamRef.attachmentPathNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remark')"> <if test="conditionParamRef.containsKey('remark')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''"> <if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
${_conditionType_} a.remark like #{${_conditionParam_}.remark} ${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if>
<if test="conditionParamRef.remark == null">
${_conditionType_} a.remark is null
</if>
</if>
<if test="conditionParamRef.containsKey('remarkList')">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList')">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList')">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdNotList')"> <if test="conditionParamRef.remark == null">
${_conditionType_} a.createUserId not in ${_conditionType_} a.remark is null
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null"> </if>
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart} <if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null"> <if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd} ${_conditionType_} a.createUserId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')"> <if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null "> <if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime} ${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdList')"> <if test="conditionParamRef.createTime == null">
${_conditionType_} a.updateUserId in ${_conditionType_} a.createTime is null
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList')">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null"> </if>
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart} <if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null"> <if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd} ${_conditionType_} a.updateUserId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateTime')"> <if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null "> <if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime} ${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''"> <if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.updateTime is null
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
</sql> </sql>
<sql id="_orderCols_"> <sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()"> <if test="orderColList != null and !orderColList.isEmpty()">
order by order by
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=","> <foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
${item.colName} ${item.sortKind} ${item.colName} ${item.sortKind}
</foreach> </foreach>
</trim> </trim>
</if> </if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()"> <if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by order by
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="orderCol.containsKey('id')"> <if test="orderCol.containsKey('id')">
a.id a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if> <if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('leavePersonId')"> <if test="orderCol.containsKey('leavePersonId')">
a.leavePersonId a.leavePersonId
<if test='orderCol.leavePersonId != null and "DESC".equalsIgnoreCase(orderCol.leavePersonId)'>DESC</if> <if test='orderCol.leavePersonId != null and "DESC".equalsIgnoreCase(orderCol.leavePersonId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('leavePerson')"> <if test="orderCol.containsKey('leavePerson')">
a.leavePerson a.leavePerson
<if test='orderCol.leavePerson != null and "DESC".equalsIgnoreCase(orderCol.leavePerson)'>DESC</if> <if test='orderCol.leavePerson != null and "DESC".equalsIgnoreCase(orderCol.leavePerson)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('deptId')"> <if test="orderCol.containsKey('deptId')">
a.deptId a.deptId
<if test='orderCol.deptId != null and "DESC".equalsIgnoreCase(orderCol.deptId)'>DESC</if> <if test='orderCol.deptId != null and "DESC".equalsIgnoreCase(orderCol.deptId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('deptName')"> <if test="orderCol.containsKey('deptName')">
a.deptName a.deptName
<if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if> <if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('phoneNumber')"> <if test="orderCol.containsKey('phoneNumber')">
a.phoneNumber a.phoneNumber
<if test='orderCol.phoneNumber != null and "DESC".equalsIgnoreCase(orderCol.phoneNumber)'>DESC</if> <if test='orderCol.phoneNumber != null and "DESC".equalsIgnoreCase(orderCol.phoneNumber)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('leaveType')"> <if test="orderCol.containsKey('leaveType')">
a.leaveType a.leaveType
<if test='orderCol.leaveType != null and "DESC".equalsIgnoreCase(orderCol.leaveType)'>DESC</if> <if test='orderCol.leaveType != null and "DESC".equalsIgnoreCase(orderCol.leaveType)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('startTime')"> <if test="orderCol.containsKey('startTime')">
a.startTime a.startTime
<if test='orderCol.startTime != null and "DESC".equalsIgnoreCase(orderCol.startTime)'>DESC</if> <if test='orderCol.startTime != null and "DESC".equalsIgnoreCase(orderCol.startTime)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('endTime')"> <if test="orderCol.containsKey('endTime')">
a.endTime a.endTime
<if test='orderCol.endTime != null and "DESC".equalsIgnoreCase(orderCol.endTime)'>DESC</if> <if test='orderCol.endTime != null and "DESC".equalsIgnoreCase(orderCol.endTime)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('duration')"> <if test="orderCol.containsKey('duration')">
a.duration a.duration
<if test='orderCol.duration != null and "DESC".equalsIgnoreCase(orderCol.duration)'>DESC</if> <if test='orderCol.duration != null and "DESC".equalsIgnoreCase(orderCol.duration)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('reason')"> <if test="orderCol.containsKey('reason')">
a.reason a.reason
<if test='orderCol.reason != null and "DESC".equalsIgnoreCase(orderCol.reason)'>DESC</if> <if test='orderCol.reason != null and "DESC".equalsIgnoreCase(orderCol.reason)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('approverId')"> <if test="orderCol.containsKey('approverId')">
a.approverId a.approverId
<if test='orderCol.approverId != null and "DESC".equalsIgnoreCase(orderCol.approverId)'>DESC</if> <if test='orderCol.approverId != null and "DESC".equalsIgnoreCase(orderCol.approverId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('approver')"> <if test="orderCol.containsKey('approver')">
a.approver a.approver
<if test='orderCol.approver != null and "DESC".equalsIgnoreCase(orderCol.approver)'>DESC</if> <if test='orderCol.approver != null and "DESC".equalsIgnoreCase(orderCol.approver)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('attachment')"> <if test="orderCol.containsKey('attachment')">
a.attachment a.attachment
<if test='orderCol.attachment != null and "DESC".equalsIgnoreCase(orderCol.attachment)'>DESC</if> <if test='orderCol.attachment != null and "DESC".equalsIgnoreCase(orderCol.attachment)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('attachmentPath')"> <if test="orderCol.containsKey('attachmentPath')">
a.attachmentPath a.attachmentPath
<if test='orderCol.attachmentPath != null and "DESC".equalsIgnoreCase(orderCol.attachmentPath)'>DESC</if> <if test='orderCol.attachmentPath != null and "DESC".equalsIgnoreCase(orderCol.attachmentPath)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('remark')"> <if test="orderCol.containsKey('remark')">
a.remark a.remark
<if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if> <if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createUserId')"> <if test="orderCol.containsKey('createUserId')">
a.createUserId a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if> <if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createTime')"> <if test="orderCol.containsKey('createTime')">
a.createTime a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if> <if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateUserId')"> <if test="orderCol.containsKey('updateUserId')">
a.updateUserId a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if> <if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateTime')"> <if test="orderCol.containsKey('updateTime')">
a.updateTime a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if> <if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
, ,
</if> </if>
</trim> </trim>
</if> </if>
</sql> </sql>
......
...@@ -15,17 +15,28 @@ ...@@ -15,17 +15,28 @@
<result property="compensatedLeaveDays" column="compensatedLeaveDays" /> <result property="compensatedLeaveDays" column="compensatedLeaveDays" />
<result property="sickLeaveDays" column="sickLeaveDays" /> <result property="sickLeaveDays" column="sickLeaveDays" />
<result property="annualLeaveDays" column="annualLeaveDays" /> <result property="annualLeaveDays" column="annualLeaveDays" />
<result property="maternityLeaveDays" column="maternityLeaveDays" />
<result property="paternityLeaveDays" column="paternityLeaveDays" />
<result property="marriageLeaveDays" column="marriageLeaveDays" /> <result property="marriageLeaveDays" column="marriageLeaveDays" />
<result property="menstrualLeaveDays" column="menstrualLeaveDays" />
<result property="breastfeedingLeaveDays" column="breastfeedingLeaveDays" />
<result property="bereavementLeaveDays" column="bereavementLeaveDays" />
<result property="remark" column="remark" /> <result property="remark" column="remark" />
<result property="createUserId" column="createUserId" /> <result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" /> <result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" /> <result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" /> <result property="updateTime" column="updateTime" />
<result property="maternityLeaveDays" column="maternityLeaveDays" />
<result property="paternityLeaveDays" column="paternityLeaveDays" />
<result property="menstrualLeaveDays" column="menstrualLeaveDays" />
<result property="breastfeedingLeaveDays" column="breastfeedingLeaveDays" />
<result property="bereavementLeaveDays" column="bereavementLeaveDays" />
<result property="backToUnit" column="backToUnit" />
<result property="onDutyLeave" column="onDutyLeave" />
<result property="outOfOffice" column="outOfOffice" />
<result property="shiftCompensation" column="shiftCompensation" />
<result property="physicalExamination" column="physicalExamination" />
<result property="quarantine" column="quarantine" />
<result property="businessTrip" column="businessTrip" />
<result property="publicHoliday" column="publicHoliday" />
<result property="childRearingLeave" column="childRearingLeave" />
<result property="transferBack" column="transferBack" />
<result property="homeLeave" column="homeLeave" />
</resultMap> </resultMap>
...@@ -63,15 +74,30 @@ ...@@ -63,15 +74,30 @@
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('annualLeaveDays') or colPickMode == 1 and data.containsKey('annualLeaveDays')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('annualLeaveDays') or colPickMode == 1 and data.containsKey('annualLeaveDays')))">
a.annualLeaveDays, a.annualLeaveDays,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('marriageLeaveDays') or colPickMode == 1 and data.containsKey('marriageLeaveDays')))">
a.marriageLeaveDays,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.remark,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('maternityLeaveDays') or colPickMode == 1 and data.containsKey('maternityLeaveDays')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('maternityLeaveDays') or colPickMode == 1 and data.containsKey('maternityLeaveDays')))">
a.maternityLeaveDays, a.maternityLeaveDays,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('paternityLeaveDays') or colPickMode == 1 and data.containsKey('paternityLeaveDays')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('paternityLeaveDays') or colPickMode == 1 and data.containsKey('paternityLeaveDays')))">
a.paternityLeaveDays, a.paternityLeaveDays,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('marriageLeaveDays') or colPickMode == 1 and data.containsKey('marriageLeaveDays')))">
a.marriageLeaveDays,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('menstrualLeaveDays') or colPickMode == 1 and data.containsKey('menstrualLeaveDays')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('menstrualLeaveDays') or colPickMode == 1 and data.containsKey('menstrualLeaveDays')))">
a.menstrualLeaveDays, a.menstrualLeaveDays,
</if> </if>
...@@ -81,38 +107,56 @@ ...@@ -81,38 +107,56 @@
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('bereavementLeaveDays') or colPickMode == 1 and data.containsKey('bereavementLeaveDays')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('bereavementLeaveDays') or colPickMode == 1 and data.containsKey('bereavementLeaveDays')))">
a.bereavementLeaveDays, a.bereavementLeaveDays,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('backToUnit') or colPickMode == 1 and data.containsKey('backToUnit')))">
a.remark, a.backToUnit,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('onDutyLeave') or colPickMode == 1 and data.containsKey('onDutyLeave')))">
a.createUserId, a.onDutyLeave,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('outOfOffice') or colPickMode == 1 and data.containsKey('outOfOffice')))">
a.createTime, a.outOfOffice,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('shiftCompensation') or colPickMode == 1 and data.containsKey('shiftCompensation')))">
a.updateUserId, a.shiftCompensation,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('physicalExamination') or colPickMode == 1 and data.containsKey('physicalExamination')))">
a.updateTime, a.physicalExamination,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('quarantine') or colPickMode == 1 and data.containsKey('quarantine')))">
a.quarantine,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('businessTrip') or colPickMode == 1 and data.containsKey('businessTrip')))">
a.businessTrip,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('publicHoliday') or colPickMode == 1 and data.containsKey('publicHoliday')))">
a.publicHoliday,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('childRearingLeave') or colPickMode == 1 and data.containsKey('childRearingLeave')))">
a.childRearingLeave,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('transferBack') or colPickMode == 1 and data.containsKey('transferBack')))">
a.transferBack,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('homeLeave') or colPickMode == 1 and data.containsKey('homeLeave')))">
a.homeLeave,
</if> </if>
</trim> </trim>
</sql> </sql>
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="AttendanceVacationBalanceEntity" useGeneratedKeys="true" keyProperty="id"> <insert id="insert" parameterType="AttendanceVacationBalanceEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_attendance_vacation_balance insert into mortals_xhx_attendance_vacation_balance
(staffId,staffName,deptId,deptName,entryTime,personalLeaveDays,compensatedLeaveDays,sickLeaveDays,annualLeaveDays,maternityLeaveDays,paternityLeaveDays,marriageLeaveDays,menstrualLeaveDays,breastfeedingLeaveDays,bereavementLeaveDays,remark,createUserId,createTime,updateUserId,updateTime) (staffId,staffName,deptId,deptName,entryTime,personalLeaveDays,compensatedLeaveDays,sickLeaveDays,annualLeaveDays,marriageLeaveDays,remark,createUserId,createTime,updateUserId,updateTime,maternityLeaveDays,paternityLeaveDays,menstrualLeaveDays,breastfeedingLeaveDays,bereavementLeaveDays,backToUnit,onDutyLeave,outOfOffice,shiftCompensation,physicalExamination,quarantine,businessTrip,publicHoliday,childRearingLeave,transferBack,homeLeave)
VALUES VALUES
(#{staffId},#{staffName},#{deptId},#{deptName},#{entryTime},#{personalLeaveDays},#{compensatedLeaveDays},#{sickLeaveDays},#{annualLeaveDays},#{maternityLeaveDays},#{paternityLeaveDays},#{marriageLeaveDays},#{menstrualLeaveDays},#{breastfeedingLeaveDays},#{bereavementLeaveDays},#{remark},#{createUserId},#{createTime},#{updateUserId},#{updateTime}) (#{staffId},#{staffName},#{deptId},#{deptName},#{entryTime},#{personalLeaveDays},#{compensatedLeaveDays},#{sickLeaveDays},#{annualLeaveDays},#{marriageLeaveDays},#{remark},#{createUserId},#{createTime},#{updateUserId},#{updateTime},#{maternityLeaveDays},#{paternityLeaveDays},#{menstrualLeaveDays},#{breastfeedingLeaveDays},#{bereavementLeaveDays},#{backToUnit},#{onDutyLeave},#{outOfOffice},#{shiftCompensation},#{physicalExamination},#{quarantine},#{businessTrip},#{publicHoliday},#{childRearingLeave},#{transferBack},#{homeLeave})
</insert> </insert>
<!-- 批量新增 --> <!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto"> <insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_attendance_vacation_balance insert into mortals_xhx_attendance_vacation_balance
(staffId,staffName,deptId,deptName,entryTime,personalLeaveDays,compensatedLeaveDays,sickLeaveDays,annualLeaveDays,maternityLeaveDays,paternityLeaveDays,marriageLeaveDays,menstrualLeaveDays,breastfeedingLeaveDays,bereavementLeaveDays,remark,createUserId,createTime,updateUserId,updateTime) (staffId,staffName,deptId,deptName,entryTime,personalLeaveDays,compensatedLeaveDays,sickLeaveDays,annualLeaveDays,marriageLeaveDays,remark,createUserId,createTime,updateUserId,updateTime,maternityLeaveDays,paternityLeaveDays,menstrualLeaveDays,breastfeedingLeaveDays,bereavementLeaveDays,backToUnit,onDutyLeave,outOfOffice,shiftCompensation,physicalExamination,quarantine,businessTrip,publicHoliday,childRearingLeave,transferBack,homeLeave)
VALUES VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," > <foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.staffId},#{item.staffName},#{item.deptId},#{item.deptName},#{item.entryTime},#{item.personalLeaveDays},#{item.compensatedLeaveDays},#{item.sickLeaveDays},#{item.annualLeaveDays},#{item.maternityLeaveDays},#{item.paternityLeaveDays},#{item.marriageLeaveDays},#{item.menstrualLeaveDays},#{item.breastfeedingLeaveDays},#{item.bereavementLeaveDays},#{item.remark},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime}) (#{item.staffId},#{item.staffName},#{item.deptId},#{item.deptName},#{item.entryTime},#{item.personalLeaveDays},#{item.compensatedLeaveDays},#{item.sickLeaveDays},#{item.annualLeaveDays},#{item.marriageLeaveDays},#{item.remark},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime},#{item.maternityLeaveDays},#{item.paternityLeaveDays},#{item.menstrualLeaveDays},#{item.breastfeedingLeaveDays},#{item.bereavementLeaveDays},#{item.backToUnit},#{item.onDutyLeave},#{item.outOfOffice},#{item.shiftCompensation},#{item.physicalExamination},#{item.quarantine},#{item.businessTrip},#{item.publicHoliday},#{item.childRearingLeave},#{item.transferBack},#{item.homeLeave})
</foreach> </foreach>
</insert> </insert>
...@@ -167,6 +211,33 @@ ...@@ -167,6 +211,33 @@
<if test="(colPickMode==0 and data.containsKey('annualLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('annualLeaveDaysIncrement'))"> <if test="(colPickMode==0 and data.containsKey('annualLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('annualLeaveDaysIncrement'))">
a.annualLeaveDays=ifnull(a.annualLeaveDays,0) + #{data.annualLeaveDaysIncrement}, a.annualLeaveDays=ifnull(a.annualLeaveDays,0) + #{data.annualLeaveDaysIncrement},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('marriageLeaveDays')) or (colPickMode==1 and !data.containsKey('marriageLeaveDays'))">
a.marriageLeaveDays=#{data.marriageLeaveDays},
</if>
<if test="(colPickMode==0 and data.containsKey('marriageLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('marriageLeaveDaysIncrement'))">
a.marriageLeaveDays=ifnull(a.marriageLeaveDays,0) + #{data.marriageLeaveDaysIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('remark')) or (colPickMode==1 and !data.containsKey('remark'))">
a.remark=#{data.remark},
</if>
<if test="(colPickMode==0 and data.containsKey('createUserId')) or (colPickMode==1 and !data.containsKey('createUserId'))">
a.createUserId=#{data.createUserId},
</if>
<if test="(colPickMode==0 and data.containsKey('createUserIdIncrement')) or (colPickMode==1 and !data.containsKey('createUserIdIncrement'))">
a.createUserId=ifnull(a.createUserId,0) + #{data.createUserIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('createTime')) or (colPickMode==1 and !data.containsKey('createTime'))">
a.createTime=#{data.createTime},
</if>
<if test="(colPickMode==0 and data.containsKey('updateUserId')) or (colPickMode==1 and !data.containsKey('updateUserId'))">
a.updateUserId=#{data.updateUserId},
</if>
<if test="(colPickMode==0 and data.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !data.containsKey('updateUserIdIncrement'))">
a.updateUserId=ifnull(a.updateUserId,0) + #{data.updateUserIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime},
</if>
<if test="(colPickMode==0 and data.containsKey('maternityLeaveDays')) or (colPickMode==1 and !data.containsKey('maternityLeaveDays'))"> <if test="(colPickMode==0 and data.containsKey('maternityLeaveDays')) or (colPickMode==1 and !data.containsKey('maternityLeaveDays'))">
a.maternityLeaveDays=#{data.maternityLeaveDays}, a.maternityLeaveDays=#{data.maternityLeaveDays},
</if> </if>
...@@ -179,12 +250,6 @@ ...@@ -179,12 +250,6 @@
<if test="(colPickMode==0 and data.containsKey('paternityLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('paternityLeaveDaysIncrement'))"> <if test="(colPickMode==0 and data.containsKey('paternityLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('paternityLeaveDaysIncrement'))">
a.paternityLeaveDays=ifnull(a.paternityLeaveDays,0) + #{data.paternityLeaveDaysIncrement}, a.paternityLeaveDays=ifnull(a.paternityLeaveDays,0) + #{data.paternityLeaveDaysIncrement},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('marriageLeaveDays')) or (colPickMode==1 and !data.containsKey('marriageLeaveDays'))">
a.marriageLeaveDays=#{data.marriageLeaveDays},
</if>
<if test="(colPickMode==0 and data.containsKey('marriageLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('marriageLeaveDaysIncrement'))">
a.marriageLeaveDays=ifnull(a.marriageLeaveDays,0) + #{data.marriageLeaveDaysIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('menstrualLeaveDays')) or (colPickMode==1 and !data.containsKey('menstrualLeaveDays'))"> <if test="(colPickMode==0 and data.containsKey('menstrualLeaveDays')) or (colPickMode==1 and !data.containsKey('menstrualLeaveDays'))">
a.menstrualLeaveDays=#{data.menstrualLeaveDays}, a.menstrualLeaveDays=#{data.menstrualLeaveDays},
</if> </if>
...@@ -203,26 +268,71 @@ ...@@ -203,26 +268,71 @@
<if test="(colPickMode==0 and data.containsKey('bereavementLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('bereavementLeaveDaysIncrement'))"> <if test="(colPickMode==0 and data.containsKey('bereavementLeaveDaysIncrement')) or (colPickMode==1 and !data.containsKey('bereavementLeaveDaysIncrement'))">
a.bereavementLeaveDays=ifnull(a.bereavementLeaveDays,0) + #{data.bereavementLeaveDaysIncrement}, a.bereavementLeaveDays=ifnull(a.bereavementLeaveDays,0) + #{data.bereavementLeaveDaysIncrement},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('remark')) or (colPickMode==1 and !data.containsKey('remark'))"> <if test="(colPickMode==0 and data.containsKey('backToUnit')) or (colPickMode==1 and !data.containsKey('backToUnit'))">
a.remark=#{data.remark}, a.backToUnit=#{data.backToUnit},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('createUserId')) or (colPickMode==1 and !data.containsKey('createUserId'))"> <if test="(colPickMode==0 and data.containsKey('backToUnitIncrement')) or (colPickMode==1 and !data.containsKey('backToUnitIncrement'))">
a.createUserId=#{data.createUserId}, a.backToUnit=ifnull(a.backToUnit,0) + #{data.backToUnitIncrement},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('createUserIdIncrement')) or (colPickMode==1 and !data.containsKey('createUserIdIncrement'))"> <if test="(colPickMode==0 and data.containsKey('onDutyLeave')) or (colPickMode==1 and !data.containsKey('onDutyLeave'))">
a.createUserId=ifnull(a.createUserId,0) + #{data.createUserIdIncrement}, a.onDutyLeave=#{data.onDutyLeave},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('createTime')) or (colPickMode==1 and !data.containsKey('createTime'))"> <if test="(colPickMode==0 and data.containsKey('onDutyLeaveIncrement')) or (colPickMode==1 and !data.containsKey('onDutyLeaveIncrement'))">
a.createTime=#{data.createTime}, a.onDutyLeave=ifnull(a.onDutyLeave,0) + #{data.onDutyLeaveIncrement},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('updateUserId')) or (colPickMode==1 and !data.containsKey('updateUserId'))"> <if test="(colPickMode==0 and data.containsKey('outOfOffice')) or (colPickMode==1 and !data.containsKey('outOfOffice'))">
a.updateUserId=#{data.updateUserId}, a.outOfOffice=#{data.outOfOffice},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !data.containsKey('updateUserIdIncrement'))"> <if test="(colPickMode==0 and data.containsKey('outOfOfficeIncrement')) or (colPickMode==1 and !data.containsKey('outOfOfficeIncrement'))">
a.updateUserId=ifnull(a.updateUserId,0) + #{data.updateUserIdIncrement}, a.outOfOffice=ifnull(a.outOfOffice,0) + #{data.outOfOfficeIncrement},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))"> <if test="(colPickMode==0 and data.containsKey('shiftCompensation')) or (colPickMode==1 and !data.containsKey('shiftCompensation'))">
a.updateTime=#{data.updateTime}, a.shiftCompensation=#{data.shiftCompensation},
</if>
<if test="(colPickMode==0 and data.containsKey('shiftCompensationIncrement')) or (colPickMode==1 and !data.containsKey('shiftCompensationIncrement'))">
a.shiftCompensation=ifnull(a.shiftCompensation,0) + #{data.shiftCompensationIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('physicalExamination')) or (colPickMode==1 and !data.containsKey('physicalExamination'))">
a.physicalExamination=#{data.physicalExamination},
</if>
<if test="(colPickMode==0 and data.containsKey('physicalExaminationIncrement')) or (colPickMode==1 and !data.containsKey('physicalExaminationIncrement'))">
a.physicalExamination=ifnull(a.physicalExamination,0) + #{data.physicalExaminationIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('quarantine')) or (colPickMode==1 and !data.containsKey('quarantine'))">
a.quarantine=#{data.quarantine},
</if>
<if test="(colPickMode==0 and data.containsKey('quarantineIncrement')) or (colPickMode==1 and !data.containsKey('quarantineIncrement'))">
a.quarantine=ifnull(a.quarantine,0) + #{data.quarantineIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('businessTrip')) or (colPickMode==1 and !data.containsKey('businessTrip'))">
a.businessTrip=#{data.businessTrip},
</if>
<if test="(colPickMode==0 and data.containsKey('businessTripIncrement')) or (colPickMode==1 and !data.containsKey('businessTripIncrement'))">
a.businessTrip=ifnull(a.businessTrip,0) + #{data.businessTripIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('publicHoliday')) or (colPickMode==1 and !data.containsKey('publicHoliday'))">
a.publicHoliday=#{data.publicHoliday},
</if>
<if test="(colPickMode==0 and data.containsKey('publicHolidayIncrement')) or (colPickMode==1 and !data.containsKey('publicHolidayIncrement'))">
a.publicHoliday=ifnull(a.publicHoliday,0) + #{data.publicHolidayIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('childRearingLeave')) or (colPickMode==1 and !data.containsKey('childRearingLeave'))">
a.childRearingLeave=#{data.childRearingLeave},
</if>
<if test="(colPickMode==0 and data.containsKey('childRearingLeaveIncrement')) or (colPickMode==1 and !data.containsKey('childRearingLeaveIncrement'))">
a.childRearingLeave=ifnull(a.childRearingLeave,0) + #{data.childRearingLeaveIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('transferBack')) or (colPickMode==1 and !data.containsKey('transferBack'))">
a.transferBack=#{data.transferBack},
</if>
<if test="(colPickMode==0 and data.containsKey('transferBackIncrement')) or (colPickMode==1 and !data.containsKey('transferBackIncrement'))">
a.transferBack=ifnull(a.transferBack,0) + #{data.transferBackIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('homeLeave')) or (colPickMode==1 and !data.containsKey('homeLeave'))">
a.homeLeave=#{data.homeLeave},
</if>
<if test="(colPickMode==0 and data.containsKey('homeLeaveIncrement')) or (colPickMode==1 and !data.containsKey('homeLeaveIncrement'))">
a.homeLeave=ifnull(a.homeLeave,0) + #{data.homeLeaveIncrement},
</if> </if>
</trim> </trim>
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
...@@ -329,6 +439,63 @@ ...@@ -329,6 +439,63 @@
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="marriageLeaveDays=(case" suffix="ELSE marriageLeaveDays end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('marriageLeaveDays')) or (colPickMode==1 and !item.containsKey('marriageLeaveDays'))">
when a.id=#{item.id} then #{item.marriageLeaveDays}
</when>
<when test="(colPickMode==0 and item.containsKey('marriageLeaveDaysIncrement')) or (colPickMode==1 and !item.containsKey('marriageLeaveDaysIncrement'))">
when a.id=#{item.id} then ifnull(a.marriageLeaveDays,0) + #{item.marriageLeaveDaysIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="remark=(case" suffix="ELSE remark end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))">
when a.id=#{item.id} then #{item.remark}
</if>
</foreach>
</trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime}
</if>
</foreach>
</trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.id=#{item.id} then #{item.updateUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime}
</if>
</foreach>
</trim>
<trim prefix="maternityLeaveDays=(case" suffix="ELSE maternityLeaveDays end),"> <trim prefix="maternityLeaveDays=(case" suffix="ELSE maternityLeaveDays end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
...@@ -353,18 +520,6 @@ ...@@ -353,18 +520,6 @@
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="marriageLeaveDays=(case" suffix="ELSE marriageLeaveDays end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('marriageLeaveDays')) or (colPickMode==1 and !item.containsKey('marriageLeaveDays'))">
when a.id=#{item.id} then #{item.marriageLeaveDays}
</when>
<when test="(colPickMode==0 and item.containsKey('marriageLeaveDaysIncrement')) or (colPickMode==1 and !item.containsKey('marriageLeaveDaysIncrement'))">
when a.id=#{item.id} then ifnull(a.marriageLeaveDays,0) + #{item.marriageLeaveDaysIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="menstrualLeaveDays=(case" suffix="ELSE menstrualLeaveDays end),"> <trim prefix="menstrualLeaveDays=(case" suffix="ELSE menstrualLeaveDays end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
...@@ -401,49 +556,136 @@ ...@@ -401,49 +556,136 @@
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="remark=(case" suffix="ELSE remark end),"> <trim prefix="backToUnit=(case" suffix="ELSE backToUnit end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))"> <choose>
when a.id=#{item.id} then #{item.remark} <when test="(colPickMode==0 and item.containsKey('backToUnit')) or (colPickMode==1 and !item.containsKey('backToUnit'))">
</if> when a.id=#{item.id} then #{item.backToUnit}
</when>
<when test="(colPickMode==0 and item.containsKey('backToUnitIncrement')) or (colPickMode==1 and !item.containsKey('backToUnitIncrement'))">
when a.id=#{item.id} then ifnull(a.backToUnit,0) + #{item.backToUnitIncrement}
</when>
</choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),"> <trim prefix="onDutyLeave=(case" suffix="ELSE onDutyLeave end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))"> <when test="(colPickMode==0 and item.containsKey('onDutyLeave')) or (colPickMode==1 and !item.containsKey('onDutyLeave'))">
when a.id=#{item.id} then #{item.createUserId} when a.id=#{item.id} then #{item.onDutyLeave}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('onDutyLeaveIncrement')) or (colPickMode==1 and !item.containsKey('onDutyLeaveIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement} when a.id=#{item.id} then ifnull(a.onDutyLeave,0) + #{item.onDutyLeaveIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),"> <trim prefix="outOfOffice=(case" suffix="ELSE outOfOffice end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))"> <choose>
when a.id=#{item.id} then #{item.createTime} <when test="(colPickMode==0 and item.containsKey('outOfOffice')) or (colPickMode==1 and !item.containsKey('outOfOffice'))">
</if> when a.id=#{item.id} then #{item.outOfOffice}
</when>
<when test="(colPickMode==0 and item.containsKey('outOfOfficeIncrement')) or (colPickMode==1 and !item.containsKey('outOfOfficeIncrement'))">
when a.id=#{item.id} then ifnull(a.outOfOffice,0) + #{item.outOfOfficeIncrement}
</when>
</choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),"> <trim prefix="shiftCompensation=(case" suffix="ELSE shiftCompensation end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))"> <when test="(colPickMode==0 and item.containsKey('shiftCompensation')) or (colPickMode==1 and !item.containsKey('shiftCompensation'))">
when a.id=#{item.id} then #{item.updateUserId} when a.id=#{item.id} then #{item.shiftCompensation}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('shiftCompensationIncrement')) or (colPickMode==1 and !item.containsKey('shiftCompensationIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement} when a.id=#{item.id} then ifnull(a.shiftCompensation,0) + #{item.shiftCompensationIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),"> <trim prefix="physicalExamination=(case" suffix="ELSE physicalExamination end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))"> <choose>
when a.id=#{item.id} then #{item.updateTime} <when test="(colPickMode==0 and item.containsKey('physicalExamination')) or (colPickMode==1 and !item.containsKey('physicalExamination'))">
</if> when a.id=#{item.id} then #{item.physicalExamination}
</when>
<when test="(colPickMode==0 and item.containsKey('physicalExaminationIncrement')) or (colPickMode==1 and !item.containsKey('physicalExaminationIncrement'))">
when a.id=#{item.id} then ifnull(a.physicalExamination,0) + #{item.physicalExaminationIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="quarantine=(case" suffix="ELSE quarantine end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('quarantine')) or (colPickMode==1 and !item.containsKey('quarantine'))">
when a.id=#{item.id} then #{item.quarantine}
</when>
<when test="(colPickMode==0 and item.containsKey('quarantineIncrement')) or (colPickMode==1 and !item.containsKey('quarantineIncrement'))">
when a.id=#{item.id} then ifnull(a.quarantine,0) + #{item.quarantineIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="businessTrip=(case" suffix="ELSE businessTrip end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('businessTrip')) or (colPickMode==1 and !item.containsKey('businessTrip'))">
when a.id=#{item.id} then #{item.businessTrip}
</when>
<when test="(colPickMode==0 and item.containsKey('businessTripIncrement')) or (colPickMode==1 and !item.containsKey('businessTripIncrement'))">
when a.id=#{item.id} then ifnull(a.businessTrip,0) + #{item.businessTripIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="publicHoliday=(case" suffix="ELSE publicHoliday end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('publicHoliday')) or (colPickMode==1 and !item.containsKey('publicHoliday'))">
when a.id=#{item.id} then #{item.publicHoliday}
</when>
<when test="(colPickMode==0 and item.containsKey('publicHolidayIncrement')) or (colPickMode==1 and !item.containsKey('publicHolidayIncrement'))">
when a.id=#{item.id} then ifnull(a.publicHoliday,0) + #{item.publicHolidayIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="childRearingLeave=(case" suffix="ELSE childRearingLeave end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('childRearingLeave')) or (colPickMode==1 and !item.containsKey('childRearingLeave'))">
when a.id=#{item.id} then #{item.childRearingLeave}
</when>
<when test="(colPickMode==0 and item.containsKey('childRearingLeaveIncrement')) or (colPickMode==1 and !item.containsKey('childRearingLeaveIncrement'))">
when a.id=#{item.id} then ifnull(a.childRearingLeave,0) + #{item.childRearingLeaveIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="transferBack=(case" suffix="ELSE transferBack end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('transferBack')) or (colPickMode==1 and !item.containsKey('transferBack'))">
when a.id=#{item.id} then #{item.transferBack}
</when>
<when test="(colPickMode==0 and item.containsKey('transferBackIncrement')) or (colPickMode==1 and !item.containsKey('transferBackIncrement'))">
when a.id=#{item.id} then ifnull(a.transferBack,0) + #{item.transferBackIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="homeLeave=(case" suffix="ELSE homeLeave end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('homeLeave')) or (colPickMode==1 and !item.containsKey('homeLeave'))">
when a.id=#{item.id} then #{item.homeLeave}
</when>
<when test="(colPickMode==0 and item.containsKey('homeLeaveIncrement')) or (colPickMode==1 and !item.containsKey('homeLeaveIncrement'))">
when a.id=#{item.id} then ifnull(a.homeLeave,0) + #{item.homeLeaveIncrement}
</when>
</choose>
</foreach> </foreach>
</trim> </trim>
</trim> </trim>
...@@ -808,8 +1050,140 @@ ...@@ -808,8 +1050,140 @@
${_conditionType_} a.annualLeaveDays <![CDATA[ <= ]]> #{${_conditionParam_}.annualLeaveDaysEnd} ${_conditionType_} a.annualLeaveDays <![CDATA[ <= ]]> #{${_conditionParam_}.annualLeaveDaysEnd}
</if> </if>
<if test="conditionParamRef.containsKey('maternityLeaveDays')"> <if test="conditionParamRef.containsKey('marriageLeaveDays')">
<if test="conditionParamRef.maternityLeaveDays != null "> <if test="conditionParamRef.marriageLeaveDays != null ">
${_conditionType_} a.marriageLeaveDays = #{${_conditionParam_}.marriageLeaveDays}
</if>
<if test="conditionParamRef.marriageLeaveDays == null">
${_conditionType_} a.marriageLeaveDays is null
</if>
</if>
<if test="conditionParamRef.containsKey('marriageLeaveDaysList') and conditionParamRef.marriageLeaveDaysList.size() > 0">
${_conditionType_} a.marriageLeaveDays in
<foreach collection="conditionParamRef.marriageLeaveDaysList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('marriageLeaveDaysNotList') and conditionParamRef.marriageLeaveDaysNotList.size() > 0">
${_conditionType_} a.marriageLeaveDays not in
<foreach collection="conditionParamRef.marriageLeaveDaysNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('marriageLeaveDaysStart') and conditionParamRef.marriageLeaveDaysStart != null">
${_conditionType_} a.marriageLeaveDays <![CDATA[ >= ]]> #{${_conditionParam_}.marriageLeaveDaysStart}
</if>
<if test="conditionParamRef.containsKey('marriageLeaveDaysEnd') and conditionParamRef.marriageLeaveDaysEnd != null">
${_conditionType_} a.marriageLeaveDays <![CDATA[ <= ]]> #{${_conditionParam_}.marriageLeaveDaysEnd}
</if>
<if test="conditionParamRef.containsKey('remark')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if>
<if test="conditionParamRef.remark == null">
${_conditionType_} a.remark is null
</if>
</if>
<if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('maternityLeaveDays')">
<if test="conditionParamRef.maternityLeaveDays != null ">
${_conditionType_} a.maternityLeaveDays = #{${_conditionParam_}.maternityLeaveDays} ${_conditionType_} a.maternityLeaveDays = #{${_conditionParam_}.maternityLeaveDays}
</if> </if>
<if test="conditionParamRef.maternityLeaveDays == null"> <if test="conditionParamRef.maternityLeaveDays == null">
...@@ -862,33 +1236,6 @@ ...@@ -862,33 +1236,6 @@
${_conditionType_} a.paternityLeaveDays <![CDATA[ <= ]]> #{${_conditionParam_}.paternityLeaveDaysEnd} ${_conditionType_} a.paternityLeaveDays <![CDATA[ <= ]]> #{${_conditionParam_}.paternityLeaveDaysEnd}
</if> </if>
<if test="conditionParamRef.containsKey('marriageLeaveDays')">
<if test="conditionParamRef.marriageLeaveDays != null ">
${_conditionType_} a.marriageLeaveDays = #{${_conditionParam_}.marriageLeaveDays}
</if>
<if test="conditionParamRef.marriageLeaveDays == null">
${_conditionType_} a.marriageLeaveDays is null
</if>
</if>
<if test="conditionParamRef.containsKey('marriageLeaveDaysList') and conditionParamRef.marriageLeaveDaysList.size() > 0">
${_conditionType_} a.marriageLeaveDays in
<foreach collection="conditionParamRef.marriageLeaveDaysList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('marriageLeaveDaysNotList') and conditionParamRef.marriageLeaveDaysNotList.size() > 0">
${_conditionType_} a.marriageLeaveDays not in
<foreach collection="conditionParamRef.marriageLeaveDaysNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('marriageLeaveDaysStart') and conditionParamRef.marriageLeaveDaysStart != null">
${_conditionType_} a.marriageLeaveDays <![CDATA[ >= ]]> #{${_conditionParam_}.marriageLeaveDaysStart}
</if>
<if test="conditionParamRef.containsKey('marriageLeaveDaysEnd') and conditionParamRef.marriageLeaveDaysEnd != null">
${_conditionType_} a.marriageLeaveDays <![CDATA[ <= ]]> #{${_conditionParam_}.marriageLeaveDaysEnd}
</if>
<if test="conditionParamRef.containsKey('menstrualLeaveDays')"> <if test="conditionParamRef.containsKey('menstrualLeaveDays')">
<if test="conditionParamRef.menstrualLeaveDays != null "> <if test="conditionParamRef.menstrualLeaveDays != null ">
${_conditionType_} a.menstrualLeaveDays = #{${_conditionParam_}.menstrualLeaveDays} ${_conditionType_} a.menstrualLeaveDays = #{${_conditionParam_}.menstrualLeaveDays}
...@@ -970,111 +1317,303 @@ ...@@ -970,111 +1317,303 @@
${_conditionType_} a.bereavementLeaveDays <![CDATA[ <= ]]> #{${_conditionParam_}.bereavementLeaveDaysEnd} ${_conditionType_} a.bereavementLeaveDays <![CDATA[ <= ]]> #{${_conditionParam_}.bereavementLeaveDaysEnd}
</if> </if>
<if test="conditionParamRef.containsKey('backToUnit')">
<if test="conditionParamRef.backToUnit != null ">
${_conditionType_} a.backToUnit = #{${_conditionParam_}.backToUnit}
</if>
<if test="conditionParamRef.backToUnit == null">
${_conditionType_} a.backToUnit is null
</if>
</if>
<if test="conditionParamRef.containsKey('backToUnitList') and conditionParamRef.backToUnitList.size() > 0">
${_conditionType_} a.backToUnit in
<foreach collection="conditionParamRef.backToUnitList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('backToUnitNotList') and conditionParamRef.backToUnitNotList.size() > 0">
${_conditionType_} a.backToUnit not in
<foreach collection="conditionParamRef.backToUnitNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('backToUnitStart') and conditionParamRef.backToUnitStart != null">
${_conditionType_} a.backToUnit <![CDATA[ >= ]]> #{${_conditionParam_}.backToUnitStart}
</if>
<if test="conditionParamRef.containsKey('backToUnitEnd') and conditionParamRef.backToUnitEnd != null">
${_conditionType_} a.backToUnit <![CDATA[ <= ]]> #{${_conditionParam_}.backToUnitEnd}
</if>
<if test="conditionParamRef.containsKey('remark')"> <if test="conditionParamRef.containsKey('onDutyLeave')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''"> <if test="conditionParamRef.onDutyLeave != null ">
${_conditionType_} a.remark like #{${_conditionParam_}.remark} ${_conditionType_} a.onDutyLeave = #{${_conditionParam_}.onDutyLeave}
</if> </if>
<if test="conditionParamRef.remark == null"> <if test="conditionParamRef.onDutyLeave == null">
${_conditionType_} a.remark is null ${_conditionType_} a.onDutyLeave is null
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0"> <if test="conditionParamRef.containsKey('onDutyLeaveList') and conditionParamRef.onDutyLeaveList.size() > 0">
${_conditionType_} a.remark in ${_conditionType_} a.onDutyLeave in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.onDutyLeaveList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0"> <if test="conditionParamRef.containsKey('onDutyLeaveNotList') and conditionParamRef.onDutyLeaveNotList.size() > 0">
${_conditionType_} a.remark not in ${_conditionType_} a.onDutyLeave not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.onDutyLeaveNotList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="conditionParamRef.containsKey('createUserId')"> <if test="conditionParamRef.containsKey('onDutyLeaveStart') and conditionParamRef.onDutyLeaveStart != null">
<if test="conditionParamRef.createUserId != null "> ${_conditionType_} a.onDutyLeave <![CDATA[ >= ]]> #{${_conditionParam_}.onDutyLeaveStart}
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId} </if>
<if test="conditionParamRef.containsKey('onDutyLeaveEnd') and conditionParamRef.onDutyLeaveEnd != null">
${_conditionType_} a.onDutyLeave <![CDATA[ <= ]]> #{${_conditionParam_}.onDutyLeaveEnd}
</if>
<if test="conditionParamRef.containsKey('outOfOffice')">
<if test="conditionParamRef.outOfOffice != null ">
${_conditionType_} a.outOfOffice = #{${_conditionParam_}.outOfOffice}
</if> </if>
<if test="conditionParamRef.createUserId == null"> <if test="conditionParamRef.outOfOffice == null">
${_conditionType_} a.createUserId is null ${_conditionType_} a.outOfOffice is null
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0"> <if test="conditionParamRef.containsKey('outOfOfficeList') and conditionParamRef.outOfOfficeList.size() > 0">
${_conditionType_} a.createUserId in ${_conditionType_} a.outOfOffice in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.outOfOfficeList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0"> <if test="conditionParamRef.containsKey('outOfOfficeNotList') and conditionParamRef.outOfOfficeNotList.size() > 0">
${_conditionType_} a.createUserId not in ${_conditionType_} a.outOfOffice not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.outOfOfficeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null"> <if test="conditionParamRef.containsKey('outOfOfficeStart') and conditionParamRef.outOfOfficeStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart} ${_conditionType_} a.outOfOffice <![CDATA[ >= ]]> #{${_conditionParam_}.outOfOfficeStart}
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null"> <if test="conditionParamRef.containsKey('outOfOfficeEnd') and conditionParamRef.outOfOfficeEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd} ${_conditionType_} a.outOfOffice <![CDATA[ <= ]]> #{${_conditionParam_}.outOfOfficeEnd}
</if> </if>
<if test="conditionParamRef.containsKey('shiftCompensation')">
<if test="conditionParamRef.shiftCompensation != null ">
${_conditionType_} a.shiftCompensation = #{${_conditionParam_}.shiftCompensation}
</if>
<if test="conditionParamRef.shiftCompensation == null">
${_conditionType_} a.shiftCompensation is null
</if>
</if>
<if test="conditionParamRef.containsKey('shiftCompensationList') and conditionParamRef.shiftCompensationList.size() > 0">
${_conditionType_} a.shiftCompensation in
<foreach collection="conditionParamRef.shiftCompensationList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('shiftCompensationNotList') and conditionParamRef.shiftCompensationNotList.size() > 0">
${_conditionType_} a.shiftCompensation not in
<foreach collection="conditionParamRef.shiftCompensationNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('shiftCompensationStart') and conditionParamRef.shiftCompensationStart != null">
${_conditionType_} a.shiftCompensation <![CDATA[ >= ]]> #{${_conditionParam_}.shiftCompensationStart}
</if>
<if test="conditionParamRef.containsKey('shiftCompensationEnd') and conditionParamRef.shiftCompensationEnd != null">
${_conditionType_} a.shiftCompensation <![CDATA[ <= ]]> #{${_conditionParam_}.shiftCompensationEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')"> <if test="conditionParamRef.containsKey('physicalExamination')">
<if test="conditionParamRef.createTime != null "> <if test="conditionParamRef.physicalExamination != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime} ${_conditionType_} a.physicalExamination = #{${_conditionParam_}.physicalExamination}
</if> </if>
<if test="conditionParamRef.createTime == null"> <if test="conditionParamRef.physicalExamination == null">
${_conditionType_} a.createTime is null ${_conditionType_} a.physicalExamination is null
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''"> <if test="conditionParamRef.containsKey('physicalExaminationList') and conditionParamRef.physicalExaminationList.size() > 0">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.physicalExamination in
<foreach collection="conditionParamRef.physicalExaminationList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''"> <if test="conditionParamRef.containsKey('physicalExaminationNotList') and conditionParamRef.physicalExaminationNotList.size() > 0">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.physicalExamination not in
<foreach collection="conditionParamRef.physicalExaminationNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserId')"> <if test="conditionParamRef.containsKey('physicalExaminationStart') and conditionParamRef.physicalExaminationStart != null">
<if test="conditionParamRef.updateUserId != null "> ${_conditionType_} a.physicalExamination <![CDATA[ >= ]]> #{${_conditionParam_}.physicalExaminationStart}
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId} </if>
<if test="conditionParamRef.containsKey('physicalExaminationEnd') and conditionParamRef.physicalExaminationEnd != null">
${_conditionType_} a.physicalExamination <![CDATA[ <= ]]> #{${_conditionParam_}.physicalExaminationEnd}
</if>
<if test="conditionParamRef.containsKey('quarantine')">
<if test="conditionParamRef.quarantine != null ">
${_conditionType_} a.quarantine = #{${_conditionParam_}.quarantine}
</if> </if>
<if test="conditionParamRef.updateUserId == null"> <if test="conditionParamRef.quarantine == null">
${_conditionType_} a.updateUserId is null ${_conditionType_} a.quarantine is null
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0"> <if test="conditionParamRef.containsKey('quarantineList') and conditionParamRef.quarantineList.size() > 0">
${_conditionType_} a.updateUserId in ${_conditionType_} a.quarantine in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.quarantineList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0"> <if test="conditionParamRef.containsKey('quarantineNotList') and conditionParamRef.quarantineNotList.size() > 0">
${_conditionType_} a.updateUserId not in ${_conditionType_} a.quarantine not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.quarantineNotList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null"> <if test="conditionParamRef.containsKey('quarantineStart') and conditionParamRef.quarantineStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart} ${_conditionType_} a.quarantine <![CDATA[ >= ]]> #{${_conditionParam_}.quarantineStart}
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null"> <if test="conditionParamRef.containsKey('quarantineEnd') and conditionParamRef.quarantineEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd} ${_conditionType_} a.quarantine <![CDATA[ <= ]]> #{${_conditionParam_}.quarantineEnd}
</if> </if>
<if test="conditionParamRef.containsKey('businessTrip')">
<if test="conditionParamRef.businessTrip != null ">
${_conditionType_} a.businessTrip = #{${_conditionParam_}.businessTrip}
</if>
<if test="conditionParamRef.businessTrip == null">
${_conditionType_} a.businessTrip is null
</if>
</if>
<if test="conditionParamRef.containsKey('businessTripList') and conditionParamRef.businessTripList.size() > 0">
${_conditionType_} a.businessTrip in
<foreach collection="conditionParamRef.businessTripList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('businessTripNotList') and conditionParamRef.businessTripNotList.size() > 0">
${_conditionType_} a.businessTrip not in
<foreach collection="conditionParamRef.businessTripNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('businessTripStart') and conditionParamRef.businessTripStart != null">
${_conditionType_} a.businessTrip <![CDATA[ >= ]]> #{${_conditionParam_}.businessTripStart}
</if>
<if test="conditionParamRef.containsKey('businessTripEnd') and conditionParamRef.businessTripEnd != null">
${_conditionType_} a.businessTrip <![CDATA[ <= ]]> #{${_conditionParam_}.businessTripEnd}
</if>
<if test="conditionParamRef.containsKey('updateTime')"> <if test="conditionParamRef.containsKey('publicHoliday')">
<if test="conditionParamRef.updateTime != null "> <if test="conditionParamRef.publicHoliday != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime} ${_conditionType_} a.publicHoliday = #{${_conditionParam_}.publicHoliday}
</if> </if>
<if test="conditionParamRef.updateTime == null"> <if test="conditionParamRef.publicHoliday == null">
${_conditionType_} a.updateTime is null ${_conditionType_} a.publicHoliday is null
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''"> <if test="conditionParamRef.containsKey('publicHolidayList') and conditionParamRef.publicHolidayList.size() > 0">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.publicHoliday in
<foreach collection="conditionParamRef.publicHolidayList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''"> <if test="conditionParamRef.containsKey('publicHolidayNotList') and conditionParamRef.publicHolidayNotList.size() > 0">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.publicHoliday not in
<foreach collection="conditionParamRef.publicHolidayNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('publicHolidayStart') and conditionParamRef.publicHolidayStart != null">
${_conditionType_} a.publicHoliday <![CDATA[ >= ]]> #{${_conditionParam_}.publicHolidayStart}
</if>
<if test="conditionParamRef.containsKey('publicHolidayEnd') and conditionParamRef.publicHolidayEnd != null">
${_conditionType_} a.publicHoliday <![CDATA[ <= ]]> #{${_conditionParam_}.publicHolidayEnd}
</if>
<if test="conditionParamRef.containsKey('childRearingLeave')">
<if test="conditionParamRef.childRearingLeave != null ">
${_conditionType_} a.childRearingLeave = #{${_conditionParam_}.childRearingLeave}
</if>
<if test="conditionParamRef.childRearingLeave == null">
${_conditionType_} a.childRearingLeave is null
</if>
</if>
<if test="conditionParamRef.containsKey('childRearingLeaveList') and conditionParamRef.childRearingLeaveList.size() > 0">
${_conditionType_} a.childRearingLeave in
<foreach collection="conditionParamRef.childRearingLeaveList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('childRearingLeaveNotList') and conditionParamRef.childRearingLeaveNotList.size() > 0">
${_conditionType_} a.childRearingLeave not in
<foreach collection="conditionParamRef.childRearingLeaveNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('childRearingLeaveStart') and conditionParamRef.childRearingLeaveStart != null">
${_conditionType_} a.childRearingLeave <![CDATA[ >= ]]> #{${_conditionParam_}.childRearingLeaveStart}
</if>
<if test="conditionParamRef.containsKey('childRearingLeaveEnd') and conditionParamRef.childRearingLeaveEnd != null">
${_conditionType_} a.childRearingLeave <![CDATA[ <= ]]> #{${_conditionParam_}.childRearingLeaveEnd}
</if>
<if test="conditionParamRef.containsKey('transferBack')">
<if test="conditionParamRef.transferBack != null ">
${_conditionType_} a.transferBack = #{${_conditionParam_}.transferBack}
</if>
<if test="conditionParamRef.transferBack == null">
${_conditionType_} a.transferBack is null
</if>
</if>
<if test="conditionParamRef.containsKey('transferBackList') and conditionParamRef.transferBackList.size() > 0">
${_conditionType_} a.transferBack in
<foreach collection="conditionParamRef.transferBackList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('transferBackNotList') and conditionParamRef.transferBackNotList.size() > 0">
${_conditionType_} a.transferBack not in
<foreach collection="conditionParamRef.transferBackNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('transferBackStart') and conditionParamRef.transferBackStart != null">
${_conditionType_} a.transferBack <![CDATA[ >= ]]> #{${_conditionParam_}.transferBackStart}
</if>
<if test="conditionParamRef.containsKey('transferBackEnd') and conditionParamRef.transferBackEnd != null">
${_conditionType_} a.transferBack <![CDATA[ <= ]]> #{${_conditionParam_}.transferBackEnd}
</if>
<if test="conditionParamRef.containsKey('homeLeave')">
<if test="conditionParamRef.homeLeave != null ">
${_conditionType_} a.homeLeave = #{${_conditionParam_}.homeLeave}
</if>
<if test="conditionParamRef.homeLeave == null">
${_conditionType_} a.homeLeave is null
</if>
</if>
<if test="conditionParamRef.containsKey('homeLeaveList') and conditionParamRef.homeLeaveList.size() > 0">
${_conditionType_} a.homeLeave in
<foreach collection="conditionParamRef.homeLeaveList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('homeLeaveNotList') and conditionParamRef.homeLeaveNotList.size() > 0">
${_conditionType_} a.homeLeave not in
<foreach collection="conditionParamRef.homeLeaveNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('homeLeaveStart') and conditionParamRef.homeLeaveStart != null">
${_conditionType_} a.homeLeave <![CDATA[ >= ]]> #{${_conditionParam_}.homeLeaveStart}
</if>
<if test="conditionParamRef.containsKey('homeLeaveEnd') and conditionParamRef.homeLeaveEnd != null">
${_conditionType_} a.homeLeave <![CDATA[ <= ]]> #{${_conditionParam_}.homeLeaveEnd}
</if>
</sql> </sql>
<sql id="_orderCols_"> <sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()"> <if test="orderColList != null and !orderColList.isEmpty()">
...@@ -1138,6 +1677,36 @@ ...@@ -1138,6 +1677,36 @@
<if test='orderCol.annualLeaveDays != null and "DESC".equalsIgnoreCase(orderCol.annualLeaveDays)'>DESC</if> <if test='orderCol.annualLeaveDays != null and "DESC".equalsIgnoreCase(orderCol.annualLeaveDays)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('marriageLeaveDays')">
a.marriageLeaveDays
<if test='orderCol.marriageLeaveDays != null and "DESC".equalsIgnoreCase(orderCol.marriageLeaveDays)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('remark')">
a.remark
<if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateUserId')">
a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('maternityLeaveDays')"> <if test="orderCol.containsKey('maternityLeaveDays')">
a.maternityLeaveDays a.maternityLeaveDays
<if test='orderCol.maternityLeaveDays != null and "DESC".equalsIgnoreCase(orderCol.maternityLeaveDays)'>DESC</if> <if test='orderCol.maternityLeaveDays != null and "DESC".equalsIgnoreCase(orderCol.maternityLeaveDays)'>DESC</if>
...@@ -1148,11 +1717,6 @@ ...@@ -1148,11 +1717,6 @@
<if test='orderCol.paternityLeaveDays != null and "DESC".equalsIgnoreCase(orderCol.paternityLeaveDays)'>DESC</if> <if test='orderCol.paternityLeaveDays != null and "DESC".equalsIgnoreCase(orderCol.paternityLeaveDays)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('marriageLeaveDays')">
a.marriageLeaveDays
<if test='orderCol.marriageLeaveDays != null and "DESC".equalsIgnoreCase(orderCol.marriageLeaveDays)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('menstrualLeaveDays')"> <if test="orderCol.containsKey('menstrualLeaveDays')">
a.menstrualLeaveDays a.menstrualLeaveDays
<if test='orderCol.menstrualLeaveDays != null and "DESC".equalsIgnoreCase(orderCol.menstrualLeaveDays)'>DESC</if> <if test='orderCol.menstrualLeaveDays != null and "DESC".equalsIgnoreCase(orderCol.menstrualLeaveDays)'>DESC</if>
...@@ -1168,29 +1732,59 @@ ...@@ -1168,29 +1732,59 @@
<if test='orderCol.bereavementLeaveDays != null and "DESC".equalsIgnoreCase(orderCol.bereavementLeaveDays)'>DESC</if> <if test='orderCol.bereavementLeaveDays != null and "DESC".equalsIgnoreCase(orderCol.bereavementLeaveDays)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('remark')"> <if test="orderCol.containsKey('backToUnit')">
a.remark a.backToUnit
<if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if> <if test='orderCol.backToUnit != null and "DESC".equalsIgnoreCase(orderCol.backToUnit)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createUserId')"> <if test="orderCol.containsKey('onDutyLeave')">
a.createUserId a.onDutyLeave
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if> <if test='orderCol.onDutyLeave != null and "DESC".equalsIgnoreCase(orderCol.onDutyLeave)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createTime')"> <if test="orderCol.containsKey('outOfOffice')">
a.createTime a.outOfOffice
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if> <if test='orderCol.outOfOffice != null and "DESC".equalsIgnoreCase(orderCol.outOfOffice)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateUserId')"> <if test="orderCol.containsKey('shiftCompensation')">
a.updateUserId a.shiftCompensation
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if> <if test='orderCol.shiftCompensation != null and "DESC".equalsIgnoreCase(orderCol.shiftCompensation)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateTime')"> <if test="orderCol.containsKey('physicalExamination')">
a.updateTime a.physicalExamination
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if> <if test='orderCol.physicalExamination != null and "DESC".equalsIgnoreCase(orderCol.physicalExamination)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('quarantine')">
a.quarantine
<if test='orderCol.quarantine != null and "DESC".equalsIgnoreCase(orderCol.quarantine)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('businessTrip')">
a.businessTrip
<if test='orderCol.businessTrip != null and "DESC".equalsIgnoreCase(orderCol.businessTrip)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('publicHoliday')">
a.publicHoliday
<if test='orderCol.publicHoliday != null and "DESC".equalsIgnoreCase(orderCol.publicHoliday)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('childRearingLeave')">
a.childRearingLeave
<if test='orderCol.childRearingLeave != null and "DESC".equalsIgnoreCase(orderCol.childRearingLeave)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('transferBack')">
a.transferBack
<if test='orderCol.transferBack != null and "DESC".equalsIgnoreCase(orderCol.transferBack)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('homeLeave')">
a.homeLeave
<if test='orderCol.homeLeave != null and "DESC".equalsIgnoreCase(orderCol.homeLeave)'>DESC</if>
, ,
</if> </if>
</trim> </trim>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd"> "mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.attendance.dao.ibatis.AttendanceVacationRecordDaoImpl"> <mapper namespace="com.mortals.xhx.module.attendance.dao.ibatis.AttendanceVacationRecordDaoImpl">
<!-- 字段和属性映射 --> <!-- 字段和属性映射 -->
<resultMap type="AttendanceVacationRecordEntity" id="AttendanceVacationRecordEntity-Map"> <resultMap type="AttendanceVacationRecordEntity" id="AttendanceVacationRecordEntity-Map">
<id property="id" column="id" /> <id property="id" column="id" />
<result property="staffId" column="staffId" /> <result property="staffId" column="staffId" />
<result property="staffName" column="staffName" /> <result property="staffName" column="staffName" />
<result property="type" column="type" /> <result property="type" column="type" />
<result property="subAddType" column="subAddType" /> <result property="subAddType" column="subAddType" />
<result property="validityPeriod" column="validityPeriod" /> <result property="validityPeriod" column="validityPeriod" />
<result property="subOrAddDays" column="subOrAddDays" /> <result property="subOrAddDays" column="subOrAddDays" />
<result property="content" column="content" /> <result property="content" column="content" />
<result property="rule" column="rule" /> <result property="rule" column="rule" />
<result property="reason" column="reason" /> <result property="reason" column="reason" />
<result property="remark" column="remark" /> <result property="remark" column="remark" />
<result property="createUserId" column="createUserId" /> <result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" /> <result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" /> <result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" /> <result property="updateTime" column="updateTime" />
</resultMap> </resultMap>
<!-- 表所有列 --> <!-- 表所有列 -->
<sql id="_columns"> <sql id="_columns">
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id, a.id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffId') or colPickMode == 1 and data.containsKey('staffId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffId') or colPickMode == 1 and data.containsKey('staffId')))">
a.staffId, a.staffId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffName') or colPickMode == 1 and data.containsKey('staffName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffName') or colPickMode == 1 and data.containsKey('staffName')))">
a.staffName, a.staffName,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('type') or colPickMode == 1 and data.containsKey('type')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('type') or colPickMode == 1 and data.containsKey('type')))">
a.type, a.type,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('subAddType') or colPickMode == 1 and data.containsKey('subAddType')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('subAddType') or colPickMode == 1 and data.containsKey('subAddType')))">
a.subAddType, a.subAddType,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('validityPeriod') or colPickMode == 1 and data.containsKey('validityPeriod')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('validityPeriod') or colPickMode == 1 and data.containsKey('validityPeriod')))">
a.validityPeriod, a.validityPeriod,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('subOrAddDays') or colPickMode == 1 and data.containsKey('subOrAddDays')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('subOrAddDays') or colPickMode == 1 and data.containsKey('subOrAddDays')))">
a.subOrAddDays, a.subOrAddDays,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('content') or colPickMode == 1 and data.containsKey('content')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('content') or colPickMode == 1 and data.containsKey('content')))">
a.content, a.content,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('rule') or colPickMode == 1 and data.containsKey('rule')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('rule') or colPickMode == 1 and data.containsKey('rule')))">
a.rule, a.rule,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reason') or colPickMode == 1 and data.containsKey('reason')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reason') or colPickMode == 1 and data.containsKey('reason')))">
a.reason, a.reason,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.remark, a.remark,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId, a.createUserId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime, a.createTime,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId, a.updateUserId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime, a.updateTime,
</if> </if>
</trim> </trim>
</sql> </sql>
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
...@@ -170,134 +170,134 @@ ...@@ -170,134 +170,134 @@
<update id="updateBatch" parameterType="paramDto"> <update id="updateBatch" parameterType="paramDto">
update mortals_xhx_attendance_vacation_record as a update mortals_xhx_attendance_vacation_record as a
<trim prefix="set" suffixOverrides=","> <trim prefix="set" suffixOverrides=",">
<trim prefix="staffId=(case" suffix="ELSE staffId end),"> <trim prefix="staffId=(case" suffix="ELSE staffId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('staffId')) or (colPickMode==1 and !item.containsKey('staffId'))"> <when test="(colPickMode==0 and item.containsKey('staffId')) or (colPickMode==1 and !item.containsKey('staffId'))">
when a.id=#{item.id} then #{item.staffId} when a.id=#{item.id} then #{item.staffId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('staffIdIncrement')) or (colPickMode==1 and !item.containsKey('staffIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('staffIdIncrement')) or (colPickMode==1 and !item.containsKey('staffIdIncrement'))">
when a.id=#{item.id} then ifnull(a.staffId,0) + #{item.staffIdIncrement} when a.id=#{item.id} then ifnull(a.staffId,0) + #{item.staffIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="staffName=(case" suffix="ELSE staffName end),"> <trim prefix="staffName=(case" suffix="ELSE staffName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('staffName')) or (colPickMode==1 and !item.containsKey('staffName'))"> <if test="(colPickMode==0 and item.containsKey('staffName')) or (colPickMode==1 and !item.containsKey('staffName'))">
when a.id=#{item.id} then #{item.staffName} when a.id=#{item.id} then #{item.staffName}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="type=(case" suffix="ELSE type end),"> <trim prefix="type=(case" suffix="ELSE type end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('type')) or (colPickMode==1 and !item.containsKey('type'))"> <when test="(colPickMode==0 and item.containsKey('type')) or (colPickMode==1 and !item.containsKey('type'))">
when a.id=#{item.id} then #{item.type} when a.id=#{item.id} then #{item.type}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('typeIncrement')) or (colPickMode==1 and !item.containsKey('typeIncrement'))"> <when test="(colPickMode==0 and item.containsKey('typeIncrement')) or (colPickMode==1 and !item.containsKey('typeIncrement'))">
when a.id=#{item.id} then ifnull(a.type,0) + #{item.typeIncrement} when a.id=#{item.id} then ifnull(a.type,0) + #{item.typeIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="subAddType=(case" suffix="ELSE subAddType end),"> <trim prefix="subAddType=(case" suffix="ELSE subAddType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('subAddType')) or (colPickMode==1 and !item.containsKey('subAddType'))"> <when test="(colPickMode==0 and item.containsKey('subAddType')) or (colPickMode==1 and !item.containsKey('subAddType'))">
when a.id=#{item.id} then #{item.subAddType} when a.id=#{item.id} then #{item.subAddType}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('subAddTypeIncrement')) or (colPickMode==1 and !item.containsKey('subAddTypeIncrement'))"> <when test="(colPickMode==0 and item.containsKey('subAddTypeIncrement')) or (colPickMode==1 and !item.containsKey('subAddTypeIncrement'))">
when a.id=#{item.id} then ifnull(a.subAddType,0) + #{item.subAddTypeIncrement} when a.id=#{item.id} then ifnull(a.subAddType,0) + #{item.subAddTypeIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="validityPeriod=(case" suffix="ELSE validityPeriod end),"> <trim prefix="validityPeriod=(case" suffix="ELSE validityPeriod end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('validityPeriod')) or (colPickMode==1 and !item.containsKey('validityPeriod'))"> <if test="(colPickMode==0 and item.containsKey('validityPeriod')) or (colPickMode==1 and !item.containsKey('validityPeriod'))">
when a.id=#{item.id} then #{item.validityPeriod} when a.id=#{item.id} then #{item.validityPeriod}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="subOrAddDays=(case" suffix="ELSE subOrAddDays end),"> <trim prefix="subOrAddDays=(case" suffix="ELSE subOrAddDays end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('subOrAddDays')) or (colPickMode==1 and !item.containsKey('subOrAddDays'))"> <when test="(colPickMode==0 and item.containsKey('subOrAddDays')) or (colPickMode==1 and !item.containsKey('subOrAddDays'))">
when a.id=#{item.id} then #{item.subOrAddDays} when a.id=#{item.id} then #{item.subOrAddDays}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('subOrAddDaysIncrement')) or (colPickMode==1 and !item.containsKey('subOrAddDaysIncrement'))"> <when test="(colPickMode==0 and item.containsKey('subOrAddDaysIncrement')) or (colPickMode==1 and !item.containsKey('subOrAddDaysIncrement'))">
when a.id=#{item.id} then ifnull(a.subOrAddDays,0) + #{item.subOrAddDaysIncrement} when a.id=#{item.id} then ifnull(a.subOrAddDays,0) + #{item.subOrAddDaysIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="content=(case" suffix="ELSE content end),"> <trim prefix="content=(case" suffix="ELSE content end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('content')) or (colPickMode==1 and !item.containsKey('content'))"> <if test="(colPickMode==0 and item.containsKey('content')) or (colPickMode==1 and !item.containsKey('content'))">
when a.id=#{item.id} then #{item.content} when a.id=#{item.id} then #{item.content}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="rule=(case" suffix="ELSE rule end),"> <trim prefix="rule=(case" suffix="ELSE rule end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('rule')) or (colPickMode==1 and !item.containsKey('rule'))"> <if test="(colPickMode==0 and item.containsKey('rule')) or (colPickMode==1 and !item.containsKey('rule'))">
when a.id=#{item.id} then #{item.rule} when a.id=#{item.id} then #{item.rule}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="reason=(case" suffix="ELSE reason end),"> <trim prefix="reason=(case" suffix="ELSE reason end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('reason')) or (colPickMode==1 and !item.containsKey('reason'))"> <if test="(colPickMode==0 and item.containsKey('reason')) or (colPickMode==1 and !item.containsKey('reason'))">
when a.id=#{item.id} then #{item.reason} when a.id=#{item.id} then #{item.reason}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="remark=(case" suffix="ELSE remark end),"> <trim prefix="remark=(case" suffix="ELSE remark end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))"> <if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))">
when a.id=#{item.id} then #{item.remark} when a.id=#{item.id} then #{item.remark}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),"> <trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))"> <when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId} when a.id=#{item.id} then #{item.createUserId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement} when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),"> <trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))"> <if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime} when a.id=#{item.id} then #{item.createTime}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),"> <trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))"> <when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.id=#{item.id} then #{item.updateUserId} when a.id=#{item.id} then #{item.updateUserId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement} when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),"> <trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))"> <if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime} when a.id=#{item.id} then #{item.updateTime}
</if> </if>
</foreach> </foreach>
</trim> </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=")">
...@@ -414,439 +414,439 @@ ...@@ -414,439 +414,439 @@
${_conditionType_} a.id=#{${_conditionParam_}.id} ${_conditionType_} a.id=#{${_conditionParam_}.id}
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('id')"> <if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null "> <if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id} ${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if> </if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null"> <if test="conditionParamRef.id == null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd} ${_conditionType_} a.id is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('staffId')"> <if test="conditionParamRef.containsKey('staffId')">
<if test="conditionParamRef.staffId != null "> <if test="conditionParamRef.staffId != null ">
${_conditionType_} a.staffId = #{${_conditionParam_}.staffId} ${_conditionType_} a.staffId = #{${_conditionParam_}.staffId}
</if>
<if test="conditionParamRef.staffId == null">
${_conditionType_} a.staffId is null
</if>
</if>
<if test="conditionParamRef.containsKey('staffIdList') and conditionParamRef.staffIdList.size() > 0">
${_conditionType_} a.staffId in
<foreach collection="conditionParamRef.staffIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('staffIdNotList') and conditionParamRef.staffIdNotList.size() > 0">
${_conditionType_} a.staffId not in
<foreach collection="conditionParamRef.staffIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('staffIdStart') and conditionParamRef.staffIdStart != null"> <if test="conditionParamRef.staffId == null">
${_conditionType_} a.staffId <![CDATA[ >= ]]> #{${_conditionParam_}.staffIdStart} ${_conditionType_} a.staffId is null
</if>
<if test="conditionParamRef.containsKey('staffIdEnd') and conditionParamRef.staffIdEnd != null">
${_conditionType_} a.staffId <![CDATA[ <= ]]> #{${_conditionParam_}.staffIdEnd}
</if> </if>
</if>
<if test="conditionParamRef.containsKey('staffIdList') and conditionParamRef.staffIdList.size() > 0">
${_conditionType_} a.staffId in
<foreach collection="conditionParamRef.staffIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('staffIdNotList') and conditionParamRef.staffIdNotList.size() > 0">
${_conditionType_} a.staffId not in
<foreach collection="conditionParamRef.staffIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('staffIdStart') and conditionParamRef.staffIdStart != null">
${_conditionType_} a.staffId <![CDATA[ >= ]]> #{${_conditionParam_}.staffIdStart}
</if>
<if test="conditionParamRef.containsKey('staffIdEnd') and conditionParamRef.staffIdEnd != null">
${_conditionType_} a.staffId <![CDATA[ <= ]]> #{${_conditionParam_}.staffIdEnd}
</if>
<if test="conditionParamRef.containsKey('staffName')"> <if test="conditionParamRef.containsKey('staffName')">
<if test="conditionParamRef.staffName != null and conditionParamRef.staffName != ''"> <if test="conditionParamRef.staffName != null and conditionParamRef.staffName != ''">
${_conditionType_} a.staffName like #{${_conditionParam_}.staffName} ${_conditionType_} a.staffName like #{${_conditionParam_}.staffName}
</if>
<if test="conditionParamRef.staffName == null">
${_conditionType_} a.staffName is null
</if>
</if>
<if test="conditionParamRef.containsKey('staffNameList') and conditionParamRef.staffNameList.size() > 0">
${_conditionType_} a.staffName in
<foreach collection="conditionParamRef.staffNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('staffNameNotList') and conditionParamRef.staffNameNotList.size() > 0">
${_conditionType_} a.staffName not in
<foreach collection="conditionParamRef.staffNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('type')">
<if test="conditionParamRef.type != null ">
${_conditionType_} a.type = #{${_conditionParam_}.type}
</if>
<if test="conditionParamRef.type == null">
${_conditionType_} a.type is null
</if>
</if>
<if test="conditionParamRef.containsKey('typeList') and conditionParamRef.typeList.size() > 0">
${_conditionType_} a.type in
<foreach collection="conditionParamRef.typeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('typeNotList') and conditionParamRef.typeNotList.size() > 0"> <if test="conditionParamRef.staffName == null">
${_conditionType_} a.type not in ${_conditionType_} a.staffName is null
<foreach collection="conditionParamRef.typeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('typeStart') and conditionParamRef.typeStart != null"> </if>
${_conditionType_} a.type <![CDATA[ >= ]]> #{${_conditionParam_}.typeStart} <if test="conditionParamRef.containsKey('staffNameList') and conditionParamRef.staffNameList.size() > 0">
${_conditionType_} a.staffName in
<foreach collection="conditionParamRef.staffNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('staffNameNotList') and conditionParamRef.staffNameNotList.size() > 0">
${_conditionType_} a.staffName not in
<foreach collection="conditionParamRef.staffNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('type')">
<if test="conditionParamRef.type != null ">
${_conditionType_} a.type = #{${_conditionParam_}.type}
</if> </if>
<if test="conditionParamRef.containsKey('typeEnd') and conditionParamRef.typeEnd != null"> <if test="conditionParamRef.type == null">
${_conditionType_} a.type <![CDATA[ <= ]]> #{${_conditionParam_}.typeEnd} ${_conditionType_} a.type is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('typeList') and conditionParamRef.typeList.size() > 0">
${_conditionType_} a.type in
<foreach collection="conditionParamRef.typeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('typeNotList') and conditionParamRef.typeNotList.size() > 0">
${_conditionType_} a.type not in
<foreach collection="conditionParamRef.typeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('typeStart') and conditionParamRef.typeStart != null">
${_conditionType_} a.type <![CDATA[ >= ]]> #{${_conditionParam_}.typeStart}
</if>
<if test="conditionParamRef.containsKey('typeEnd') and conditionParamRef.typeEnd != null">
${_conditionType_} a.type <![CDATA[ <= ]]> #{${_conditionParam_}.typeEnd}
</if>
<if test="conditionParamRef.containsKey('subAddType')"> <if test="conditionParamRef.containsKey('subAddType')">
<if test="conditionParamRef.subAddType != null "> <if test="conditionParamRef.subAddType != null ">
${_conditionType_} a.subAddType = #{${_conditionParam_}.subAddType} ${_conditionType_} a.subAddType = #{${_conditionParam_}.subAddType}
</if>
<if test="conditionParamRef.subAddType == null">
${_conditionType_} a.subAddType is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('subAddTypeList') and conditionParamRef.subAddTypeList.size() > 0"> <if test="conditionParamRef.subAddType == null">
${_conditionType_} a.subAddType in ${_conditionType_} a.subAddType is null
<foreach collection="conditionParamRef.subAddTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('subAddTypeNotList') and conditionParamRef.subAddTypeNotList.size() > 0">
${_conditionType_} a.subAddType not in
<foreach collection="conditionParamRef.subAddTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('subAddTypeStart') and conditionParamRef.subAddTypeStart != null">
${_conditionType_} a.subAddType <![CDATA[ >= ]]> #{${_conditionParam_}.subAddTypeStart}
</if>
<if test="conditionParamRef.containsKey('subAddTypeEnd') and conditionParamRef.subAddTypeEnd != null">
${_conditionType_} a.subAddType <![CDATA[ <= ]]> #{${_conditionParam_}.subAddTypeEnd}
</if> </if>
</if>
<if test="conditionParamRef.containsKey('subAddTypeList') and conditionParamRef.subAddTypeList.size() > 0">
${_conditionType_} a.subAddType in
<foreach collection="conditionParamRef.subAddTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('subAddTypeNotList') and conditionParamRef.subAddTypeNotList.size() > 0">
${_conditionType_} a.subAddType not in
<foreach collection="conditionParamRef.subAddTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('subAddTypeStart') and conditionParamRef.subAddTypeStart != null">
${_conditionType_} a.subAddType <![CDATA[ >= ]]> #{${_conditionParam_}.subAddTypeStart}
</if>
<if test="conditionParamRef.containsKey('subAddTypeEnd') and conditionParamRef.subAddTypeEnd != null">
${_conditionType_} a.subAddType <![CDATA[ <= ]]> #{${_conditionParam_}.subAddTypeEnd}
</if>
<if test="conditionParamRef.containsKey('validityPeriod')"> <if test="conditionParamRef.containsKey('validityPeriod')">
<if test="conditionParamRef.validityPeriod != null and conditionParamRef.validityPeriod != ''"> <if test="conditionParamRef.validityPeriod != null and conditionParamRef.validityPeriod != ''">
${_conditionType_} a.validityPeriod like #{${_conditionParam_}.validityPeriod} ${_conditionType_} a.validityPeriod like #{${_conditionParam_}.validityPeriod}
</if>
<if test="conditionParamRef.validityPeriod == null">
${_conditionType_} a.validityPeriod is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('validityPeriodList') and conditionParamRef.validityPeriodList.size() > 0"> <if test="conditionParamRef.validityPeriod == null">
${_conditionType_} a.validityPeriod in ${_conditionType_} a.validityPeriod is null
<foreach collection="conditionParamRef.validityPeriodList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('validityPeriodNotList') and conditionParamRef.validityPeriodNotList.size() > 0">
${_conditionType_} a.validityPeriod not in
<foreach collection="conditionParamRef.validityPeriodNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('subOrAddDays')"> </if>
<if test="conditionParamRef.subOrAddDays != null "> <if test="conditionParamRef.containsKey('validityPeriodList') and conditionParamRef.validityPeriodList.size() > 0">
${_conditionType_} a.subOrAddDays = #{${_conditionParam_}.subOrAddDays} ${_conditionType_} a.validityPeriod in
</if> <foreach collection="conditionParamRef.validityPeriodList" open="(" close=")" index="index" item="item" separator=",">
<if test="conditionParamRef.subOrAddDays == null"> #{item}
${_conditionType_} a.subOrAddDays is null </foreach>
</if> </if>
</if> <if test="conditionParamRef.containsKey('validityPeriodNotList') and conditionParamRef.validityPeriodNotList.size() > 0">
<if test="conditionParamRef.containsKey('subOrAddDaysList') and conditionParamRef.subOrAddDaysList.size() > 0"> ${_conditionType_} a.validityPeriod not in
${_conditionType_} a.subOrAddDays in <foreach collection="conditionParamRef.validityPeriodNotList" open="(" close=")" index="index" item="item" separator=",">
<foreach collection="conditionParamRef.subOrAddDaysList" open="(" close=")" index="index" item="item" separator=","> #{item}
#{item} </foreach>
</foreach> </if>
</if> <if test="conditionParamRef.containsKey('subOrAddDays')">
<if test="conditionParamRef.containsKey('subOrAddDaysNotList') and conditionParamRef.subOrAddDaysNotList.size() > 0"> <if test="conditionParamRef.subOrAddDays != null ">
${_conditionType_} a.subOrAddDays not in ${_conditionType_} a.subOrAddDays = #{${_conditionParam_}.subOrAddDays}
<foreach collection="conditionParamRef.subOrAddDaysNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('subOrAddDaysStart') and conditionParamRef.subOrAddDaysStart != null">
${_conditionType_} a.subOrAddDays <![CDATA[ >= ]]> #{${_conditionParam_}.subOrAddDaysStart}
</if> </if>
<if test="conditionParamRef.containsKey('subOrAddDaysEnd') and conditionParamRef.subOrAddDaysEnd != null"> <if test="conditionParamRef.subOrAddDays == null">
${_conditionType_} a.subOrAddDays <![CDATA[ <= ]]> #{${_conditionParam_}.subOrAddDaysEnd} ${_conditionType_} a.subOrAddDays is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('subOrAddDaysList') and conditionParamRef.subOrAddDaysList.size() > 0">
${_conditionType_} a.subOrAddDays in
<foreach collection="conditionParamRef.subOrAddDaysList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('subOrAddDaysNotList') and conditionParamRef.subOrAddDaysNotList.size() > 0">
${_conditionType_} a.subOrAddDays not in
<foreach collection="conditionParamRef.subOrAddDaysNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('subOrAddDaysStart') and conditionParamRef.subOrAddDaysStart != null">
${_conditionType_} a.subOrAddDays <![CDATA[ >= ]]> #{${_conditionParam_}.subOrAddDaysStart}
</if>
<if test="conditionParamRef.containsKey('subOrAddDaysEnd') and conditionParamRef.subOrAddDaysEnd != null">
${_conditionType_} a.subOrAddDays <![CDATA[ <= ]]> #{${_conditionParam_}.subOrAddDaysEnd}
</if>
<if test="conditionParamRef.containsKey('content')"> <if test="conditionParamRef.containsKey('content')">
<if test="conditionParamRef.content != null and conditionParamRef.content != ''"> <if test="conditionParamRef.content != null and conditionParamRef.content != ''">
${_conditionType_} a.content like #{${_conditionParam_}.content} ${_conditionType_} a.content like #{${_conditionParam_}.content}
</if>
<if test="conditionParamRef.content == null">
${_conditionType_} a.content is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('contentList') and conditionParamRef.contentList.size() > 0"> <if test="conditionParamRef.content == null">
${_conditionType_} a.content in ${_conditionType_} a.content is null
<foreach collection="conditionParamRef.contentList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('contentNotList') and conditionParamRef.contentNotList.size() > 0">
${_conditionType_} a.content not in
<foreach collection="conditionParamRef.contentNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('contentList') and conditionParamRef.contentList.size() > 0">
${_conditionType_} a.content in
<foreach collection="conditionParamRef.contentList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('contentNotList') and conditionParamRef.contentNotList.size() > 0">
${_conditionType_} a.content not in
<foreach collection="conditionParamRef.contentNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('rule')"> <if test="conditionParamRef.containsKey('rule')">
<if test="conditionParamRef.rule != null and conditionParamRef.rule != ''"> <if test="conditionParamRef.rule != null and conditionParamRef.rule != ''">
${_conditionType_} a.rule like #{${_conditionParam_}.rule} ${_conditionType_} a.rule like #{${_conditionParam_}.rule}
</if>
<if test="conditionParamRef.rule == null">
${_conditionType_} a.rule is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('ruleList') and conditionParamRef.ruleList.size() > 0"> <if test="conditionParamRef.rule == null">
${_conditionType_} a.rule in ${_conditionType_} a.rule is null
<foreach collection="conditionParamRef.ruleList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('ruleNotList') and conditionParamRef.ruleNotList.size() > 0">
${_conditionType_} a.rule not in
<foreach collection="conditionParamRef.ruleNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('ruleList') and conditionParamRef.ruleList.size() > 0">
${_conditionType_} a.rule in
<foreach collection="conditionParamRef.ruleList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('ruleNotList') and conditionParamRef.ruleNotList.size() > 0">
${_conditionType_} a.rule not in
<foreach collection="conditionParamRef.ruleNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reason')"> <if test="conditionParamRef.containsKey('reason')">
<if test="conditionParamRef.reason != null and conditionParamRef.reason != ''"> <if test="conditionParamRef.reason != null and conditionParamRef.reason != ''">
${_conditionType_} a.reason like #{${_conditionParam_}.reason} ${_conditionType_} a.reason like #{${_conditionParam_}.reason}
</if>
<if test="conditionParamRef.reason == null">
${_conditionType_} a.reason is null
</if>
</if>
<if test="conditionParamRef.containsKey('reasonList') and conditionParamRef.reasonList.size() > 0">
${_conditionType_} a.reason in
<foreach collection="conditionParamRef.reasonList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('reasonNotList') and conditionParamRef.reasonNotList.size() > 0"> <if test="conditionParamRef.reason == null">
${_conditionType_} a.reason not in ${_conditionType_} a.reason is null
<foreach collection="conditionParamRef.reasonNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('reasonList') and conditionParamRef.reasonList.size() > 0">
${_conditionType_} a.reason in
<foreach collection="conditionParamRef.reasonList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reasonNotList') and conditionParamRef.reasonNotList.size() > 0">
${_conditionType_} a.reason not in
<foreach collection="conditionParamRef.reasonNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remark')"> <if test="conditionParamRef.containsKey('remark')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''"> <if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
${_conditionType_} a.remark like #{${_conditionParam_}.remark} ${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if>
<if test="conditionParamRef.remark == null">
${_conditionType_} a.remark is null
</if>
</if>
<if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0"> <if test="conditionParamRef.remark == null">
${_conditionType_} a.createUserId in ${_conditionType_} a.remark is null
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0"> </if>
${_conditionType_} a.createUserId not in <if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.remark in
#{item} <foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</if> </foreach>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null"> </if>
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart} <if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null"> <if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd} ${_conditionType_} a.createUserId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')"> <if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null "> <if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime} ${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0"> <if test="conditionParamRef.createTime == null">
${_conditionType_} a.updateUserId in ${_conditionType_} a.createTime is null
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0"> </if>
${_conditionType_} a.updateUserId not in <if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
#{item} </if>
</foreach> <if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
</if> ${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null"> </if>
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart} <if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null"> <if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd} ${_conditionType_} a.updateUserId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateTime')"> <if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null "> <if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime} ${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if> </if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''"> <if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.updateTime is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
</sql> </sql>
<sql id="_orderCols_"> <sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()"> <if test="orderColList != null and !orderColList.isEmpty()">
order by order by
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=","> <foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
${item.colName} ${item.sortKind} ${item.colName} ${item.sortKind}
</foreach> </foreach>
</trim> </trim>
</if> </if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()"> <if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by order by
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="orderCol.containsKey('id')"> <if test="orderCol.containsKey('id')">
a.id a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if> <if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('staffId')"> <if test="orderCol.containsKey('staffId')">
a.staffId a.staffId
<if test='orderCol.staffId != null and "DESC".equalsIgnoreCase(orderCol.staffId)'>DESC</if> <if test='orderCol.staffId != null and "DESC".equalsIgnoreCase(orderCol.staffId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('staffName')"> <if test="orderCol.containsKey('staffName')">
a.staffName a.staffName
<if test='orderCol.staffName != null and "DESC".equalsIgnoreCase(orderCol.staffName)'>DESC</if> <if test='orderCol.staffName != null and "DESC".equalsIgnoreCase(orderCol.staffName)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('type')"> <if test="orderCol.containsKey('type')">
a.type a.type
<if test='orderCol.type != null and "DESC".equalsIgnoreCase(orderCol.type)'>DESC</if> <if test='orderCol.type != null and "DESC".equalsIgnoreCase(orderCol.type)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('subAddType')"> <if test="orderCol.containsKey('subAddType')">
a.subAddType a.subAddType
<if test='orderCol.subAddType != null and "DESC".equalsIgnoreCase(orderCol.subAddType)'>DESC</if> <if test='orderCol.subAddType != null and "DESC".equalsIgnoreCase(orderCol.subAddType)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('validityPeriod')"> <if test="orderCol.containsKey('validityPeriod')">
a.validityPeriod a.validityPeriod
<if test='orderCol.validityPeriod != null and "DESC".equalsIgnoreCase(orderCol.validityPeriod)'>DESC</if> <if test='orderCol.validityPeriod != null and "DESC".equalsIgnoreCase(orderCol.validityPeriod)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('subOrAddDays')"> <if test="orderCol.containsKey('subOrAddDays')">
a.subOrAddDays a.subOrAddDays
<if test='orderCol.subOrAddDays != null and "DESC".equalsIgnoreCase(orderCol.subOrAddDays)'>DESC</if> <if test='orderCol.subOrAddDays != null and "DESC".equalsIgnoreCase(orderCol.subOrAddDays)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('content')"> <if test="orderCol.containsKey('content')">
a.content a.content
<if test='orderCol.content != null and "DESC".equalsIgnoreCase(orderCol.content)'>DESC</if> <if test='orderCol.content != null and "DESC".equalsIgnoreCase(orderCol.content)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('rule')"> <if test="orderCol.containsKey('rule')">
a.rule a.rule
<if test='orderCol.rule != null and "DESC".equalsIgnoreCase(orderCol.rule)'>DESC</if> <if test='orderCol.rule != null and "DESC".equalsIgnoreCase(orderCol.rule)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('reason')"> <if test="orderCol.containsKey('reason')">
a.reason a.reason
<if test='orderCol.reason != null and "DESC".equalsIgnoreCase(orderCol.reason)'>DESC</if> <if test='orderCol.reason != null and "DESC".equalsIgnoreCase(orderCol.reason)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('remark')"> <if test="orderCol.containsKey('remark')">
a.remark a.remark
<if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if> <if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createUserId')"> <if test="orderCol.containsKey('createUserId')">
a.createUserId a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if> <if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createTime')"> <if test="orderCol.containsKey('createTime')">
a.createTime a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if> <if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateUserId')"> <if test="orderCol.containsKey('updateUserId')">
a.updateUserId a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if> <if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateTime')"> <if test="orderCol.containsKey('updateTime')">
a.updateTime a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if> <if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
, ,
</if> </if>
</trim> </trim>
</if> </if>
</sql> </sql>
......
...@@ -283,6 +283,17 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRe ...@@ -283,6 +283,17 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRe
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '8', '例假', 1, 4, 0, 'leaveType', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '8', '例假', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '9', '哺乳假', 1, 4, 0, 'leaveType', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '9', '哺乳假', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '10', '丧假', 1, 4, 0, 'leaveType', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '10', '丧假', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '11', '回单位', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '12', '因公请假', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '13', '外出勘验', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '14', '值班补班', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '15', '体检', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '16', '隔离', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '17', '因公外出', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '18', '公休', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '19', '育儿假', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '20', '调回单位', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceLeaveRecord', 'leaveType', '21', '探亲假', 1, 4, 0, 'leaveType', NULL, NULL, NULL);
-- ---------------------------- -- ----------------------------
-- 员工假期余额信息菜单 SQL -- 员工假期余额信息菜单 SQL
-- ---------------------------- -- ----------------------------
...@@ -546,5 +557,16 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacatio ...@@ -546,5 +557,16 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacatio
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '8', '例假', 1, 4, 0, 'type', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '8', '例假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '9', '哺乳假', 1, 4, 0, 'type', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '9', '哺乳假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '10', '丧假', 1, 4, 0, 'type', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '10', '丧假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '11', '回单位', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '12', '因公请假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '13', '外出勘验', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '14', '值班补班', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '15', '体检', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '16', '隔离', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '17', '因公外出', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '18', '公休', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '19', '育儿假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '20', '调回单位', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '21', '探亲假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '增减类型', 'AttendanceVacationRecord', 'subAddType', '1', '增加', 1, 4, 0, 'subAddType', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '增减类型', 'AttendanceVacationRecord', 'subAddType', '1', '增加', 1, 4, 0, 'subAddType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '增减类型', 'AttendanceVacationRecord', 'subAddType', '2', '扣除', 1, 4, 0, 'subAddType', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '增减类型', 'AttendanceVacationRecord', 'subAddType', '2', '扣除', 1, 4, 0, 'subAddType', NULL, NULL, NULL);
\ No newline at end of file
...@@ -340,8 +340,7 @@ CREATE TABLE mortals_xhx_attendance_leave_record( ...@@ -340,8 +340,7 @@ CREATE TABLE mortals_xhx_attendance_leave_record(
`deptId` bigint(20) COMMENT '所属部门id', `deptId` bigint(20) COMMENT '所属部门id',
`deptName` varchar(256) COMMENT '所属部门', `deptName` varchar(256) COMMENT '所属部门',
`phoneNumber` varchar(20) COMMENT '电话号码', `phoneNumber` varchar(20) COMMENT '电话号码',
`leaveType` tinyint(2) COMMENT '请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)', `leaveType` tinyint(2) COMMENT '请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)', `startTime` datetime COMMENT '开始时间',
`startTime` datetime COMMENT '开始时间',
`endTime` datetime COMMENT '结束时间', `endTime` datetime COMMENT '结束时间',
`duration` int(9) COMMENT '时长,单位秒', `duration` int(9) COMMENT '时长,单位秒',
`reason` text COMMENT '请假事由', `reason` text COMMENT '请假事由',
...@@ -362,27 +361,38 @@ CREATE TABLE mortals_xhx_attendance_leave_record( ...@@ -362,27 +361,38 @@ CREATE TABLE mortals_xhx_attendance_leave_record(
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_attendance_vacation_balance`; DROP TABLE IF EXISTS `mortals_xhx_attendance_vacation_balance`;
CREATE TABLE mortals_xhx_attendance_vacation_balance( CREATE TABLE mortals_xhx_attendance_vacation_balance(
`id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长', `id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长',
`staffId` bigint(20) COMMENT '员工id', `staffId` bigint(20) COMMENT '员工id',
`staffName` varchar(255) COMMENT '员工姓名', `staffName` varchar(255) COMMENT '员工姓名',
`deptId` bigint(20) COMMENT '部门id', `deptId` bigint(20) COMMENT '部门id',
`deptName` varchar(255) COMMENT '部门名称', `deptName` varchar(255) COMMENT '部门名称',
`entryTime` datetime COMMENT '入职时间', `entryTime` datetime COMMENT '入职时间',
`personalLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '事假(天)', `personalLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '事假(天)',
`compensatedLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '调休(天)', `compensatedLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '调休(天)',
`sickLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '病假(天)', `sickLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '病假(天)',
`annualLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '年假(天)', `annualLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '年假(天)',
`maternityLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '产假(天)', `marriageLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '婚假(天)',
`paternityLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '陪产假(天)', `remark` varchar(255) COMMENT '备注',
`marriageLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '婚假(天)', `createUserId` bigint(20) COMMENT '创建用户',
`menstrualLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '例假(天)', `createTime` datetime COMMENT '创建时间',
`breastfeedingLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '哺乳假(天)', `updateUserId` bigint(20) COMMENT '更新用户',
`bereavementLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '丧假(天)', `updateTime` datetime COMMENT '更新时间',
`remark` varchar(255) COMMENT '备注', `maternityLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '产假(天)',
`createUserId` bigint(20) COMMENT '创建用户', `paternityLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '陪产假(天)',
`createTime` datetime COMMENT '创建时间', `menstrualLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '例假(天)',
`updateUserId` bigint(20) COMMENT '更新用户', `breastfeedingLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '哺乳假(天)',
`updateTime` datetime COMMENT '更新时间', `bereavementLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '丧假(天)',
`backToUnit` decimal(10,2) DEFAULT '0' COMMENT '回单位(天)',
`onDutyLeave` decimal(10,2) DEFAULT '0' COMMENT '因公请假(天)',
`outOfOffice` decimal(10,2) DEFAULT '0' COMMENT '外出勘验(天)',
`shiftCompensation` decimal(10,2) DEFAULT '0' COMMENT '值班补班(天)',
`physicalExamination` decimal(10,2) DEFAULT '0' COMMENT '体检(天)',
`quarantine` decimal(10,2) DEFAULT '0' COMMENT '隔离(天)',
`businessTrip` decimal(10,2) DEFAULT '0' COMMENT '因公外出(与窗口工作无关/天)',
`publicHoliday` decimal(10,2) DEFAULT '0' COMMENT '公休(天)',
`childRearingLeave` decimal(10,2) DEFAULT '0' COMMENT '育儿假(天)',
`transferBack` decimal(10,2) DEFAULT '0' COMMENT '调回单位(或离职/天)',
`homeLeave` decimal(10,2) DEFAULT '0' COMMENT '探亲假(天)',
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='员工假期余额信息'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='员工假期余额信息';
...@@ -394,7 +404,7 @@ CREATE TABLE mortals_xhx_attendance_vacation_record( ...@@ -394,7 +404,7 @@ CREATE TABLE mortals_xhx_attendance_vacation_record(
`id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长', `id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长',
`staffId` bigint(20) COMMENT '员工id', `staffId` bigint(20) COMMENT '员工id',
`staffName` varchar(255) COMMENT '员工姓名', `staffName` varchar(255) COMMENT '员工姓名',
`type` tinyint(2) COMMENT '请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)', `type` tinyint(2) COMMENT '请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假,11.回单位,12.因公请假,13.外出勘验,14.值班补班,15.体检,16.隔离,17.因公外出,18.公休,19.育儿假,20.调回单位,21.探亲假)',
`subAddType` tinyint(1) DEFAULT '1' COMMENT '增减类型(1.增加,2.扣除)', `subAddType` tinyint(1) DEFAULT '1' COMMENT '增减类型(1.增加,2.扣除)',
`validityPeriod` varchar(255) DEFAULT '0' COMMENT '有效期', `validityPeriod` varchar(255) DEFAULT '0' COMMENT '有效期',
`subOrAddDays` decimal(10,2) DEFAULT '0' COMMENT '增加或扣减天数(天)', `subOrAddDays` decimal(10,2) DEFAULT '0' COMMENT '增加或扣减天数(天)',
...@@ -435,47 +445,52 @@ PRIMARY KEY (`id`) ...@@ -435,47 +445,52 @@ PRIMARY KEY (`id`)
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_attendance_stat`; DROP TABLE IF EXISTS `mortals_xhx_attendance_stat`;
CREATE TABLE mortals_xhx_attendance_stat( CREATE TABLE mortals_xhx_attendance_stat(
`id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长', `id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长',
`windowCategory` varchar(50) NOT NULL COMMENT '窗口类别', `windowCategory` varchar(50) NOT NULL COMMENT '窗口类别',
`staffId` bigint(20) COMMENT '员工ID', `staffId` bigint(20) COMMENT '员工ID',
`staffName` varchar(64) NOT NULL COMMENT '员工姓名', `staffName` varchar(64) NOT NULL COMMENT '员工姓名',
`deptId` bigint(20) COMMENT '所属部门', `deptId` bigint(20) COMMENT '所属部门',
`deptName` varchar(128) COMMENT '所属部门名称', `deptName` varchar(128) COMMENT '所属部门名称',
`backToUnit` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '回单位(天)', `backToUnit` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '回单位(天)',
`onDutyLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '因公请假(天)', `onDutyLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '因公请假(天)',
`outOfOffice` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '外出勘验(天)', `outOfOffice` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '外出勘验(天)',
`shiftCompensation` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '值班补班(天)', `shiftCompensation` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '值班补班(天)',
`physicalExamination` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '体检(天)', `physicalExamination` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '体检(天)',
`quarantine` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '隔离(天)', `quarantine` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '隔离(天)',
`businessTrip` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '因公外出(与窗口工作无关/天)', `businessTrip` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '因公外出(与窗口工作无关/天)',
`publicHoliday` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '公休(天)', `publicHoliday` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '公休(天)',
`sickLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '病假(天)', `sickLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '病假(天)',
`funeralLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '丧假(天)', `funeralLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '丧假(天)',
`marriageLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '婚假(天)', `marriageLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '婚假(天)',
`childRearingLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '育儿假(天)', `childRearingLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '育儿假(天)',
`maternityLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '产假(陪护假/天)', `maternityLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '产假(天))',
`transferBack` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '调回单位(或离职/天)', `transferBack` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '调回单位(或离职/天)',
`homeLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '探亲假(天)', `homeLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '探亲假(天)',
`personalLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '事假(天)', `personalLeave` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '事假(天)',
`absenteeismDays` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '考勤汇总-旷工(天)', `absenteeismDays` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '考勤汇总-旷工(天)',
`otherDays` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '考勤汇总-其他(天)', `otherDays` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '考勤汇总-其他(天)',
`attendanceRate` double(4,2) NOT NULL DEFAULT '0.00' COMMENT '考勤汇总-出勤率(%)', `attendanceRate` double(4,2) NOT NULL DEFAULT '0.00' COMMENT '考勤汇总-出勤率(%)',
`nonCompliancePunch` double(4,1) NOT NULL DEFAULT '0' COMMENT '考勤汇总-未按规定打卡(含忘记打卡)', `nonCompliancePunch` double(4,1) NOT NULL DEFAULT '0' COMMENT '考勤汇总-未按规定打卡(含忘记打卡)',
`lateTimes` int(9) NOT NULL DEFAULT '0' COMMENT '考勤汇总-迟到(次)', `lateTimes` int(9) NOT NULL DEFAULT '0' COMMENT '考勤汇总-迟到(次)',
`surfingMobileTimes` int(9) NOT NULL DEFAULT '0' COMMENT '考勤汇总-上网耍手机(次)', `surfingMobileTimes` int(9) NOT NULL DEFAULT '0' COMMENT '考勤汇总-上网耍手机(次)',
`overtimeTimes` int(9) NOT NULL DEFAULT '0' COMMENT '考勤汇总-溜班(次)', `overtimeTimes` int(9) NOT NULL DEFAULT '0' COMMENT '考勤汇总-溜班(次)',
`vacancy` double(4,1) NOT NULL DEFAULT '0' COMMENT '考勤汇总-空岗', `vacancy` double(4,1) NOT NULL DEFAULT '0' COMMENT '考勤汇总-空岗',
`nonStandardDressTimes` int(9) NOT NULL DEFAULT '0' COMMENT '考勤汇总-未规范着装(次)', `nonStandardDressTimes` int(9) NOT NULL DEFAULT '0' COMMENT '考勤汇总-未规范着装(次)',
`unexcusedMeetingAbsence` double(4,1) NOT NULL DEFAULT '0' COMMENT '考勤汇总-无故缺席会议', `unexcusedMeetingAbsence` double(4,1) NOT NULL DEFAULT '0' COMMENT '考勤汇总-无故缺席会议',
`earlyLeaveMeeting` double(4,1) NOT NULL DEFAULT '0' COMMENT '考勤汇总-会议早退', `earlyLeaveMeeting` double(4,1) NOT NULL DEFAULT '0' COMMENT '考勤汇总-会议早退',
`year` int(9) NOT NULL COMMENT '年', `year` int(9) NOT NULL COMMENT '年',
`month` int(9) NOT NULL COMMENT '月', `month` int(9) NOT NULL COMMENT '月',
`day` int(9) NOT NULL COMMENT '日', `day` int(9) NOT NULL COMMENT '日',
`remark` varchar(255) COMMENT '备注', `remark` varchar(255) COMMENT '备注',
`createUserId` bigint(20) NOT NULL COMMENT '创建用户', `createUserId` bigint(20) NOT NULL COMMENT '创建用户',
`createTime` datetime NOT NULL COMMENT '创建时间', `createTime` datetime NOT NULL COMMENT '创建时间',
`updateUserId` bigint(20) COMMENT '更新用户', `updateUserId` bigint(20) COMMENT '更新用户',
`updateTime` datetime COMMENT '更新时间', `updateTime` datetime COMMENT '更新时间',
`breastfeedingLeaveDays` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '哺乳假(天)',
`menstrualLeaveDays` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '例假(天)',
`annualLeaveDays` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '年假(天)',
`compensatedLeaveDays` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '调休(天)',
`paternityLeaveDays` double(4,1) NOT NULL DEFAULT '0.0' COMMENT '陪产假(天)',
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='考勤汇总信息'; ) 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