Commit 6da8255c authored by 赵啸非's avatar 赵啸非

核查列表添加

parent 5ae2d7fd
......@@ -7,34 +7,34 @@ import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.perform.model.vo.PerformPerposeDeptVo;
import lombok.Data;
/**
* 部门考核目标详细信息实体对象
*
* @author zxfei
* @date 2023-05-16
*/
* 部门考核目标详细信息实体对象
*
* @author zxfei
* @date 2023-07-12
*/
@Data
public class PerformPerposeDeptEntity extends PerformPerposeDeptVo {
private static final long serialVersionUID = 1L;
/**
* 考核目标id
*/
* 考核目标id
*/
private Long purposeConfId;
/**
* 部门id
*/
* 部门id
*/
private Long deptId;
/**
* 部门名称
*/
* 部门名称
*/
private String deptName;
/**
* 备注
*/
* 备注
*/
private String remark;
@Override
public int hashCode() {
return this.getId().hashCode();
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
......@@ -42,7 +42,7 @@ public class PerformPerposeDeptEntity extends PerformPerposeDeptVo {
if (obj instanceof PerformPerposeDeptEntity) {
PerformPerposeDeptEntity tmp = (PerformPerposeDeptEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
return true;
}
}
return false;
......@@ -50,12 +50,12 @@ public class PerformPerposeDeptEntity extends PerformPerposeDeptVo {
public void initAttrValue(){
this.purposeConfId = -1L;
this.purposeConfId = -1L;
this.deptId = -1L;
this.deptId = -1L;
this.deptName = "";
this.deptName = "";
this.remark = "";
this.remark = "";
}
}
\ No newline at end of file
......@@ -3,26 +3,26 @@ package com.mortals.xhx.module.perform.model;
import java.util.List;
import com.mortals.xhx.module.perform.model.PerformPerposeDeptEntity;
/**
* 部门考核目标详细信息查询对象
*
* @author zxfei
* @date 2023-05-16
*/
* 部门考核目标详细信息查询对象
*
* @author zxfei
* @date 2023-07-12
*/
public class PerformPerposeDeptQuery extends PerformPerposeDeptEntity {
/** 开始 序号,主键,自增长 */
private Long IdStart;
private Long idStart;
/** 结束 序号,主键,自增长 */
private Long IdEnd;
private Long idEnd;
/** 增加 序号,主键,自增长 */
private Long IdIncrement;
private Long idIncrement;
/** 序号,主键,自增长列表 */
private List <Long> IdList;
private List <Long> idList;
/** 序号,主键,自增长排除列表 */
private List <Long> IdNotList;
private List <Long> idNotList;
/** 开始 考核目标id */
private Long purposeConfIdStart;
......@@ -115,876 +115,876 @@ public class PerformPerposeDeptQuery extends PerformPerposeDeptEntity {
public PerformPerposeDeptQuery(){}
/**
* 获取 开始 序号,主键,自增长
* @return IdStart
*/
* 获取 开始 序号,主键,自增长
* @return idStart
*/
public Long getIdStart(){
return this.IdStart;
return this.idStart;
}
/**
* 设置 开始 序号,主键,自增长
* @param IdStart
*/
public void setIdStart(Long IdStart){
this.IdStart = IdStart;
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public void setIdStart(Long idStart){
this.idStart = idStart;
}
/**
* 获取 结束 序号,主键,自增长
* @return $IdEnd
*/
* 获取 结束 序号,主键,自增长
* @return $idEnd
*/
public Long getIdEnd(){
return this.IdEnd;
return this.idEnd;
}
/**
* 设置 结束 序号,主键,自增长
* @param IdEnd
*/
public void setIdEnd(Long IdEnd){
this.IdEnd = IdEnd;
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public void setIdEnd(Long idEnd){
this.idEnd = idEnd;
}
/**
* 获取 增加 序号,主键,自增长
* @return IdIncrement
*/
* 获取 增加 序号,主键,自增长
* @return idIncrement
*/
public Long getIdIncrement(){
return this.IdIncrement;
return this.idIncrement;
}
/**
* 设置 增加 序号,主键,自增长
* @param IdIncrement
*/
public void setIdIncrement(Long IdIncrement){
this.IdIncrement = IdIncrement;
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement;
}
/**
* 获取 序号,主键,自增长
* @return IdList
*/
* 获取 序号,主键,自增长
* @return idList
*/
public List<Long> getIdList(){
return this.IdList;
return this.idList;
}
/**
* 设置 序号,主键,自增长
* @param IdList
*/
public void setIdList(List<Long> IdList){
this.IdList = IdList;
* 设置 序号,主键,自增长
* @param idList
*/
public void setIdList(List<Long> idList){
this.idList = idList;
}
/**
* 获取 序号,主键,自增长
* @return IdNotList
*/
* 获取 序号,主键,自增长
* @return idNotList
*/
public List<Long> getIdNotList(){
return this.IdNotList;
return this.idNotList;
}
/**
* 设置 序号,主键,自增长
* @param IdNotList
*/
public void setIdNotList(List<Long> IdNotList){
this.IdNotList = IdNotList;
* 设置 序号,主键,自增长
* @param idNotList
*/
public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList;
}
/**
* 获取 开始 考核目标id
* @return purposeConfIdStart
*/
* 获取 开始 考核目标id
* @return purposeConfIdStart
*/
public Long getPurposeConfIdStart(){
return this.purposeConfIdStart;
}
/**
* 设置 开始 考核目标id
* @param purposeConfIdStart
*/
* 设置 开始 考核目标id
* @param purposeConfIdStart
*/
public void setPurposeConfIdStart(Long purposeConfIdStart){
this.purposeConfIdStart = purposeConfIdStart;
}
/**
* 获取 结束 考核目标id
* @return $purposeConfIdEnd
*/
* 获取 结束 考核目标id
* @return $purposeConfIdEnd
*/
public Long getPurposeConfIdEnd(){
return this.purposeConfIdEnd;
}
/**
* 设置 结束 考核目标id
* @param purposeConfIdEnd
*/
* 设置 结束 考核目标id
* @param purposeConfIdEnd
*/
public void setPurposeConfIdEnd(Long purposeConfIdEnd){
this.purposeConfIdEnd = purposeConfIdEnd;
}
/**
* 获取 增加 考核目标id
* @return purposeConfIdIncrement
*/
* 获取 增加 考核目标id
* @return purposeConfIdIncrement
*/
public Long getPurposeConfIdIncrement(){
return this.purposeConfIdIncrement;
}
/**
* 设置 增加 考核目标id
* @param purposeConfIdIncrement
*/
* 设置 增加 考核目标id
* @param purposeConfIdIncrement
*/
public void setPurposeConfIdIncrement(Long purposeConfIdIncrement){
this.purposeConfIdIncrement = purposeConfIdIncrement;
}
/**
* 获取 考核目标id
* @return purposeConfIdList
*/
* 获取 考核目标id
* @return purposeConfIdList
*/
public List<Long> getPurposeConfIdList(){
return this.purposeConfIdList;
}
/**
* 设置 考核目标id
* @param purposeConfIdList
*/
* 设置 考核目标id
* @param purposeConfIdList
*/
public void setPurposeConfIdList(List<Long> purposeConfIdList){
this.purposeConfIdList = purposeConfIdList;
}
/**
* 获取 考核目标id
* @return purposeConfIdNotList
*/
* 获取 考核目标id
* @return purposeConfIdNotList
*/
public List<Long> getPurposeConfIdNotList(){
return this.purposeConfIdNotList;
}
/**
* 设置 考核目标id
* @param purposeConfIdNotList
*/
* 设置 考核目标id
* @param purposeConfIdNotList
*/
public void setPurposeConfIdNotList(List<Long> purposeConfIdNotList){
this.purposeConfIdNotList = purposeConfIdNotList;
}
/**
* 获取 开始 部门id
* @return deptIdStart
*/
* 获取 开始 部门id
* @return deptIdStart
*/
public Long getDeptIdStart(){
return this.deptIdStart;
}
/**
* 设置 开始 部门id
* @param deptIdStart
*/
* 设置 开始 部门id
* @param deptIdStart
*/
public void setDeptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart;
}
/**
* 获取 结束 部门id
* @return $deptIdEnd
*/
* 获取 结束 部门id
* @return $deptIdEnd
*/
public Long getDeptIdEnd(){
return this.deptIdEnd;
}
/**
* 设置 结束 部门id
* @param deptIdEnd
*/
* 设置 结束 部门id
* @param deptIdEnd
*/
public void setDeptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd;
}
/**
* 获取 增加 部门id
* @return deptIdIncrement
*/
* 获取 增加 部门id
* @return deptIdIncrement
*/
public Long getDeptIdIncrement(){
return this.deptIdIncrement;
}
/**
* 设置 增加 部门id
* @param deptIdIncrement
*/
* 设置 增加 部门id
* @param deptIdIncrement
*/
public void setDeptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
}
/**
* 获取 部门id
* @return deptIdList
*/
* 获取 部门id
* @return deptIdList
*/
public List<Long> getDeptIdList(){
return this.deptIdList;
}
/**
* 设置 部门id
* @param deptIdList
*/
* 设置 部门id
* @param deptIdList
*/
public void setDeptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList;
}
/**
* 获取 部门id
* @return deptIdNotList
*/
* 获取 部门id
* @return deptIdNotList
*/
public List<Long> getDeptIdNotList(){
return this.deptIdNotList;
}
/**
* 设置 部门id
* @param deptIdNotList
*/
* 设置 部门id
* @param deptIdNotList
*/
public void setDeptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList;
}
/**
* 获取 部门名称
* @return deptNameList
*/
* 获取 部门名称
* @return deptNameList
*/
public List<String> getDeptNameList(){
return this.deptNameList;
}
/**
* 设置 部门名称
* @param deptNameList
*/
* 设置 部门名称
* @param deptNameList
*/
public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
}
/**
* 获取 部门名称
* @return deptNameNotList
*/
* 获取 部门名称
* @return deptNameNotList
*/
public List<String> getDeptNameNotList(){
return this.deptNameNotList;
}
/**
* 设置 部门名称
* @param deptNameNotList
*/
* 设置 部门名称
* @param deptNameNotList
*/
public void setDeptNameNotList(List<String> deptNameNotList){
this.deptNameNotList = deptNameNotList;
}
/**
* 获取 备注
* @return remarkList
*/
* 获取 备注
* @return remarkList
*/
public List<String> getRemarkList(){
return this.remarkList;
}
/**
* 设置 备注
* @param remarkList
*/
* 设置 备注
* @param remarkList
*/
public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList;
}
/**
* 获取 备注
* @return remarkNotList
*/
* 获取 备注
* @return remarkNotList
*/
public List<String> getRemarkNotList(){
return this.remarkNotList;
}
/**
* 设置 备注
* @param remarkNotList
*/
* 设置 备注
* @param remarkNotList
*/
public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList;
}
/**
* 获取 开始 创建用户
* @return createUserIdStart
*/
* 获取 开始 创建用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
* 设置 开始 创建用户
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 创建用户
* @return createUserIdList
*/
* 获取 创建用户
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
* 设置 创建用户
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 创建用户
* @return createUserIdNotList
*/
* 获取 创建用户
* @return createUserIdNotList
*/
public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
* 设置 创建用户
* @param createUserIdNotList
*/
public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 更新用户
* @return updateUserIdStart
*/
* 获取 开始 更新用户
* @return updateUserIdStart
*/
public Long getUpdateUserIdStart(){
return this.updateUserIdStart;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
}
/**
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
}
/**
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
}
/**
* 获取 更新用户
* @return updateUserIdList
*/
* 获取 更新用户
* @return updateUserIdList
*/
public List<Long> getUpdateUserIdList(){
return this.updateUserIdList;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
* 设置 更新用户
* @param updateUserIdList
*/
public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
}
/**
* 获取 更新用户
* @return updateUserIdNotList
*/
* 获取 更新用户
* @return updateUserIdNotList
*/
public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
* 设置 更新用户
* @param updateUserIdNotList
*/
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
}
/**
* 获取 开始 更新时间
* @return updateTimeStart
*/
* 获取 开始 更新时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 更新时间
* @param updateTimeStart
*/
* 设置 开始 更新时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 更新时间
* @return updateTimeEnd
*/
* 获取 结束 更新时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 更新时间
* @param updateTimeEnd
*/
* 设置 结束 更新时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 设置 序号,主键,自增长
* @param Id
*/
public PerformPerposeDeptQuery Id(Long Id){
setId(Id);
return this;
* 设置 序号,主键,自增长
* @param id
*/
public PerformPerposeDeptQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param IdStart
*/
public PerformPerposeDeptQuery IdStart(Long IdStart){
this.IdStart = IdStart;
return this;
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public PerformPerposeDeptQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 序号,主键,自增长
* @param IdEnd
*/
public PerformPerposeDeptQuery IdEnd(Long IdEnd){
this.IdEnd = IdEnd;
return this;
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public PerformPerposeDeptQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 序号,主键,自增长
* @param IdIncrement
*/
public PerformPerposeDeptQuery IdIncrement(Long IdIncrement){
this.IdIncrement = IdIncrement;
return this;
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public PerformPerposeDeptQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 序号,主键,自增长
* @param IdList
*/
public PerformPerposeDeptQuery IdList(List<Long> IdList){
this.IdList = IdList;
return this;
}
* 设置 序号,主键,自增长
* @param idList
*/
public PerformPerposeDeptQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 序号,主键,自增长
* @param IdNotList
*/
public PerformPerposeDeptQuery IdNotList(List<Long> IdNotList){
this.IdNotList = IdNotList;
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public PerformPerposeDeptQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
}
/**
* 设置 考核目标id
* @param purposeConfId
*/
* 设置 考核目标id
* @param purposeConfId
*/
public PerformPerposeDeptQuery purposeConfId(Long purposeConfId){
setPurposeConfId(purposeConfId);
return this;
}
/**
* 设置 开始 考核目标id
* @param purposeConfIdStart
*/
setPurposeConfId(purposeConfId);
return this;
}
/**
* 设置 开始 考核目标id
* @param purposeConfIdStart
*/
public PerformPerposeDeptQuery purposeConfIdStart(Long purposeConfIdStart){
this.purposeConfIdStart = purposeConfIdStart;
return this;
this.purposeConfIdStart = purposeConfIdStart;
return this;
}
/**
* 设置 结束 考核目标id
* @param purposeConfIdEnd
*/
* 设置 结束 考核目标id
* @param purposeConfIdEnd
*/
public PerformPerposeDeptQuery purposeConfIdEnd(Long purposeConfIdEnd){
this.purposeConfIdEnd = purposeConfIdEnd;
return this;
this.purposeConfIdEnd = purposeConfIdEnd;
return this;
}
/**
* 设置 增加 考核目标id
* @param purposeConfIdIncrement
*/
* 设置 增加 考核目标id
* @param purposeConfIdIncrement
*/
public PerformPerposeDeptQuery purposeConfIdIncrement(Long purposeConfIdIncrement){
this.purposeConfIdIncrement = purposeConfIdIncrement;
return this;
this.purposeConfIdIncrement = purposeConfIdIncrement;
return this;
}
/**
* 设置 考核目标id
* @param purposeConfIdList
*/
* 设置 考核目标id
* @param purposeConfIdList
*/
public PerformPerposeDeptQuery purposeConfIdList(List<Long> purposeConfIdList){
this.purposeConfIdList = purposeConfIdList;
return this;
}
/**
* 设置 考核目标id
* @param purposeConfIdNotList
*/
public PerformPerposeDeptQuery purposeConfIdNotList(List<Long> purposeConfIdNotList){
return this;
}
/**
* 设置 考核目标id
* @param purposeConfIdNotList
*/
public PerformPerposeDeptQuery purposeConfIdNotList(List<Long> purposeConfIdNotList){
this.purposeConfIdNotList = purposeConfIdNotList;
return this;
}
}
/**
* 设置 部门id
* @param deptId
*/
* 设置 部门id
* @param deptId
*/
public PerformPerposeDeptQuery deptId(Long deptId){
setDeptId(deptId);
return this;
}
/**
* 设置 开始 部门id
* @param deptIdStart
*/
setDeptId(deptId);
return this;
}
/**
* 设置 开始 部门id
* @param deptIdStart
*/
public PerformPerposeDeptQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart;
return this;
this.deptIdStart = deptIdStart;
return this;
}
/**
* 设置 结束 部门id
* @param deptIdEnd
*/
* 设置 结束 部门id
* @param deptIdEnd
*/
public PerformPerposeDeptQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd;
return this;
this.deptIdEnd = deptIdEnd;
return this;
}
/**
* 设置 增加 部门id
* @param deptIdIncrement
*/
* 设置 增加 部门id
* @param deptIdIncrement
*/
public PerformPerposeDeptQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
return this;
this.deptIdIncrement = deptIdIncrement;
return this;
}
/**
* 设置 部门id
* @param deptIdList
*/
* 设置 部门id
* @param deptIdList
*/
public PerformPerposeDeptQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList;
return this;
}
/**
* 设置 部门id
* @param deptIdNotList
*/
public PerformPerposeDeptQuery deptIdNotList(List<Long> deptIdNotList){
return this;
}
/**
* 设置 部门id
* @param deptIdNotList
*/
public PerformPerposeDeptQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList;
return this;
}
}
/**
* 设置 部门名称
* @param deptName
*/
/**
* 设置 部门名称
* @param deptName
*/
public PerformPerposeDeptQuery deptName(String deptName){
setDeptName(deptName);
return this;
return this;
}
/**
* 设置 部门名称
* @param deptNameList
*/
* 设置 部门名称
* @param deptNameList
*/
public PerformPerposeDeptQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
return this;
return this;
}
/**
* 设置 备注
* @param remark
*/
/**
* 设置 备注
* @param remark
*/
public PerformPerposeDeptQuery remark(String remark){
setRemark(remark);
return this;
return this;
}
/**
* 设置 备注
* @param remarkList
*/
* 设置 备注
* @param remarkList
*/
public PerformPerposeDeptQuery remarkList(List<String> remarkList){
this.remarkList = remarkList;
return this;
return this;
}
/**
* 设置 创建用户
* @param createUserId
*/
* 设置 创建用户
* @param createUserId
*/
public PerformPerposeDeptQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public PerformPerposeDeptQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public PerformPerposeDeptQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public PerformPerposeDeptQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
* 设置 创建用户
* @param createUserIdList
*/
public PerformPerposeDeptQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public PerformPerposeDeptQuery createUserIdNotList(List<Long> createUserIdNotList){
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public PerformPerposeDeptQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
}
/**
* 设置 更新用户
* @param updateUserId
*/
* 设置 更新用户
* @param updateUserId
*/
public PerformPerposeDeptQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public PerformPerposeDeptQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
return this;
this.updateUserIdStart = updateUserIdStart;
return this;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public PerformPerposeDeptQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
return this;
this.updateUserIdEnd = updateUserIdEnd;
return this;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public PerformPerposeDeptQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
* 设置 更新用户
* @param updateUserIdList
*/
public PerformPerposeDeptQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public PerformPerposeDeptQuery updateUserIdNotList(List<Long> updateUserIdNotList){
return this;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public PerformPerposeDeptQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
return this;
}
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<PerformPerposeDeptQuery> 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)
* @param orConditionList
*/
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public void setOrConditionList(List<PerformPerposeDeptQuery> orConditionList){
this.orConditionList = orConditionList;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public List<PerformPerposeDeptQuery> getAndConditionList(){
return this.andConditionList;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public void setAndConditionList(List<PerformPerposeDeptQuery> andConditionList){
this.andConditionList = andConditionList;
}
......
......@@ -7,38 +7,38 @@ import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.perform.model.vo.PerformPerposeStaffVo;
import lombok.Data;
/**
* 员工考核目标详细信息实体对象
*
* @author zxfei
* @date 2023-05-16
*/
* 员工考核目标详细信息实体对象
*
* @author zxfei
* @date 2023-07-12
*/
@Data
public class PerformPerposeStaffEntity extends PerformPerposeStaffVo {
private static final long serialVersionUID = 1L;
/**
* 考核目标id
*/
* 考核目标id
*/
private Long purposeConfId;
/**
* 员工id
*/
* 员工id
*/
private Long staffId;
/**
* 员工名称
*/
* 员工名称
*/
private String staffName;
/**
* 工号
*/
* 工号
*/
private String number;
/**
* 备注
*/
* 备注
*/
private String remark;
@Override
public int hashCode() {
return this.getId().hashCode();
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
......@@ -46,7 +46,7 @@ public class PerformPerposeStaffEntity extends PerformPerposeStaffVo {
if (obj instanceof PerformPerposeStaffEntity) {
PerformPerposeStaffEntity tmp = (PerformPerposeStaffEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
return true;
}
}
return false;
......@@ -54,14 +54,14 @@ public class PerformPerposeStaffEntity extends PerformPerposeStaffVo {
public void initAttrValue(){
this.purposeConfId = -1L;
this.purposeConfId = -1L;
this.staffId = -1L;
this.staffId = -1L;
this.staffName = "";
this.staffName = "";
this.number = "";
this.number = "";
this.remark = "";
this.remark = "";
}
}
\ No newline at end of file
......@@ -3,26 +3,26 @@ package com.mortals.xhx.module.perform.model;
import java.util.List;
import com.mortals.xhx.module.perform.model.PerformPerposeStaffEntity;
/**
* 员工考核目标详细信息查询对象
*
* @author zxfei
* @date 2023-05-16
*/
* 员工考核目标详细信息查询对象
*
* @author zxfei
* @date 2023-07-12
*/
public class PerformPerposeStaffQuery extends PerformPerposeStaffEntity {
/** 开始 序号,主键,自增长 */
private Long IdStart;
private Long idStart;
/** 结束 序号,主键,自增长 */
private Long IdEnd;
private Long idEnd;
/** 增加 序号,主键,自增长 */
private Long IdIncrement;
private Long idIncrement;
/** 序号,主键,自增长列表 */
private List <Long> IdList;
private List <Long> idList;
/** 序号,主键,自增长排除列表 */
private List <Long> IdNotList;
private List <Long> idNotList;
/** 开始 考核目标id */
private Long purposeConfIdStart;
......@@ -120,927 +120,927 @@ public class PerformPerposeStaffQuery extends PerformPerposeStaffEntity {
public PerformPerposeStaffQuery(){}
/**
* 获取 开始 序号,主键,自增长
* @return IdStart
*/
* 获取 开始 序号,主键,自增长
* @return idStart
*/
public Long getIdStart(){
return this.IdStart;
return this.idStart;
}
/**
* 设置 开始 序号,主键,自增长
* @param IdStart
*/
public void setIdStart(Long IdStart){
this.IdStart = IdStart;
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public void setIdStart(Long idStart){
this.idStart = idStart;
}
/**
* 获取 结束 序号,主键,自增长
* @return $IdEnd
*/
* 获取 结束 序号,主键,自增长
* @return $idEnd
*/
public Long getIdEnd(){
return this.IdEnd;
return this.idEnd;
}
/**
* 设置 结束 序号,主键,自增长
* @param IdEnd
*/
public void setIdEnd(Long IdEnd){
this.IdEnd = IdEnd;
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public void setIdEnd(Long idEnd){
this.idEnd = idEnd;
}
/**
* 获取 增加 序号,主键,自增长
* @return IdIncrement
*/
* 获取 增加 序号,主键,自增长
* @return idIncrement
*/
public Long getIdIncrement(){
return this.IdIncrement;
return this.idIncrement;
}
/**
* 设置 增加 序号,主键,自增长
* @param IdIncrement
*/
public void setIdIncrement(Long IdIncrement){
this.IdIncrement = IdIncrement;
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement;
}
/**
* 获取 序号,主键,自增长
* @return IdList
*/
* 获取 序号,主键,自增长
* @return idList
*/
public List<Long> getIdList(){
return this.IdList;
return this.idList;
}
/**
* 设置 序号,主键,自增长
* @param IdList
*/
public void setIdList(List<Long> IdList){
this.IdList = IdList;
* 设置 序号,主键,自增长
* @param idList
*/
public void setIdList(List<Long> idList){
this.idList = idList;
}
/**
* 获取 序号,主键,自增长
* @return IdNotList
*/
* 获取 序号,主键,自增长
* @return idNotList
*/
public List<Long> getIdNotList(){
return this.IdNotList;
return this.idNotList;
}
/**
* 设置 序号,主键,自增长
* @param IdNotList
*/
public void setIdNotList(List<Long> IdNotList){
this.IdNotList = IdNotList;
* 设置 序号,主键,自增长
* @param idNotList
*/
public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList;
}
/**
* 获取 开始 考核目标id
* @return purposeConfIdStart
*/
* 获取 开始 考核目标id
* @return purposeConfIdStart
*/
public Long getPurposeConfIdStart(){
return this.purposeConfIdStart;
}
/**
* 设置 开始 考核目标id
* @param purposeConfIdStart
*/
* 设置 开始 考核目标id
* @param purposeConfIdStart
*/
public void setPurposeConfIdStart(Long purposeConfIdStart){
this.purposeConfIdStart = purposeConfIdStart;
}
/**
* 获取 结束 考核目标id
* @return $purposeConfIdEnd
*/
* 获取 结束 考核目标id
* @return $purposeConfIdEnd
*/
public Long getPurposeConfIdEnd(){
return this.purposeConfIdEnd;
}
/**
* 设置 结束 考核目标id
* @param purposeConfIdEnd
*/
* 设置 结束 考核目标id
* @param purposeConfIdEnd
*/
public void setPurposeConfIdEnd(Long purposeConfIdEnd){
this.purposeConfIdEnd = purposeConfIdEnd;
}
/**
* 获取 增加 考核目标id
* @return purposeConfIdIncrement
*/
* 获取 增加 考核目标id
* @return purposeConfIdIncrement
*/
public Long getPurposeConfIdIncrement(){
return this.purposeConfIdIncrement;
}
/**
* 设置 增加 考核目标id
* @param purposeConfIdIncrement
*/
* 设置 增加 考核目标id
* @param purposeConfIdIncrement
*/
public void setPurposeConfIdIncrement(Long purposeConfIdIncrement){
this.purposeConfIdIncrement = purposeConfIdIncrement;
}
/**
* 获取 考核目标id
* @return purposeConfIdList
*/
* 获取 考核目标id
* @return purposeConfIdList
*/
public List<Long> getPurposeConfIdList(){
return this.purposeConfIdList;
}
/**
* 设置 考核目标id
* @param purposeConfIdList
*/
* 设置 考核目标id
* @param purposeConfIdList
*/
public void setPurposeConfIdList(List<Long> purposeConfIdList){
this.purposeConfIdList = purposeConfIdList;
}
/**
* 获取 考核目标id
* @return purposeConfIdNotList
*/
* 获取 考核目标id
* @return purposeConfIdNotList
*/
public List<Long> getPurposeConfIdNotList(){
return this.purposeConfIdNotList;
}
/**
* 设置 考核目标id
* @param purposeConfIdNotList
*/
* 设置 考核目标id
* @param purposeConfIdNotList
*/
public void setPurposeConfIdNotList(List<Long> purposeConfIdNotList){
this.purposeConfIdNotList = purposeConfIdNotList;
}
/**
* 获取 开始 员工id
* @return staffIdStart
*/
* 获取 开始 员工id
* @return staffIdStart
*/
public Long getStaffIdStart(){
return this.staffIdStart;
}
/**
* 设置 开始 员工id
* @param staffIdStart
*/
* 设置 开始 员工id
* @param staffIdStart
*/
public void setStaffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart;
}
/**
* 获取 结束 员工id
* @return $staffIdEnd
*/
* 获取 结束 员工id
* @return $staffIdEnd
*/
public Long getStaffIdEnd(){
return this.staffIdEnd;
}
/**
* 设置 结束 员工id
* @param staffIdEnd
*/
* 设置 结束 员工id
* @param staffIdEnd
*/
public void setStaffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd;
}
/**
* 获取 增加 员工id
* @return staffIdIncrement
*/
* 获取 增加 员工id
* @return staffIdIncrement
*/
public Long getStaffIdIncrement(){
return this.staffIdIncrement;
}
/**
* 设置 增加 员工id
* @param staffIdIncrement
*/
* 设置 增加 员工id
* @param staffIdIncrement
*/
public void setStaffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement;
}
/**
* 获取 员工id
* @return staffIdList
*/
* 获取 员工id
* @return staffIdList
*/
public List<Long> getStaffIdList(){
return this.staffIdList;
}
/**
* 设置 员工id
* @param staffIdList
*/
* 设置 员工id
* @param staffIdList
*/
public void setStaffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList;
}
/**
* 获取 员工id
* @return staffIdNotList
*/
* 获取 员工id
* @return staffIdNotList
*/
public List<Long> getStaffIdNotList(){
return this.staffIdNotList;
}
/**
* 设置 员工id
* @param staffIdNotList
*/
* 设置 员工id
* @param staffIdNotList
*/
public void setStaffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList;
}
/**
* 获取 员工名称
* @return staffNameList
*/
* 获取 员工名称
* @return staffNameList
*/
public List<String> getStaffNameList(){
return this.staffNameList;
}
/**
* 设置 员工名称
* @param staffNameList
*/
* 设置 员工名称
* @param staffNameList
*/
public void setStaffNameList(List<String> staffNameList){
this.staffNameList = staffNameList;
}
/**
* 获取 员工名称
* @return staffNameNotList
*/
* 获取 员工名称
* @return staffNameNotList
*/
public List<String> getStaffNameNotList(){
return this.staffNameNotList;
}
/**
* 设置 员工名称
* @param staffNameNotList
*/
* 设置 员工名称
* @param staffNameNotList
*/
public void setStaffNameNotList(List<String> staffNameNotList){
this.staffNameNotList = staffNameNotList;
}
/**
* 获取 工号
* @return numberList
*/
* 获取 工号
* @return numberList
*/
public List<String> getNumberList(){
return this.numberList;
}
/**
* 设置 工号
* @param numberList
*/
* 设置 工号
* @param numberList
*/
public void setNumberList(List<String> numberList){
this.numberList = numberList;
}
/**
* 获取 工号
* @return numberNotList
*/
* 获取 工号
* @return numberNotList
*/
public List<String> getNumberNotList(){
return this.numberNotList;
}
/**
* 设置 工号
* @param numberNotList
*/
* 设置 工号
* @param numberNotList
*/
public void setNumberNotList(List<String> numberNotList){
this.numberNotList = numberNotList;
}
/**
* 获取 备注
* @return remarkList
*/
* 获取 备注
* @return remarkList
*/
public List<String> getRemarkList(){
return this.remarkList;
}
/**
* 设置 备注
* @param remarkList
*/
* 设置 备注
* @param remarkList
*/
public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList;
}
/**
* 获取 备注
* @return remarkNotList
*/
* 获取 备注
* @return remarkNotList
*/
public List<String> getRemarkNotList(){
return this.remarkNotList;
}
/**
* 设置 备注
* @param remarkNotList
*/
* 设置 备注
* @param remarkNotList
*/
public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList;
}
/**
* 获取 开始 创建用户
* @return createUserIdStart
*/
* 获取 开始 创建用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
* 设置 开始 创建用户
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 创建用户
* @return createUserIdList
*/
* 获取 创建用户
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
* 设置 创建用户
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 创建用户
* @return createUserIdNotList
*/
* 获取 创建用户
* @return createUserIdNotList
*/
public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
* 设置 创建用户
* @param createUserIdNotList
*/
public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 更新用户
* @return updateUserIdStart
*/
* 获取 开始 更新用户
* @return updateUserIdStart
*/
public Long getUpdateUserIdStart(){
return this.updateUserIdStart;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
}
/**
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
}
/**
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
}
/**
* 获取 更新用户
* @return updateUserIdList
*/
* 获取 更新用户
* @return updateUserIdList
*/
public List<Long> getUpdateUserIdList(){
return this.updateUserIdList;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
* 设置 更新用户
* @param updateUserIdList
*/
public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
}
/**
* 获取 更新用户
* @return updateUserIdNotList
*/
* 获取 更新用户
* @return updateUserIdNotList
*/
public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
* 设置 更新用户
* @param updateUserIdNotList
*/
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
}
/**
* 获取 开始 更新时间
* @return updateTimeStart
*/
* 获取 开始 更新时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 更新时间
* @param updateTimeStart
*/
* 设置 开始 更新时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 更新时间
* @return updateTimeEnd
*/
* 获取 结束 更新时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 更新时间
* @param updateTimeEnd
*/
* 设置 结束 更新时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 设置 序号,主键,自增长
* @param Id
*/
public PerformPerposeStaffQuery Id(Long Id){
setId(Id);
return this;
* 设置 序号,主键,自增长
* @param id
*/
public PerformPerposeStaffQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param IdStart
*/
public PerformPerposeStaffQuery IdStart(Long IdStart){
this.IdStart = IdStart;
return this;
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public PerformPerposeStaffQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 序号,主键,自增长
* @param IdEnd
*/
public PerformPerposeStaffQuery IdEnd(Long IdEnd){
this.IdEnd = IdEnd;
return this;
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public PerformPerposeStaffQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 序号,主键,自增长
* @param IdIncrement
*/
public PerformPerposeStaffQuery IdIncrement(Long IdIncrement){
this.IdIncrement = IdIncrement;
return this;
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public PerformPerposeStaffQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 序号,主键,自增长
* @param IdList
*/
public PerformPerposeStaffQuery IdList(List<Long> IdList){
this.IdList = IdList;
return this;
}
* 设置 序号,主键,自增长
* @param idList
*/
public PerformPerposeStaffQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 序号,主键,自增长
* @param IdNotList
*/
public PerformPerposeStaffQuery IdNotList(List<Long> IdNotList){
this.IdNotList = IdNotList;
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public PerformPerposeStaffQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
}
/**
* 设置 考核目标id
* @param purposeConfId
*/
* 设置 考核目标id
* @param purposeConfId
*/
public PerformPerposeStaffQuery purposeConfId(Long purposeConfId){
setPurposeConfId(purposeConfId);
return this;
}
/**
* 设置 开始 考核目标id
* @param purposeConfIdStart
*/
setPurposeConfId(purposeConfId);
return this;
}
/**
* 设置 开始 考核目标id
* @param purposeConfIdStart
*/
public PerformPerposeStaffQuery purposeConfIdStart(Long purposeConfIdStart){
this.purposeConfIdStart = purposeConfIdStart;
return this;
this.purposeConfIdStart = purposeConfIdStart;
return this;
}
/**
* 设置 结束 考核目标id
* @param purposeConfIdEnd
*/
* 设置 结束 考核目标id
* @param purposeConfIdEnd
*/
public PerformPerposeStaffQuery purposeConfIdEnd(Long purposeConfIdEnd){
this.purposeConfIdEnd = purposeConfIdEnd;
return this;
this.purposeConfIdEnd = purposeConfIdEnd;
return this;
}
/**
* 设置 增加 考核目标id
* @param purposeConfIdIncrement
*/
* 设置 增加 考核目标id
* @param purposeConfIdIncrement
*/
public PerformPerposeStaffQuery purposeConfIdIncrement(Long purposeConfIdIncrement){
this.purposeConfIdIncrement = purposeConfIdIncrement;
return this;
this.purposeConfIdIncrement = purposeConfIdIncrement;
return this;
}
/**
* 设置 考核目标id
* @param purposeConfIdList
*/
* 设置 考核目标id
* @param purposeConfIdList
*/
public PerformPerposeStaffQuery purposeConfIdList(List<Long> purposeConfIdList){
this.purposeConfIdList = purposeConfIdList;
return this;
}
/**
* 设置 考核目标id
* @param purposeConfIdNotList
*/
public PerformPerposeStaffQuery purposeConfIdNotList(List<Long> purposeConfIdNotList){
return this;
}
/**
* 设置 考核目标id
* @param purposeConfIdNotList
*/
public PerformPerposeStaffQuery purposeConfIdNotList(List<Long> purposeConfIdNotList){
this.purposeConfIdNotList = purposeConfIdNotList;
return this;
}
}
/**
* 设置 员工id
* @param staffId
*/
* 设置 员工id
* @param staffId
*/
public PerformPerposeStaffQuery staffId(Long staffId){
setStaffId(staffId);
return this;
}
/**
* 设置 开始 员工id
* @param staffIdStart
*/
setStaffId(staffId);
return this;
}
/**
* 设置 开始 员工id
* @param staffIdStart
*/
public PerformPerposeStaffQuery staffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart;
return this;
this.staffIdStart = staffIdStart;
return this;
}
/**
* 设置 结束 员工id
* @param staffIdEnd
*/
* 设置 结束 员工id
* @param staffIdEnd
*/
public PerformPerposeStaffQuery staffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd;
return this;
this.staffIdEnd = staffIdEnd;
return this;
}
/**
* 设置 增加 员工id
* @param staffIdIncrement
*/
* 设置 增加 员工id
* @param staffIdIncrement
*/
public PerformPerposeStaffQuery staffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement;
return this;
this.staffIdIncrement = staffIdIncrement;
return this;
}
/**
* 设置 员工id
* @param staffIdList
*/
* 设置 员工id
* @param staffIdList
*/
public PerformPerposeStaffQuery staffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList;
return this;
}
/**
* 设置 员工id
* @param staffIdNotList
*/
public PerformPerposeStaffQuery staffIdNotList(List<Long> staffIdNotList){
return this;
}
/**
* 设置 员工id
* @param staffIdNotList
*/
public PerformPerposeStaffQuery staffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList;
return this;
}
}
/**
* 设置 员工名称
* @param staffName
*/
/**
* 设置 员工名称
* @param staffName
*/
public PerformPerposeStaffQuery staffName(String staffName){
setStaffName(staffName);
return this;
return this;
}
/**
* 设置 员工名称
* @param staffNameList
*/
* 设置 员工名称
* @param staffNameList
*/
public PerformPerposeStaffQuery staffNameList(List<String> staffNameList){
this.staffNameList = staffNameList;
return this;
return this;
}
/**
* 设置 工号
* @param number
*/
/**
* 设置 工号
* @param number
*/
public PerformPerposeStaffQuery number(String number){
setNumber(number);
return this;
return this;
}
/**
* 设置 工号
* @param numberList
*/
* 设置 工号
* @param numberList
*/
public PerformPerposeStaffQuery numberList(List<String> numberList){
this.numberList = numberList;
return this;
return this;
}
/**
* 设置 备注
* @param remark
*/
/**
* 设置 备注
* @param remark
*/
public PerformPerposeStaffQuery remark(String remark){
setRemark(remark);
return this;
return this;
}
/**
* 设置 备注
* @param remarkList
*/
* 设置 备注
* @param remarkList
*/
public PerformPerposeStaffQuery remarkList(List<String> remarkList){
this.remarkList = remarkList;
return this;
return this;
}
/**
* 设置 创建用户
* @param createUserId
*/
* 设置 创建用户
* @param createUserId
*/
public PerformPerposeStaffQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public PerformPerposeStaffQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public PerformPerposeStaffQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public PerformPerposeStaffQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
* 设置 创建用户
* @param createUserIdList
*/
public PerformPerposeStaffQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public PerformPerposeStaffQuery createUserIdNotList(List<Long> createUserIdNotList){
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public PerformPerposeStaffQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
}
/**
* 设置 更新用户
* @param updateUserId
*/
* 设置 更新用户
* @param updateUserId
*/
public PerformPerposeStaffQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public PerformPerposeStaffQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
return this;
this.updateUserIdStart = updateUserIdStart;
return this;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public PerformPerposeStaffQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
return this;
this.updateUserIdEnd = updateUserIdEnd;
return this;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public PerformPerposeStaffQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
* 设置 更新用户
* @param updateUserIdList
*/
public PerformPerposeStaffQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public PerformPerposeStaffQuery updateUserIdNotList(List<Long> updateUserIdNotList){
return this;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public PerformPerposeStaffQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
return this;
}
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<PerformPerposeStaffQuery> 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)
* @param orConditionList
*/
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public void setOrConditionList(List<PerformPerposeStaffQuery> orConditionList){
this.orConditionList = orConditionList;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public List<PerformPerposeStaffQuery> getAndConditionList(){
return this.andConditionList;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public void setAndConditionList(List<PerformPerposeStaffQuery> andConditionList){
this.andConditionList = andConditionList;
}
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.perform.dao.ibatis.PerformPerposeDeptStatDaoImpl">
<mapper namespace="com.mortals.xhx.module.perform.dao.ibatis.PerformPerposeDeptDaoImpl">
<!-- 字段和属性映射 -->
<resultMap type="PerformPerposeDeptStatEntity" id="PerformPerposeDeptStatEntity-Map">
<resultMap type="PerformPerposeDeptEntity" id="PerformPerposeDeptEntity-Map">
<id property="id" column="id" />
<result property="purposeConfId" column="purposeConfId" />
<result property="deptId" column="deptId" />
<result property="deptName" column="deptName" />
<result property="absentRate" column="absentRate" />
<result property="absenceRate" column="absenceRate" />
<result property="lateRate" column="lateRate" />
<result property="earlyRate" column="earlyRate" />
<result property="leaveRate" column="leaveRate" />
<result property="turnoverRate" column="turnoverRate" />
<result property="sleepRate" column="sleepRate" />
<result property="playPhoneRate" column="playPhoneRate" />
<result property="expireWorkRate" column="expireWorkRate" />
<result property="negaReviewRate" column="negaReviewRate" />
<result property="remark" column="remark" />
<result property="year" column="year" />
<result property="month" column="month" />
<result property="day" column="day" />
<result property="createTime" column="createTime" />
<result property="createUserId" column="createUserId" />
<result property="updateTime" column="updateTime" />
<result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" />
</resultMap>
......@@ -36,92 +24,62 @@
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('purposeConfId') or colPickMode == 1 and data.containsKey('purposeConfId')))">
a.purposeConfId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))">
a.deptId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))">
a.deptName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('absentRate') or colPickMode == 1 and data.containsKey('absentRate')))">
a.absentRate,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('absenceRate') or colPickMode == 1 and data.containsKey('absenceRate')))">
a.absenceRate,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('lateRate') or colPickMode == 1 and data.containsKey('lateRate')))">
a.lateRate,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('earlyRate') or colPickMode == 1 and data.containsKey('earlyRate')))">
a.earlyRate,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('leaveRate') or colPickMode == 1 and data.containsKey('leaveRate')))">
a.leaveRate,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('turnoverRate') or colPickMode == 1 and data.containsKey('turnoverRate')))">
a.turnoverRate,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('sleepRate') or colPickMode == 1 and data.containsKey('sleepRate')))">
a.sleepRate,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('playPhoneRate') or colPickMode == 1 and data.containsKey('playPhoneRate')))">
a.playPhoneRate,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('expireWorkRate') or colPickMode == 1 and data.containsKey('expireWorkRate')))">
a.expireWorkRate,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('negaReviewRate') or colPickMode == 1 and data.containsKey('negaReviewRate')))">
a.negaReviewRate,
</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('year') or colPickMode == 1 and data.containsKey('year')))">
a.year,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('month') or colPickMode == 1 and data.containsKey('month')))">
a.month,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('day') or colPickMode == 1 and data.containsKey('day')))">
a.day,
<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('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
<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('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId,
</if>
</trim>
</sql>
<!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="PerformPerposeDeptStatEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_perform_perpose_dept_stat
(deptId,deptName,absentRate,absenceRate,lateRate,earlyRate,leaveRate,turnoverRate,sleepRate,playPhoneRate,expireWorkRate,negaReviewRate,remark,year,month,day,createTime,createUserId,updateTime,updateUserId)
<insert id="insert" parameterType="PerformPerposeDeptEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_perform_perpose_dept
(purposeConfId,deptId,deptName,remark,createUserId,createTime,updateUserId,updateTime)
VALUES
(#{deptId},#{deptName},#{absentRate},#{absenceRate},#{lateRate},#{earlyRate},#{leaveRate},#{turnoverRate},#{sleepRate},#{playPhoneRate},#{expireWorkRate},#{negaReviewRate},#{remark},#{year},#{month},#{day},#{createTime},#{createUserId},#{updateTime},#{updateUserId})
(#{purposeConfId},#{deptId},#{deptName},#{remark},#{createUserId},#{createTime},#{updateUserId},#{updateTime})
</insert>
<!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_perform_perpose_dept_stat
(deptId,deptName,absentRate,absenceRate,lateRate,earlyRate,leaveRate,turnoverRate,sleepRate,playPhoneRate,expireWorkRate,negaReviewRate,remark,year,month,day,createTime,createUserId,updateTime,updateUserId)
insert into mortals_xhx_perform_perpose_dept
(purposeConfId,deptId,deptName,remark,createUserId,createTime,updateUserId,updateTime)
VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.deptId},#{item.deptName},#{item.absentRate},#{item.absenceRate},#{item.lateRate},#{item.earlyRate},#{item.leaveRate},#{item.turnoverRate},#{item.sleepRate},#{item.playPhoneRate},#{item.expireWorkRate},#{item.negaReviewRate},#{item.remark},#{item.year},#{item.month},#{item.day},#{item.createTime},#{item.createUserId},#{item.updateTime},#{item.updateUserId})
(#{item.purposeConfId},#{item.deptId},#{item.deptName},#{item.remark},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime})
</foreach>
</insert>
<!-- 根据ParamDto更新 -->
<update id="update" parameterType="paramDto">
update mortals_xhx_perform_perpose_dept_stat as a
update mortals_xhx_perform_perpose_dept as a
set
<trim suffixOverrides="," suffix="">
<if test="(colPickMode==0 and data.containsKey('purposeConfId')) or (colPickMode==1 and !data.containsKey('purposeConfId'))">
a.purposeConfId=#{data.purposeConfId},
</if>
<if test="(colPickMode==0 and data.containsKey('purposeConfIdIncrement')) or (colPickMode==1 and !data.containsKey('purposeConfIdIncrement'))">
a.purposeConfId=ifnull(a.purposeConfId,0) + #{data.purposeConfIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('deptId')) or (colPickMode==1 and !data.containsKey('deptId'))">
a.deptId=#{data.deptId},
</if>
......@@ -131,98 +89,17 @@
<if test="(colPickMode==0 and data.containsKey('deptName')) or (colPickMode==1 and !data.containsKey('deptName'))">
a.deptName=#{data.deptName},
</if>
<if test="(colPickMode==0 and data.containsKey('absentRate')) or (colPickMode==1 and !data.containsKey('absentRate'))">
a.absentRate=#{data.absentRate},
</if>
<if test="(colPickMode==0 and data.containsKey('absentRateIncrement')) or (colPickMode==1 and !data.containsKey('absentRateIncrement'))">
a.absentRate=ifnull(a.absentRate,0) + #{data.absentRateIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('absenceRate')) or (colPickMode==1 and !data.containsKey('absenceRate'))">
a.absenceRate=#{data.absenceRate},
</if>
<if test="(colPickMode==0 and data.containsKey('absenceRateIncrement')) or (colPickMode==1 and !data.containsKey('absenceRateIncrement'))">
a.absenceRate=ifnull(a.absenceRate,0) + #{data.absenceRateIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('lateRate')) or (colPickMode==1 and !data.containsKey('lateRate'))">
a.lateRate=#{data.lateRate},
</if>
<if test="(colPickMode==0 and data.containsKey('lateRateIncrement')) or (colPickMode==1 and !data.containsKey('lateRateIncrement'))">
a.lateRate=ifnull(a.lateRate,0) + #{data.lateRateIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('earlyRate')) or (colPickMode==1 and !data.containsKey('earlyRate'))">
a.earlyRate=#{data.earlyRate},
</if>
<if test="(colPickMode==0 and data.containsKey('earlyRateIncrement')) or (colPickMode==1 and !data.containsKey('earlyRateIncrement'))">
a.earlyRate=ifnull(a.earlyRate,0) + #{data.earlyRateIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('leaveRate')) or (colPickMode==1 and !data.containsKey('leaveRate'))">
a.leaveRate=#{data.leaveRate},
</if>
<if test="(colPickMode==0 and data.containsKey('leaveRateIncrement')) or (colPickMode==1 and !data.containsKey('leaveRateIncrement'))">
a.leaveRate=ifnull(a.leaveRate,0) + #{data.leaveRateIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('turnoverRate')) or (colPickMode==1 and !data.containsKey('turnoverRate'))">
a.turnoverRate=#{data.turnoverRate},
</if>
<if test="(colPickMode==0 and data.containsKey('turnoverRateIncrement')) or (colPickMode==1 and !data.containsKey('turnoverRateIncrement'))">
a.turnoverRate=ifnull(a.turnoverRate,0) + #{data.turnoverRateIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('sleepRate')) or (colPickMode==1 and !data.containsKey('sleepRate'))">
a.sleepRate=#{data.sleepRate},
</if>
<if test="(colPickMode==0 and data.containsKey('sleepRateIncrement')) or (colPickMode==1 and !data.containsKey('sleepRateIncrement'))">
a.sleepRate=ifnull(a.sleepRate,0) + #{data.sleepRateIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('playPhoneRate')) or (colPickMode==1 and !data.containsKey('playPhoneRate'))">
a.playPhoneRate=#{data.playPhoneRate},
</if>
<if test="(colPickMode==0 and data.containsKey('playPhoneRateIncrement')) or (colPickMode==1 and !data.containsKey('playPhoneRateIncrement'))">
a.playPhoneRate=ifnull(a.playPhoneRate,0) + #{data.playPhoneRateIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('expireWorkRate')) or (colPickMode==1 and !data.containsKey('expireWorkRate'))">
a.expireWorkRate=#{data.expireWorkRate},
</if>
<if test="(colPickMode==0 and data.containsKey('expireWorkRateIncrement')) or (colPickMode==1 and !data.containsKey('expireWorkRateIncrement'))">
a.expireWorkRate=ifnull(a.expireWorkRate,0) + #{data.expireWorkRateIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('negaReviewRate')) or (colPickMode==1 and !data.containsKey('negaReviewRate'))">
a.negaReviewRate=#{data.negaReviewRate},
</if>
<if test="(colPickMode==0 and data.containsKey('negaReviewRateIncrement')) or (colPickMode==1 and !data.containsKey('negaReviewRateIncrement'))">
a.negaReviewRate=ifnull(a.negaReviewRate,0) + #{data.negaReviewRateIncrement},
</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('year')) or (colPickMode==1 and !data.containsKey('year'))">
a.year=#{data.year},
</if>
<if test="(colPickMode==0 and data.containsKey('yearIncrement')) or (colPickMode==1 and !data.containsKey('yearIncrement'))">
a.year=ifnull(a.year,0) + #{data.yearIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('month')) or (colPickMode==1 and !data.containsKey('month'))">
a.month=#{data.month},
</if>
<if test="(colPickMode==0 and data.containsKey('monthIncrement')) or (colPickMode==1 and !data.containsKey('monthIncrement'))">
a.month=ifnull(a.month,0) + #{data.monthIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('day')) or (colPickMode==1 and !data.containsKey('day'))">
a.day=#{data.day},
</if>
<if test="(colPickMode==0 and data.containsKey('dayIncrement')) or (colPickMode==1 and !data.containsKey('dayIncrement'))">
a.day=ifnull(a.day,0) + #{data.dayIncrement},
</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('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('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime},
<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},
......@@ -230,6 +107,9 @@
<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>
</trim>
<trim suffixOverrides="where" suffix="">
where
......@@ -240,8 +120,20 @@
</update>
<!-- 批量更新 -->
<update id="updateBatch" parameterType="paramDto">
update mortals_xhx_perform_perpose_dept_stat as a
update mortals_xhx_perform_perpose_dept as a
<trim prefix="set" suffixOverrides=",">
<trim prefix="purposeConfId=(case" suffix="ELSE purposeConfId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('purposeConfId')) or (colPickMode==1 and !item.containsKey('purposeConfId'))">
when a.id=#{item.id} then #{item.purposeConfId}
</when>
<when test="(colPickMode==0 and item.containsKey('purposeConfIdIncrement')) or (colPickMode==1 and !item.containsKey('purposeConfIdIncrement'))">
when a.id=#{item.id} then ifnull(a.purposeConfId,0) + #{item.purposeConfIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="deptId=(case" suffix="ELSE deptId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
......@@ -261,126 +153,6 @@
</if>
</foreach>
</trim>
<trim prefix="absentRate=(case" suffix="ELSE absentRate end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('absentRate')) or (colPickMode==1 and !item.containsKey('absentRate'))">
when a.id=#{item.id} then #{item.absentRate}
</when>
<when test="(colPickMode==0 and item.containsKey('absentRateIncrement')) or (colPickMode==1 and !item.containsKey('absentRateIncrement'))">
when a.id=#{item.id} then ifnull(a.absentRate,0) + #{item.absentRateIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="absenceRate=(case" suffix="ELSE absenceRate end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('absenceRate')) or (colPickMode==1 and !item.containsKey('absenceRate'))">
when a.id=#{item.id} then #{item.absenceRate}
</when>
<when test="(colPickMode==0 and item.containsKey('absenceRateIncrement')) or (colPickMode==1 and !item.containsKey('absenceRateIncrement'))">
when a.id=#{item.id} then ifnull(a.absenceRate,0) + #{item.absenceRateIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="lateRate=(case" suffix="ELSE lateRate end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('lateRate')) or (colPickMode==1 and !item.containsKey('lateRate'))">
when a.id=#{item.id} then #{item.lateRate}
</when>
<when test="(colPickMode==0 and item.containsKey('lateRateIncrement')) or (colPickMode==1 and !item.containsKey('lateRateIncrement'))">
when a.id=#{item.id} then ifnull(a.lateRate,0) + #{item.lateRateIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="earlyRate=(case" suffix="ELSE earlyRate end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('earlyRate')) or (colPickMode==1 and !item.containsKey('earlyRate'))">
when a.id=#{item.id} then #{item.earlyRate}
</when>
<when test="(colPickMode==0 and item.containsKey('earlyRateIncrement')) or (colPickMode==1 and !item.containsKey('earlyRateIncrement'))">
when a.id=#{item.id} then ifnull(a.earlyRate,0) + #{item.earlyRateIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="leaveRate=(case" suffix="ELSE leaveRate end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('leaveRate')) or (colPickMode==1 and !item.containsKey('leaveRate'))">
when a.id=#{item.id} then #{item.leaveRate}
</when>
<when test="(colPickMode==0 and item.containsKey('leaveRateIncrement')) or (colPickMode==1 and !item.containsKey('leaveRateIncrement'))">
when a.id=#{item.id} then ifnull(a.leaveRate,0) + #{item.leaveRateIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="turnoverRate=(case" suffix="ELSE turnoverRate end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('turnoverRate')) or (colPickMode==1 and !item.containsKey('turnoverRate'))">
when a.id=#{item.id} then #{item.turnoverRate}
</when>
<when test="(colPickMode==0 and item.containsKey('turnoverRateIncrement')) or (colPickMode==1 and !item.containsKey('turnoverRateIncrement'))">
when a.id=#{item.id} then ifnull(a.turnoverRate,0) + #{item.turnoverRateIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="sleepRate=(case" suffix="ELSE sleepRate end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('sleepRate')) or (colPickMode==1 and !item.containsKey('sleepRate'))">
when a.id=#{item.id} then #{item.sleepRate}
</when>
<when test="(colPickMode==0 and item.containsKey('sleepRateIncrement')) or (colPickMode==1 and !item.containsKey('sleepRateIncrement'))">
when a.id=#{item.id} then ifnull(a.sleepRate,0) + #{item.sleepRateIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="playPhoneRate=(case" suffix="ELSE playPhoneRate end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('playPhoneRate')) or (colPickMode==1 and !item.containsKey('playPhoneRate'))">
when a.id=#{item.id} then #{item.playPhoneRate}
</when>
<when test="(colPickMode==0 and item.containsKey('playPhoneRateIncrement')) or (colPickMode==1 and !item.containsKey('playPhoneRateIncrement'))">
when a.id=#{item.id} then ifnull(a.playPhoneRate,0) + #{item.playPhoneRateIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="expireWorkRate=(case" suffix="ELSE expireWorkRate end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('expireWorkRate')) or (colPickMode==1 and !item.containsKey('expireWorkRate'))">
when a.id=#{item.id} then #{item.expireWorkRate}
</when>
<when test="(colPickMode==0 and item.containsKey('expireWorkRateIncrement')) or (colPickMode==1 and !item.containsKey('expireWorkRateIncrement'))">
when a.id=#{item.id} then ifnull(a.expireWorkRate,0) + #{item.expireWorkRateIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="negaReviewRate=(case" suffix="ELSE negaReviewRate end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('negaReviewRate')) or (colPickMode==1 and !item.containsKey('negaReviewRate'))">
when a.id=#{item.id} then #{item.negaReviewRate}
</when>
<when test="(colPickMode==0 and item.containsKey('negaReviewRateIncrement')) or (colPickMode==1 and !item.containsKey('negaReviewRateIncrement'))">
when a.id=#{item.id} then ifnull(a.negaReviewRate,0) + #{item.negaReviewRateIncrement}
</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'))">
......@@ -388,49 +160,6 @@
</if>
</foreach>
</trim>
<trim prefix="year=(case" suffix="ELSE year end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('year')) or (colPickMode==1 and !item.containsKey('year'))">
when a.id=#{item.id} then #{item.year}
</when>
<when test="(colPickMode==0 and item.containsKey('yearIncrement')) or (colPickMode==1 and !item.containsKey('yearIncrement'))">
when a.id=#{item.id} then ifnull(a.year,0) + #{item.yearIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="month=(case" suffix="ELSE month end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('month')) or (colPickMode==1 and !item.containsKey('month'))">
when a.id=#{item.id} then #{item.month}
</when>
<when test="(colPickMode==0 and item.containsKey('monthIncrement')) or (colPickMode==1 and !item.containsKey('monthIncrement'))">
when a.id=#{item.id} then ifnull(a.month,0) + #{item.monthIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="day=(case" suffix="ELSE day end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('day')) or (colPickMode==1 and !item.containsKey('day'))">
when a.id=#{item.id} then #{item.day}
</when>
<when test="(colPickMode==0 and item.containsKey('dayIncrement')) or (colPickMode==1 and !item.containsKey('dayIncrement'))">
when a.id=#{item.id} then ifnull(a.day,0) + #{item.dayIncrement}
</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="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
......@@ -443,10 +172,10 @@
</choose>
</foreach>
</trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<trim prefix="createTime=(case" suffix="ELSE createTime 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 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>
......@@ -462,6 +191,13 @@
</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>
where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
......@@ -469,25 +205,25 @@
</foreach>
</update>
<!-- 根据主健查询 -->
<select id="getByKey" parameterType="paramDto" resultMap="PerformPerposeDeptStatEntity-Map">
<select id="getByKey" parameterType="paramDto" resultMap="PerformPerposeDeptEntity-Map">
select <include refid="_columns"/>
from mortals_xhx_perform_perpose_dept_stat as a
from mortals_xhx_perform_perpose_dept as a
where a.id=#{condition.id}
</select>
<!-- 根据主健删除 -->
<delete id="deleteByKey" parameterType="paramDto">
delete a.* from mortals_xhx_perform_perpose_dept_stat as a where a.id=#{condition.id}
delete a.* from mortals_xhx_perform_perpose_dept as a where a.id=#{condition.id}
</delete>
<!-- 根据主健删除一批,针对单一主健有效 -->
<delete id="deleteByKeys">
delete from mortals_xhx_perform_perpose_dept_stat where id in
delete from mortals_xhx_perform_perpose_dept where id in
<foreach collection="array" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据主健列表删除一批,针对单一主健有效 -->
<delete id="deleteByKeyList">
delete from mortals_xhx_perform_perpose_dept_stat where id in
delete from mortals_xhx_perform_perpose_dept where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
......@@ -495,14 +231,14 @@
<!-- 根据对象列表删除一批,针对单一主健有效 -->
<delete id="deleteByEntityList">
delete from mortals_xhx_perform_perpose_dept_stat where id in
delete from mortals_xhx_perform_perpose_dept where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item.id}
</foreach>
</delete>
<!-- 根据paramDto删除一批 -->
<delete id="deleteByMap" parameterType="paramDto">
delete a.* from mortals_xhx_perform_perpose_dept_stat as a
delete a.* from mortals_xhx_perform_perpose_dept as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
......@@ -511,9 +247,9 @@
</trim>
</delete>
<!-- 获取列表 -->
<select id="getList" parameterType="paramDto" resultMap="PerformPerposeDeptStatEntity-Map">
<select id="getList" parameterType="paramDto" resultMap="PerformPerposeDeptEntity-Map">
select <include refid="_columns"/>
from mortals_xhx_perform_perpose_dept_stat as a
from mortals_xhx_perform_perpose_dept as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
......@@ -528,7 +264,7 @@
<!-- 获取 -->
<select id="getListCount" parameterType="paramDto" resultType="int">
select count(1)
from mortals_xhx_perform_perpose_dept_stat as a
from mortals_xhx_perform_perpose_dept as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
......@@ -605,6 +341,33 @@
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('purposeConfId')">
<if test="conditionParamRef.purposeConfId != null ">
${_conditionType_} a.purposeConfId = #{${_conditionParam_}.purposeConfId}
</if>
<if test="conditionParamRef.purposeConfId == null">
${_conditionType_} a.purposeConfId is null
</if>
</if>
<if test="conditionParamRef.containsKey('purposeConfIdList') and conditionParamRef.purposeConfIdList.size() > 0">
${_conditionType_} a.purposeConfId in
<foreach collection="conditionParamRef.purposeConfIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('purposeConfIdNotList') and conditionParamRef.purposeConfIdNotList.size() > 0">
${_conditionType_} a.purposeConfId not in
<foreach collection="conditionParamRef.purposeConfIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('purposeConfIdStart') and conditionParamRef.purposeConfIdStart != null">
${_conditionType_} a.purposeConfId <![CDATA[ >= ]]> #{${_conditionParam_}.purposeConfIdStart}
</if>
<if test="conditionParamRef.containsKey('purposeConfIdEnd') and conditionParamRef.purposeConfIdEnd != null">
${_conditionType_} a.purposeConfId <![CDATA[ <= ]]> #{${_conditionParam_}.purposeConfIdEnd}
</if>
<if test="conditionParamRef.containsKey('deptId')">
<if test="conditionParamRef.deptId != null ">
${_conditionType_} a.deptId = #{${_conditionParam_}.deptId}
......@@ -653,276 +416,6 @@
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('absentRate')">
<if test="conditionParamRef.absentRate != null ">
${_conditionType_} a.absentRate = #{${_conditionParam_}.absentRate}
</if>
<if test="conditionParamRef.absentRate == null">
${_conditionType_} a.absentRate is null
</if>
</if>
<if test="conditionParamRef.containsKey('absentRateList') and conditionParamRef.absentRateList.size() > 0">
${_conditionType_} a.absentRate in
<foreach collection="conditionParamRef.absentRateList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('absentRateNotList') and conditionParamRef.absentRateNotList.size() > 0">
${_conditionType_} a.absentRate not in
<foreach collection="conditionParamRef.absentRateNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('absentRateStart') and conditionParamRef.absentRateStart != null">
${_conditionType_} a.absentRate <![CDATA[ >= ]]> #{${_conditionParam_}.absentRateStart}
</if>
<if test="conditionParamRef.containsKey('absentRateEnd') and conditionParamRef.absentRateEnd != null">
${_conditionType_} a.absentRate <![CDATA[ <= ]]> #{${_conditionParam_}.absentRateEnd}
</if>
<if test="conditionParamRef.containsKey('absenceRate')">
<if test="conditionParamRef.absenceRate != null ">
${_conditionType_} a.absenceRate = #{${_conditionParam_}.absenceRate}
</if>
<if test="conditionParamRef.absenceRate == null">
${_conditionType_} a.absenceRate is null
</if>
</if>
<if test="conditionParamRef.containsKey('absenceRateList') and conditionParamRef.absenceRateList.size() > 0">
${_conditionType_} a.absenceRate in
<foreach collection="conditionParamRef.absenceRateList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('absenceRateNotList') and conditionParamRef.absenceRateNotList.size() > 0">
${_conditionType_} a.absenceRate not in
<foreach collection="conditionParamRef.absenceRateNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('absenceRateStart') and conditionParamRef.absenceRateStart != null">
${_conditionType_} a.absenceRate <![CDATA[ >= ]]> #{${_conditionParam_}.absenceRateStart}
</if>
<if test="conditionParamRef.containsKey('absenceRateEnd') and conditionParamRef.absenceRateEnd != null">
${_conditionType_} a.absenceRate <![CDATA[ <= ]]> #{${_conditionParam_}.absenceRateEnd}
</if>
<if test="conditionParamRef.containsKey('lateRate')">
<if test="conditionParamRef.lateRate != null ">
${_conditionType_} a.lateRate = #{${_conditionParam_}.lateRate}
</if>
<if test="conditionParamRef.lateRate == null">
${_conditionType_} a.lateRate is null
</if>
</if>
<if test="conditionParamRef.containsKey('lateRateList') and conditionParamRef.lateRateList.size() > 0">
${_conditionType_} a.lateRate in
<foreach collection="conditionParamRef.lateRateList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('lateRateNotList') and conditionParamRef.lateRateNotList.size() > 0">
${_conditionType_} a.lateRate not in
<foreach collection="conditionParamRef.lateRateNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('lateRateStart') and conditionParamRef.lateRateStart != null">
${_conditionType_} a.lateRate <![CDATA[ >= ]]> #{${_conditionParam_}.lateRateStart}
</if>
<if test="conditionParamRef.containsKey('lateRateEnd') and conditionParamRef.lateRateEnd != null">
${_conditionType_} a.lateRate <![CDATA[ <= ]]> #{${_conditionParam_}.lateRateEnd}
</if>
<if test="conditionParamRef.containsKey('earlyRate')">
<if test="conditionParamRef.earlyRate != null ">
${_conditionType_} a.earlyRate = #{${_conditionParam_}.earlyRate}
</if>
<if test="conditionParamRef.earlyRate == null">
${_conditionType_} a.earlyRate is null
</if>
</if>
<if test="conditionParamRef.containsKey('earlyRateList') and conditionParamRef.earlyRateList.size() > 0">
${_conditionType_} a.earlyRate in
<foreach collection="conditionParamRef.earlyRateList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('earlyRateNotList') and conditionParamRef.earlyRateNotList.size() > 0">
${_conditionType_} a.earlyRate not in
<foreach collection="conditionParamRef.earlyRateNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('earlyRateStart') and conditionParamRef.earlyRateStart != null">
${_conditionType_} a.earlyRate <![CDATA[ >= ]]> #{${_conditionParam_}.earlyRateStart}
</if>
<if test="conditionParamRef.containsKey('earlyRateEnd') and conditionParamRef.earlyRateEnd != null">
${_conditionType_} a.earlyRate <![CDATA[ <= ]]> #{${_conditionParam_}.earlyRateEnd}
</if>
<if test="conditionParamRef.containsKey('leaveRate')">
<if test="conditionParamRef.leaveRate != null ">
${_conditionType_} a.leaveRate = #{${_conditionParam_}.leaveRate}
</if>
<if test="conditionParamRef.leaveRate == null">
${_conditionType_} a.leaveRate is null
</if>
</if>
<if test="conditionParamRef.containsKey('leaveRateList') and conditionParamRef.leaveRateList.size() > 0">
${_conditionType_} a.leaveRate in
<foreach collection="conditionParamRef.leaveRateList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leaveRateNotList') and conditionParamRef.leaveRateNotList.size() > 0">
${_conditionType_} a.leaveRate not in
<foreach collection="conditionParamRef.leaveRateNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('leaveRateStart') and conditionParamRef.leaveRateStart != null">
${_conditionType_} a.leaveRate <![CDATA[ >= ]]> #{${_conditionParam_}.leaveRateStart}
</if>
<if test="conditionParamRef.containsKey('leaveRateEnd') and conditionParamRef.leaveRateEnd != null">
${_conditionType_} a.leaveRate <![CDATA[ <= ]]> #{${_conditionParam_}.leaveRateEnd}
</if>
<if test="conditionParamRef.containsKey('turnoverRate')">
<if test="conditionParamRef.turnoverRate != null ">
${_conditionType_} a.turnoverRate = #{${_conditionParam_}.turnoverRate}
</if>
<if test="conditionParamRef.turnoverRate == null">
${_conditionType_} a.turnoverRate is null
</if>
</if>
<if test="conditionParamRef.containsKey('turnoverRateList') and conditionParamRef.turnoverRateList.size() > 0">
${_conditionType_} a.turnoverRate in
<foreach collection="conditionParamRef.turnoverRateList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('turnoverRateNotList') and conditionParamRef.turnoverRateNotList.size() > 0">
${_conditionType_} a.turnoverRate not in
<foreach collection="conditionParamRef.turnoverRateNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('turnoverRateStart') and conditionParamRef.turnoverRateStart != null">
${_conditionType_} a.turnoverRate <![CDATA[ >= ]]> #{${_conditionParam_}.turnoverRateStart}
</if>
<if test="conditionParamRef.containsKey('turnoverRateEnd') and conditionParamRef.turnoverRateEnd != null">
${_conditionType_} a.turnoverRate <![CDATA[ <= ]]> #{${_conditionParam_}.turnoverRateEnd}
</if>
<if test="conditionParamRef.containsKey('sleepRate')">
<if test="conditionParamRef.sleepRate != null ">
${_conditionType_} a.sleepRate = #{${_conditionParam_}.sleepRate}
</if>
<if test="conditionParamRef.sleepRate == null">
${_conditionType_} a.sleepRate is null
</if>
</if>
<if test="conditionParamRef.containsKey('sleepRateList') and conditionParamRef.sleepRateList.size() > 0">
${_conditionType_} a.sleepRate in
<foreach collection="conditionParamRef.sleepRateList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sleepRateNotList') and conditionParamRef.sleepRateNotList.size() > 0">
${_conditionType_} a.sleepRate not in
<foreach collection="conditionParamRef.sleepRateNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sleepRateStart') and conditionParamRef.sleepRateStart != null">
${_conditionType_} a.sleepRate <![CDATA[ >= ]]> #{${_conditionParam_}.sleepRateStart}
</if>
<if test="conditionParamRef.containsKey('sleepRateEnd') and conditionParamRef.sleepRateEnd != null">
${_conditionType_} a.sleepRate <![CDATA[ <= ]]> #{${_conditionParam_}.sleepRateEnd}
</if>
<if test="conditionParamRef.containsKey('playPhoneRate')">
<if test="conditionParamRef.playPhoneRate != null ">
${_conditionType_} a.playPhoneRate = #{${_conditionParam_}.playPhoneRate}
</if>
<if test="conditionParamRef.playPhoneRate == null">
${_conditionType_} a.playPhoneRate is null
</if>
</if>
<if test="conditionParamRef.containsKey('playPhoneRateList') and conditionParamRef.playPhoneRateList.size() > 0">
${_conditionType_} a.playPhoneRate in
<foreach collection="conditionParamRef.playPhoneRateList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('playPhoneRateNotList') and conditionParamRef.playPhoneRateNotList.size() > 0">
${_conditionType_} a.playPhoneRate not in
<foreach collection="conditionParamRef.playPhoneRateNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('playPhoneRateStart') and conditionParamRef.playPhoneRateStart != null">
${_conditionType_} a.playPhoneRate <![CDATA[ >= ]]> #{${_conditionParam_}.playPhoneRateStart}
</if>
<if test="conditionParamRef.containsKey('playPhoneRateEnd') and conditionParamRef.playPhoneRateEnd != null">
${_conditionType_} a.playPhoneRate <![CDATA[ <= ]]> #{${_conditionParam_}.playPhoneRateEnd}
</if>
<if test="conditionParamRef.containsKey('expireWorkRate')">
<if test="conditionParamRef.expireWorkRate != null ">
${_conditionType_} a.expireWorkRate = #{${_conditionParam_}.expireWorkRate}
</if>
<if test="conditionParamRef.expireWorkRate == null">
${_conditionType_} a.expireWorkRate is null
</if>
</if>
<if test="conditionParamRef.containsKey('expireWorkRateList') and conditionParamRef.expireWorkRateList.size() > 0">
${_conditionType_} a.expireWorkRate in
<foreach collection="conditionParamRef.expireWorkRateList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('expireWorkRateNotList') and conditionParamRef.expireWorkRateNotList.size() > 0">
${_conditionType_} a.expireWorkRate not in
<foreach collection="conditionParamRef.expireWorkRateNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('expireWorkRateStart') and conditionParamRef.expireWorkRateStart != null">
${_conditionType_} a.expireWorkRate <![CDATA[ >= ]]> #{${_conditionParam_}.expireWorkRateStart}
</if>
<if test="conditionParamRef.containsKey('expireWorkRateEnd') and conditionParamRef.expireWorkRateEnd != null">
${_conditionType_} a.expireWorkRate <![CDATA[ <= ]]> #{${_conditionParam_}.expireWorkRateEnd}
</if>
<if test="conditionParamRef.containsKey('negaReviewRate')">
<if test="conditionParamRef.negaReviewRate != null ">
${_conditionType_} a.negaReviewRate = #{${_conditionParam_}.negaReviewRate}
</if>
<if test="conditionParamRef.negaReviewRate == null">
${_conditionType_} a.negaReviewRate is null
</if>
</if>
<if test="conditionParamRef.containsKey('negaReviewRateList') and conditionParamRef.negaReviewRateList.size() > 0">
${_conditionType_} a.negaReviewRate in
<foreach collection="conditionParamRef.negaReviewRateList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('negaReviewRateNotList') and conditionParamRef.negaReviewRateNotList.size() > 0">
${_conditionType_} a.negaReviewRate not in
<foreach collection="conditionParamRef.negaReviewRateNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('negaReviewRateStart') and conditionParamRef.negaReviewRateStart != null">
${_conditionType_} a.negaReviewRate <![CDATA[ >= ]]> #{${_conditionParam_}.negaReviewRateStart}
</if>
<if test="conditionParamRef.containsKey('negaReviewRateEnd') and conditionParamRef.negaReviewRateEnd != null">
${_conditionType_} a.negaReviewRate <![CDATA[ <= ]]> #{${_conditionParam_}.negaReviewRateEnd}
</if>
<if test="conditionParamRef.containsKey('remark')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
......@@ -944,102 +437,6 @@
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('year')">
<if test="conditionParamRef.year != null ">
${_conditionType_} a.year = #{${_conditionParam_}.year}
</if>
<if test="conditionParamRef.year == null">
${_conditionType_} a.year is null
</if>
</if>
<if test="conditionParamRef.containsKey('yearList') and conditionParamRef.yearList.size() > 0">
${_conditionType_} a.year in
<foreach collection="conditionParamRef.yearList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('yearNotList') and conditionParamRef.yearNotList.size() > 0">
${_conditionType_} a.year not in
<foreach collection="conditionParamRef.yearNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('yearStart') and conditionParamRef.yearStart != null">
${_conditionType_} a.year <![CDATA[ >= ]]> #{${_conditionParam_}.yearStart}
</if>
<if test="conditionParamRef.containsKey('yearEnd') and conditionParamRef.yearEnd != null">
${_conditionType_} a.year <![CDATA[ <= ]]> #{${_conditionParam_}.yearEnd}
</if>
<if test="conditionParamRef.containsKey('month')">
<if test="conditionParamRef.month != null ">
${_conditionType_} a.month = #{${_conditionParam_}.month}
</if>
<if test="conditionParamRef.month == null">
${_conditionType_} a.month is null
</if>
</if>
<if test="conditionParamRef.containsKey('monthList') and conditionParamRef.monthList.size() > 0">
${_conditionType_} a.month in
<foreach collection="conditionParamRef.monthList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('monthNotList') and conditionParamRef.monthNotList.size() > 0">
${_conditionType_} a.month not in
<foreach collection="conditionParamRef.monthNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('monthStart') and conditionParamRef.monthStart != null">
${_conditionType_} a.month <![CDATA[ >= ]]> #{${_conditionParam_}.monthStart}
</if>
<if test="conditionParamRef.containsKey('monthEnd') and conditionParamRef.monthEnd != null">
${_conditionType_} a.month <![CDATA[ <= ]]> #{${_conditionParam_}.monthEnd}
</if>
<if test="conditionParamRef.containsKey('day')">
<if test="conditionParamRef.day != null ">
${_conditionType_} a.day = #{${_conditionParam_}.day}
</if>
<if test="conditionParamRef.day == null">
${_conditionType_} a.day is null
</if>
</if>
<if test="conditionParamRef.containsKey('dayList') and conditionParamRef.dayList.size() > 0">
${_conditionType_} a.day in
<foreach collection="conditionParamRef.dayList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('dayNotList') and conditionParamRef.dayNotList.size() > 0">
${_conditionType_} a.day not in
<foreach collection="conditionParamRef.dayNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('dayStart') and conditionParamRef.dayStart != null">
${_conditionType_} a.day <![CDATA[ >= ]]> #{${_conditionParam_}.dayStart}
</if>
<if test="conditionParamRef.containsKey('dayEnd') and conditionParamRef.dayEnd != null">
${_conditionType_} a.day <![CDATA[ <= ]]> #{${_conditionParam_}.dayEnd}
</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('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
......@@ -1068,19 +465,19 @@
</if>
<if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime 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 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('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 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 ">
......@@ -1109,6 +506,21 @@
${_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>
</sql>
<sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()">
......@@ -1127,6 +539,11 @@
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('purposeConfId')">
a.purposeConfId
<if test='orderCol.purposeConfId != null and "DESC".equalsIgnoreCase(orderCol.purposeConfId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptId')">
a.deptId
<if test='orderCol.deptId != null and "DESC".equalsIgnoreCase(orderCol.deptId)'>DESC</if>
......@@ -1137,74 +554,14 @@
<if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('absentRate')">
a.absentRate
<if test='orderCol.absentRate != null and "DESC".equalsIgnoreCase(orderCol.absentRate)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('absenceRate')">
a.absenceRate
<if test='orderCol.absenceRate != null and "DESC".equalsIgnoreCase(orderCol.absenceRate)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('lateRate')">
a.lateRate
<if test='orderCol.lateRate != null and "DESC".equalsIgnoreCase(orderCol.lateRate)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('earlyRate')">
a.earlyRate
<if test='orderCol.earlyRate != null and "DESC".equalsIgnoreCase(orderCol.earlyRate)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('leaveRate')">
a.leaveRate
<if test='orderCol.leaveRate != null and "DESC".equalsIgnoreCase(orderCol.leaveRate)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('turnoverRate')">
a.turnoverRate
<if test='orderCol.turnoverRate != null and "DESC".equalsIgnoreCase(orderCol.turnoverRate)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('sleepRate')">
a.sleepRate
<if test='orderCol.sleepRate != null and "DESC".equalsIgnoreCase(orderCol.sleepRate)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('playPhoneRate')">
a.playPhoneRate
<if test='orderCol.playPhoneRate != null and "DESC".equalsIgnoreCase(orderCol.playPhoneRate)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('expireWorkRate')">
a.expireWorkRate
<if test='orderCol.expireWorkRate != null and "DESC".equalsIgnoreCase(orderCol.expireWorkRate)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('negaReviewRate')">
a.negaReviewRate
<if test='orderCol.negaReviewRate != null and "DESC".equalsIgnoreCase(orderCol.negaReviewRate)'>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('year')">
a.year
<if test='orderCol.year != null and "DESC".equalsIgnoreCase(orderCol.year)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('month')">
a.month
<if test='orderCol.month != null and "DESC".equalsIgnoreCase(orderCol.month)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('day')">
a.day
<if test='orderCol.day != null and "DESC".equalsIgnoreCase(orderCol.day)'>DESC</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')">
......@@ -1212,9 +569,9 @@
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</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')">
......@@ -1222,11 +579,6 @@
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateUserId')">
a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
,
</if>
</trim>
</if>
</sql>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.perform.dao.ibatis.PerformPerposeStaffDaoImpl">
<!-- 字段和属性映射 -->
<resultMap type="PerformPerposeStaffEntity" id="PerformPerposeStaffEntity-Map">
<id property="id" column="id" />
<result property="purposeConfId" column="purposeConfId" />
<result property="staffId" column="staffId" />
<result property="staffName" column="staffName" />
<result property="number" column="number" />
<result property="remark" column="remark" />
<result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" />
<id property="id" column="id" />
<result property="purposeConfId" column="purposeConfId" />
<result property="staffId" column="staffId" />
<result property="staffName" column="staffName" />
<result property="number" column="number" />
<result property="remark" column="remark" />
<result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" />
</resultMap>
<!-- 表所有列 -->
<sql id="_columns">
<trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('purposeConfId') or colPickMode == 1 and data.containsKey('purposeConfId')))">
a.purposeConfId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffId') or colPickMode == 1 and data.containsKey('staffId')))">
a.staffId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffName') or colPickMode == 1 and data.containsKey('staffName')))">
a.staffName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('number') or colPickMode == 1 and data.containsKey('number')))">
a.number,
</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('id') or colPickMode == 1 and data.containsKey('id')))">
a.id,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('purposeConfId') or colPickMode == 1 and data.containsKey('purposeConfId')))">
a.purposeConfId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffId') or colPickMode == 1 and data.containsKey('staffId')))">
a.staffId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffName') or colPickMode == 1 and data.containsKey('staffName')))">
a.staffName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('number') or colPickMode == 1 and data.containsKey('number')))">
a.number,
</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>
</trim>
</sql>
<!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="PerformPerposeStaffEntity" useGeneratedKeys="true" keyProperty="Id">
<insert id="insert" parameterType="PerformPerposeStaffEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_perform_perpose_staff
(purposeConfId,staffId,staffName,number,remark,createUserId,createTime,updateUserId,updateTime)
VALUES
......@@ -129,115 +129,115 @@
<update id="updateBatch" parameterType="paramDto">
update mortals_xhx_perform_perpose_staff as a
<trim prefix="set" suffixOverrides=",">
<trim prefix="purposeConfId=(case" suffix="ELSE purposeConfId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('purposeConfId')) or (colPickMode==1 and !item.containsKey('purposeConfId'))">
when a.Id=#{item.Id} then #{item.purposeConfId}
</when>
<when test="(colPickMode==0 and item.containsKey('purposeConfIdIncrement')) or (colPickMode==1 and !item.containsKey('purposeConfIdIncrement'))">
when a.Id=#{item.Id} then ifnull(a.purposeConfId,0) + #{item.purposeConfIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="staffId=(case" suffix="ELSE staffId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('staffId')) or (colPickMode==1 and !item.containsKey('staffId'))">
when a.Id=#{item.Id} then #{item.staffId}
</when>
<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>
</choose>
</foreach>
</trim>
<trim prefix="staffName=(case" suffix="ELSE staffName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('staffName')) or (colPickMode==1 and !item.containsKey('staffName'))">
when a.Id=#{item.Id} then #{item.staffName}
</if>
</foreach>
</trim>
<trim prefix="number=(case" suffix="ELSE number end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('number')) or (colPickMode==1 and !item.containsKey('number'))">
when a.Id=#{item.Id} then #{item.number}
</if>
</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="purposeConfId=(case" suffix="ELSE purposeConfId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('purposeConfId')) or (colPickMode==1 and !item.containsKey('purposeConfId'))">
when a.id=#{item.id} then #{item.purposeConfId}
</when>
<when test="(colPickMode==0 and item.containsKey('purposeConfIdIncrement')) or (colPickMode==1 and !item.containsKey('purposeConfIdIncrement'))">
when a.id=#{item.id} then ifnull(a.purposeConfId,0) + #{item.purposeConfIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="staffId=(case" suffix="ELSE staffId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('staffId')) or (colPickMode==1 and !item.containsKey('staffId'))">
when a.id=#{item.id} then #{item.staffId}
</when>
<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>
</choose>
</foreach>
</trim>
<trim prefix="staffName=(case" suffix="ELSE staffName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('staffName')) or (colPickMode==1 and !item.containsKey('staffName'))">
when a.id=#{item.id} then #{item.staffName}
</if>
</foreach>
</trim>
<trim prefix="number=(case" suffix="ELSE number end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('number')) or (colPickMode==1 and !item.containsKey('number'))">
when a.id=#{item.id} then #{item.number}
</if>
</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>
where Id in
where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
#{item.Id}
#{item.id}
</foreach>
</update>
<!-- 根据主健查询 -->
<select id="getByKey" parameterType="paramDto" resultMap="PerformPerposeStaffEntity-Map">
select <include refid="_columns"/>
from mortals_xhx_perform_perpose_staff as a
where a.Id=#{condition.Id}
where a.id=#{condition.id}
</select>
<!-- 根据主健删除 -->
<delete id="deleteByKey" parameterType="paramDto">
delete a.* from mortals_xhx_perform_perpose_staff as a where a.Id=#{condition.Id}
delete a.* from mortals_xhx_perform_perpose_staff as a where a.id=#{condition.id}
</delete>
<!-- 根据主健删除一批,针对单一主健有效 -->
<delete id="deleteByKeys">
delete from mortals_xhx_perform_perpose_staff where Id in
delete from mortals_xhx_perform_perpose_staff where id in
<foreach collection="array" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据主健列表删除一批,针对单一主健有效 -->
<delete id="deleteByKeyList">
delete from mortals_xhx_perform_perpose_staff where Id in
delete from mortals_xhx_perform_perpose_staff where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
......@@ -245,9 +245,9 @@
<!-- 根据对象列表删除一批,针对单一主健有效 -->
<delete id="deleteByEntityList">
delete from mortals_xhx_perform_perpose_staff where Id in
delete from mortals_xhx_perform_perpose_staff where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item.Id}
#{item.id}
</foreach>
</delete>
<!-- 根据paramDto删除一批 -->
......@@ -325,300 +325,300 @@
<bind name="conditionParamRef" value="${_conditionParam_}"/>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null">
${_conditionType_} a.Id=#{${_conditionParam_}.id}
${_conditionType_} a.id=#{${_conditionParam_}.id}
</if>
</if>
<if test="conditionParamRef.containsKey('Id')">
<if test="conditionParamRef.Id != null ">
${_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 test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.containsKey('IdEnd') and conditionParamRef.IdEnd != null">
${_conditionType_} a.Id <![CDATA[ <= ]]> #{${_conditionParam_}.IdEnd}
<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 test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('purposeConfId')">
<if test="conditionParamRef.purposeConfId != null ">
${_conditionType_} a.purposeConfId = #{${_conditionParam_}.purposeConfId}
</if>
<if test="conditionParamRef.purposeConfId == null">
${_conditionType_} a.purposeConfId is null
</if>
</if>
<if test="conditionParamRef.containsKey('purposeConfIdList') and conditionParamRef.purposeConfIdList.size() > 0">
${_conditionType_} a.purposeConfId in
<foreach collection="conditionParamRef.purposeConfIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.containsKey('purposeConfId')">
<if test="conditionParamRef.purposeConfId != null ">
${_conditionType_} a.purposeConfId = #{${_conditionParam_}.purposeConfId}
</if>
<if test="conditionParamRef.containsKey('purposeConfIdNotList') and conditionParamRef.purposeConfIdNotList.size() > 0">
${_conditionType_} a.purposeConfId not in
<foreach collection="conditionParamRef.purposeConfIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('purposeConfIdStart') and conditionParamRef.purposeConfIdStart != null">
${_conditionType_} a.purposeConfId <![CDATA[ >= ]]> #{${_conditionParam_}.purposeConfIdStart}
</if>
<if test="conditionParamRef.containsKey('purposeConfIdEnd') and conditionParamRef.purposeConfIdEnd != null">
${_conditionType_} a.purposeConfId <![CDATA[ <= ]]> #{${_conditionParam_}.purposeConfIdEnd}
<if test="conditionParamRef.purposeConfId == null">
${_conditionType_} a.purposeConfId is null
</if>
</if>
<if test="conditionParamRef.containsKey('purposeConfIdList') and conditionParamRef.purposeConfIdList.size() > 0">
${_conditionType_} a.purposeConfId in
<foreach collection="conditionParamRef.purposeConfIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('purposeConfIdNotList') and conditionParamRef.purposeConfIdNotList.size() > 0">
${_conditionType_} a.purposeConfId not in
<foreach collection="conditionParamRef.purposeConfIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('purposeConfIdStart') and conditionParamRef.purposeConfIdStart != null">
${_conditionType_} a.purposeConfId <![CDATA[ >= ]]> #{${_conditionParam_}.purposeConfIdStart}
</if>
<if test="conditionParamRef.containsKey('purposeConfIdEnd') and conditionParamRef.purposeConfIdEnd != null">
${_conditionType_} a.purposeConfId <![CDATA[ <= ]]> #{${_conditionParam_}.purposeConfIdEnd}
</if>
<if test="conditionParamRef.containsKey('staffId')">
<if test="conditionParamRef.staffId != null ">
${_conditionType_} a.staffId = #{${_conditionParam_}.staffId}
</if>
<if test="conditionParamRef.staffId == null">
${_conditionType_} a.staffId is null
</if>
<if test="conditionParamRef.containsKey('staffId')">
<if test="conditionParamRef.staffId != null ">
${_conditionType_} a.staffId = #{${_conditionParam_}.staffId}
</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 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 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.staffName != null and conditionParamRef.staffName != ''">
${_conditionType_} a.staffName like #{${_conditionParam_}.staffName}
</if>
<if test="conditionParamRef.staffName == null">
${_conditionType_} a.staffName is null
</if>
<if test="conditionParamRef.containsKey('staffName')">
<if test="conditionParamRef.staffName != null and conditionParamRef.staffName != ''">
${_conditionType_} a.staffName like #{${_conditionParam_}.staffName}
</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 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('number')">
<if test="conditionParamRef.number != null and conditionParamRef.number != ''">
${_conditionType_} a.number like #{${_conditionParam_}.number}
</if>
<if test="conditionParamRef.number == null">
${_conditionType_} a.number is null
</if>
<if test="conditionParamRef.containsKey('number')">
<if test="conditionParamRef.number != null and conditionParamRef.number != ''">
${_conditionType_} a.number like #{${_conditionParam_}.number}
</if>
<if test="conditionParamRef.containsKey('numberList') and conditionParamRef.numberList.size() > 0">
${_conditionType_} a.number in
<foreach collection="conditionParamRef.numberList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('numberNotList') and conditionParamRef.numberNotList.size() > 0">
${_conditionType_} a.number not in
<foreach collection="conditionParamRef.numberNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.number == null">
${_conditionType_} a.number is null
</if>
</if>
<if test="conditionParamRef.containsKey('numberList') and conditionParamRef.numberList.size() > 0">
${_conditionType_} a.number in
<foreach collection="conditionParamRef.numberList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('numberNotList') and conditionParamRef.numberNotList.size() > 0">
${_conditionType_} a.number not in
<foreach collection="conditionParamRef.numberNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</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 test="conditionParamRef.containsKey('remark')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</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 test="conditionParamRef.remark == null">
${_conditionType_} a.remark is null
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</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.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
<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 test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</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 test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</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.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
<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 test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</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 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>
</sql>
<sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()">
order by
<trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
${item.colName} ${item.sortKind}
${item.colName} ${item.sortKind}
</foreach>
</trim>
</if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by
<trim suffixOverrides="," suffix="">
<if test="orderCol.containsKey('Id')">
a.Id
<if test='orderCol.Id != null and "DESC".equalsIgnoreCase(orderCol.Id)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('purposeConfId')">
a.purposeConfId
<if test='orderCol.purposeConfId != null and "DESC".equalsIgnoreCase(orderCol.purposeConfId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('staffId')">
a.staffId
<if test='orderCol.staffId != null and "DESC".equalsIgnoreCase(orderCol.staffId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('staffName')">
a.staffName
<if test='orderCol.staffName != null and "DESC".equalsIgnoreCase(orderCol.staffName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('number')">
a.number
<if test='orderCol.number != null and "DESC".equalsIgnoreCase(orderCol.number)'>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('id')">
a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('purposeConfId')">
a.purposeConfId
<if test='orderCol.purposeConfId != null and "DESC".equalsIgnoreCase(orderCol.purposeConfId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('staffId')">
a.staffId
<if test='orderCol.staffId != null and "DESC".equalsIgnoreCase(orderCol.staffId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('staffName')">
a.staffName
<if test='orderCol.staffName != null and "DESC".equalsIgnoreCase(orderCol.staffName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('number')">
a.number
<if test='orderCol.number != null and "DESC".equalsIgnoreCase(orderCol.number)'>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>
</trim>
</if>
</sql>
......
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