Commit 8781144f authored by 姬鋆屾's avatar 姬鋆屾
parents defbf877 db02f1e3
...@@ -145,7 +145,14 @@ ...@@ -145,7 +145,14 @@
<dependency> <dependency>
<groupId>com.aliyun</groupId> <groupId>com.aliyun</groupId>
<artifactId>dingtalk</artifactId> <artifactId>dingtalk</artifactId>
<version>2.0.19</version> <version>2.0.22</version>
</dependency>
<!--dingdingtalk service sdk-->
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>alibaba-dingtalk-service-sdk</artifactId>
<version>2.0.0</version>
</dependency> </dependency>
<dependency> <dependency>
......
...@@ -2,20 +2,29 @@ package com.mortals.xhx.busiz.dingtalk.api; ...@@ -2,20 +2,29 @@ package com.mortals.xhx.busiz.dingtalk.api;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.dingtalk.api.DefaultDingTalkClient;
import com.dingtalk.api.DingTalkClient;
import com.dingtalk.api.request.*;
import com.dingtalk.api.response.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.mortals.framework.annotation.UnAuth;
import com.mortals.framework.common.Rest; import com.mortals.framework.common.Rest;
import com.mortals.framework.service.ICacheService; import com.mortals.framework.exception.AppException;
import com.mortals.xhx.busiz.dingtalk.config.TalkConfiguration; import com.mortals.xhx.busiz.dingtalk.config.TalkConfiguration;
import com.mortals.xhx.busiz.dingtalk.req.DingTalkBaseReq; import com.mortals.xhx.busiz.dingtalk.req.DingTalkBaseReq;
import com.mortals.xhx.busiz.dingtalk.req.UserPageReq;
import com.mortals.xhx.busiz.req.MobileReq;
import com.mortals.xhx.busiz.req.ReviewSaveReq;
import com.mortals.xhx.common.code.YesNoEnum; import com.mortals.xhx.common.code.YesNoEnum;
import com.mortals.xhx.common.pdu.ApiRespPdu; import com.mortals.xhx.common.pdu.ApiRespPdu;
import lombok.extern.apachecommons.CommonsLog; import lombok.extern.apachecommons.CommonsLog;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RequestBody; import sun.security.krb5.internal.APOptions;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController; import java.util.List;
/** /**
* 钉钉相关外部接口 * 钉钉相关外部接口
...@@ -29,7 +38,7 @@ public class TalkApiController { ...@@ -29,7 +38,7 @@ public class TalkApiController {
@Autowired @Autowired
private TalkConfiguration talkConfiguration; private TalkConfiguration talkConfiguration;
private String dingToken;
/** /**
* 获取token * 获取token
...@@ -37,33 +46,194 @@ public class TalkApiController { ...@@ -37,33 +46,194 @@ public class TalkApiController {
* @return * @return
*/ */
@PostMapping("/dingtalk/gettoken") @PostMapping("/dingtalk/gettoken")
public Rest<String> getToken(@RequestBody DingTalkBaseReq dingTalkBaseReq) { @UnAuth
log.info("收到【getToken】请求【请求体】--> {}", JSON.toJSONString(dingTalkBaseReq)); public ApiRespPdu<String> getToken() {
ApiRespPdu<String> apiRespPdu = new ApiRespPdu<>();
try { try {
DingTalkClient client = new DefaultDingTalkClient(talkConfiguration.getGetTokneUrl());
// DingTalkClient client = new DefaultDingTalkClient("https://oapi.dingtalk.com/gettoken");
// OapiGettokenRequest req = new OapiGettokenRequest();
// req.setHttpMethod("GET");
// OapiGettokenResponse rsp = client.execute(req);
/* DingTalkClient client = new DefaultDingTalkClient(talkConfiguration.getGetTokneUrl());
OapiGettokenRequest req = new OapiGettokenRequest(); OapiGettokenRequest req = new OapiGettokenRequest();
req.setAppkey(apiKey); req.setAppkey(talkConfiguration.getAppKey());
req.setAppsecret(appsecret); req.setAppsecret(talkConfiguration.getAppSecret());
req.setHttpMethod("GET"); req.setHttpMethod("GET");
OapiGettokenResponse rsp = client.execute(req); OapiGettokenResponse rsp = client.execute(req);
log.info("gettoken rsp:" + rsp.getBody()); log.info("gettoken rsp:" + rsp.getBody());
if (rsp.getErrcode() == 0) { if (rsp.getErrcode() == 0) {
dingToken = rsp.getAccessToken();
apiRespPdu.setCode(0);
apiRespPdu.setData(rsp.getAccessToken()); apiRespPdu.setData(rsp.getAccessToken());
apiRespPdu.setMsg(rsp.getMsg());
} else { } else {
throw new AppException(String.format("errorCode:%s,errorMsg:%s", rsp.getErrcode(), rsp.getErrmsg())); apiRespPdu.setCode(-1);
apiRespPdu.setData("");
apiRespPdu.setMsg(rsp.getMsg());
} }
*/
} catch (Exception e) { } catch (Exception e) {
log.error("异常", e); log.error("异常", e);
return Rest.fail(e.getMessage()); apiRespPdu.setCode(-1);
apiRespPdu.setData("");
apiRespPdu.setMsg(e.toString());
}
return apiRespPdu;
}
/**
* 获取部门列表
* @return
*/
@PostMapping("/dingtalk/getSubList")
@UnAuth
public ApiRespPdu<List<OapiV2DepartmentListsubResponse.DeptBaseResponse>> getSubList(){
ApiRespPdu<List<OapiV2DepartmentListsubResponse.DeptBaseResponse>> apiRespPdu = new ApiRespPdu<>();
try {
DingTalkClient client = new DefaultDingTalkClient(talkConfiguration.getGetSubList());
OapiV2DepartmentListsubRequest req = new OapiV2DepartmentListsubRequest();
if(dingToken == null){
dingToken = getToken().getData();
}
OapiV2DepartmentListsubResponse rsp = client.execute(req, dingToken);
if(rsp.getErrcode() == 0){
apiRespPdu.setCode(0);
apiRespPdu.setData(rsp.getResult());
apiRespPdu.setMsg(rsp.getMsg());
}else {
if(getToken().getCode() == 0){
getSubList();
}else {
apiRespPdu.setCode(-1);
apiRespPdu.setData(null);
apiRespPdu.setMsg("获取token失败");
}
}
} catch (Exception e) {
e.printStackTrace();
apiRespPdu.setCode(-1);
apiRespPdu.setData(null);
apiRespPdu.setMsg(e.toString());
}
return apiRespPdu;
}
/**
* 根据部门id查询该部门下所有用户完整信息
* @return
*/
@PostMapping("/dingtalk/getUserList")
@UnAuth
public ApiRespPdu<OapiV2UserListResponse.PageResult> getUserList(@RequestBody UserPageReq res){
ApiRespPdu<OapiV2UserListResponse.PageResult> apiRespPdu = new ApiRespPdu<>();
try {
DingTalkClient client = new DefaultDingTalkClient(talkConfiguration.getGetuserlist());
OapiV2UserListRequest req = new OapiV2UserListRequest();
if(dingToken == null){
dingToken = getToken().getData();
}
req.setDeptId(res.getDeptid());
req.setCursor(res.getCursor());
req.setSize(res.getSize());
OapiV2UserListResponse rsp = client.execute(req, dingToken);
if(rsp.getErrcode() == 0){
apiRespPdu.setCode(0);
apiRespPdu.setData(rsp.getResult());
apiRespPdu.setMsg(rsp.getMsg());
}else {
if(getToken().getCode() == 0){
getUserList(res);
}else {
apiRespPdu.setCode(-1);
apiRespPdu.setData(null);
apiRespPdu.setMsg("获取token失败");
}
}
} catch (Exception e) {
e.printStackTrace();
apiRespPdu.setCode(-1);
apiRespPdu.setData(null);
apiRespPdu.setMsg(e.toString());
} }
return Rest.ok();
return apiRespPdu;
} }
/**
* 根据手机号查询用户
* @return
*/
@GetMapping("/dingtalk/getByMobile")
@UnAuth
public ApiRespPdu<OapiV2UserGetResponse.UserGetResponse> getByMobile(@RequestBody MobileReq mobile){
ApiRespPdu<OapiV2UserGetResponse.UserGetResponse> apiRespPdu = new ApiRespPdu<>();
try {
DingTalkClient client = new DefaultDingTalkClient(talkConfiguration.getGetbymobile());
OapiV2UserGetbymobileRequest req = new OapiV2UserGetbymobileRequest();
if(dingToken == null){
dingToken = getToken().getData();
}
req.setMobile(mobile.getMobile());
OapiV2UserGetbymobileResponse rsp = client.execute(req, dingToken);
if(rsp.getErrcode() == 0){
//根据获取到的userid去获取用户详情
ApiRespPdu<OapiV2UserGetResponse.UserGetResponse> userRsp = getUserInfo(rsp.getResult().getUserid());
if(userRsp.getCode() == 0){
apiRespPdu.setCode(userRsp.getCode());
apiRespPdu.setData(userRsp.getData());
apiRespPdu.setMsg(userRsp.getMsg());
}else {
apiRespPdu.setCode(-1);
apiRespPdu.setData(null);
apiRespPdu.setMsg(userRsp.getMsg());
}
}else {
if(getToken().getCode() == 0){
getByMobile(mobile);
}else {
apiRespPdu.setCode(-1);
apiRespPdu.setData(null);
apiRespPdu.setMsg("获取token失败");
}
}
} catch (Exception e) {
e.printStackTrace();
apiRespPdu.setCode(-1);
apiRespPdu.setData(null);
apiRespPdu.setMsg(e.toString());
}
return apiRespPdu;
}
/**
* 根据userid查询用户详情
* @return
*/
@GetMapping("/dingtalk/getUserInfo")
@UnAuth
public ApiRespPdu<OapiV2UserGetResponse.UserGetResponse> getUserInfo(@RequestBody String userid){
ApiRespPdu<OapiV2UserGetResponse.UserGetResponse> apiRespPdu = new ApiRespPdu<>();
try {
DingTalkClient client = new DefaultDingTalkClient(talkConfiguration.getGetuserinfo());
OapiV2UserGetRequest req = new OapiV2UserGetRequest();
if(dingToken == null){
dingToken = getToken().getData();
}
req.setUserid(userid);
OapiV2UserGetResponse rsp = client.execute(req, dingToken);
apiRespPdu.setCode(0);
apiRespPdu.setData(rsp.getResult());
apiRespPdu.setMsg(rsp.getMsg());
} catch (Exception e) {
e.printStackTrace();
apiRespPdu.setCode(-1);
apiRespPdu.setData(null);
apiRespPdu.setMsg(e.toString());
}
return apiRespPdu;
}
} }
...@@ -19,19 +19,47 @@ public class TalkConfiguration { ...@@ -19,19 +19,47 @@ public class TalkConfiguration {
@Value("${dingtalk.agentId:''}") @Value("${dingtalk.agentId:''}")
private String getAgentId; private String getAgentId;
/**
* appKey
*/
@Value("${dingtalk.AppKey:''}")
private String AppKey;
/**
* AppSecret
*/
@Value("${dingtalk.AppSecret:''}")
private String AppSecret;
/** /**
* getToken * getToken
*/ */
@Value("${dingtalk.gettoken:''}") @Value("${dingtalk.gettoken:https://oapi.dingtalk.com/gettoken}")
private String getTokneUrl; private String getTokneUrl;
/** /**
* getbymobile * 获取部门列表
*/ */
@Value("${dingtalk.getbymobile:''}") @Value("${dingtalk.listsub:https://oapi.dingtalk.com/topapi/v2/department/listsub}")
private String getbymobile; private String getSubList;
/**
* 根据部门id获取用户详情列表
*/
@Value("${dingtalk.getUserList:https://oapi.dingtalk.com/topapi/v2/user/list}")
private String getuserlist;
/**
* 根据电话查询用户信息
*/
@Value("${dingtalk.getbymobile:https://oapi.dingtalk.com/topapi/v2/user/getbymobile}")
private String getbymobile;
/**
* 根据userid查询用户信息
*/
@Value("${dingtalk.getuserinfo:https://oapi.dingtalk.com/topapi/v2/user/get}")
private String getuserinfo;
/** /**
* getDeptbyUser * getDeptbyUser
*/ */
......
package com.mortals.xhx.busiz.dingtalk.req;
/**
* @author ZYW
* @date 2023-07-12 11:38
*/
public class UserPageReq {
//部门id
private Long deptid;
//起始页码
private Long cursor;
//每页条数
private Long size;
public Long getDeptid() {
return deptid;
}
public void setDeptid(Long deptid) {
this.deptid = deptid;
}
public Long getCursor() {
return cursor;
}
public void setCursor(Long cursor) {
this.cursor = cursor;
}
public Long getSize() {
return size;
}
public void setSize(Long size) {
this.size = size;
}
}
package com.mortals.xhx.busiz.req; package com.mortals.xhx.busiz.req;
import com.mortals.framework.annotation.Excel;
import com.mortals.xhx.busiz.BaseReq; import com.mortals.xhx.busiz.BaseReq;
import com.mortals.xhx.module.perform.model.PerformAttendAppealFilesEntity;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.List;
@Data @Data
...@@ -20,16 +24,28 @@ public class AppealReq extends BaseReq { ...@@ -20,16 +24,28 @@ public class AppealReq extends BaseReq {
private Integer appealResult; private Integer appealResult;
private Integer processStatus; private Integer processStatus;
/** /**
* 当前员工id * 当前员工id
*/ */
private Long staffId; private Long staffId;
/**
* 核查记录id
*/
private Long Id; private Long Id;
/**
* 申诉说明
*/
private String appealDesc;
/**
* 绩效记录申诉附件信息信息
*/
private List<PerformAttendAppealFilesEntity> performAttendAppealFilesList = new ArrayList<>();
;
} }
package com.mortals.xhx.busiz.req;
/**
* @author ZYW
* @date 2023-07-12 13:47
*/
public class MobileReq {
String mobile;
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
}
package com.mortals.xhx.busiz.rsp;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
@Data
public class AppealDetailInfo {
/**
* id
*/
private Long id;
/**
* 记录ID
*/
private Long recordId;
/**
* 员工ID
*/
private Long staffId;
/**
* 员工姓名
*/
private String staffName;
/**
* 工号
*/
private String workNum;
/**
* 所属部门
*/
private Long deptId;
/**
* 所属部门名称
*/
private String deptName;
/**
* 所属考勤组ID
*/
private Long attendanceGroupId;
/**
* 所属考勤组名称
*/
private String attendanceGroupName;
/**
* 考勤时间
*/
private Date attendanceDate;
/**
* 绩效规则id
*/
private Long ruleId;
/**
* 规则名称
*/
private String ruleName;
/**
* 增减类型(1.增加,2.扣除)
*/
private Integer subAddType;
/**
* 扣分或增加分值
*/
private BigDecimal score;
/**
* 上下班时间
*/
private String goOffTimeStr;
/**
* 异常时间
*/
private Date errorTime;
/**
* 实际打卡时间
*/
private Date actualAttendTime;
/**
* 异常处理结果
*/
private String errorResult;
/**
* 核查人员
*/
private String checkPerson;
/**
* 核查时间
*/
private Date checkTime;
/**
* 核查说明
*/
private String checkDesc;
/**
* 核查结果
*/
private String checkResult;
/**
* 处理状态(1.未处理,2.已处理)
*/
private Integer checkStatus;
/**
* 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
*/
private Integer subMethod;
/**
* 说明
*/
private String remark;
/**
* 评价结果(1.非常不满意,2.差评)
*/
private Integer reviewResult;
/**
* 评价时间
*/
private Date reviewTime;
/**
* 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
*/
private String reviewSource;
/**
* 评价设备
*/
private String reviewDevice;
/**
* 投诉标题
*/
private String complainTitle;
/**
* 投诉内容
*/
private String complainContent;
/**
* 投诉人真实姓名
*/
private String complainRealName;
/**
* 联系电话
*/
private String contact;
/**
* 投诉时间
*/
private Date complainTime;
/**
* 投诉来源
*/
private String complainSource;
/**
* 投诉设备
*/
private String complainDevice;
/**
* 办件编码
*/
private String goworkCode;
/**
* 办件所属部门
*/
private String goworkDepts;
/**
* 事项名称
*/
private String matterlName;
/**
* 办理时间
*/
private Date goworkTime;
/**
* 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
*/
private Integer irregularType;
/**
* 发生时间
*/
private Date happenTime;
/**
* 持续时间,秒
*/
private Integer duration;
/**
* 报警时间
*/
private Date alarmTime;
/**
* 图片凭证地址
*/
private String snapPath;
/**
* 窗口编号
*/
private String windowNum;
/**
* 违规类型(1.工作纪律)
*/
private Integer irregularOtherType;
/**
* 附件名称,多个逗号分割
*/
private String fileNames;
/**
* 附件下载地址,多个逗号分割
*/
private String filePaths;
}
...@@ -60,5 +60,10 @@ public class PerformInfo { ...@@ -60,5 +60,10 @@ public class PerformInfo {
*/ */
private String performType; private String performType;
/**
* 申诉状态(0.未申诉,1.申诉中,2.申诉拒绝,3.申诉通过)
*/
private Integer appealStatus;
} }
...@@ -80,8 +80,9 @@ public class ApiLoginController extends BaseJsonBodyController { ...@@ -80,8 +80,9 @@ public class ApiLoginController extends BaseJsonBodyController {
data.put("userType", userEntity.getUserType()); data.put("userType", userEntity.getUserType());
HashSet<Integer> set = new HashSet<>(); HashSet<Integer> set = new HashSet<>();
set.add(1); set.add(0);
set.add(2); set.add(2);
set.add(3);
if (ObjectUtils.isEmpty(userEntity.getUserType()) || !set.contains(userEntity.getUserType())) { if (ObjectUtils.isEmpty(userEntity.getUserType()) || !set.contains(userEntity.getUserType())) {
throw new AppException("当前用户不支持H5登录!"); throw new AppException("当前用户不支持H5登录!");
...@@ -89,7 +90,7 @@ public class ApiLoginController extends BaseJsonBodyController { ...@@ -89,7 +90,7 @@ public class ApiLoginController extends BaseJsonBodyController {
userEntity.setLoginTime(System.currentTimeMillis()); userEntity.setLoginTime(System.currentTimeMillis());
userEntity.setToken(IdUtil.fastSimpleUUID()); userEntity.setToken(IdUtil.fastSimpleUUID());
userEntity.setExpireTime(DateUtils.addCurrDate(7).getTime()); userEntity.setExpireTime(DateUtils.addCurrDate(3).getTime());
String token = authTokenService.createToken(userEntity); String token = authTokenService.createToken(userEntity);
data.put("token", token); data.put("token", token);
ret.put(KEY_RESULT_DATA, data); ret.put(KEY_RESULT_DATA, data);
......
...@@ -10,14 +10,11 @@ import com.mortals.framework.exception.AppException; ...@@ -10,14 +10,11 @@ import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context; import com.mortals.framework.model.Context;
import com.mortals.framework.model.PageInfo; import com.mortals.framework.model.PageInfo;
import com.mortals.framework.model.Result; import com.mortals.framework.model.Result;
import com.mortals.framework.web.BaseJsonBodyController;
import com.mortals.xhx.busiz.req.AppealReq; import com.mortals.xhx.busiz.req.AppealReq;
import com.mortals.xhx.busiz.req.PerformReq; import com.mortals.xhx.busiz.req.PerformReq;
import com.mortals.xhx.busiz.rsp.AppealStatInfo; import com.mortals.xhx.busiz.rsp.AppealStatInfo;
import com.mortals.xhx.busiz.rsp.PerformDetailInfo;
import com.mortals.xhx.busiz.rsp.PerformInfo;
import com.mortals.xhx.busiz.rsp.PerformStatInfo;
import com.mortals.xhx.common.code.PerformTypeEnum; import com.mortals.xhx.common.code.PerformTypeEnum;
import com.mortals.xhx.common.code.ProcessStatusEnum;
import com.mortals.xhx.common.utils.BeanUtil; import com.mortals.xhx.common.utils.BeanUtil;
import com.mortals.xhx.module.check.model.*; import com.mortals.xhx.module.check.model.*;
import com.mortals.xhx.module.check.service.*; import com.mortals.xhx.module.check.service.*;
...@@ -25,7 +22,6 @@ import com.mortals.xhx.module.perform.model.PerformAttendAppealEntity; ...@@ -25,7 +22,6 @@ import com.mortals.xhx.module.perform.model.PerformAttendAppealEntity;
import com.mortals.xhx.module.perform.model.PerformAttendAppealQuery; import com.mortals.xhx.module.perform.model.PerformAttendAppealQuery;
import com.mortals.xhx.module.perform.service.PerformAttendAppealService; import com.mortals.xhx.module.perform.service.PerformAttendAppealService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
...@@ -36,9 +32,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -36,9 +32,7 @@ import org.springframework.web.bind.annotation.RestController;
import java.util.Date; import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors;
import static com.mortals.framework.ap.SysConstains.*; import static com.mortals.framework.ap.SysConstains.*;
import static com.mortals.xhx.common.key.ErrorCode.ERROR_TOKEN_EXPIRED; import static com.mortals.xhx.common.key.ErrorCode.ERROR_TOKEN_EXPIRED;
...@@ -56,7 +50,22 @@ import static com.mortals.xhx.common.key.ErrorCode.ERROR_TOKEN_EXPIRED_CONTENT; ...@@ -56,7 +50,22 @@ import static com.mortals.xhx.common.key.ErrorCode.ERROR_TOKEN_EXPIRED_CONTENT;
public class AppealApiController extends AbstractBaseController<PerformReq> { public class AppealApiController extends AbstractBaseController<PerformReq> {
@Autowired @Autowired
private PerformAttendAppealService attendAppealService; private CheckAttendRecordService checkAttendRecordService;
@Autowired
private CheckReviewRecordService checkReviewRecordService;
@Autowired
private CheckComplainRecordService checkComplainRecordService;
@Autowired
private CheckEffectRecordService checkEffectRecordService;
@Autowired
private CheckGoworkRecordService checkGoworkRecordService;
@Autowired
private CheckOtherRecordService checkOtherRecordService;
@Autowired
private PerformAttendAppealService appealService;
/** /**
* 个人申诉绩效统计 * 个人申诉绩效统计
...@@ -112,7 +121,7 @@ public class AppealApiController extends AbstractBaseController<PerformReq> { ...@@ -112,7 +121,7 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
query.setAppealTimeEnd(appealReq.getAppealEndDate()); query.setAppealTimeEnd(appealReq.getAppealEndDate());
query.setStaffId(context.getUser().getCustomerId()); query.setStaffId(context.getUser().getCustomerId());
Result<PerformAttendAppealEntity> result = attendAppealService.find(query, pageInfo, context); Result<PerformAttendAppealEntity> result = appealService.find(query, pageInfo, context);
model.put(KEY_RESULT_DATA, result.getList()); model.put(KEY_RESULT_DATA, result.getList());
model.put(PAGEINFO_KEY, result.getPageInfo()); model.put(PAGEINFO_KEY, result.getPageInfo());
parsePageInfo(model, result.getPageInfo()); parsePageInfo(model, result.getPageInfo());
...@@ -139,7 +148,7 @@ public class AppealApiController extends AbstractBaseController<PerformReq> { ...@@ -139,7 +148,7 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
if (ObjectUtils.isEmpty(appealReq.getId())) { if (ObjectUtils.isEmpty(appealReq.getId())) {
throw new AppException("详细查询id不能为空!"); throw new AppException("详细查询id不能为空!");
} }
PerformAttendAppealEntity performAttendAppealEntity = attendAppealService.get(appealReq.getId(), context); PerformAttendAppealEntity performAttendAppealEntity = appealService.get(appealReq.getId(), context);
rest.setData(performAttendAppealEntity); rest.setData(performAttendAppealEntity);
recordSysLog(request, busiDesc + " 【成功】"); recordSysLog(request, busiDesc + " 【成功】");
...@@ -155,21 +164,62 @@ public class AppealApiController extends AbstractBaseController<PerformReq> { ...@@ -155,21 +164,62 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
* 申诉新增 * 申诉新增
*/ */
@PostMapping(value = "save") @PostMapping(value = "save")
public Rest<PerformAttendAppealEntity> appealSave(@RequestBody PerformAttendAppealEntity appealEntity) { public Rest<PerformAttendAppealEntity> appealSave(@RequestBody AppealReq req) {
String busiDesc = "个人申诉新增"; String busiDesc = "个人申诉新增";
log.info("【{}】【请求体】--> {}", busiDesc, JSONObject.toJSONString(appealEntity)); log.info("【{}】【请求体】--> {}", busiDesc, JSONObject.toJSONString(req));
Rest<PerformAttendAppealEntity> rest = Rest.ok(busiDesc + " 【成功】"); Rest<PerformAttendAppealEntity> rest = Rest.ok(busiDesc + " 【成功】");
Context context = this.getContext(); Context context = this.getContext();
try { try {
//校验 去重 //根据状态 查询 当前是否已经存在正在进行的申诉
PerformAttendAppealEntity saveEntity = attendAppealService.save(appealEntity, context); if (ObjectUtils.isEmpty(req.getId())) throw new AppException("核查记录Id不能为空!");
if (ObjectUtils.isEmpty(req.getPerformType())) throw new AppException("绩效类型不能为空!");
//查询当前核查是否已存在进行中的申诉记录
PerformAttendAppealEntity appealEntity = appealService.selectOne(new PerformAttendAppealQuery().checkRecordId(req.getId()));
if (!ObjectUtils.isEmpty(appealEntity) && appealEntity.getProcessStatus() == ProcessStatusEnum.未处理.getValue()) {
throw new AppException("当前绩效核查已经存在正在进行中的申诉记录!");
}
PerformAttendAppealEntity entity = new PerformAttendAppealEntity();
entity.initAttrValue();
if (PerformTypeEnum.考勤绩效.getValue().equals(req.getPerformType())) {
CheckAttendRecordEntity checkEntity = checkAttendRecordService.get(req.getId(), context);
BeanUtils.copyProperties(checkEntity, entity, BeanUtil.getNullPropertyNames(checkEntity));
} else if (PerformTypeEnum.评价差评绩效.getValue().equals(req.getPerformType())) {
CheckReviewRecordEntity checkEntity = checkReviewRecordService.get(req.getId(), context);
BeanUtils.copyProperties(checkEntity, entity, BeanUtil.getNullPropertyNames(checkEntity));
} else if (PerformTypeEnum.评价投诉绩效.getValue().equals(req.getPerformType())) {
CheckComplainRecordEntity checkEntity = checkComplainRecordService.get(req.getId(), context);
BeanUtils.copyProperties(checkEntity, entity, BeanUtil.getNullPropertyNames(checkEntity));
} else if (PerformTypeEnum.办件绩效.getValue().equals(req.getPerformType())) {
CheckGoworkRecordEntity checkEntity = checkGoworkRecordService.get(req.getId(), context);
BeanUtils.copyProperties(checkEntity, entity, BeanUtil.getNullPropertyNames(checkEntity));
} else if (PerformTypeEnum.效能绩效.getValue().equals(req.getPerformType())) {
CheckEffectRecordEntity checkEntity = checkEffectRecordService.get(req.getId(), context);
BeanUtils.copyProperties(checkEntity, entity, BeanUtil.getNullPropertyNames(checkEntity));
} else if (PerformTypeEnum.其它绩效.getValue().equals(req.getPerformType())) {
CheckOtherRecordEntity checkEntity = checkOtherRecordService.get(req.getId(), context);
BeanUtils.copyProperties(checkEntity, entity, BeanUtil.getNullPropertyNames(checkEntity));
} else {
throw new AppException("不支持当前绩效类型");
}
entity.setPerformType(req.getPerformType());
entity.setPerformAttendAppealFilesList(req.getPerformAttendAppealFilesList());
entity.setProcessStatus(1);
entity.setAppealDesc(req.getAppealDesc());
PerformAttendAppealEntity saveEntity = appealService.save(entity, context);
rest.setData(saveEntity); rest.setData(saveEntity);
recordSysLog(request, busiDesc + " 【成功】"); recordSysLog(request, busiDesc + " 【成功】");
} catch (Exception e) { } catch (Exception e) {
log.error(busiDesc, e); log.error(busiDesc, e);
rest = Rest.fail(super.convertException(e)); rest = Rest.fail(super.convertException(e));
} }
log.info("【{}】【响应体】--> {}", busiDesc, JSONObject.toJSONString(appealEntity)); log.info("【{}】【响应体】--> {}", busiDesc, JSONObject.toJSONString(req));
return rest; return rest;
} }
......
...@@ -16,13 +16,20 @@ import com.mortals.xhx.busiz.req.PerformReq; ...@@ -16,13 +16,20 @@ import com.mortals.xhx.busiz.req.PerformReq;
import com.mortals.xhx.busiz.rsp.PerformDetailInfo; import com.mortals.xhx.busiz.rsp.PerformDetailInfo;
import com.mortals.xhx.busiz.rsp.PerformInfo; import com.mortals.xhx.busiz.rsp.PerformInfo;
import com.mortals.xhx.busiz.rsp.PerformStatInfo; import com.mortals.xhx.busiz.rsp.PerformStatInfo;
import com.mortals.xhx.common.code.AppealResultEnum;
import com.mortals.xhx.common.code.AppealStatusEnum;
import com.mortals.xhx.common.code.PerformTypeEnum; import com.mortals.xhx.common.code.PerformTypeEnum;
import com.mortals.xhx.common.code.ProcessStatusEnum;
import com.mortals.xhx.common.utils.BeanUtil; import com.mortals.xhx.common.utils.BeanUtil;
import com.mortals.xhx.module.attendance.model.AttendanceRecordEntity; import com.mortals.xhx.module.attendance.model.AttendanceRecordEntity;
import com.mortals.xhx.module.attendance.model.AttendanceRecordQuery; import com.mortals.xhx.module.attendance.model.AttendanceRecordQuery;
import com.mortals.xhx.module.attendance.service.AttendanceRecordService; import com.mortals.xhx.module.attendance.service.AttendanceRecordService;
import com.mortals.xhx.module.check.model.*; import com.mortals.xhx.module.check.model.*;
import com.mortals.xhx.module.check.model.vo.CheckAllRecordVo;
import com.mortals.xhx.module.check.service.*; import com.mortals.xhx.module.check.service.*;
import com.mortals.xhx.module.perform.model.PerformAttendAppealEntity;
import com.mortals.xhx.module.perform.model.PerformAttendAppealQuery;
import com.mortals.xhx.module.perform.service.PerformAttendAppealService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.poi.ss.formula.functions.T; import org.apache.poi.ss.formula.functions.T;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
...@@ -65,6 +72,11 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -65,6 +72,11 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
private CheckGoworkRecordService checkGoworkRecordService; private CheckGoworkRecordService checkGoworkRecordService;
@Autowired @Autowired
private CheckOtherRecordService checkOtherRecordService; private CheckOtherRecordService checkOtherRecordService;
@Autowired
private CheckAllRecordService checkAllRecordService;
@Autowired
private PerformAttendAppealService appealService;
/** /**
...@@ -119,6 +131,24 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -119,6 +131,24 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
PageInfo pageInfo = buildPageInfo(performReq); PageInfo pageInfo = buildPageInfo(performReq);
//todo 查询全部扣分绩效 //todo 查询全部扣分绩效
if (PerformTypeEnum.全部.getValue().equals(performReq.getPerformType())) { if (PerformTypeEnum.全部.getValue().equals(performReq.getPerformType())) {
CheckAllRecordQuery query = new CheckAllRecordQuery();
query.setCheckTimeStart(performReq.getPerformStartDate());
query.setCheckTimeEnd(performReq.getPerformEndDate());
query.setStaffId(context.getUser().getCustomerId());
List<CheckAllRecordVo> allCheckRecord = checkAllRecordService.getAllCheckRecord(query);
List<PerformInfo> collect = allCheckRecord.stream().map(item -> {
PerformInfo performInfo = new PerformInfo();
BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item));
return performInfo;
}).collect(Collectors.toList());
model.put(KEY_RESULT_DATA, collect);
PageInfo pageAllInfo = new PageInfo();
pageAllInfo.setTotalResult(collect.size());
pageAllInfo.setCurrPage(1);
pageAllInfo.setPrePageResult(-1);
model.put(PAGEINFO_KEY, pageAllInfo);
parsePageInfo(model, pageAllInfo);
} else if (PerformTypeEnum.考勤绩效.getValue().equals(performReq.getPerformType())) { } else if (PerformTypeEnum.考勤绩效.getValue().equals(performReq.getPerformType())) {
CheckAttendRecordQuery query = new CheckAttendRecordQuery(); CheckAttendRecordQuery query = new CheckAttendRecordQuery();
...@@ -131,8 +161,15 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -131,8 +161,15 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
PerformInfo performInfo = new PerformInfo(); PerformInfo performInfo = new PerformInfo();
BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item)); BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item));
performInfo.setPerformType(PerformTypeEnum.考勤绩效.getValue()); performInfo.setPerformType(PerformTypeEnum.考勤绩效.getValue());
//判断是否存在申诉
PerformAttendAppealEntity entity = appealService.selectOne(new PerformAttendAppealQuery().checkRecordId(item.getId()));
Boolean bool = entity.newEntity();
updateAppealStatus(performInfo, bool, entity.getProcessStatus(), entity.getAppealResult());
return performInfo; return performInfo;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
model.put(KEY_RESULT_DATA, collect); model.put(KEY_RESULT_DATA, collect);
model.put(PAGEINFO_KEY, result.getPageInfo()); model.put(PAGEINFO_KEY, result.getPageInfo());
parsePageInfo(model, result.getPageInfo()); parsePageInfo(model, result.getPageInfo());
...@@ -147,6 +184,11 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -147,6 +184,11 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
PerformInfo performInfo = new PerformInfo(); PerformInfo performInfo = new PerformInfo();
BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item)); BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item));
performInfo.setPerformType(PerformTypeEnum.评价差评绩效.getValue()); performInfo.setPerformType(PerformTypeEnum.评价差评绩效.getValue());
//判断是否存在申诉
PerformAttendAppealEntity entity = appealService.selectOne(new PerformAttendAppealQuery().checkRecordId(item.getId()));
Boolean bool = entity.newEntity();
updateAppealStatus(performInfo, bool, entity.getProcessStatus(), entity.getAppealResult());
return performInfo; return performInfo;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
model.put(KEY_RESULT_DATA, collect); model.put(KEY_RESULT_DATA, collect);
...@@ -163,6 +205,11 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -163,6 +205,11 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
PerformInfo performInfo = new PerformInfo(); PerformInfo performInfo = new PerformInfo();
BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item)); BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item));
performInfo.setPerformType(PerformTypeEnum.评价投诉绩效.getValue()); performInfo.setPerformType(PerformTypeEnum.评价投诉绩效.getValue());
//判断是否存在申诉
PerformAttendAppealEntity entity = appealService.selectOne(new PerformAttendAppealQuery().checkRecordId(item.getId()));
Boolean bool = entity.newEntity();
updateAppealStatus(performInfo, bool, entity.getProcessStatus(), entity.getAppealResult());
return performInfo; return performInfo;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
model.put(KEY_RESULT_DATA, collect); model.put(KEY_RESULT_DATA, collect);
...@@ -179,6 +226,10 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -179,6 +226,10 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
PerformInfo performInfo = new PerformInfo(); PerformInfo performInfo = new PerformInfo();
BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item)); BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item));
performInfo.setPerformType(PerformTypeEnum.办件绩效.getValue()); performInfo.setPerformType(PerformTypeEnum.办件绩效.getValue());
//判断是否存在申诉
PerformAttendAppealEntity entity = appealService.selectOne(new PerformAttendAppealQuery().checkRecordId(item.getId()));
Boolean bool = entity.newEntity();
updateAppealStatus(performInfo, bool, entity.getProcessStatus(), entity.getAppealResult());
return performInfo; return performInfo;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
model.put(KEY_RESULT_DATA, collect); model.put(KEY_RESULT_DATA, collect);
...@@ -195,6 +246,10 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -195,6 +246,10 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
PerformInfo performInfo = new PerformInfo(); PerformInfo performInfo = new PerformInfo();
BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item)); BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item));
performInfo.setPerformType(PerformTypeEnum.效能绩效.getValue()); performInfo.setPerformType(PerformTypeEnum.效能绩效.getValue());
//判断是否存在申诉
PerformAttendAppealEntity entity = appealService.selectOne(new PerformAttendAppealQuery().checkRecordId(item.getId()));
Boolean bool = entity.newEntity();
updateAppealStatus(performInfo, bool, entity.getProcessStatus(), entity.getAppealResult());
return performInfo; return performInfo;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
model.put(KEY_RESULT_DATA, collect); model.put(KEY_RESULT_DATA, collect);
...@@ -211,6 +266,10 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -211,6 +266,10 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
PerformInfo performInfo = new PerformInfo(); PerformInfo performInfo = new PerformInfo();
BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item)); BeanUtils.copyProperties(item, performInfo, BeanUtil.getNullPropertyNames(item));
performInfo.setPerformType(PerformTypeEnum.其它绩效.getValue()); performInfo.setPerformType(PerformTypeEnum.其它绩效.getValue());
//判断是否存在申诉
PerformAttendAppealEntity entity = appealService.selectOne(new PerformAttendAppealQuery().checkRecordId(item.getId()));
Boolean bool = entity.newEntity();
updateAppealStatus(performInfo, bool, entity.getProcessStatus(), entity.getAppealResult());
return performInfo; return performInfo;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
model.put(KEY_RESULT_DATA, collect); model.put(KEY_RESULT_DATA, collect);
...@@ -221,7 +280,6 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -221,7 +280,6 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
} }
rest.setData(model); rest.setData(model);
recordSysLog(request, busiDesc + " 【成功】"); recordSysLog(request, busiDesc + " 【成功】");
} catch (Exception e) { } catch (Exception e) {
log.error(busiDesc, e); log.error(busiDesc, e);
...@@ -230,6 +288,22 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -230,6 +288,22 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
return rest; return rest;
} }
private static void updateAppealStatus(PerformInfo performInfo, Boolean bool, Integer processStatus, Integer appealResult) {
if (!bool) {
performInfo.setAppealStatus(AppealStatusEnum.未申诉.getValue());
} else {
if (ProcessStatusEnum.未处理.getValue() == processStatus) {
performInfo.setAppealStatus(AppealStatusEnum.申诉中.getValue());
} else {
if (AppealResultEnum.通过.getValue() == appealResult) {
performInfo.setAppealStatus(AppealStatusEnum.申诉通过.getValue());
} else if (AppealResultEnum.不通过.getValue() == appealResult) {
performInfo.setAppealStatus(AppealStatusEnum.申诉拒绝.getValue());
}
}
}
}
/** /**
* 详细 * 详细
...@@ -278,7 +352,6 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -278,7 +352,6 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
} }
public static void main(String[] args) { public static void main(String[] args) {
} }
......
package com.mortals.xhx.common.code;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* 申诉状态(0.未申诉,1.申诉中,2.申诉拒绝,3.申诉通过)
*
* @author zxfei
*/
public enum AppealStatusEnum {
未申诉(0, "未申诉"),
申诉中(1, "申诉中"),
申诉拒绝(2, "申诉拒绝"),
申诉通过(3, "申诉通过");
private Integer value;
private String desc;
AppealStatusEnum(Integer value, String desc) {
this.value = value;
this.desc = desc;
}
public Integer getValue() {
return this.value;
}
public String getDesc() {
return this.desc;
}
public static AppealStatusEnum getByValue(Integer value) {
for (AppealStatusEnum deviceStatusEnum : AppealStatusEnum.values()) {
if (deviceStatusEnum.getValue() == value) {
return deviceStatusEnum;
}
}
return null;
}
/**
* 获取Map集合
*
* @param eItem 不包含项
* @return
*/
public static Map<String, String> getEnumMap(Integer... eItem) {
Map<String, String> resultMap = new LinkedHashMap<>();
for (AppealStatusEnum item : AppealStatusEnum.values()) {
try {
boolean hasE = false;
for (Integer e : eItem) {
if (item.getValue() == e) {
hasE = true;
break;
}
}
if (!hasE) {
resultMap.put(item.getValue() + "", item.getDesc());
}
} catch (Exception ex) {
}
}
return resultMap;
}
}
\ No newline at end of file
...@@ -8,11 +8,10 @@ import java.util.Map; ...@@ -8,11 +8,10 @@ import java.util.Map;
*/ */
public enum CheckTypeEnum { public enum CheckTypeEnum {
考勤绩效(1, "考勤绩效"), 考勤绩效(1, "考勤绩效"),
效能绩效(2, "效能绩效"), 评价绩效(2, "评价绩效"),
评价绩效(3, "评价绩效"), 办件绩效(3, "办件绩效"),
办件绩效(4, "办件绩效"), 效能绩效(4, "效能绩效"),
差评绩效(5, "差评绩效"), 其它绩效(5, "其它绩效"),
其它绩效(6, "其它绩效"),
; ;
private Integer value; private Integer value;
private String desc; private String desc;
......
...@@ -4,13 +4,13 @@ import java.util.LinkedHashMap; ...@@ -4,13 +4,13 @@ import java.util.LinkedHashMap;
import java.util.Map; import java.util.Map;
/** /**
* 处理状态(1.未核查,2.已核查)枚举类 * 处理状态(1.未处理,2.已处理)枚举类
* *
* @author zxfei * @author zxfei
*/ */
public enum ProcessStatusEnum { public enum ProcessStatusEnum {
核查(1, "未核查"), 处理(1, "未处理"),
核查(2, "已核查"); 处理(2, "已处理");
private Integer value; private Integer value;
private String desc; private String desc;
......
...@@ -4,13 +4,14 @@ import java.util.LinkedHashMap; ...@@ -4,13 +4,14 @@ import java.util.LinkedHashMap;
import java.util.Map; import java.util.Map;
/** /**
* 扣分方式(1.系统自动,2.人工添加)枚举类 * 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)枚举类
* *
* @author zxfei * @author zxfei
*/ */
public enum SubMethodEnum { public enum SubMethodEnum {
系统自动(1, "系统自动"), 系统自动(1, "系统自动"),
人工添加(2, "人工添加"); 人工添加(2, "人工添加"),
大厅巡查(3, "大厅巡查");
private Integer value; private Integer value;
private String desc; private String desc;
......
...@@ -11,7 +11,8 @@ import java.util.Map; ...@@ -11,7 +11,8 @@ import java.util.Map;
public enum UserType { public enum UserType {
SYSTEM(0, "系统用户"), SYSTEM(0, "系统用户"),
WORK(1, "后台管理"), WORK(1, "后台管理"),
WORK_PERSON(2, "工作人员"); WORK_PERSON(2, "工作人员"),
INSPECT_PERSON(3, "巡查人员");;
private int value; private int value;
private String desc; private String desc;
......
...@@ -133,7 +133,7 @@ public class CheckAttendRecordEntity extends CheckAttendRecordVo { ...@@ -133,7 +133,7 @@ public class CheckAttendRecordEntity extends CheckAttendRecordVo {
*/ */
private Long categoryId; private Long categoryId;
/** /**
* 规则名称 * 规则分类名称
*/ */
private String categoryName; private String categoryName;
@Override @Override
......
package com.mortals.xhx.module.feedback.service.impl; package com.mortals.xhx.module.feedback.service.impl;
import com.mortals.xhx.module.feedback.model.FeedbackStaffEntity;
import com.mortals.xhx.module.feedback.service.FeedbackStaffService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
...@@ -11,6 +13,8 @@ import com.mortals.xhx.module.feedback.model.FeedbackQuestionEntity; ...@@ -11,6 +13,8 @@ import com.mortals.xhx.module.feedback.model.FeedbackQuestionEntity;
import com.mortals.xhx.module.feedback.model.FeedbackQuestionQuery; import com.mortals.xhx.module.feedback.model.FeedbackQuestionQuery;
import com.mortals.xhx.module.feedback.service.FeedbackQuestionService; import com.mortals.xhx.module.feedback.service.FeedbackQuestionService;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
...@@ -27,6 +31,8 @@ import lombok.extern.slf4j.Slf4j; ...@@ -27,6 +31,8 @@ import lombok.extern.slf4j.Slf4j;
public class FeedbackServiceImpl extends AbstractCRUDServiceImpl<FeedbackDao, FeedbackEntity, Long> implements FeedbackService { public class FeedbackServiceImpl extends AbstractCRUDServiceImpl<FeedbackDao, FeedbackEntity, Long> implements FeedbackService {
@Autowired @Autowired
private FeedbackQuestionService feedbackQuestionService; private FeedbackQuestionService feedbackQuestionService;
@Autowired
private FeedbackStaffService feedbackStaffService;
@Override @Override
protected void saveAfter(FeedbackEntity entity, Context context) throws AppException { protected void saveAfter(FeedbackEntity entity, Context context) throws AppException {
...@@ -38,6 +44,18 @@ public class FeedbackServiceImpl extends AbstractCRUDServiceImpl<FeedbackDao, Fe ...@@ -38,6 +44,18 @@ public class FeedbackServiceImpl extends AbstractCRUDServiceImpl<FeedbackDao, Fe
}).count(); }).count();
feedbackQuestionService.save(entity.getFeedbackQuestionList()); feedbackQuestionService.save(entity.getFeedbackQuestionList());
} }
if(!ObjectUtils.isEmpty(entity.getStaffList())){
List<FeedbackStaffEntity> staffEntityList = new ArrayList<>();
for(Long staffId:entity.getStaffList()){
FeedbackStaffEntity feedbackStaffEntity = new FeedbackStaffEntity();
feedbackStaffEntity.setFeedbackId(entity.getId());
feedbackStaffEntity.setStaffId(staffId);
feedbackStaffEntity.setCreateTime(new Date());
feedbackStaffEntity.setCreateUserId(this.getContextUserId(context));
staffEntityList.add(feedbackStaffEntity);
}
feedbackStaffService.save(staffEntityList,context);
}
super.saveAfter(entity, context); super.saveAfter(entity, context);
} }
......
...@@ -8,7 +8,7 @@ import java.util.List; ...@@ -8,7 +8,7 @@ import java.util.List;
* 绩效记录申诉信息 DAO接口 * 绩效记录申诉信息 DAO接口
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
public interface PerformAttendAppealDao extends ICRUDDao<PerformAttendAppealEntity,Long>{ public interface PerformAttendAppealDao extends ICRUDDao<PerformAttendAppealEntity,Long>{
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
* 绩效记录申诉信息DaoImpl DAO接口 * 绩效记录申诉信息DaoImpl DAO接口
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
@Repository("performAttendAppealDao") @Repository("performAttendAppealDao")
public class PerformAttendAppealDaoImpl extends BaseCRUDDaoMybatis<PerformAttendAppealEntity,Long> implements PerformAttendAppealDao { public class PerformAttendAppealDaoImpl extends BaseCRUDDaoMybatis<PerformAttendAppealEntity,Long> implements PerformAttendAppealDao {
......
...@@ -14,7 +14,7 @@ import lombok.Data; ...@@ -14,7 +14,7 @@ import lombok.Data;
* 绩效记录申诉信息实体对象 * 绩效记录申诉信息实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
@Data @Data
public class PerformAttendAppealEntity extends PerformAttendAppealVo { public class PerformAttendAppealEntity extends PerformAttendAppealVo {
...@@ -134,10 +134,108 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo { ...@@ -134,10 +134,108 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo {
@Excel(name = "说明") @Excel(name = "说明")
private String remark; private String remark;
/** /**
* 违规类型 * 违规类型
*/ */
private String violationType; private String violationType;
/** /**
* 评价结果(1.非常不满意,2.差评)
*/
private Integer reviewResult;
/**
* 评价时间
*/
private Date reviewTime;
/**
* 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
*/
@Excel(name = "评价来源", readConverterExp = "评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)")
private String reviewSource;
/**
* 评价设备
*/
private String reviewDevice;
/**
* 投诉标题
*/
@Excel(name = "投诉标题")
private String complainTitle;
/**
* 投诉内容
*/
@Excel(name = "投诉内容")
private String complainContent;
/**
* 投诉人真实姓名
*/
private String complainRealName;
/**
* 联系电话
*/
@Excel(name = "联系电话")
private String contact;
/**
* 投诉时间
*/
private Date complainTime;
/**
* 投诉来源
*/
private String complainSource;
/**
* 投诉设备
*/
private String complainDevice;
/**
* 办件编码
*/
@Excel(name = "办件编码")
private String goworkCode;
/**
* 办件所属部门
*/
@Excel(name = "办件所属部门")
private String goworkDepts;
/**
* 事项名称
*/
@Excel(name = "事项名称")
private String matterlName;
/**
* 办理时间
*/
@Excel(name = "办理时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date goworkTime;
/**
* 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
*/
@Excel(name = "违规类型", readConverterExp = "1=脱岗,2.离岗,3.玩手机,4.睡觉")
private Integer irregularType;
/**
* 发生时间
*/
@Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date happenTime;
/**
* 持续时间,秒
*/
private Integer duration;
/**
* 报警时间
*/
private Date alarmTime;
/**
* 图片凭证地址
*/
private String snapPath;
/**
* 违规类型(1.工作纪律)
*/
private Integer irregularOtherType;
/**
* 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
*/
private String performType;
/**
* 绩效记录申诉附件信息信息 * 绩效记录申诉附件信息信息
*/ */
private List<PerformAttendAppealFilesEntity> performAttendAppealFilesList=new ArrayList<>();; private List<PerformAttendAppealFilesEntity> performAttendAppealFilesList=new ArrayList<>();;
...@@ -221,5 +319,49 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo { ...@@ -221,5 +319,49 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo {
this.remark = ""; this.remark = "";
this.violationType = ""; this.violationType = "";
this.reviewResult = -1;
this.reviewTime = null;
this.reviewSource = "";
this.reviewDevice = "";
this.complainTitle = "";
this.complainContent = "";
this.complainRealName = "";
this.contact = "";
this.complainTime = null;
this.complainSource = "";
this.complainDevice = "";
this.goworkCode = "";
this.goworkDepts = "";
this.matterlName = "";
this.goworkTime = null;
this.irregularType = -1;
this.happenTime = null;
this.duration = 0;
this.alarmTime = null;
this.snapPath = "";
this.irregularOtherType = -1;
this.performType = "";
} }
} }
\ No newline at end of file
...@@ -9,7 +9,7 @@ import com.mortals.xhx.module.perform.model.PerformAttendAppealEntity; ...@@ -9,7 +9,7 @@ import com.mortals.xhx.module.perform.model.PerformAttendAppealEntity;
* 绩效记录申诉信息查询对象 * 绩效记录申诉信息查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
public class PerformAttendAppealQuery extends PerformAttendAppealEntity { public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
/** 开始 序号,主键,自增长 */ /** 开始 序号,主键,自增长 */
...@@ -309,11 +309,166 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -309,11 +309,166 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
/** 结束 更新时间 */ /** 结束 更新时间 */
private String updateTimeEnd; private String updateTimeEnd;
/** 违规类型 */ /** 违规类型 */
private List<String> violationTypeList; private List<String> violationTypeList;
/** 违规类型排除列表 */ /** 违规类型排除列表 */
private List <String> violationTypeNotList; private List <String> violationTypeNotList;
/** 开始 评价结果(1.非常不满意,2.差评) */
private Integer reviewResultStart;
/** 结束 评价结果(1.非常不满意,2.差评) */
private Integer reviewResultEnd;
/** 增加 评价结果(1.非常不满意,2.差评) */
private Integer reviewResultIncrement;
/** 评价结果(1.非常不满意,2.差评)列表 */
private List <Integer> reviewResultList;
/** 评价结果(1.非常不满意,2.差评)排除列表 */
private List <Integer> reviewResultNotList;
/** 开始 评价时间 */
private String reviewTimeStart;
/** 结束 评价时间 */
private String reviewTimeEnd;
/** 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它) */
private List<String> reviewSourceList;
/** 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)排除列表 */
private List <String> reviewSourceNotList;
/** 评价设备 */
private List<String> reviewDeviceList;
/** 评价设备排除列表 */
private List <String> reviewDeviceNotList;
/** 投诉标题 */
private List<String> complainTitleList;
/** 投诉标题排除列表 */
private List <String> complainTitleNotList;
/** 投诉内容 */
private List<String> complainContentList;
/** 投诉内容排除列表 */
private List <String> complainContentNotList;
/** 投诉人真实姓名 */
private List<String> complainRealNameList;
/** 投诉人真实姓名排除列表 */
private List <String> complainRealNameNotList;
/** 联系电话 */
private List<String> contactList;
/** 联系电话排除列表 */
private List <String> contactNotList;
/** 开始 投诉时间 */
private String complainTimeStart;
/** 结束 投诉时间 */
private String complainTimeEnd;
/** 投诉来源 */
private List<String> complainSourceList;
/** 投诉来源排除列表 */
private List <String> complainSourceNotList;
/** 投诉设备 */
private List<String> complainDeviceList;
/** 投诉设备排除列表 */
private List <String> complainDeviceNotList;
/** 办件编码 */
private List<String> goworkCodeList;
/** 办件编码排除列表 */
private List <String> goworkCodeNotList;
/** 办件所属部门 */
private List<String> goworkDeptsList;
/** 办件所属部门排除列表 */
private List <String> goworkDeptsNotList;
/** 事项名称 */
private List<String> matterlNameList;
/** 事项名称排除列表 */
private List <String> matterlNameNotList;
/** 开始 办理时间 */
private String goworkTimeStart;
/** 结束 办理时间 */
private String goworkTimeEnd;
/** 开始 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉) */
private Integer irregularTypeStart;
/** 结束 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉) */
private Integer irregularTypeEnd;
/** 增加 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉) */
private Integer irregularTypeIncrement;
/** 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)列表 */
private List <Integer> irregularTypeList;
/** 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)排除列表 */
private List <Integer> irregularTypeNotList;
/** 开始 发生时间 */
private String happenTimeStart;
/** 结束 发生时间 */
private String happenTimeEnd;
/** 开始 持续时间,秒 */
private Integer durationStart;
/** 结束 持续时间,秒 */
private Integer durationEnd;
/** 增加 持续时间,秒 */
private Integer durationIncrement;
/** 持续时间,秒列表 */
private List <Integer> durationList;
/** 持续时间,秒排除列表 */
private List <Integer> durationNotList;
/** 开始 报警时间 */
private String alarmTimeStart;
/** 结束 报警时间 */
private String alarmTimeEnd;
/** 图片凭证地址 */
private List<String> snapPathList;
/** 图片凭证地址排除列表 */
private List <String> snapPathNotList;
/** 开始 违规类型(1.工作纪律) */
private Integer irregularOtherTypeStart;
/** 结束 违规类型(1.工作纪律) */
private Integer irregularOtherTypeEnd;
/** 增加 违规类型(1.工作纪律) */
private Integer irregularOtherTypeIncrement;
/** 违规类型(1.工作纪律)列表 */
private List <Integer> irregularOtherTypeList;
/** 违规类型(1.工作纪律)排除列表 */
private List <Integer> irregularOtherTypeNotList;
/** 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】 */
private List<String> performTypeList;
/** 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】排除列表 */
private List <String> performTypeNotList;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */ /** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<PerformAttendAppealQuery> orConditionList; private List<PerformAttendAppealQuery> orConditionList;
...@@ -1984,7 +2139,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -1984,7 +2139,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
} }
/** /**
* 获取 违规类型 * 获取 违规类型
* @return violationTypeList * @return violationTypeList
*/ */
public List<String> getViolationTypeList(){ public List<String> getViolationTypeList(){
...@@ -1992,7 +2147,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -1992,7 +2147,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
} }
/** /**
* 设置 违规类型 * 设置 违规类型
* @param violationTypeList * @param violationTypeList
*/ */
public void setViolationTypeList(List<String> violationTypeList){ public void setViolationTypeList(List<String> violationTypeList){
...@@ -2000,7 +2155,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -2000,7 +2155,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
} }
/** /**
* 获取 违规类型 * 获取 违规类型
* @return violationTypeNotList * @return violationTypeNotList
*/ */
public List<String> getViolationTypeNotList(){ public List<String> getViolationTypeNotList(){
...@@ -2008,7 +2163,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -2008,7 +2163,7 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
} }
/** /**
* 设置 违规类型 * 设置 违规类型
* @param violationTypeNotList * @param violationTypeNotList
*/ */
public void setViolationTypeNotList(List<String> violationTypeNotList){ public void setViolationTypeNotList(List<String> violationTypeNotList){
...@@ -2016,958 +2171,2326 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity { ...@@ -2016,958 +2171,2326 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
} }
/** /**
* 设置 序号,主键,自增长 * 获取 开始 评价结果(1.非常不满意,2.差评)
* @param id * @return reviewResultStart
*/ */
public PerformAttendAppealQuery id(Long id){ public Integer getReviewResultStart(){
setId(id); return this.reviewResultStart;
return this;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 评价结果(1.非常不满意,2.差评)
* @param idStart * @param reviewResultStart
*/ */
public PerformAttendAppealQuery idStart(Long idStart){ public void setReviewResultStart(Integer reviewResultStart){
this.idStart = idStart; this.reviewResultStart = reviewResultStart;
return this;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 获取 结束 评价结果(1.非常不满意,2.差评)
* @param idEnd * @return $reviewResultEnd
*/ */
public PerformAttendAppealQuery idEnd(Long idEnd){ public Integer getReviewResultEnd(){
this.idEnd = idEnd; return this.reviewResultEnd;
return this;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 结束 评价结果(1.非常不满意,2.差评)
* @param idIncrement * @param reviewResultEnd
*/ */
public PerformAttendAppealQuery idIncrement(Long idIncrement){ public void setReviewResultEnd(Integer reviewResultEnd){
this.idIncrement = idIncrement; this.reviewResultEnd = reviewResultEnd;
return this;
} }
/** /**
* 设置 序号,主键,自增长 * 获取 增加 评价结果(1.非常不满意,2.差评)
* @param idList * @return reviewResultIncrement
*/ */
public PerformAttendAppealQuery idList(List<Long> idList){ public Integer getReviewResultIncrement(){
this.idList = idList; return this.reviewResultIncrement;
return this; }
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public PerformAttendAppealQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
/** /**
* 设置 核查记录Id * 设置 增加 评价结果(1.非常不满意,2.差评)
* @param checkRecordId * @param reviewResultIncrement
*/ */
public PerformAttendAppealQuery checkRecordId(Long checkRecordId){ public void setReviewResultIncrement(Integer reviewResultIncrement){
setCheckRecordId(checkRecordId); this.reviewResultIncrement = reviewResultIncrement;
return this;
} }
/** /**
* 设置 开始 核查记录Id * 获取 评价结果(1.非常不满意,2.差评)
* @param checkRecordIdStart * @return reviewResultList
*/ */
public PerformAttendAppealQuery checkRecordIdStart(Long checkRecordIdStart){ public List<Integer> getReviewResultList(){
this.checkRecordIdStart = checkRecordIdStart; return this.reviewResultList;
return this;
} }
/** /**
* 设置 结束 核查记录Id * 设置 评价结果(1.非常不满意,2.差评)
* @param checkRecordIdEnd * @param reviewResultList
*/ */
public PerformAttendAppealQuery checkRecordIdEnd(Long checkRecordIdEnd){ public void setReviewResultList(List<Integer> reviewResultList){
this.checkRecordIdEnd = checkRecordIdEnd; this.reviewResultList = reviewResultList;
return this;
} }
/** /**
* 设置 增加 核查记录Id * 获取 评价结果(1.非常不满意,2.差评)
* @param checkRecordIdIncrement * @return reviewResultNotList
*/ */
public PerformAttendAppealQuery checkRecordIdIncrement(Long checkRecordIdIncrement){ public List<Integer> getReviewResultNotList(){
this.checkRecordIdIncrement = checkRecordIdIncrement; return this.reviewResultNotList;
return this;
} }
/** /**
* 设置 核查记录Id * 设置 评价结果(1.非常不满意,2.差评)
* @param checkRecordIdList * @param reviewResultNotList
*/ */
public PerformAttendAppealQuery checkRecordIdList(List<Long> checkRecordIdList){ public void setReviewResultNotList(List<Integer> reviewResultNotList){
this.checkRecordIdList = checkRecordIdList; this.reviewResultNotList = reviewResultNotList;
return this; }
}
/**
* 设置 核查记录Id
* @param checkRecordIdNotList
*/
public PerformAttendAppealQuery checkRecordIdNotList(List<Long> checkRecordIdNotList){
this.checkRecordIdNotList = checkRecordIdNotList;
return this;
}
/** /**
* 设置 员工ID * 获取 开始 评价时间
* @param staffId * @return reviewTimeStart
*/ */
public PerformAttendAppealQuery staffId(Long staffId){ public String getReviewTimeStart(){
setStaffId(staffId); return this.reviewTimeStart;
return this;
} }
/** /**
* 设置 开始 员工ID * 设置 开始 评价时间
* @param staffIdStart * @param reviewTimeStart
*/ */
public PerformAttendAppealQuery staffIdStart(Long staffIdStart){ public void setReviewTimeStart(String reviewTimeStart){
this.staffIdStart = staffIdStart; this.reviewTimeStart = reviewTimeStart;
return this;
} }
/** /**
* 设置 结束 员工ID * 获取 结束 评价时间
* @param staffIdEnd * @return reviewTimeEnd
*/ */
public PerformAttendAppealQuery staffIdEnd(Long staffIdEnd){ public String getReviewTimeEnd(){
this.staffIdEnd = staffIdEnd; return this.reviewTimeEnd;
return this;
} }
/** /**
* 设置 增加 员工ID * 设置 结束 评价时间
* @param staffIdIncrement * @param reviewTimeEnd
*/ */
public PerformAttendAppealQuery staffIdIncrement(Long staffIdIncrement){ public void setReviewTimeEnd(String reviewTimeEnd){
this.staffIdIncrement = staffIdIncrement; this.reviewTimeEnd = reviewTimeEnd;
return this;
} }
/** /**
* 设置 员工ID * 获取 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param staffIdList * @return reviewSourceList
*/ */
public PerformAttendAppealQuery staffIdList(List<Long> staffIdList){ public List<String> getReviewSourceList(){
this.staffIdList = staffIdList; return this.reviewSourceList;
return this; }
}
/** /**
* 设置 员工ID * 设置 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param staffIdNotList * @param reviewSourceList
*/ */
public PerformAttendAppealQuery staffIdNotList(List<Long> staffIdNotList){ public void setReviewSourceList(List<String> reviewSourceList){
this.staffIdNotList = staffIdNotList; this.reviewSourceList = reviewSourceList;
return this; }
}
/**
* 获取 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @return reviewSourceNotList
*/
public List<String> getReviewSourceNotList(){
return this.reviewSourceNotList;
}
/** /**
* 设置 员工姓名 * 设置 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param staffName * @param reviewSourceNotList
*/ */
public PerformAttendAppealQuery staffName(String staffName){ public void setReviewSourceNotList(List<String> reviewSourceNotList){
setStaffName(staffName); this.reviewSourceNotList = reviewSourceNotList;
return this;
} }
/** /**
* 设置 员工姓名 * 获取 评价设备
* @param staffNameList * @return reviewDeviceList
*/ */
public PerformAttendAppealQuery staffNameList(List<String> staffNameList){ public List<String> getReviewDeviceList(){
this.staffNameList = staffNameList; return this.reviewDeviceList;
return this;
} }
/**
* 设置 评价设备
* @param reviewDeviceList
*/
public void setReviewDeviceList(List<String> reviewDeviceList){
this.reviewDeviceList = reviewDeviceList;
}
/** /**
* 设置 工号 * 获取 评价设备
* @param workNum * @return reviewDeviceNotList
*/ */
public PerformAttendAppealQuery workNum(String workNum){ public List<String> getReviewDeviceNotList(){
setWorkNum(workNum); return this.reviewDeviceNotList;
return this;
} }
/** /**
* 设置 工号 * 设置 评价设备
* @param workNumList * @param reviewDeviceNotList
*/ */
public PerformAttendAppealQuery workNumList(List<String> workNumList){ public void setReviewDeviceNotList(List<String> reviewDeviceNotList){
this.workNumList = workNumList; this.reviewDeviceNotList = reviewDeviceNotList;
return this;
} }
/** /**
* 设置 所属部门 * 获取 投诉标题
* @param deptId * @return complainTitleList
*/ */
public PerformAttendAppealQuery deptId(Long deptId){ public List<String> getComplainTitleList(){
setDeptId(deptId); return this.complainTitleList;
return this;
} }
/** /**
* 设置 开始 所属部门 * 设置 投诉标题
* @param deptIdStart * @param complainTitleList
*/ */
public PerformAttendAppealQuery deptIdStart(Long deptIdStart){ public void setComplainTitleList(List<String> complainTitleList){
this.deptIdStart = deptIdStart; this.complainTitleList = complainTitleList;
return this;
} }
/** /**
* 设置 结束 所属部门 * 获取 投诉标题
* @param deptIdEnd * @return complainTitleNotList
*/ */
public PerformAttendAppealQuery deptIdEnd(Long deptIdEnd){ public List<String> getComplainTitleNotList(){
this.deptIdEnd = deptIdEnd; return this.complainTitleNotList;
return this;
} }
/** /**
* 设置 增加 所属部门 * 设置 投诉标题
* @param deptIdIncrement * @param complainTitleNotList
*/ */
public PerformAttendAppealQuery deptIdIncrement(Long deptIdIncrement){ public void setComplainTitleNotList(List<String> complainTitleNotList){
this.deptIdIncrement = deptIdIncrement; this.complainTitleNotList = complainTitleNotList;
return this;
} }
/** /**
* 设置 所属部门 * 获取 投诉内容
* @param deptIdList * @return complainContentList
*/ */
public PerformAttendAppealQuery deptIdList(List<Long> deptIdList){ public List<String> getComplainContentList(){
this.deptIdList = deptIdList; return this.complainContentList;
return this; }
}
/** /**
* 设置 所属部门 * 设置 投诉内容
* @param deptIdNotList * @param complainContentList
*/ */
public PerformAttendAppealQuery deptIdNotList(List<Long> deptIdNotList){ public void setComplainContentList(List<String> complainContentList){
this.deptIdNotList = deptIdNotList; this.complainContentList = complainContentList;
return this; }
}
/**
* 获取 投诉内容
* @return complainContentNotList
*/
public List<String> getComplainContentNotList(){
return this.complainContentNotList;
}
/** /**
* 设置 所属部门名称 * 设置 投诉内容
* @param deptName * @param complainContentNotList
*/ */
public PerformAttendAppealQuery deptName(String deptName){ public void setComplainContentNotList(List<String> complainContentNotList){
setDeptName(deptName); this.complainContentNotList = complainContentNotList;
return this;
} }
/** /**
* 设置 所属部门名称 * 获取 投诉人真实姓名
* @param deptNameList * @return complainRealNameList
*/ */
public PerformAttendAppealQuery deptNameList(List<String> deptNameList){ public List<String> getComplainRealNameList(){
this.deptNameList = deptNameList; return this.complainRealNameList;
return this;
} }
/** /**
* 设置 所属考勤组ID * 设置 投诉人真实姓名
* @param attendanceGroupId * @param complainRealNameList
*/ */
public PerformAttendAppealQuery attendanceGroupId(Long attendanceGroupId){ public void setComplainRealNameList(List<String> complainRealNameList){
setAttendanceGroupId(attendanceGroupId); this.complainRealNameList = complainRealNameList;
return this; }
/**
* 获取 投诉人真实姓名
* @return complainRealNameNotList
*/
public List<String> getComplainRealNameNotList(){
return this.complainRealNameNotList;
}
/**
* 设置 投诉人真实姓名
* @param complainRealNameNotList
*/
public void setComplainRealNameNotList(List<String> complainRealNameNotList){
this.complainRealNameNotList = complainRealNameNotList;
}
/**
* 获取 联系电话
* @return contactList
*/
public List<String> getContactList(){
return this.contactList;
}
/**
* 设置 联系电话
* @param contactList
*/
public void setContactList(List<String> contactList){
this.contactList = contactList;
}
/**
* 获取 联系电话
* @return contactNotList
*/
public List<String> getContactNotList(){
return this.contactNotList;
}
/**
* 设置 联系电话
* @param contactNotList
*/
public void setContactNotList(List<String> contactNotList){
this.contactNotList = contactNotList;
}
/**
* 获取 开始 投诉时间
* @return complainTimeStart
*/
public String getComplainTimeStart(){
return this.complainTimeStart;
}
/**
* 设置 开始 投诉时间
* @param complainTimeStart
*/
public void setComplainTimeStart(String complainTimeStart){
this.complainTimeStart = complainTimeStart;
}
/**
* 获取 结束 投诉时间
* @return complainTimeEnd
*/
public String getComplainTimeEnd(){
return this.complainTimeEnd;
}
/**
* 设置 结束 投诉时间
* @param complainTimeEnd
*/
public void setComplainTimeEnd(String complainTimeEnd){
this.complainTimeEnd = complainTimeEnd;
}
/**
* 获取 投诉来源
* @return complainSourceList
*/
public List<String> getComplainSourceList(){
return this.complainSourceList;
}
/**
* 设置 投诉来源
* @param complainSourceList
*/
public void setComplainSourceList(List<String> complainSourceList){
this.complainSourceList = complainSourceList;
}
/**
* 获取 投诉来源
* @return complainSourceNotList
*/
public List<String> getComplainSourceNotList(){
return this.complainSourceNotList;
}
/**
* 设置 投诉来源
* @param complainSourceNotList
*/
public void setComplainSourceNotList(List<String> complainSourceNotList){
this.complainSourceNotList = complainSourceNotList;
}
/**
* 获取 投诉设备
* @return complainDeviceList
*/
public List<String> getComplainDeviceList(){
return this.complainDeviceList;
}
/**
* 设置 投诉设备
* @param complainDeviceList
*/
public void setComplainDeviceList(List<String> complainDeviceList){
this.complainDeviceList = complainDeviceList;
}
/**
* 获取 投诉设备
* @return complainDeviceNotList
*/
public List<String> getComplainDeviceNotList(){
return this.complainDeviceNotList;
}
/**
* 设置 投诉设备
* @param complainDeviceNotList
*/
public void setComplainDeviceNotList(List<String> complainDeviceNotList){
this.complainDeviceNotList = complainDeviceNotList;
}
/**
* 获取 办件编码
* @return goworkCodeList
*/
public List<String> getGoworkCodeList(){
return this.goworkCodeList;
}
/**
* 设置 办件编码
* @param goworkCodeList
*/
public void setGoworkCodeList(List<String> goworkCodeList){
this.goworkCodeList = goworkCodeList;
}
/**
* 获取 办件编码
* @return goworkCodeNotList
*/
public List<String> getGoworkCodeNotList(){
return this.goworkCodeNotList;
}
/**
* 设置 办件编码
* @param goworkCodeNotList
*/
public void setGoworkCodeNotList(List<String> goworkCodeNotList){
this.goworkCodeNotList = goworkCodeNotList;
}
/**
* 获取 办件所属部门
* @return goworkDeptsList
*/
public List<String> getGoworkDeptsList(){
return this.goworkDeptsList;
}
/**
* 设置 办件所属部门
* @param goworkDeptsList
*/
public void setGoworkDeptsList(List<String> goworkDeptsList){
this.goworkDeptsList = goworkDeptsList;
}
/**
* 获取 办件所属部门
* @return goworkDeptsNotList
*/
public List<String> getGoworkDeptsNotList(){
return this.goworkDeptsNotList;
}
/**
* 设置 办件所属部门
* @param goworkDeptsNotList
*/
public void setGoworkDeptsNotList(List<String> goworkDeptsNotList){
this.goworkDeptsNotList = goworkDeptsNotList;
}
/**
* 获取 事项名称
* @return matterlNameList
*/
public List<String> getMatterlNameList(){
return this.matterlNameList;
}
/**
* 设置 事项名称
* @param matterlNameList
*/
public void setMatterlNameList(List<String> matterlNameList){
this.matterlNameList = matterlNameList;
}
/**
* 获取 事项名称
* @return matterlNameNotList
*/
public List<String> getMatterlNameNotList(){
return this.matterlNameNotList;
}
/**
* 设置 事项名称
* @param matterlNameNotList
*/
public void setMatterlNameNotList(List<String> matterlNameNotList){
this.matterlNameNotList = matterlNameNotList;
}
/**
* 获取 开始 办理时间
* @return goworkTimeStart
*/
public String getGoworkTimeStart(){
return this.goworkTimeStart;
}
/**
* 设置 开始 办理时间
* @param goworkTimeStart
*/
public void setGoworkTimeStart(String goworkTimeStart){
this.goworkTimeStart = goworkTimeStart;
}
/**
* 获取 结束 办理时间
* @return goworkTimeEnd
*/
public String getGoworkTimeEnd(){
return this.goworkTimeEnd;
}
/**
* 设置 结束 办理时间
* @param goworkTimeEnd
*/
public void setGoworkTimeEnd(String goworkTimeEnd){
this.goworkTimeEnd = goworkTimeEnd;
}
/**
* 获取 开始 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @return irregularTypeStart
*/
public Integer getIrregularTypeStart(){
return this.irregularTypeStart;
}
/**
* 设置 开始 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeStart
*/
public void setIrregularTypeStart(Integer irregularTypeStart){
this.irregularTypeStart = irregularTypeStart;
}
/**
* 获取 结束 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @return $irregularTypeEnd
*/
public Integer getIrregularTypeEnd(){
return this.irregularTypeEnd;
}
/**
* 设置 结束 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeEnd
*/
public void setIrregularTypeEnd(Integer irregularTypeEnd){
this.irregularTypeEnd = irregularTypeEnd;
}
/**
* 获取 增加 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @return irregularTypeIncrement
*/
public Integer getIrregularTypeIncrement(){
return this.irregularTypeIncrement;
}
/**
* 设置 增加 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeIncrement
*/
public void setIrregularTypeIncrement(Integer irregularTypeIncrement){
this.irregularTypeIncrement = irregularTypeIncrement;
}
/**
* 获取 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @return irregularTypeList
*/
public List<Integer> getIrregularTypeList(){
return this.irregularTypeList;
}
/**
* 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeList
*/
public void setIrregularTypeList(List<Integer> irregularTypeList){
this.irregularTypeList = irregularTypeList;
}
/**
* 获取 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @return irregularTypeNotList
*/
public List<Integer> getIrregularTypeNotList(){
return this.irregularTypeNotList;
}
/**
* 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param irregularTypeNotList
*/
public void setIrregularTypeNotList(List<Integer> irregularTypeNotList){
this.irregularTypeNotList = irregularTypeNotList;
}
/**
* 获取 开始 发生时间
* @return happenTimeStart
*/
public String getHappenTimeStart(){
return this.happenTimeStart;
}
/**
* 设置 开始 发生时间
* @param happenTimeStart
*/
public void setHappenTimeStart(String happenTimeStart){
this.happenTimeStart = happenTimeStart;
}
/**
* 获取 结束 发生时间
* @return happenTimeEnd
*/
public String getHappenTimeEnd(){
return this.happenTimeEnd;
}
/**
* 设置 结束 发生时间
* @param happenTimeEnd
*/
public void setHappenTimeEnd(String happenTimeEnd){
this.happenTimeEnd = happenTimeEnd;
}
/**
* 获取 开始 持续时间,秒
* @return durationStart
*/
public Integer getDurationStart(){
return this.durationStart;
}
/**
* 设置 开始 持续时间,秒
* @param durationStart
*/
public void setDurationStart(Integer durationStart){
this.durationStart = durationStart;
}
/**
* 获取 结束 持续时间,秒
* @return $durationEnd
*/
public Integer getDurationEnd(){
return this.durationEnd;
}
/**
* 设置 结束 持续时间,秒
* @param durationEnd
*/
public void setDurationEnd(Integer durationEnd){
this.durationEnd = durationEnd;
}
/**
* 获取 增加 持续时间,秒
* @return durationIncrement
*/
public Integer getDurationIncrement(){
return this.durationIncrement;
}
/**
* 设置 增加 持续时间,秒
* @param durationIncrement
*/
public void setDurationIncrement(Integer durationIncrement){
this.durationIncrement = durationIncrement;
}
/**
* 获取 持续时间,秒
* @return durationList
*/
public List<Integer> getDurationList(){
return this.durationList;
}
/**
* 设置 持续时间,秒
* @param durationList
*/
public void setDurationList(List<Integer> durationList){
this.durationList = durationList;
}
/**
* 获取 持续时间,秒
* @return durationNotList
*/
public List<Integer> getDurationNotList(){
return this.durationNotList;
}
/**
* 设置 持续时间,秒
* @param durationNotList
*/
public void setDurationNotList(List<Integer> durationNotList){
this.durationNotList = durationNotList;
}
/**
* 获取 开始 报警时间
* @return alarmTimeStart
*/
public String getAlarmTimeStart(){
return this.alarmTimeStart;
}
/**
* 设置 开始 报警时间
* @param alarmTimeStart
*/
public void setAlarmTimeStart(String alarmTimeStart){
this.alarmTimeStart = alarmTimeStart;
}
/**
* 获取 结束 报警时间
* @return alarmTimeEnd
*/
public String getAlarmTimeEnd(){
return this.alarmTimeEnd;
}
/**
* 设置 结束 报警时间
* @param alarmTimeEnd
*/
public void setAlarmTimeEnd(String alarmTimeEnd){
this.alarmTimeEnd = alarmTimeEnd;
}
/**
* 获取 图片凭证地址
* @return snapPathList
*/
public List<String> getSnapPathList(){
return this.snapPathList;
}
/**
* 设置 图片凭证地址
* @param snapPathList
*/
public void setSnapPathList(List<String> snapPathList){
this.snapPathList = snapPathList;
}
/**
* 获取 图片凭证地址
* @return snapPathNotList
*/
public List<String> getSnapPathNotList(){
return this.snapPathNotList;
}
/**
* 设置 图片凭证地址
* @param snapPathNotList
*/
public void setSnapPathNotList(List<String> snapPathNotList){
this.snapPathNotList = snapPathNotList;
}
/**
* 获取 开始 违规类型(1.工作纪律)
* @return irregularOtherTypeStart
*/
public Integer getIrregularOtherTypeStart(){
return this.irregularOtherTypeStart;
}
/**
* 设置 开始 违规类型(1.工作纪律)
* @param irregularOtherTypeStart
*/
public void setIrregularOtherTypeStart(Integer irregularOtherTypeStart){
this.irregularOtherTypeStart = irregularOtherTypeStart;
}
/**
* 获取 结束 违规类型(1.工作纪律)
* @return $irregularOtherTypeEnd
*/
public Integer getIrregularOtherTypeEnd(){
return this.irregularOtherTypeEnd;
}
/**
* 设置 结束 违规类型(1.工作纪律)
* @param irregularOtherTypeEnd
*/
public void setIrregularOtherTypeEnd(Integer irregularOtherTypeEnd){
this.irregularOtherTypeEnd = irregularOtherTypeEnd;
}
/**
* 获取 增加 违规类型(1.工作纪律)
* @return irregularOtherTypeIncrement
*/
public Integer getIrregularOtherTypeIncrement(){
return this.irregularOtherTypeIncrement;
}
/**
* 设置 增加 违规类型(1.工作纪律)
* @param irregularOtherTypeIncrement
*/
public void setIrregularOtherTypeIncrement(Integer irregularOtherTypeIncrement){
this.irregularOtherTypeIncrement = irregularOtherTypeIncrement;
}
/**
* 获取 违规类型(1.工作纪律)
* @return irregularOtherTypeList
*/
public List<Integer> getIrregularOtherTypeList(){
return this.irregularOtherTypeList;
}
/**
* 设置 违规类型(1.工作纪律)
* @param irregularOtherTypeList
*/
public void setIrregularOtherTypeList(List<Integer> irregularOtherTypeList){
this.irregularOtherTypeList = irregularOtherTypeList;
}
/**
* 获取 违规类型(1.工作纪律)
* @return irregularOtherTypeNotList
*/
public List<Integer> getIrregularOtherTypeNotList(){
return this.irregularOtherTypeNotList;
}
/**
* 设置 违规类型(1.工作纪律)
* @param irregularOtherTypeNotList
*/
public void setIrregularOtherTypeNotList(List<Integer> irregularOtherTypeNotList){
this.irregularOtherTypeNotList = irregularOtherTypeNotList;
}
/**
* 获取 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @return performTypeList
*/
public List<String> getPerformTypeList(){
return this.performTypeList;
}
/**
* 设置 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @param performTypeList
*/
public void setPerformTypeList(List<String> performTypeList){
this.performTypeList = performTypeList;
}
/**
* 获取 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @return performTypeNotList
*/
public List<String> getPerformTypeNotList(){
return this.performTypeNotList;
}
/**
* 设置 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @param performTypeNotList
*/
public void setPerformTypeNotList(List<String> performTypeNotList){
this.performTypeNotList = performTypeNotList;
}
/**
* 设置 序号,主键,自增长
* @param id
*/
public PerformAttendAppealQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public PerformAttendAppealQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public PerformAttendAppealQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public PerformAttendAppealQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
public PerformAttendAppealQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public PerformAttendAppealQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
/**
* 设置 核查记录Id
* @param checkRecordId
*/
public PerformAttendAppealQuery checkRecordId(Long checkRecordId){
setCheckRecordId(checkRecordId);
return this;
}
/**
* 设置 开始 核查记录Id
* @param checkRecordIdStart
*/
public PerformAttendAppealQuery checkRecordIdStart(Long checkRecordIdStart){
this.checkRecordIdStart = checkRecordIdStart;
return this;
}
/**
* 设置 结束 核查记录Id
* @param checkRecordIdEnd
*/
public PerformAttendAppealQuery checkRecordIdEnd(Long checkRecordIdEnd){
this.checkRecordIdEnd = checkRecordIdEnd;
return this;
}
/**
* 设置 增加 核查记录Id
* @param checkRecordIdIncrement
*/
public PerformAttendAppealQuery checkRecordIdIncrement(Long checkRecordIdIncrement){
this.checkRecordIdIncrement = checkRecordIdIncrement;
return this;
}
/**
* 设置 核查记录Id
* @param checkRecordIdList
*/
public PerformAttendAppealQuery checkRecordIdList(List<Long> checkRecordIdList){
this.checkRecordIdList = checkRecordIdList;
return this;
}
/**
* 设置 核查记录Id
* @param checkRecordIdNotList
*/
public PerformAttendAppealQuery checkRecordIdNotList(List<Long> checkRecordIdNotList){
this.checkRecordIdNotList = checkRecordIdNotList;
return this;
}
/**
* 设置 员工ID
* @param staffId
*/
public PerformAttendAppealQuery staffId(Long staffId){
setStaffId(staffId);
return this;
}
/**
* 设置 开始 员工ID
* @param staffIdStart
*/
public PerformAttendAppealQuery staffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart;
return this;
}
/**
* 设置 结束 员工ID
* @param staffIdEnd
*/
public PerformAttendAppealQuery staffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd;
return this;
}
/**
* 设置 增加 员工ID
* @param staffIdIncrement
*/
public PerformAttendAppealQuery staffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement;
return this;
}
/**
* 设置 员工ID
* @param staffIdList
*/
public PerformAttendAppealQuery staffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList;
return this;
}
/**
* 设置 员工ID
* @param staffIdNotList
*/
public PerformAttendAppealQuery staffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList;
return this;
}
/**
* 设置 员工姓名
* @param staffName
*/
public PerformAttendAppealQuery staffName(String staffName){
setStaffName(staffName);
return this;
}
/**
* 设置 员工姓名
* @param staffNameList
*/
public PerformAttendAppealQuery staffNameList(List<String> staffNameList){
this.staffNameList = staffNameList;
return this;
}
/**
* 设置 工号
* @param workNum
*/
public PerformAttendAppealQuery workNum(String workNum){
setWorkNum(workNum);
return this;
}
/**
* 设置 工号
* @param workNumList
*/
public PerformAttendAppealQuery workNumList(List<String> workNumList){
this.workNumList = workNumList;
return this;
}
/**
* 设置 所属部门
* @param deptId
*/
public PerformAttendAppealQuery deptId(Long deptId){
setDeptId(deptId);
return this;
}
/**
* 设置 开始 所属部门
* @param deptIdStart
*/
public PerformAttendAppealQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart;
return this;
}
/**
* 设置 结束 所属部门
* @param deptIdEnd
*/
public PerformAttendAppealQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd;
return this;
}
/**
* 设置 增加 所属部门
* @param deptIdIncrement
*/
public PerformAttendAppealQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
return this;
}
/**
* 设置 所属部门
* @param deptIdList
*/
public PerformAttendAppealQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList;
return this;
}
/**
* 设置 所属部门
* @param deptIdNotList
*/
public PerformAttendAppealQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList;
return this;
}
/**
* 设置 所属部门名称
* @param deptName
*/
public PerformAttendAppealQuery deptName(String deptName){
setDeptName(deptName);
return this;
}
/**
* 设置 所属部门名称
* @param deptNameList
*/
public PerformAttendAppealQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
return this;
}
/**
* 设置 所属考勤组ID
* @param attendanceGroupId
*/
public PerformAttendAppealQuery attendanceGroupId(Long attendanceGroupId){
setAttendanceGroupId(attendanceGroupId);
return this;
}
/**
* 设置 开始 所属考勤组ID
* @param attendanceGroupIdStart
*/
public PerformAttendAppealQuery attendanceGroupIdStart(Long attendanceGroupIdStart){
this.attendanceGroupIdStart = attendanceGroupIdStart;
return this;
}
/**
* 设置 结束 所属考勤组ID
* @param attendanceGroupIdEnd
*/
public PerformAttendAppealQuery attendanceGroupIdEnd(Long attendanceGroupIdEnd){
this.attendanceGroupIdEnd = attendanceGroupIdEnd;
return this;
}
/**
* 设置 增加 所属考勤组ID
* @param attendanceGroupIdIncrement
*/
public PerformAttendAppealQuery attendanceGroupIdIncrement(Long attendanceGroupIdIncrement){
this.attendanceGroupIdIncrement = attendanceGroupIdIncrement;
return this;
}
/**
* 设置 所属考勤组ID
* @param attendanceGroupIdList
*/
public PerformAttendAppealQuery attendanceGroupIdList(List<Long> attendanceGroupIdList){
this.attendanceGroupIdList = attendanceGroupIdList;
return this;
}
/**
* 设置 所属考勤组ID
* @param attendanceGroupIdNotList
*/
public PerformAttendAppealQuery attendanceGroupIdNotList(List<Long> attendanceGroupIdNotList){
this.attendanceGroupIdNotList = attendanceGroupIdNotList;
return this;
}
/**
* 设置 所属考勤组名称
* @param attendanceGroupName
*/
public PerformAttendAppealQuery attendanceGroupName(String attendanceGroupName){
setAttendanceGroupName(attendanceGroupName);
return this;
}
/**
* 设置 所属考勤组名称
* @param attendanceGroupNameList
*/
public PerformAttendAppealQuery attendanceGroupNameList(List<String> attendanceGroupNameList){
this.attendanceGroupNameList = attendanceGroupNameList;
return this;
}
/**
* 设置 绩效规则id
* @param ruleId
*/
public PerformAttendAppealQuery ruleId(Long ruleId){
setRuleId(ruleId);
return this;
}
/**
* 设置 开始 绩效规则id
* @param ruleIdStart
*/
public PerformAttendAppealQuery ruleIdStart(Long ruleIdStart){
this.ruleIdStart = ruleIdStart;
return this;
}
/**
* 设置 结束 绩效规则id
* @param ruleIdEnd
*/
public PerformAttendAppealQuery ruleIdEnd(Long ruleIdEnd){
this.ruleIdEnd = ruleIdEnd;
return this;
}
/**
* 设置 增加 绩效规则id
* @param ruleIdIncrement
*/
public PerformAttendAppealQuery ruleIdIncrement(Long ruleIdIncrement){
this.ruleIdIncrement = ruleIdIncrement;
return this;
}
/**
* 设置 绩效规则id
* @param ruleIdList
*/
public PerformAttendAppealQuery ruleIdList(List<Long> ruleIdList){
this.ruleIdList = ruleIdList;
return this;
}
/**
* 设置 绩效规则id
* @param ruleIdNotList
*/
public PerformAttendAppealQuery ruleIdNotList(List<Long> ruleIdNotList){
this.ruleIdNotList = ruleIdNotList;
return this;
}
/**
* 设置 规则名称
* @param ruleName
*/
public PerformAttendAppealQuery ruleName(String ruleName){
setRuleName(ruleName);
return this;
}
/**
* 设置 规则名称
* @param ruleNameList
*/
public PerformAttendAppealQuery ruleNameList(List<String> ruleNameList){
this.ruleNameList = ruleNameList;
return this;
}
/**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethod
*/
public PerformAttendAppealQuery subMethod(Integer subMethod){
setSubMethod(subMethod);
return this;
}
/**
* 设置 开始 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodStart
*/
public PerformAttendAppealQuery subMethodStart(Integer subMethodStart){
this.subMethodStart = subMethodStart;
return this;
}
/**
* 设置 结束 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodEnd
*/
public PerformAttendAppealQuery subMethodEnd(Integer subMethodEnd){
this.subMethodEnd = subMethodEnd;
return this;
}
/**
* 设置 增加 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodIncrement
*/
public PerformAttendAppealQuery subMethodIncrement(Integer subMethodIncrement){
this.subMethodIncrement = subMethodIncrement;
return this;
}
/**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodList
*/
public PerformAttendAppealQuery subMethodList(List<Integer> subMethodList){
this.subMethodList = subMethodList;
return this;
}
/**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
* @param subMethodNotList
*/
public PerformAttendAppealQuery subMethodNotList(List<Integer> subMethodNotList){
this.subMethodNotList = subMethodNotList;
return this;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddType
*/
public PerformAttendAppealQuery subAddType(Integer subAddType){
setSubAddType(subAddType);
return this;
}
/**
* 设置 开始 增减类型(1.增加,2.扣除)
* @param subAddTypeStart
*/
public PerformAttendAppealQuery subAddTypeStart(Integer subAddTypeStart){
this.subAddTypeStart = subAddTypeStart;
return this;
}
/**
* 设置 结束 增减类型(1.增加,2.扣除)
* @param subAddTypeEnd
*/
public PerformAttendAppealQuery subAddTypeEnd(Integer subAddTypeEnd){
this.subAddTypeEnd = subAddTypeEnd;
return this;
}
/**
* 设置 增加 增减类型(1.增加,2.扣除)
* @param subAddTypeIncrement
*/
public PerformAttendAppealQuery subAddTypeIncrement(Integer subAddTypeIncrement){
this.subAddTypeIncrement = subAddTypeIncrement;
return this;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeList
*/
public PerformAttendAppealQuery subAddTypeList(List<Integer> subAddTypeList){
this.subAddTypeList = subAddTypeList;
return this;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeNotList
*/
public PerformAttendAppealQuery subAddTypeNotList(List<Integer> subAddTypeNotList){
this.subAddTypeNotList = subAddTypeNotList;
return this;
}
/**
* 设置 扣分或增加分值
* @param score
*/
public PerformAttendAppealQuery score(BigDecimal score){
setScore(score);
return this;
}
/**
* 设置 开始 扣分或增加分值
* @param scoreStart
*/
public PerformAttendAppealQuery scoreStart(BigDecimal scoreStart){
this.scoreStart = scoreStart;
return this;
}
/**
* 设置 结束 扣分或增加分值
* @param scoreEnd
*/
public PerformAttendAppealQuery scoreEnd(BigDecimal scoreEnd){
this.scoreEnd = scoreEnd;
return this;
}
/**
* 设置 增加 扣分或增加分值
* @param scoreIncrement
*/
public PerformAttendAppealQuery scoreIncrement(BigDecimal scoreIncrement){
this.scoreIncrement = scoreIncrement;
return this;
}
/**
* 设置 扣分或增加分值
* @param scoreList
*/
public PerformAttendAppealQuery scoreList(List<BigDecimal> scoreList){
this.scoreList = scoreList;
return this;
}
/**
* 设置 扣分或增加分值
* @param scoreNotList
*/
public PerformAttendAppealQuery scoreNotList(List<BigDecimal> scoreNotList){
this.scoreNotList = scoreNotList;
return this;
}
/**
* 设置 上下班时间
* @param goOffTimeStr
*/
public PerformAttendAppealQuery goOffTimeStr(String goOffTimeStr){
setGoOffTimeStr(goOffTimeStr);
return this;
}
/**
* 设置 上下班时间
* @param goOffTimeStrList
*/
public PerformAttendAppealQuery goOffTimeStrList(List<String> goOffTimeStrList){
this.goOffTimeStrList = goOffTimeStrList;
return this;
}
/**
* 设置 异常处理结果
* @param errorResult
*/
public PerformAttendAppealQuery errorResult(String errorResult){
setErrorResult(errorResult);
return this;
}
/**
* 设置 异常处理结果
* @param errorResultList
*/
public PerformAttendAppealQuery errorResultList(List<String> errorResultList){
this.errorResultList = errorResultList;
return this;
}
/**
* 设置 核查人员
* @param checkPerson
*/
public PerformAttendAppealQuery checkPerson(String checkPerson){
setCheckPerson(checkPerson);
return this;
}
/**
* 设置 核查人员
* @param checkPersonList
*/
public PerformAttendAppealQuery checkPersonList(List<String> checkPersonList){
this.checkPersonList = checkPersonList;
return this;
}
/**
* 设置 核查说明
* @param checkDesc
*/
public PerformAttendAppealQuery checkDesc(String checkDesc){
setCheckDesc(checkDesc);
return this;
}
/**
* 设置 核查说明
* @param checkDescList
*/
public PerformAttendAppealQuery checkDescList(List<String> checkDescList){
this.checkDescList = checkDescList;
return this;
}
/**
* 设置 核查结果
* @param checkResult
*/
public PerformAttendAppealQuery checkResult(String checkResult){
setCheckResult(checkResult);
return this;
}
/**
* 设置 核查结果
* @param checkResultList
*/
public PerformAttendAppealQuery checkResultList(List<String> checkResultList){
this.checkResultList = checkResultList;
return this;
}
/**
* 设置 处理状态(1.未处理,2.已处理)
* @param processStatus
*/
public PerformAttendAppealQuery processStatus(Integer processStatus){
setProcessStatus(processStatus);
return this;
} }
/** /**
* 设置 开始 所属考勤组ID * 设置 开始 处理状态(1.未处理,2.已处理)
* @param attendanceGroupIdStart * @param processStatusStart
*/ */
public PerformAttendAppealQuery attendanceGroupIdStart(Long attendanceGroupIdStart){ public PerformAttendAppealQuery processStatusStart(Integer processStatusStart){
this.attendanceGroupIdStart = attendanceGroupIdStart; this.processStatusStart = processStatusStart;
return this; return this;
} }
/** /**
* 设置 结束 所属考勤组ID * 设置 结束 处理状态(1.未处理,2.已处理)
* @param attendanceGroupIdEnd * @param processStatusEnd
*/ */
public PerformAttendAppealQuery attendanceGroupIdEnd(Long attendanceGroupIdEnd){ public PerformAttendAppealQuery processStatusEnd(Integer processStatusEnd){
this.attendanceGroupIdEnd = attendanceGroupIdEnd; this.processStatusEnd = processStatusEnd;
return this; return this;
} }
/** /**
* 设置 增加 所属考勤组ID * 设置 增加 处理状态(1.未处理,2.已处理)
* @param attendanceGroupIdIncrement * @param processStatusIncrement
*/ */
public PerformAttendAppealQuery attendanceGroupIdIncrement(Long attendanceGroupIdIncrement){ public PerformAttendAppealQuery processStatusIncrement(Integer processStatusIncrement){
this.attendanceGroupIdIncrement = attendanceGroupIdIncrement; this.processStatusIncrement = processStatusIncrement;
return this; return this;
} }
/** /**
* 设置 所属考勤组ID * 设置 处理状态(1.未处理,2.已处理)
* @param attendanceGroupIdList * @param processStatusList
*/ */
public PerformAttendAppealQuery attendanceGroupIdList(List<Long> attendanceGroupIdList){ public PerformAttendAppealQuery processStatusList(List<Integer> processStatusList){
this.attendanceGroupIdList = attendanceGroupIdList; this.processStatusList = processStatusList;
return this; return this;
} }
/** /**
* 设置 所属考勤组ID * 设置 处理状态(1.未处理,2.已处理)
* @param attendanceGroupIdNotList * @param processStatusNotList
*/ */
public PerformAttendAppealQuery attendanceGroupIdNotList(List<Long> attendanceGroupIdNotList){ public PerformAttendAppealQuery processStatusNotList(List<Integer> processStatusNotList){
this.attendanceGroupIdNotList = attendanceGroupIdNotList; this.processStatusNotList = processStatusNotList;
return this; return this;
} }
/** /**
* 设置 所属考勤组名称 * 设置 申诉说明
* @param attendanceGroupName * @param appealDesc
*/ */
public PerformAttendAppealQuery attendanceGroupName(String attendanceGroupName){ public PerformAttendAppealQuery appealDesc(String appealDesc){
setAttendanceGroupName(attendanceGroupName); setAppealDesc(appealDesc);
return this; return this;
} }
/** /**
* 设置 所属考勤组名称 * 设置 申诉说明
* @param attendanceGroupNameList * @param appealDescList
*/ */
public PerformAttendAppealQuery attendanceGroupNameList(List<String> attendanceGroupNameList){ public PerformAttendAppealQuery appealDescList(List<String> appealDescList){
this.attendanceGroupNameList = attendanceGroupNameList; this.appealDescList = appealDescList;
return this; return this;
} }
/** /**
* 设置 绩效规则id * 设置 申诉结果(1.通过,2.不通过)
* @param ruleId * @param appealResult
*/ */
public PerformAttendAppealQuery ruleId(Long ruleId){ public PerformAttendAppealQuery appealResult(Integer appealResult){
setRuleId(ruleId); setAppealResult(appealResult);
return this; return this;
} }
/** /**
* 设置 开始 绩效规则id * 设置 开始 申诉结果(1.通过,2.不通过)
* @param ruleIdStart * @param appealResultStart
*/ */
public PerformAttendAppealQuery ruleIdStart(Long ruleIdStart){ public PerformAttendAppealQuery appealResultStart(Integer appealResultStart){
this.ruleIdStart = ruleIdStart; this.appealResultStart = appealResultStart;
return this; return this;
} }
/** /**
* 设置 结束 绩效规则id * 设置 结束 申诉结果(1.通过,2.不通过)
* @param ruleIdEnd * @param appealResultEnd
*/ */
public PerformAttendAppealQuery ruleIdEnd(Long ruleIdEnd){ public PerformAttendAppealQuery appealResultEnd(Integer appealResultEnd){
this.ruleIdEnd = ruleIdEnd; this.appealResultEnd = appealResultEnd;
return this; return this;
} }
/** /**
* 设置 增加 绩效规则id * 设置 增加 申诉结果(1.通过,2.不通过)
* @param ruleIdIncrement * @param appealResultIncrement
*/ */
public PerformAttendAppealQuery ruleIdIncrement(Long ruleIdIncrement){ public PerformAttendAppealQuery appealResultIncrement(Integer appealResultIncrement){
this.ruleIdIncrement = ruleIdIncrement; this.appealResultIncrement = appealResultIncrement;
return this; return this;
} }
/** /**
* 设置 绩效规则id * 设置 申诉结果(1.通过,2.不通过)
* @param ruleIdList * @param appealResultList
*/ */
public PerformAttendAppealQuery ruleIdList(List<Long> ruleIdList){ public PerformAttendAppealQuery appealResultList(List<Integer> appealResultList){
this.ruleIdList = ruleIdList; this.appealResultList = appealResultList;
return this; return this;
} }
/** /**
* 设置 绩效规则id * 设置 申诉结果(1.通过,2.不通过)
* @param ruleIdNotList * @param appealResultNotList
*/ */
public PerformAttendAppealQuery ruleIdNotList(List<Long> ruleIdNotList){ public PerformAttendAppealQuery appealResultNotList(List<Integer> appealResultNotList){
this.ruleIdNotList = ruleIdNotList; this.appealResultNotList = appealResultNotList;
return this; return this;
} }
/** /**
* 设置 规则名称 * 设置 说明
* @param ruleName * @param remark
*/ */
public PerformAttendAppealQuery ruleName(String ruleName){ public PerformAttendAppealQuery remark(String remark){
setRuleName(ruleName); setRemark(remark);
return this; return this;
} }
/** /**
* 设置 规则名称 * 设置 说明
* @param ruleNameList * @param remarkList
*/ */
public PerformAttendAppealQuery ruleNameList(List<String> ruleNameList){ public PerformAttendAppealQuery remarkList(List<String> remarkList){
this.ruleNameList = ruleNameList; this.remarkList = remarkList;
return this; return this;
} }
/** /**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查) * 设置 创建用户
* @param subMethod * @param createUserId
*/ */
public PerformAttendAppealQuery subMethod(Integer subMethod){ public PerformAttendAppealQuery createUserId(Long createUserId){
setSubMethod(subMethod); setCreateUserId(createUserId);
return this; return this;
} }
/** /**
* 设置 开始 扣分方式(1.系统自动,2.人工添加,3.大厅巡查) * 设置 开始 创建用户
* @param subMethodStart * @param createUserIdStart
*/ */
public PerformAttendAppealQuery subMethodStart(Integer subMethodStart){ public PerformAttendAppealQuery createUserIdStart(Long createUserIdStart){
this.subMethodStart = subMethodStart; this.createUserIdStart = createUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 扣分方式(1.系统自动,2.人工添加,3.大厅巡查) * 设置 结束 创建用户
* @param subMethodEnd * @param createUserIdEnd
*/ */
public PerformAttendAppealQuery subMethodEnd(Integer subMethodEnd){ public PerformAttendAppealQuery createUserIdEnd(Long createUserIdEnd){
this.subMethodEnd = subMethodEnd; this.createUserIdEnd = createUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 扣分方式(1.系统自动,2.人工添加,3.大厅巡查) * 设置 增加 创建用户
* @param subMethodIncrement * @param createUserIdIncrement
*/ */
public PerformAttendAppealQuery subMethodIncrement(Integer subMethodIncrement){ public PerformAttendAppealQuery createUserIdIncrement(Long createUserIdIncrement){
this.subMethodIncrement = subMethodIncrement; this.createUserIdIncrement = createUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查) * 设置 创建用户
* @param subMethodList * @param createUserIdList
*/ */
public PerformAttendAppealQuery subMethodList(List<Integer> subMethodList){ public PerformAttendAppealQuery createUserIdList(List<Long> createUserIdList){
this.subMethodList = subMethodList; this.createUserIdList = createUserIdList;
return this; return this;
} }
/** /**
* 设置 扣分方式(1.系统自动,2.人工添加,3.大厅巡查) * 设置 创建用户
* @param subMethodNotList * @param createUserIdNotList
*/ */
public PerformAttendAppealQuery subMethodNotList(List<Integer> subMethodNotList){ public PerformAttendAppealQuery createUserIdNotList(List<Long> createUserIdNotList){
this.subMethodNotList = subMethodNotList; this.createUserIdNotList = createUserIdNotList;
return this; return this;
} }
/** /**
* 设置 增减类型(1.增加,2.扣除) * 设置 更新用户
* @param subAddType * @param updateUserId
*/ */
public PerformAttendAppealQuery subAddType(Integer subAddType){ public PerformAttendAppealQuery updateUserId(Long updateUserId){
setSubAddType(subAddType); setUpdateUserId(updateUserId);
return this; return this;
} }
/** /**
* 设置 开始 增减类型(1.增加,2.扣除) * 设置 开始 更新用户
* @param subAddTypeStart * @param updateUserIdStart
*/ */
public PerformAttendAppealQuery subAddTypeStart(Integer subAddTypeStart){ public PerformAttendAppealQuery updateUserIdStart(Long updateUserIdStart){
this.subAddTypeStart = subAddTypeStart; this.updateUserIdStart = updateUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 增减类型(1.增加,2.扣除) * 设置 结束 更新用户
* @param subAddTypeEnd * @param updateUserIdEnd
*/ */
public PerformAttendAppealQuery subAddTypeEnd(Integer subAddTypeEnd){ public PerformAttendAppealQuery updateUserIdEnd(Long updateUserIdEnd){
this.subAddTypeEnd = subAddTypeEnd; this.updateUserIdEnd = updateUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 增减类型(1.增加,2.扣除) * 设置 增加 更新用户
* @param subAddTypeIncrement * @param updateUserIdIncrement
*/ */
public PerformAttendAppealQuery subAddTypeIncrement(Integer subAddTypeIncrement){ public PerformAttendAppealQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.subAddTypeIncrement = subAddTypeIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 增减类型(1.增加,2.扣除) * 设置 更新用户
* @param subAddTypeList * @param updateUserIdList
*/ */
public PerformAttendAppealQuery subAddTypeList(List<Integer> subAddTypeList){ public PerformAttendAppealQuery updateUserIdList(List<Long> updateUserIdList){
this.subAddTypeList = subAddTypeList; this.updateUserIdList = updateUserIdList;
return this; return this;
} }
/** /**
* 设置 增减类型(1.增加,2.扣除) * 设置 更新用户
* @param subAddTypeNotList * @param updateUserIdNotList
*/ */
public PerformAttendAppealQuery subAddTypeNotList(List<Integer> subAddTypeNotList){ public PerformAttendAppealQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.subAddTypeNotList = subAddTypeNotList; this.updateUserIdNotList = updateUserIdNotList;
return this; return this;
} }
/**
* 设置 违规类型,
* @param violationType
*/
public PerformAttendAppealQuery violationType(String violationType){
setViolationType(violationType);
return this;
}
/** /**
* 设置 扣分或增加分值 * 设置 违规类型,
* @param score * @param violationTypeList
*/ */
public PerformAttendAppealQuery score(BigDecimal score){ public PerformAttendAppealQuery violationTypeList(List<String> violationTypeList){
setScore(score); this.violationTypeList = violationTypeList;
return this;
}
/**
* 设置 评价结果(1.非常不满意,2.差评)
* @param reviewResult
*/
public PerformAttendAppealQuery reviewResult(Integer reviewResult){
setReviewResult(reviewResult);
return this; return this;
} }
/** /**
* 设置 开始 扣分或增加分值 * 设置 开始 评价结果(1.非常不满意,2.差评)
* @param scoreStart * @param reviewResultStart
*/ */
public PerformAttendAppealQuery scoreStart(BigDecimal scoreStart){ public PerformAttendAppealQuery reviewResultStart(Integer reviewResultStart){
this.scoreStart = scoreStart; this.reviewResultStart = reviewResultStart;
return this; return this;
} }
/** /**
* 设置 结束 扣分或增加分值 * 设置 结束 评价结果(1.非常不满意,2.差评)
* @param scoreEnd * @param reviewResultEnd
*/ */
public PerformAttendAppealQuery scoreEnd(BigDecimal scoreEnd){ public PerformAttendAppealQuery reviewResultEnd(Integer reviewResultEnd){
this.scoreEnd = scoreEnd; this.reviewResultEnd = reviewResultEnd;
return this; return this;
} }
/** /**
* 设置 增加 扣分或增加分值 * 设置 增加 评价结果(1.非常不满意,2.差评)
* @param scoreIncrement * @param reviewResultIncrement
*/ */
public PerformAttendAppealQuery scoreIncrement(BigDecimal scoreIncrement){ public PerformAttendAppealQuery reviewResultIncrement(Integer reviewResultIncrement){
this.scoreIncrement = scoreIncrement; this.reviewResultIncrement = reviewResultIncrement;
return this; return this;
} }
/** /**
* 设置 扣分或增加分值 * 设置 评价结果(1.非常不满意,2.差评)
* @param scoreList * @param reviewResultList
*/ */
public PerformAttendAppealQuery scoreList(List<BigDecimal> scoreList){ public PerformAttendAppealQuery reviewResultList(List<Integer> reviewResultList){
this.scoreList = scoreList; this.reviewResultList = reviewResultList;
return this; return this;
} }
/** /**
* 设置 扣分或增加分值 * 设置 评价结果(1.非常不满意,2.差评)
* @param scoreNotList * @param reviewResultNotList
*/ */
public PerformAttendAppealQuery scoreNotList(List<BigDecimal> scoreNotList){ public PerformAttendAppealQuery reviewResultNotList(List<Integer> reviewResultNotList){
this.scoreNotList = scoreNotList; this.reviewResultNotList = reviewResultNotList;
return this; return this;
} }
/** /**
* 设置 上下班时间 * 设置 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param goOffTimeStr * @param reviewSource
*/ */
public PerformAttendAppealQuery goOffTimeStr(String goOffTimeStr){ public PerformAttendAppealQuery reviewSource(String reviewSource){
setGoOffTimeStr(goOffTimeStr); setReviewSource(reviewSource);
return this; return this;
} }
/** /**
* 设置 上下班时间 * 设置 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
* @param goOffTimeStrList * @param reviewSourceList
*/ */
public PerformAttendAppealQuery goOffTimeStrList(List<String> goOffTimeStrList){ public PerformAttendAppealQuery reviewSourceList(List<String> reviewSourceList){
this.goOffTimeStrList = goOffTimeStrList; this.reviewSourceList = reviewSourceList;
return this; return this;
} }
/**
* 设置 评价设备
* @param reviewDevice
*/
public PerformAttendAppealQuery reviewDevice(String reviewDevice){
setReviewDevice(reviewDevice);
return this;
}
/**
* 设置 评价设备
* @param reviewDeviceList
*/
public PerformAttendAppealQuery reviewDeviceList(List<String> reviewDeviceList){
this.reviewDeviceList = reviewDeviceList;
return this;
}
/** /**
* 设置 异常处理结果 * 设置 投诉标题
* @param errorResult * @param complainTitle
*/ */
public PerformAttendAppealQuery errorResult(String errorResult){ public PerformAttendAppealQuery complainTitle(String complainTitle){
setErrorResult(errorResult); setComplainTitle(complainTitle);
return this; return this;
} }
/** /**
* 设置 异常处理结果 * 设置 投诉标题
* @param errorResultList * @param complainTitleList
*/ */
public PerformAttendAppealQuery errorResultList(List<String> errorResultList){ public PerformAttendAppealQuery complainTitleList(List<String> complainTitleList){
this.errorResultList = errorResultList; this.complainTitleList = complainTitleList;
return this; return this;
} }
/** /**
* 设置 核查人员 * 设置 投诉内容
* @param checkPerson * @param complainContent
*/ */
public PerformAttendAppealQuery checkPerson(String checkPerson){ public PerformAttendAppealQuery complainContent(String complainContent){
setCheckPerson(checkPerson); setComplainContent(complainContent);
return this; return this;
} }
/** /**
* 设置 核查人员 * 设置 投诉内容
* @param checkPersonList * @param complainContentList
*/ */
public PerformAttendAppealQuery checkPersonList(List<String> checkPersonList){ public PerformAttendAppealQuery complainContentList(List<String> complainContentList){
this.checkPersonList = checkPersonList; this.complainContentList = complainContentList;
return this; return this;
} }
/** /**
* 设置 核查说明 * 设置 投诉人真实姓名
* @param checkDesc * @param complainRealName
*/ */
public PerformAttendAppealQuery checkDesc(String checkDesc){ public PerformAttendAppealQuery complainRealName(String complainRealName){
setCheckDesc(checkDesc); setComplainRealName(complainRealName);
return this; return this;
} }
/** /**
* 设置 核查说明 * 设置 投诉人真实姓名
* @param checkDescList * @param complainRealNameList
*/ */
public PerformAttendAppealQuery checkDescList(List<String> checkDescList){ public PerformAttendAppealQuery complainRealNameList(List<String> complainRealNameList){
this.checkDescList = checkDescList; this.complainRealNameList = complainRealNameList;
return this; return this;
} }
/** /**
* 设置 核查结果 * 设置 联系电话
* @param checkResult * @param contact
*/ */
public PerformAttendAppealQuery checkResult(String checkResult){ public PerformAttendAppealQuery contact(String contact){
setCheckResult(checkResult); setContact(contact);
return this; return this;
} }
/** /**
* 设置 核查结果 * 设置 联系电话
* @param checkResultList * @param contactList
*/ */
public PerformAttendAppealQuery checkResultList(List<String> checkResultList){ public PerformAttendAppealQuery contactList(List<String> contactList){
this.checkResultList = checkResultList; this.contactList = contactList;
return this;
}
/**
* 设置 投诉来源
* @param complainSource
*/
public PerformAttendAppealQuery complainSource(String complainSource){
setComplainSource(complainSource);
return this; return this;
} }
/** /**
* 设置 处理状态(1.未处理,2.已处理) * 设置 投诉来源
* @param processStatus * @param complainSourceList
*/ */
public PerformAttendAppealQuery processStatus(Integer processStatus){ public PerformAttendAppealQuery complainSourceList(List<String> complainSourceList){
setProcessStatus(processStatus); this.complainSourceList = complainSourceList;
return this; return this;
} }
/**
* 设置 开始 处理状态(1.未处理,2.已处理) /**
* @param processStatusStart * 设置 投诉设备
* @param complainDevice
*/ */
public PerformAttendAppealQuery processStatusStart(Integer processStatusStart){ public PerformAttendAppealQuery complainDevice(String complainDevice){
this.processStatusStart = processStatusStart; setComplainDevice(complainDevice);
return this; return this;
} }
/** /**
* 设置 结束 处理状态(1.未处理,2.已处理) * 设置 投诉设备
* @param processStatusEnd * @param complainDeviceList
*/ */
public PerformAttendAppealQuery processStatusEnd(Integer processStatusEnd){ public PerformAttendAppealQuery complainDeviceList(List<String> complainDeviceList){
this.processStatusEnd = processStatusEnd; this.complainDeviceList = complainDeviceList;
return this; return this;
} }
/**
* 设置 增加 处理状态(1.未处理,2.已处理) /**
* @param processStatusIncrement * 设置 办件编码
* @param goworkCode
*/ */
public PerformAttendAppealQuery processStatusIncrement(Integer processStatusIncrement){ public PerformAttendAppealQuery goworkCode(String goworkCode){
this.processStatusIncrement = processStatusIncrement; setGoworkCode(goworkCode);
return this; return this;
} }
/** /**
* 设置 处理状态(1.未处理,2.已处理) * 设置 办件编码
* @param processStatusList * @param goworkCodeList
*/ */
public PerformAttendAppealQuery processStatusList(List<Integer> processStatusList){ public PerformAttendAppealQuery goworkCodeList(List<String> goworkCodeList){
this.processStatusList = processStatusList; this.goworkCodeList = goworkCodeList;
return this; return this;
} }
/**
* 设置 处理状态(1.未处理,2.已处理) /**
* @param processStatusNotList * 设置 办件所属部门
*/ * @param goworkDepts
public PerformAttendAppealQuery processStatusNotList(List<Integer> processStatusNotList){ */
this.processStatusNotList = processStatusNotList; public PerformAttendAppealQuery goworkDepts(String goworkDepts){
return this; setGoworkDepts(goworkDepts);
} return this;
}
/**
* 设置 办件所属部门
* @param goworkDeptsList
*/
public PerformAttendAppealQuery goworkDeptsList(List<String> goworkDeptsList){
this.goworkDeptsList = goworkDeptsList;
return this;
}
/** /**
* 设置 申诉说明 * 设置 事项名称
* @param appealDesc * @param matterlName
*/ */
public PerformAttendAppealQuery appealDesc(String appealDesc){ public PerformAttendAppealQuery matterlName(String matterlName){
setAppealDesc(appealDesc); setMatterlName(matterlName);
return this; return this;
} }
/** /**
* 设置 申诉说明 * 设置 事项名称
* @param appealDescList * @param matterlNameList
*/ */
public PerformAttendAppealQuery appealDescList(List<String> appealDescList){ public PerformAttendAppealQuery matterlNameList(List<String> matterlNameList){
this.appealDescList = appealDescList; this.matterlNameList = matterlNameList;
return this; return this;
} }
/** /**
* 设置 申诉结果(1.通过,2.不通过) * 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param appealResult * @param irregularType
*/ */
public PerformAttendAppealQuery appealResult(Integer appealResult){ public PerformAttendAppealQuery irregularType(Integer irregularType){
setAppealResult(appealResult); setIrregularType(irregularType);
return this; return this;
} }
/** /**
* 设置 开始 申诉结果(1.通过,2.不通过) * 设置 开始 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param appealResultStart * @param irregularTypeStart
*/ */
public PerformAttendAppealQuery appealResultStart(Integer appealResultStart){ public PerformAttendAppealQuery irregularTypeStart(Integer irregularTypeStart){
this.appealResultStart = appealResultStart; this.irregularTypeStart = irregularTypeStart;
return this; return this;
} }
/** /**
* 设置 结束 申诉结果(1.通过,2.不通过) * 设置 结束 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param appealResultEnd * @param irregularTypeEnd
*/ */
public PerformAttendAppealQuery appealResultEnd(Integer appealResultEnd){ public PerformAttendAppealQuery irregularTypeEnd(Integer irregularTypeEnd){
this.appealResultEnd = appealResultEnd; this.irregularTypeEnd = irregularTypeEnd;
return this; return this;
} }
/** /**
* 设置 增加 申诉结果(1.通过,2.不通过) * 设置 增加 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param appealResultIncrement * @param irregularTypeIncrement
*/ */
public PerformAttendAppealQuery appealResultIncrement(Integer appealResultIncrement){ public PerformAttendAppealQuery irregularTypeIncrement(Integer irregularTypeIncrement){
this.appealResultIncrement = appealResultIncrement; this.irregularTypeIncrement = irregularTypeIncrement;
return this; return this;
} }
/** /**
* 设置 申诉结果(1.通过,2.不通过) * 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param appealResultList * @param irregularTypeList
*/ */
public PerformAttendAppealQuery appealResultList(List<Integer> appealResultList){ public PerformAttendAppealQuery irregularTypeList(List<Integer> irregularTypeList){
this.appealResultList = appealResultList; this.irregularTypeList = irregularTypeList;
return this; return this;
} }
/** /**
* 设置 申诉结果(1.通过,2.不通过) * 设置 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
* @param appealResultNotList * @param irregularTypeNotList
*/ */
public PerformAttendAppealQuery appealResultNotList(List<Integer> appealResultNotList){ public PerformAttendAppealQuery irregularTypeNotList(List<Integer> irregularTypeNotList){
this.appealResultNotList = appealResultNotList; this.irregularTypeNotList = irregularTypeNotList;
return this; return this;
} }
/**
* 设置 说明
* @param remark
*/
public PerformAttendAppealQuery remark(String remark){
setRemark(remark);
return this;
}
/**
* 设置 说明
* @param remarkList
*/
public PerformAttendAppealQuery remarkList(List<String> remarkList){
this.remarkList = remarkList;
return this;
}
/** /**
* 设置 创建用户 * 设置 持续时间,秒
* @param createUserId * @param duration
*/ */
public PerformAttendAppealQuery createUserId(Long createUserId){ public PerformAttendAppealQuery duration(Integer duration){
setCreateUserId(createUserId); setDuration(duration);
return this; return this;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 持续时间,秒
* @param createUserIdStart * @param durationStart
*/ */
public PerformAttendAppealQuery createUserIdStart(Long createUserIdStart){ public PerformAttendAppealQuery durationStart(Integer durationStart){
this.createUserIdStart = createUserIdStart; this.durationStart = durationStart;
return this; return this;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 持续时间,秒
* @param createUserIdEnd * @param durationEnd
*/ */
public PerformAttendAppealQuery createUserIdEnd(Long createUserIdEnd){ public PerformAttendAppealQuery durationEnd(Integer durationEnd){
this.createUserIdEnd = createUserIdEnd; this.durationEnd = durationEnd;
return this; return this;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 持续时间,秒
* @param createUserIdIncrement * @param durationIncrement
*/ */
public PerformAttendAppealQuery createUserIdIncrement(Long createUserIdIncrement){ public PerformAttendAppealQuery durationIncrement(Integer durationIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.durationIncrement = durationIncrement;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 持续时间,秒
* @param createUserIdList * @param durationList
*/ */
public PerformAttendAppealQuery createUserIdList(List<Long> createUserIdList){ public PerformAttendAppealQuery durationList(List<Integer> durationList){
this.createUserIdList = createUserIdList; this.durationList = durationList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 持续时间,秒
* @param createUserIdNotList * @param durationNotList
*/ */
public PerformAttendAppealQuery createUserIdNotList(List<Long> createUserIdNotList){ public PerformAttendAppealQuery durationNotList(List<Integer> durationNotList){
this.createUserIdNotList = createUserIdNotList; this.durationNotList = durationNotList;
return this; return this;
} }
/**
* 设置 图片凭证地址
* @param snapPath
*/
public PerformAttendAppealQuery snapPath(String snapPath){
setSnapPath(snapPath);
return this;
}
/** /**
* 设置 更新用户 * 设置 图片凭证地址
* @param updateUserId * @param snapPathList
*/ */
public PerformAttendAppealQuery updateUserId(Long updateUserId){ public PerformAttendAppealQuery snapPathList(List<String> snapPathList){
setUpdateUserId(updateUserId); this.snapPathList = snapPathList;
return this;
}
/**
* 设置 违规类型(1.工作纪律)
* @param irregularOtherType
*/
public PerformAttendAppealQuery irregularOtherType(Integer irregularOtherType){
setIrregularOtherType(irregularOtherType);
return this; return this;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 违规类型(1.工作纪律)
* @param updateUserIdStart * @param irregularOtherTypeStart
*/ */
public PerformAttendAppealQuery updateUserIdStart(Long updateUserIdStart){ public PerformAttendAppealQuery irregularOtherTypeStart(Integer irregularOtherTypeStart){
this.updateUserIdStart = updateUserIdStart; this.irregularOtherTypeStart = irregularOtherTypeStart;
return this; return this;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 违规类型(1.工作纪律)
* @param updateUserIdEnd * @param irregularOtherTypeEnd
*/ */
public PerformAttendAppealQuery updateUserIdEnd(Long updateUserIdEnd){ public PerformAttendAppealQuery irregularOtherTypeEnd(Integer irregularOtherTypeEnd){
this.updateUserIdEnd = updateUserIdEnd; this.irregularOtherTypeEnd = irregularOtherTypeEnd;
return this; return this;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 违规类型(1.工作纪律)
* @param updateUserIdIncrement * @param irregularOtherTypeIncrement
*/ */
public PerformAttendAppealQuery updateUserIdIncrement(Long updateUserIdIncrement){ public PerformAttendAppealQuery irregularOtherTypeIncrement(Integer irregularOtherTypeIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.irregularOtherTypeIncrement = irregularOtherTypeIncrement;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 违规类型(1.工作纪律)
* @param updateUserIdList * @param irregularOtherTypeList
*/ */
public PerformAttendAppealQuery updateUserIdList(List<Long> updateUserIdList){ public PerformAttendAppealQuery irregularOtherTypeList(List<Integer> irregularOtherTypeList){
this.updateUserIdList = updateUserIdList; this.irregularOtherTypeList = irregularOtherTypeList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 违规类型(1.工作纪律)
* @param updateUserIdNotList * @param irregularOtherTypeNotList
*/ */
public PerformAttendAppealQuery updateUserIdNotList(List<Long> updateUserIdNotList){ public PerformAttendAppealQuery irregularOtherTypeNotList(List<Integer> irregularOtherTypeNotList){
this.updateUserIdNotList = updateUserIdNotList; this.irregularOtherTypeNotList = irregularOtherTypeNotList;
return this; return this;
} }
/** /**
* 设置 违规类型 * 设置 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @param violationType * @param performType
*/ */
public PerformAttendAppealQuery violationType(String violationType){ public PerformAttendAppealQuery performType(String performType){
setViolationType(violationType); setPerformType(performType);
return this; return this;
} }
/** /**
* 设置 违规类型 * 设置 绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】
* @param violationTypeList * @param performTypeList
*/ */
public PerformAttendAppealQuery violationTypeList(List<String> violationTypeList){ public PerformAttendAppealQuery performTypeList(List<String> performTypeList){
this.violationTypeList = violationTypeList; this.performTypeList = performTypeList;
return this; return this;
} }
......
...@@ -7,34 +7,34 @@ import com.mortals.framework.model.BaseEntityLong; ...@@ -7,34 +7,34 @@ import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.perform.model.vo.PerformPerposeDeptVo; import com.mortals.xhx.module.perform.model.vo.PerformPerposeDeptVo;
import lombok.Data; import lombok.Data;
/** /**
* 部门考核目标详细信息实体对象 * 部门考核目标详细信息实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
@Data @Data
public class PerformPerposeDeptEntity extends PerformPerposeDeptVo { public class PerformPerposeDeptEntity extends PerformPerposeDeptVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 考核目标id * 考核目标id
*/ */
private Long purposeConfId; private Long purposeConfId;
/** /**
* 部门id * 部门id
*/ */
private Long deptId; private Long deptId;
/** /**
* 部门名称 * 部门名称
*/ */
private String deptName; private String deptName;
/** /**
* 备注 * 备注
*/ */
private String remark; private String remark;
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -42,7 +42,7 @@ public class PerformPerposeDeptEntity extends PerformPerposeDeptVo { ...@@ -42,7 +42,7 @@ public class PerformPerposeDeptEntity extends PerformPerposeDeptVo {
if (obj instanceof PerformPerposeDeptEntity) { if (obj instanceof PerformPerposeDeptEntity) {
PerformPerposeDeptEntity tmp = (PerformPerposeDeptEntity) obj; PerformPerposeDeptEntity tmp = (PerformPerposeDeptEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
...@@ -50,12 +50,12 @@ public class PerformPerposeDeptEntity extends PerformPerposeDeptVo { ...@@ -50,12 +50,12 @@ public class PerformPerposeDeptEntity extends PerformPerposeDeptVo {
public void initAttrValue(){ 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; ...@@ -3,26 +3,26 @@ package com.mortals.xhx.module.perform.model;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.perform.model.PerformPerposeDeptEntity; import com.mortals.xhx.module.perform.model.PerformPerposeDeptEntity;
/** /**
* 部门考核目标详细信息查询对象 * 部门考核目标详细信息查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
public class PerformPerposeDeptQuery extends PerformPerposeDeptEntity { 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 */ /** 开始 考核目标id */
private Long purposeConfIdStart; private Long purposeConfIdStart;
...@@ -115,876 +115,876 @@ public class PerformPerposeDeptQuery extends PerformPerposeDeptEntity { ...@@ -115,876 +115,876 @@ public class PerformPerposeDeptQuery extends PerformPerposeDeptEntity {
public PerformPerposeDeptQuery(){} public PerformPerposeDeptQuery(){}
/** /**
* 获取 开始 序号,主键,自增长 * 获取 开始 序号,主键,自增长
* @return IdStart * @return idStart
*/ */
public Long getIdStart(){ public Long getIdStart(){
return this.IdStart; return this.idStart;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 序号,主键,自增长
* @param IdStart * @param idStart
*/ */
public void setIdStart(Long IdStart){ public void setIdStart(Long idStart){
this.IdStart = IdStart; this.idStart = idStart;
} }
/** /**
* 获取 结束 序号,主键,自增长 * 获取 结束 序号,主键,自增长
* @return $IdEnd * @return $idEnd
*/ */
public Long getIdEnd(){ public Long getIdEnd(){
return this.IdEnd; return this.idEnd;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 设置 结束 序号,主键,自增长
* @param IdEnd * @param idEnd
*/ */
public void setIdEnd(Long IdEnd){ public void setIdEnd(Long idEnd){
this.IdEnd = IdEnd; this.idEnd = idEnd;
} }
/** /**
* 获取 增加 序号,主键,自增长 * 获取 增加 序号,主键,自增长
* @return IdIncrement * @return idIncrement
*/ */
public Long getIdIncrement(){ public Long getIdIncrement(){
return this.IdIncrement; return this.idIncrement;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 增加 序号,主键,自增长
* @param IdIncrement * @param idIncrement
*/ */
public void setIdIncrement(Long IdIncrement){ public void setIdIncrement(Long idIncrement){
this.IdIncrement = IdIncrement; this.idIncrement = idIncrement;
} }
/** /**
* 获取 序号,主键,自增长 * 获取 序号,主键,自增长
* @return IdList * @return idList
*/ */
public List<Long> getIdList(){ public List<Long> getIdList(){
return this.IdList; return this.idList;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param IdList * @param idList
*/ */
public void setIdList(List<Long> IdList){ public void setIdList(List<Long> idList){
this.IdList = IdList; this.idList = idList;
} }
/** /**
* 获取 序号,主键,自增长 * 获取 序号,主键,自增长
* @return IdNotList * @return idNotList
*/ */
public List<Long> getIdNotList(){ public List<Long> getIdNotList(){
return this.IdNotList; return this.idNotList;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param IdNotList * @param idNotList
*/ */
public void setIdNotList(List<Long> IdNotList){ public void setIdNotList(List<Long> idNotList){
this.IdNotList = IdNotList; this.idNotList = idNotList;
} }
/** /**
* 获取 开始 考核目标id * 获取 开始 考核目标id
* @return purposeConfIdStart * @return purposeConfIdStart
*/ */
public Long getPurposeConfIdStart(){ public Long getPurposeConfIdStart(){
return this.purposeConfIdStart; return this.purposeConfIdStart;
} }
/** /**
* 设置 开始 考核目标id * 设置 开始 考核目标id
* @param purposeConfIdStart * @param purposeConfIdStart
*/ */
public void setPurposeConfIdStart(Long purposeConfIdStart){ public void setPurposeConfIdStart(Long purposeConfIdStart){
this.purposeConfIdStart = purposeConfIdStart; this.purposeConfIdStart = purposeConfIdStart;
} }
/** /**
* 获取 结束 考核目标id * 获取 结束 考核目标id
* @return $purposeConfIdEnd * @return $purposeConfIdEnd
*/ */
public Long getPurposeConfIdEnd(){ public Long getPurposeConfIdEnd(){
return this.purposeConfIdEnd; return this.purposeConfIdEnd;
} }
/** /**
* 设置 结束 考核目标id * 设置 结束 考核目标id
* @param purposeConfIdEnd * @param purposeConfIdEnd
*/ */
public void setPurposeConfIdEnd(Long purposeConfIdEnd){ public void setPurposeConfIdEnd(Long purposeConfIdEnd){
this.purposeConfIdEnd = purposeConfIdEnd; this.purposeConfIdEnd = purposeConfIdEnd;
} }
/** /**
* 获取 增加 考核目标id * 获取 增加 考核目标id
* @return purposeConfIdIncrement * @return purposeConfIdIncrement
*/ */
public Long getPurposeConfIdIncrement(){ public Long getPurposeConfIdIncrement(){
return this.purposeConfIdIncrement; return this.purposeConfIdIncrement;
} }
/** /**
* 设置 增加 考核目标id * 设置 增加 考核目标id
* @param purposeConfIdIncrement * @param purposeConfIdIncrement
*/ */
public void setPurposeConfIdIncrement(Long purposeConfIdIncrement){ public void setPurposeConfIdIncrement(Long purposeConfIdIncrement){
this.purposeConfIdIncrement = purposeConfIdIncrement; this.purposeConfIdIncrement = purposeConfIdIncrement;
} }
/** /**
* 获取 考核目标id * 获取 考核目标id
* @return purposeConfIdList * @return purposeConfIdList
*/ */
public List<Long> getPurposeConfIdList(){ public List<Long> getPurposeConfIdList(){
return this.purposeConfIdList; return this.purposeConfIdList;
} }
/** /**
* 设置 考核目标id * 设置 考核目标id
* @param purposeConfIdList * @param purposeConfIdList
*/ */
public void setPurposeConfIdList(List<Long> purposeConfIdList){ public void setPurposeConfIdList(List<Long> purposeConfIdList){
this.purposeConfIdList = purposeConfIdList; this.purposeConfIdList = purposeConfIdList;
} }
/** /**
* 获取 考核目标id * 获取 考核目标id
* @return purposeConfIdNotList * @return purposeConfIdNotList
*/ */
public List<Long> getPurposeConfIdNotList(){ public List<Long> getPurposeConfIdNotList(){
return this.purposeConfIdNotList; return this.purposeConfIdNotList;
} }
/** /**
* 设置 考核目标id * 设置 考核目标id
* @param purposeConfIdNotList * @param purposeConfIdNotList
*/ */
public void setPurposeConfIdNotList(List<Long> purposeConfIdNotList){ public void setPurposeConfIdNotList(List<Long> purposeConfIdNotList){
this.purposeConfIdNotList = purposeConfIdNotList; this.purposeConfIdNotList = purposeConfIdNotList;
} }
/** /**
* 获取 开始 部门id * 获取 开始 部门id
* @return deptIdStart * @return deptIdStart
*/ */
public Long getDeptIdStart(){ public Long getDeptIdStart(){
return this.deptIdStart; return this.deptIdStart;
} }
/** /**
* 设置 开始 部门id * 设置 开始 部门id
* @param deptIdStart * @param deptIdStart
*/ */
public void setDeptIdStart(Long deptIdStart){ public void setDeptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart; this.deptIdStart = deptIdStart;
} }
/** /**
* 获取 结束 部门id * 获取 结束 部门id
* @return $deptIdEnd * @return $deptIdEnd
*/ */
public Long getDeptIdEnd(){ public Long getDeptIdEnd(){
return this.deptIdEnd; return this.deptIdEnd;
} }
/** /**
* 设置 结束 部门id * 设置 结束 部门id
* @param deptIdEnd * @param deptIdEnd
*/ */
public void setDeptIdEnd(Long deptIdEnd){ public void setDeptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd; this.deptIdEnd = deptIdEnd;
} }
/** /**
* 获取 增加 部门id * 获取 增加 部门id
* @return deptIdIncrement * @return deptIdIncrement
*/ */
public Long getDeptIdIncrement(){ public Long getDeptIdIncrement(){
return this.deptIdIncrement; return this.deptIdIncrement;
} }
/** /**
* 设置 增加 部门id * 设置 增加 部门id
* @param deptIdIncrement * @param deptIdIncrement
*/ */
public void setDeptIdIncrement(Long deptIdIncrement){ public void setDeptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement; this.deptIdIncrement = deptIdIncrement;
} }
/** /**
* 获取 部门id * 获取 部门id
* @return deptIdList * @return deptIdList
*/ */
public List<Long> getDeptIdList(){ public List<Long> getDeptIdList(){
return this.deptIdList; return this.deptIdList;
} }
/** /**
* 设置 部门id * 设置 部门id
* @param deptIdList * @param deptIdList
*/ */
public void setDeptIdList(List<Long> deptIdList){ public void setDeptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
} }
/** /**
* 获取 部门id * 获取 部门id
* @return deptIdNotList * @return deptIdNotList
*/ */
public List<Long> getDeptIdNotList(){ public List<Long> getDeptIdNotList(){
return this.deptIdNotList; return this.deptIdNotList;
} }
/** /**
* 设置 部门id * 设置 部门id
* @param deptIdNotList * @param deptIdNotList
*/ */
public void setDeptIdNotList(List<Long> deptIdNotList){ public void setDeptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList; this.deptIdNotList = deptIdNotList;
} }
/** /**
* 获取 部门名称 * 获取 部门名称
* @return deptNameList * @return deptNameList
*/ */
public List<String> getDeptNameList(){ public List<String> getDeptNameList(){
return this.deptNameList; return this.deptNameList;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptNameList * @param deptNameList
*/ */
public void setDeptNameList(List<String> deptNameList){ public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList; this.deptNameList = deptNameList;
} }
/** /**
* 获取 部门名称 * 获取 部门名称
* @return deptNameNotList * @return deptNameNotList
*/ */
public List<String> getDeptNameNotList(){ public List<String> getDeptNameNotList(){
return this.deptNameNotList; return this.deptNameNotList;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptNameNotList * @param deptNameNotList
*/ */
public void setDeptNameNotList(List<String> deptNameNotList){ public void setDeptNameNotList(List<String> deptNameNotList){
this.deptNameNotList = deptNameNotList; this.deptNameNotList = deptNameNotList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkList * @return remarkList
*/ */
public List<String> getRemarkList(){ public List<String> getRemarkList(){
return this.remarkList; return this.remarkList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public void setRemarkList(List<String> remarkList){ public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkNotList * @return remarkNotList
*/ */
public List<String> getRemarkNotList(){ public List<String> getRemarkNotList(){
return this.remarkNotList; return this.remarkNotList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkNotList * @param remarkNotList
*/ */
public void setRemarkNotList(List<String> remarkNotList){ public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList; this.remarkNotList = remarkNotList;
} }
/** /**
* 获取 开始 创建用户 * 获取 开始 创建用户
* @return createUserIdStart * @return createUserIdStart
*/ */
public Long getCreateUserIdStart(){ public Long getCreateUserIdStart(){
return this.createUserIdStart; return this.createUserIdStart;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public void setCreateUserIdStart(Long createUserIdStart){ public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
} }
/** /**
* 获取 结束 创建用户 * 获取 结束 创建用户
* @return $createUserIdEnd * @return $createUserIdEnd
*/ */
public Long getCreateUserIdEnd(){ public Long getCreateUserIdEnd(){
return this.createUserIdEnd; return this.createUserIdEnd;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public void setCreateUserIdEnd(Long createUserIdEnd){ public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
} }
/** /**
* 获取 增加 创建用户 * 获取 增加 创建用户
* @return createUserIdIncrement * @return createUserIdIncrement
*/ */
public Long getCreateUserIdIncrement(){ public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement; return this.createUserIdIncrement;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public void setCreateUserIdIncrement(Long createUserIdIncrement){ public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdList * @return createUserIdList
*/ */
public List<Long> getCreateUserIdList(){ public List<Long> getCreateUserIdList(){
return this.createUserIdList; return this.createUserIdList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public void setCreateUserIdList(List<Long> createUserIdList){ public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdNotList * @return createUserIdNotList
*/ */
public List<Long> getCreateUserIdNotList(){ public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList; return this.createUserIdNotList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public void setCreateUserIdNotList(List<Long> createUserIdNotList){ public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
} }
/** /**
* 获取 开始 创建时间 * 获取 开始 创建时间
* @return createTimeStart * @return createTimeStart
*/ */
public String getCreateTimeStart(){ public String getCreateTimeStart(){
return this.createTimeStart; return this.createTimeStart;
} }
/** /**
* 设置 开始 创建时间 * 设置 开始 创建时间
* @param createTimeStart * @param createTimeStart
*/ */
public void setCreateTimeStart(String createTimeStart){ public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart; this.createTimeStart = createTimeStart;
} }
/** /**
* 获取 结束 创建时间 * 获取 结束 创建时间
* @return createTimeEnd * @return createTimeEnd
*/ */
public String getCreateTimeEnd(){ public String getCreateTimeEnd(){
return this.createTimeEnd; return this.createTimeEnd;
} }
/** /**
* 设置 结束 创建时间 * 设置 结束 创建时间
* @param createTimeEnd * @param createTimeEnd
*/ */
public void setCreateTimeEnd(String createTimeEnd){ public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd; this.createTimeEnd = createTimeEnd;
} }
/** /**
* 获取 开始 更新用户 * 获取 开始 更新用户
* @return updateUserIdStart * @return updateUserIdStart
*/ */
public Long getUpdateUserIdStart(){ public Long getUpdateUserIdStart(){
return this.updateUserIdStart; return this.updateUserIdStart;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public void setUpdateUserIdStart(Long updateUserIdStart){ public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
} }
/** /**
* 获取 结束 更新用户 * 获取 结束 更新用户
* @return $updateUserIdEnd * @return $updateUserIdEnd
*/ */
public Long getUpdateUserIdEnd(){ public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd; return this.updateUserIdEnd;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public void setUpdateUserIdEnd(Long updateUserIdEnd){ public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
} }
/** /**
* 获取 增加 更新用户 * 获取 增加 更新用户
* @return updateUserIdIncrement * @return updateUserIdIncrement
*/ */
public Long getUpdateUserIdIncrement(){ public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement; return this.updateUserIdIncrement;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){ public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdList * @return updateUserIdList
*/ */
public List<Long> getUpdateUserIdList(){ public List<Long> getUpdateUserIdList(){
return this.updateUserIdList; return this.updateUserIdList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public void setUpdateUserIdList(List<Long> updateUserIdList){ public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdNotList * @return updateUserIdNotList
*/ */
public List<Long> getUpdateUserIdNotList(){ public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList; return this.updateUserIdNotList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){ public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
} }
/** /**
* 获取 开始 更新时间 * 获取 开始 更新时间
* @return updateTimeStart * @return updateTimeStart
*/ */
public String getUpdateTimeStart(){ public String getUpdateTimeStart(){
return this.updateTimeStart; return this.updateTimeStart;
} }
/** /**
* 设置 开始 更新时间 * 设置 开始 更新时间
* @param updateTimeStart * @param updateTimeStart
*/ */
public void setUpdateTimeStart(String updateTimeStart){ public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart; this.updateTimeStart = updateTimeStart;
} }
/** /**
* 获取 结束 更新时间 * 获取 结束 更新时间
* @return updateTimeEnd * @return updateTimeEnd
*/ */
public String getUpdateTimeEnd(){ public String getUpdateTimeEnd(){
return this.updateTimeEnd; return this.updateTimeEnd;
} }
/** /**
* 设置 结束 更新时间 * 设置 结束 更新时间
* @param updateTimeEnd * @param updateTimeEnd
*/ */
public void setUpdateTimeEnd(String updateTimeEnd){ public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd; this.updateTimeEnd = updateTimeEnd;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param Id * @param id
*/ */
public PerformPerposeDeptQuery Id(Long Id){ public PerformPerposeDeptQuery id(Long id){
setId(Id); setId(id);
return this; return this;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 序号,主键,自增长
* @param IdStart * @param idStart
*/ */
public PerformPerposeDeptQuery IdStart(Long IdStart){ public PerformPerposeDeptQuery idStart(Long idStart){
this.IdStart = IdStart; this.idStart = idStart;
return this; return this;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 设置 结束 序号,主键,自增长
* @param IdEnd * @param idEnd
*/ */
public PerformPerposeDeptQuery IdEnd(Long IdEnd){ public PerformPerposeDeptQuery idEnd(Long idEnd){
this.IdEnd = IdEnd; this.idEnd = idEnd;
return this; return this;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 增加 序号,主键,自增长
* @param IdIncrement * @param idIncrement
*/ */
public PerformPerposeDeptQuery IdIncrement(Long IdIncrement){ public PerformPerposeDeptQuery idIncrement(Long idIncrement){
this.IdIncrement = IdIncrement; this.idIncrement = idIncrement;
return this; return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param IdList * @param idList
*/ */
public PerformPerposeDeptQuery IdList(List<Long> IdList){ public PerformPerposeDeptQuery idList(List<Long> idList){
this.IdList = IdList; this.idList = idList;
return this; return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param IdNotList * @param idNotList
*/ */
public PerformPerposeDeptQuery IdNotList(List<Long> IdNotList){ public PerformPerposeDeptQuery idNotList(List<Long> idNotList){
this.IdNotList = IdNotList; this.idNotList = idNotList;
return this; return this;
} }
/** /**
* 设置 考核目标id * 设置 考核目标id
* @param purposeConfId * @param purposeConfId
*/ */
public PerformPerposeDeptQuery purposeConfId(Long purposeConfId){ public PerformPerposeDeptQuery purposeConfId(Long purposeConfId){
setPurposeConfId(purposeConfId); setPurposeConfId(purposeConfId);
return this; return this;
} }
/** /**
* 设置 开始 考核目标id * 设置 开始 考核目标id
* @param purposeConfIdStart * @param purposeConfIdStart
*/ */
public PerformPerposeDeptQuery purposeConfIdStart(Long purposeConfIdStart){ public PerformPerposeDeptQuery purposeConfIdStart(Long purposeConfIdStart){
this.purposeConfIdStart = purposeConfIdStart; this.purposeConfIdStart = purposeConfIdStart;
return this; return this;
} }
/** /**
* 设置 结束 考核目标id * 设置 结束 考核目标id
* @param purposeConfIdEnd * @param purposeConfIdEnd
*/ */
public PerformPerposeDeptQuery purposeConfIdEnd(Long purposeConfIdEnd){ public PerformPerposeDeptQuery purposeConfIdEnd(Long purposeConfIdEnd){
this.purposeConfIdEnd = purposeConfIdEnd; this.purposeConfIdEnd = purposeConfIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 考核目标id * 设置 增加 考核目标id
* @param purposeConfIdIncrement * @param purposeConfIdIncrement
*/ */
public PerformPerposeDeptQuery purposeConfIdIncrement(Long purposeConfIdIncrement){ public PerformPerposeDeptQuery purposeConfIdIncrement(Long purposeConfIdIncrement){
this.purposeConfIdIncrement = purposeConfIdIncrement; this.purposeConfIdIncrement = purposeConfIdIncrement;
return this; return this;
} }
/** /**
* 设置 考核目标id * 设置 考核目标id
* @param purposeConfIdList * @param purposeConfIdList
*/ */
public PerformPerposeDeptQuery purposeConfIdList(List<Long> purposeConfIdList){ public PerformPerposeDeptQuery purposeConfIdList(List<Long> purposeConfIdList){
this.purposeConfIdList = purposeConfIdList; this.purposeConfIdList = purposeConfIdList;
return this; return this;
} }
/** /**
* 设置 考核目标id * 设置 考核目标id
* @param purposeConfIdNotList * @param purposeConfIdNotList
*/ */
public PerformPerposeDeptQuery purposeConfIdNotList(List<Long> purposeConfIdNotList){ public PerformPerposeDeptQuery purposeConfIdNotList(List<Long> purposeConfIdNotList){
this.purposeConfIdNotList = purposeConfIdNotList; this.purposeConfIdNotList = purposeConfIdNotList;
return this; return this;
} }
/** /**
* 设置 部门id * 设置 部门id
* @param deptId * @param deptId
*/ */
public PerformPerposeDeptQuery deptId(Long deptId){ public PerformPerposeDeptQuery deptId(Long deptId){
setDeptId(deptId); setDeptId(deptId);
return this; return this;
} }
/** /**
* 设置 开始 部门id * 设置 开始 部门id
* @param deptIdStart * @param deptIdStart
*/ */
public PerformPerposeDeptQuery deptIdStart(Long deptIdStart){ public PerformPerposeDeptQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart; this.deptIdStart = deptIdStart;
return this; return this;
} }
/** /**
* 设置 结束 部门id * 设置 结束 部门id
* @param deptIdEnd * @param deptIdEnd
*/ */
public PerformPerposeDeptQuery deptIdEnd(Long deptIdEnd){ public PerformPerposeDeptQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd; this.deptIdEnd = deptIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 部门id * 设置 增加 部门id
* @param deptIdIncrement * @param deptIdIncrement
*/ */
public PerformPerposeDeptQuery deptIdIncrement(Long deptIdIncrement){ public PerformPerposeDeptQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement; this.deptIdIncrement = deptIdIncrement;
return this; return this;
} }
/** /**
* 设置 部门id * 设置 部门id
* @param deptIdList * @param deptIdList
*/ */
public PerformPerposeDeptQuery deptIdList(List<Long> deptIdList){ public PerformPerposeDeptQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
return this; return this;
} }
/** /**
* 设置 部门id * 设置 部门id
* @param deptIdNotList * @param deptIdNotList
*/ */
public PerformPerposeDeptQuery deptIdNotList(List<Long> deptIdNotList){ public PerformPerposeDeptQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList; this.deptIdNotList = deptIdNotList;
return this; return this;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptName * @param deptName
*/ */
public PerformPerposeDeptQuery deptName(String deptName){ public PerformPerposeDeptQuery deptName(String deptName){
setDeptName(deptName); setDeptName(deptName);
return this; return this;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptNameList * @param deptNameList
*/ */
public PerformPerposeDeptQuery deptNameList(List<String> deptNameList){ public PerformPerposeDeptQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList; this.deptNameList = deptNameList;
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public PerformPerposeDeptQuery remark(String remark){ public PerformPerposeDeptQuery remark(String remark){
setRemark(remark); setRemark(remark);
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public PerformPerposeDeptQuery remarkList(List<String> remarkList){ public PerformPerposeDeptQuery remarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserId * @param createUserId
*/ */
public PerformPerposeDeptQuery createUserId(Long createUserId){ public PerformPerposeDeptQuery createUserId(Long createUserId){
setCreateUserId(createUserId); setCreateUserId(createUserId);
return this; return this;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public PerformPerposeDeptQuery createUserIdStart(Long createUserIdStart){ public PerformPerposeDeptQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public PerformPerposeDeptQuery createUserIdEnd(Long createUserIdEnd){ public PerformPerposeDeptQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public PerformPerposeDeptQuery createUserIdIncrement(Long createUserIdIncrement){ public PerformPerposeDeptQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public PerformPerposeDeptQuery createUserIdList(List<Long> createUserIdList){ public PerformPerposeDeptQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public PerformPerposeDeptQuery createUserIdNotList(List<Long> createUserIdNotList){ public PerformPerposeDeptQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserId * @param updateUserId
*/ */
public PerformPerposeDeptQuery updateUserId(Long updateUserId){ public PerformPerposeDeptQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId); setUpdateUserId(updateUserId);
return this; return this;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public PerformPerposeDeptQuery updateUserIdStart(Long updateUserIdStart){ public PerformPerposeDeptQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public PerformPerposeDeptQuery updateUserIdEnd(Long updateUserIdEnd){ public PerformPerposeDeptQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public PerformPerposeDeptQuery updateUserIdIncrement(Long updateUserIdIncrement){ public PerformPerposeDeptQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public PerformPerposeDeptQuery updateUserIdList(List<Long> updateUserIdList){ public PerformPerposeDeptQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public PerformPerposeDeptQuery updateUserIdNotList(List<Long> updateUserIdNotList){ public PerformPerposeDeptQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
return this; return this;
} }
/** /**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList * @return orConditionList
*/ */
public List<PerformPerposeDeptQuery> getOrConditionList(){ 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) * 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList * @param orConditionList
*/ */
public void setOrConditionList(List<PerformPerposeDeptQuery> orConditionList){ public void setOrConditionList(List<PerformPerposeDeptQuery> orConditionList){
this.orConditionList = orConditionList; this.orConditionList = orConditionList;
} }
/** /**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList * @return andConditionList
*/ */
public List<PerformPerposeDeptQuery> getAndConditionList(){ public List<PerformPerposeDeptQuery> getAndConditionList(){
return this.andConditionList; return this.andConditionList;
} }
/** /**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList * @param andConditionList
*/ */
public void setAndConditionList(List<PerformPerposeDeptQuery> andConditionList){ public void setAndConditionList(List<PerformPerposeDeptQuery> andConditionList){
this.andConditionList = andConditionList; this.andConditionList = andConditionList;
} }
......
package com.mortals.xhx.module.perform.model; package com.mortals.xhx.module.perform.model;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Date;
import java.util.List; import java.util.List;
import java.util.ArrayList; import java.util.ArrayList;
import cn.hutool.core.date.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel; import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.perform.model.vo.PerformPerposeDeptStatVo; import com.mortals.xhx.module.perform.model.vo.PerformPerposeDeptStatVo;
import lombok.Data; import lombok.Data;
/** /**
* 部门目标统计实体对象 * 部门目标统计实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
@Data @Data
public class PerformPerposeDeptStatEntity extends PerformPerposeDeptStatVo { public class PerformPerposeDeptStatEntity extends PerformPerposeDeptStatVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 部门id号 * 部门id号
*/ */
private Long deptId; private Long deptId;
/** /**
* 部门名称 * 部门名称
*/ */
private String deptName; private String deptName;
/** /**
* 旷工率 * 旷工率
*/ */
private BigDecimal absentRate; private BigDecimal absentRate;
/** /**
* 缺卡率 * 缺卡率
*/ */
private BigDecimal absenceRate; private BigDecimal absenceRate;
/** /**
* 迟到率 * 迟到率
*/ */
private BigDecimal lateRate; private BigDecimal lateRate;
/** /**
* 早退率 * 早退率
*/ */
private BigDecimal earlyRate; private BigDecimal earlyRate;
/** /**
* 请假率 * 请假率
*/ */
private BigDecimal leaveRate; private BigDecimal leaveRate;
/** /**
* 离岗率 * 离岗率
*/ */
private BigDecimal turnoverRate; private BigDecimal turnoverRate;
/** /**
* 睡觉率 * 睡觉率
*/ */
private BigDecimal sleepRate; private BigDecimal sleepRate;
/** /**
* 玩手机率 * 玩手机率
*/ */
private BigDecimal playPhoneRate; private BigDecimal playPhoneRate;
/** /**
* 办件超期率 * 办件超期率
*/ */
private BigDecimal expireWorkRate; private BigDecimal expireWorkRate;
/** /**
* 差评率 * 差评率
*/ */
private BigDecimal negaReviewRate; private BigDecimal negaReviewRate;
/** /**
* 备注 * 备注
*/ */
private String remark; private String remark;
/** /**
* 年 * 年
*/ */
private Integer year; private Integer year;
/** /**
* 月 * 月
*/ */
private Integer month; private Integer month;
/** /**
* 日 * 日
*/ */
private Integer day; private Integer day;
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -91,7 +94,7 @@ public class PerformPerposeDeptStatEntity extends PerformPerposeDeptStatVo { ...@@ -91,7 +94,7 @@ public class PerformPerposeDeptStatEntity extends PerformPerposeDeptStatVo {
if (obj instanceof PerformPerposeDeptStatEntity) { if (obj instanceof PerformPerposeDeptStatEntity) {
PerformPerposeDeptStatEntity tmp = (PerformPerposeDeptStatEntity) obj; PerformPerposeDeptStatEntity tmp = (PerformPerposeDeptStatEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
...@@ -99,36 +102,36 @@ public class PerformPerposeDeptStatEntity extends PerformPerposeDeptStatVo { ...@@ -99,36 +102,36 @@ public class PerformPerposeDeptStatEntity extends PerformPerposeDeptStatVo {
public void initAttrValue(){ public void initAttrValue(){
this.deptId = 0L; this.deptId = 0L;
this.deptName = ""; this.deptName = "";
this.absentRate = BigDecimal.valueOf(0.00); this.absentRate = BigDecimal.valueOf(0.00);
this.absenceRate = BigDecimal.valueOf(0.00); this.absenceRate = BigDecimal.valueOf(0.00);
this.lateRate = BigDecimal.valueOf(0.00); this.lateRate = BigDecimal.valueOf(0.00);
this.earlyRate = BigDecimal.valueOf(0.00); this.earlyRate = BigDecimal.valueOf(0.00);
this.leaveRate = BigDecimal.valueOf(0.00); this.leaveRate = BigDecimal.valueOf(0.00);
this.turnoverRate = BigDecimal.valueOf(0.00); this.turnoverRate = BigDecimal.valueOf(0.00);
this.sleepRate = BigDecimal.valueOf(0.00); this.sleepRate = BigDecimal.valueOf(0.00);
this.playPhoneRate = BigDecimal.valueOf(0.00); this.playPhoneRate = BigDecimal.valueOf(0.00);
this.expireWorkRate = BigDecimal.valueOf(0.00); this.expireWorkRate = BigDecimal.valueOf(0.00);
this.negaReviewRate = BigDecimal.valueOf(0.00); this.negaReviewRate = BigDecimal.valueOf(0.00);
this.remark = ""; this.remark = "";
this.year = -1; this.year = DateUtil.year(new Date());
this.month = -1; this.month = DateUtil.month(new Date())+1;
this.day = -1; this.day = DateUtil.dayOfMonth(new Date());
} }
} }
\ No newline at end of file
...@@ -4,11 +4,11 @@ import java.math.BigDecimal; ...@@ -4,11 +4,11 @@ import java.math.BigDecimal;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.perform.model.PerformPerposeDeptStatEntity; import com.mortals.xhx.module.perform.model.PerformPerposeDeptStatEntity;
/** /**
* 部门目标统计查询对象 * 部门目标统计查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
public class PerformPerposeDeptStatQuery extends PerformPerposeDeptStatEntity { public class PerformPerposeDeptStatQuery extends PerformPerposeDeptStatEntity {
/** 开始 主键ID,主键,自增长 */ /** 开始 主键ID,主键,自增长 */
private Long idStart; private Long idStart;
...@@ -296,2496 +296,2496 @@ public class PerformPerposeDeptStatQuery extends PerformPerposeDeptStatEntity { ...@@ -296,2496 +296,2496 @@ public class PerformPerposeDeptStatQuery extends PerformPerposeDeptStatEntity {
public PerformPerposeDeptStatQuery(){} public PerformPerposeDeptStatQuery(){}
/** /**
* 获取 开始 主键ID,主键,自增长 * 获取 开始 主键ID,主键,自增长
* @return idStart * @return idStart
*/ */
public Long getIdStart(){ public Long getIdStart(){
return this.idStart; return this.idStart;
} }
/** /**
* 设置 开始 主键ID,主键,自增长 * 设置 开始 主键ID,主键,自增长
* @param idStart * @param idStart
*/ */
public void setIdStart(Long idStart){ public void setIdStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
} }
/** /**
* 获取 结束 主键ID,主键,自增长 * 获取 结束 主键ID,主键,自增长
* @return $idEnd * @return $idEnd
*/ */
public Long getIdEnd(){ public Long getIdEnd(){
return this.idEnd; return this.idEnd;
} }
/** /**
* 设置 结束 主键ID,主键,自增长 * 设置 结束 主键ID,主键,自增长
* @param idEnd * @param idEnd
*/ */
public void setIdEnd(Long idEnd){ public void setIdEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
} }
/** /**
* 获取 增加 主键ID,主键,自增长 * 获取 增加 主键ID,主键,自增长
* @return idIncrement * @return idIncrement
*/ */
public Long getIdIncrement(){ public Long getIdIncrement(){
return this.idIncrement; return this.idIncrement;
} }
/** /**
* 设置 增加 主键ID,主键,自增长 * 设置 增加 主键ID,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public void setIdIncrement(Long idIncrement){ public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
} }
/** /**
* 获取 主键ID,主键,自增长 * 获取 主键ID,主键,自增长
* @return idList * @return idList
*/ */
public List<Long> getIdList(){ public List<Long> getIdList(){
return this.idList; return this.idList;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idList * @param idList
*/ */
public void setIdList(List<Long> idList){ public void setIdList(List<Long> idList){
this.idList = idList; this.idList = idList;
} }
/** /**
* 获取 主键ID,主键,自增长 * 获取 主键ID,主键,自增长
* @return idNotList * @return idNotList
*/ */
public List<Long> getIdNotList(){ public List<Long> getIdNotList(){
return this.idNotList; return this.idNotList;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idNotList * @param idNotList
*/ */
public void setIdNotList(List<Long> idNotList){ public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
} }
/** /**
* 获取 开始 部门id号 * 获取 开始 部门id号
* @return deptIdStart * @return deptIdStart
*/ */
public Long getDeptIdStart(){ public Long getDeptIdStart(){
return this.deptIdStart; return this.deptIdStart;
} }
/** /**
* 设置 开始 部门id号 * 设置 开始 部门id号
* @param deptIdStart * @param deptIdStart
*/ */
public void setDeptIdStart(Long deptIdStart){ public void setDeptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart; this.deptIdStart = deptIdStart;
} }
/** /**
* 获取 结束 部门id号 * 获取 结束 部门id号
* @return $deptIdEnd * @return $deptIdEnd
*/ */
public Long getDeptIdEnd(){ public Long getDeptIdEnd(){
return this.deptIdEnd; return this.deptIdEnd;
} }
/** /**
* 设置 结束 部门id号 * 设置 结束 部门id号
* @param deptIdEnd * @param deptIdEnd
*/ */
public void setDeptIdEnd(Long deptIdEnd){ public void setDeptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd; this.deptIdEnd = deptIdEnd;
} }
/** /**
* 获取 增加 部门id号 * 获取 增加 部门id号
* @return deptIdIncrement * @return deptIdIncrement
*/ */
public Long getDeptIdIncrement(){ public Long getDeptIdIncrement(){
return this.deptIdIncrement; return this.deptIdIncrement;
} }
/** /**
* 设置 增加 部门id号 * 设置 增加 部门id号
* @param deptIdIncrement * @param deptIdIncrement
*/ */
public void setDeptIdIncrement(Long deptIdIncrement){ public void setDeptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement; this.deptIdIncrement = deptIdIncrement;
} }
/** /**
* 获取 部门id号 * 获取 部门id号
* @return deptIdList * @return deptIdList
*/ */
public List<Long> getDeptIdList(){ public List<Long> getDeptIdList(){
return this.deptIdList; return this.deptIdList;
} }
/** /**
* 设置 部门id号 * 设置 部门id号
* @param deptIdList * @param deptIdList
*/ */
public void setDeptIdList(List<Long> deptIdList){ public void setDeptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
} }
/** /**
* 获取 部门id号 * 获取 部门id号
* @return deptIdNotList * @return deptIdNotList
*/ */
public List<Long> getDeptIdNotList(){ public List<Long> getDeptIdNotList(){
return this.deptIdNotList; return this.deptIdNotList;
} }
/** /**
* 设置 部门id号 * 设置 部门id号
* @param deptIdNotList * @param deptIdNotList
*/ */
public void setDeptIdNotList(List<Long> deptIdNotList){ public void setDeptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList; this.deptIdNotList = deptIdNotList;
} }
/** /**
* 获取 部门名称 * 获取 部门名称
* @return deptNameList * @return deptNameList
*/ */
public List<String> getDeptNameList(){ public List<String> getDeptNameList(){
return this.deptNameList; return this.deptNameList;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptNameList * @param deptNameList
*/ */
public void setDeptNameList(List<String> deptNameList){ public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList; this.deptNameList = deptNameList;
} }
/** /**
* 获取 部门名称 * 获取 部门名称
* @return deptNameNotList * @return deptNameNotList
*/ */
public List<String> getDeptNameNotList(){ public List<String> getDeptNameNotList(){
return this.deptNameNotList; return this.deptNameNotList;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptNameNotList * @param deptNameNotList
*/ */
public void setDeptNameNotList(List<String> deptNameNotList){ public void setDeptNameNotList(List<String> deptNameNotList){
this.deptNameNotList = deptNameNotList; this.deptNameNotList = deptNameNotList;
} }
/** /**
* 获取 开始 旷工率 * 获取 开始 旷工率
* @return absentRateStart * @return absentRateStart
*/ */
public BigDecimal getAbsentRateStart(){ public BigDecimal getAbsentRateStart(){
return this.absentRateStart; return this.absentRateStart;
} }
/** /**
* 设置 开始 旷工率 * 设置 开始 旷工率
* @param absentRateStart * @param absentRateStart
*/ */
public void setAbsentRateStart(BigDecimal absentRateStart){ public void setAbsentRateStart(BigDecimal absentRateStart){
this.absentRateStart = absentRateStart; this.absentRateStart = absentRateStart;
} }
/** /**
* 获取 结束 旷工率 * 获取 结束 旷工率
* @return $absentRateEnd * @return $absentRateEnd
*/ */
public BigDecimal getAbsentRateEnd(){ public BigDecimal getAbsentRateEnd(){
return this.absentRateEnd; return this.absentRateEnd;
} }
/** /**
* 设置 结束 旷工率 * 设置 结束 旷工率
* @param absentRateEnd * @param absentRateEnd
*/ */
public void setAbsentRateEnd(BigDecimal absentRateEnd){ public void setAbsentRateEnd(BigDecimal absentRateEnd){
this.absentRateEnd = absentRateEnd; this.absentRateEnd = absentRateEnd;
} }
/** /**
* 获取 增加 旷工率 * 获取 增加 旷工率
* @return absentRateIncrement * @return absentRateIncrement
*/ */
public BigDecimal getAbsentRateIncrement(){ public BigDecimal getAbsentRateIncrement(){
return this.absentRateIncrement; return this.absentRateIncrement;
} }
/** /**
* 设置 增加 旷工率 * 设置 增加 旷工率
* @param absentRateIncrement * @param absentRateIncrement
*/ */
public void setAbsentRateIncrement(BigDecimal absentRateIncrement){ public void setAbsentRateIncrement(BigDecimal absentRateIncrement){
this.absentRateIncrement = absentRateIncrement; this.absentRateIncrement = absentRateIncrement;
} }
/** /**
* 获取 旷工率 * 获取 旷工率
* @return absentRateList * @return absentRateList
*/ */
public List<BigDecimal> getAbsentRateList(){ public List<BigDecimal> getAbsentRateList(){
return this.absentRateList; return this.absentRateList;
} }
/** /**
* 设置 旷工率 * 设置 旷工率
* @param absentRateList * @param absentRateList
*/ */
public void setAbsentRateList(List<BigDecimal> absentRateList){ public void setAbsentRateList(List<BigDecimal> absentRateList){
this.absentRateList = absentRateList; this.absentRateList = absentRateList;
} }
/** /**
* 获取 旷工率 * 获取 旷工率
* @return absentRateNotList * @return absentRateNotList
*/ */
public List<BigDecimal> getAbsentRateNotList(){ public List<BigDecimal> getAbsentRateNotList(){
return this.absentRateNotList; return this.absentRateNotList;
} }
/** /**
* 设置 旷工率 * 设置 旷工率
* @param absentRateNotList * @param absentRateNotList
*/ */
public void setAbsentRateNotList(List<BigDecimal> absentRateNotList){ public void setAbsentRateNotList(List<BigDecimal> absentRateNotList){
this.absentRateNotList = absentRateNotList; this.absentRateNotList = absentRateNotList;
} }
/** /**
* 获取 开始 缺卡率 * 获取 开始 缺卡率
* @return absenceRateStart * @return absenceRateStart
*/ */
public BigDecimal getAbsenceRateStart(){ public BigDecimal getAbsenceRateStart(){
return this.absenceRateStart; return this.absenceRateStart;
} }
/** /**
* 设置 开始 缺卡率 * 设置 开始 缺卡率
* @param absenceRateStart * @param absenceRateStart
*/ */
public void setAbsenceRateStart(BigDecimal absenceRateStart){ public void setAbsenceRateStart(BigDecimal absenceRateStart){
this.absenceRateStart = absenceRateStart; this.absenceRateStart = absenceRateStart;
} }
/** /**
* 获取 结束 缺卡率 * 获取 结束 缺卡率
* @return $absenceRateEnd * @return $absenceRateEnd
*/ */
public BigDecimal getAbsenceRateEnd(){ public BigDecimal getAbsenceRateEnd(){
return this.absenceRateEnd; return this.absenceRateEnd;
} }
/** /**
* 设置 结束 缺卡率 * 设置 结束 缺卡率
* @param absenceRateEnd * @param absenceRateEnd
*/ */
public void setAbsenceRateEnd(BigDecimal absenceRateEnd){ public void setAbsenceRateEnd(BigDecimal absenceRateEnd){
this.absenceRateEnd = absenceRateEnd; this.absenceRateEnd = absenceRateEnd;
} }
/** /**
* 获取 增加 缺卡率 * 获取 增加 缺卡率
* @return absenceRateIncrement * @return absenceRateIncrement
*/ */
public BigDecimal getAbsenceRateIncrement(){ public BigDecimal getAbsenceRateIncrement(){
return this.absenceRateIncrement; return this.absenceRateIncrement;
} }
/** /**
* 设置 增加 缺卡率 * 设置 增加 缺卡率
* @param absenceRateIncrement * @param absenceRateIncrement
*/ */
public void setAbsenceRateIncrement(BigDecimal absenceRateIncrement){ public void setAbsenceRateIncrement(BigDecimal absenceRateIncrement){
this.absenceRateIncrement = absenceRateIncrement; this.absenceRateIncrement = absenceRateIncrement;
} }
/** /**
* 获取 缺卡率 * 获取 缺卡率
* @return absenceRateList * @return absenceRateList
*/ */
public List<BigDecimal> getAbsenceRateList(){ public List<BigDecimal> getAbsenceRateList(){
return this.absenceRateList; return this.absenceRateList;
} }
/** /**
* 设置 缺卡率 * 设置 缺卡率
* @param absenceRateList * @param absenceRateList
*/ */
public void setAbsenceRateList(List<BigDecimal> absenceRateList){ public void setAbsenceRateList(List<BigDecimal> absenceRateList){
this.absenceRateList = absenceRateList; this.absenceRateList = absenceRateList;
} }
/** /**
* 获取 缺卡率 * 获取 缺卡率
* @return absenceRateNotList * @return absenceRateNotList
*/ */
public List<BigDecimal> getAbsenceRateNotList(){ public List<BigDecimal> getAbsenceRateNotList(){
return this.absenceRateNotList; return this.absenceRateNotList;
} }
/** /**
* 设置 缺卡率 * 设置 缺卡率
* @param absenceRateNotList * @param absenceRateNotList
*/ */
public void setAbsenceRateNotList(List<BigDecimal> absenceRateNotList){ public void setAbsenceRateNotList(List<BigDecimal> absenceRateNotList){
this.absenceRateNotList = absenceRateNotList; this.absenceRateNotList = absenceRateNotList;
} }
/** /**
* 获取 开始 迟到率 * 获取 开始 迟到率
* @return lateRateStart * @return lateRateStart
*/ */
public BigDecimal getLateRateStart(){ public BigDecimal getLateRateStart(){
return this.lateRateStart; return this.lateRateStart;
} }
/** /**
* 设置 开始 迟到率 * 设置 开始 迟到率
* @param lateRateStart * @param lateRateStart
*/ */
public void setLateRateStart(BigDecimal lateRateStart){ public void setLateRateStart(BigDecimal lateRateStart){
this.lateRateStart = lateRateStart; this.lateRateStart = lateRateStart;
} }
/** /**
* 获取 结束 迟到率 * 获取 结束 迟到率
* @return $lateRateEnd * @return $lateRateEnd
*/ */
public BigDecimal getLateRateEnd(){ public BigDecimal getLateRateEnd(){
return this.lateRateEnd; return this.lateRateEnd;
} }
/** /**
* 设置 结束 迟到率 * 设置 结束 迟到率
* @param lateRateEnd * @param lateRateEnd
*/ */
public void setLateRateEnd(BigDecimal lateRateEnd){ public void setLateRateEnd(BigDecimal lateRateEnd){
this.lateRateEnd = lateRateEnd; this.lateRateEnd = lateRateEnd;
} }
/** /**
* 获取 增加 迟到率 * 获取 增加 迟到率
* @return lateRateIncrement * @return lateRateIncrement
*/ */
public BigDecimal getLateRateIncrement(){ public BigDecimal getLateRateIncrement(){
return this.lateRateIncrement; return this.lateRateIncrement;
} }
/** /**
* 设置 增加 迟到率 * 设置 增加 迟到率
* @param lateRateIncrement * @param lateRateIncrement
*/ */
public void setLateRateIncrement(BigDecimal lateRateIncrement){ public void setLateRateIncrement(BigDecimal lateRateIncrement){
this.lateRateIncrement = lateRateIncrement; this.lateRateIncrement = lateRateIncrement;
} }
/** /**
* 获取 迟到率 * 获取 迟到率
* @return lateRateList * @return lateRateList
*/ */
public List<BigDecimal> getLateRateList(){ public List<BigDecimal> getLateRateList(){
return this.lateRateList; return this.lateRateList;
} }
/** /**
* 设置 迟到率 * 设置 迟到率
* @param lateRateList * @param lateRateList
*/ */
public void setLateRateList(List<BigDecimal> lateRateList){ public void setLateRateList(List<BigDecimal> lateRateList){
this.lateRateList = lateRateList; this.lateRateList = lateRateList;
} }
/** /**
* 获取 迟到率 * 获取 迟到率
* @return lateRateNotList * @return lateRateNotList
*/ */
public List<BigDecimal> getLateRateNotList(){ public List<BigDecimal> getLateRateNotList(){
return this.lateRateNotList; return this.lateRateNotList;
} }
/** /**
* 设置 迟到率 * 设置 迟到率
* @param lateRateNotList * @param lateRateNotList
*/ */
public void setLateRateNotList(List<BigDecimal> lateRateNotList){ public void setLateRateNotList(List<BigDecimal> lateRateNotList){
this.lateRateNotList = lateRateNotList; this.lateRateNotList = lateRateNotList;
} }
/** /**
* 获取 开始 早退率 * 获取 开始 早退率
* @return earlyRateStart * @return earlyRateStart
*/ */
public BigDecimal getEarlyRateStart(){ public BigDecimal getEarlyRateStart(){
return this.earlyRateStart; return this.earlyRateStart;
} }
/** /**
* 设置 开始 早退率 * 设置 开始 早退率
* @param earlyRateStart * @param earlyRateStart
*/ */
public void setEarlyRateStart(BigDecimal earlyRateStart){ public void setEarlyRateStart(BigDecimal earlyRateStart){
this.earlyRateStart = earlyRateStart; this.earlyRateStart = earlyRateStart;
} }
/** /**
* 获取 结束 早退率 * 获取 结束 早退率
* @return $earlyRateEnd * @return $earlyRateEnd
*/ */
public BigDecimal getEarlyRateEnd(){ public BigDecimal getEarlyRateEnd(){
return this.earlyRateEnd; return this.earlyRateEnd;
} }
/** /**
* 设置 结束 早退率 * 设置 结束 早退率
* @param earlyRateEnd * @param earlyRateEnd
*/ */
public void setEarlyRateEnd(BigDecimal earlyRateEnd){ public void setEarlyRateEnd(BigDecimal earlyRateEnd){
this.earlyRateEnd = earlyRateEnd; this.earlyRateEnd = earlyRateEnd;
} }
/** /**
* 获取 增加 早退率 * 获取 增加 早退率
* @return earlyRateIncrement * @return earlyRateIncrement
*/ */
public BigDecimal getEarlyRateIncrement(){ public BigDecimal getEarlyRateIncrement(){
return this.earlyRateIncrement; return this.earlyRateIncrement;
} }
/** /**
* 设置 增加 早退率 * 设置 增加 早退率
* @param earlyRateIncrement * @param earlyRateIncrement
*/ */
public void setEarlyRateIncrement(BigDecimal earlyRateIncrement){ public void setEarlyRateIncrement(BigDecimal earlyRateIncrement){
this.earlyRateIncrement = earlyRateIncrement; this.earlyRateIncrement = earlyRateIncrement;
} }
/** /**
* 获取 早退率 * 获取 早退率
* @return earlyRateList * @return earlyRateList
*/ */
public List<BigDecimal> getEarlyRateList(){ public List<BigDecimal> getEarlyRateList(){
return this.earlyRateList; return this.earlyRateList;
} }
/** /**
* 设置 早退率 * 设置 早退率
* @param earlyRateList * @param earlyRateList
*/ */
public void setEarlyRateList(List<BigDecimal> earlyRateList){ public void setEarlyRateList(List<BigDecimal> earlyRateList){
this.earlyRateList = earlyRateList; this.earlyRateList = earlyRateList;
} }
/** /**
* 获取 早退率 * 获取 早退率
* @return earlyRateNotList * @return earlyRateNotList
*/ */
public List<BigDecimal> getEarlyRateNotList(){ public List<BigDecimal> getEarlyRateNotList(){
return this.earlyRateNotList; return this.earlyRateNotList;
} }
/** /**
* 设置 早退率 * 设置 早退率
* @param earlyRateNotList * @param earlyRateNotList
*/ */
public void setEarlyRateNotList(List<BigDecimal> earlyRateNotList){ public void setEarlyRateNotList(List<BigDecimal> earlyRateNotList){
this.earlyRateNotList = earlyRateNotList; this.earlyRateNotList = earlyRateNotList;
} }
/** /**
* 获取 开始 请假率 * 获取 开始 请假率
* @return leaveRateStart * @return leaveRateStart
*/ */
public BigDecimal getLeaveRateStart(){ public BigDecimal getLeaveRateStart(){
return this.leaveRateStart; return this.leaveRateStart;
} }
/** /**
* 设置 开始 请假率 * 设置 开始 请假率
* @param leaveRateStart * @param leaveRateStart
*/ */
public void setLeaveRateStart(BigDecimal leaveRateStart){ public void setLeaveRateStart(BigDecimal leaveRateStart){
this.leaveRateStart = leaveRateStart; this.leaveRateStart = leaveRateStart;
} }
/** /**
* 获取 结束 请假率 * 获取 结束 请假率
* @return $leaveRateEnd * @return $leaveRateEnd
*/ */
public BigDecimal getLeaveRateEnd(){ public BigDecimal getLeaveRateEnd(){
return this.leaveRateEnd; return this.leaveRateEnd;
} }
/** /**
* 设置 结束 请假率 * 设置 结束 请假率
* @param leaveRateEnd * @param leaveRateEnd
*/ */
public void setLeaveRateEnd(BigDecimal leaveRateEnd){ public void setLeaveRateEnd(BigDecimal leaveRateEnd){
this.leaveRateEnd = leaveRateEnd; this.leaveRateEnd = leaveRateEnd;
} }
/** /**
* 获取 增加 请假率 * 获取 增加 请假率
* @return leaveRateIncrement * @return leaveRateIncrement
*/ */
public BigDecimal getLeaveRateIncrement(){ public BigDecimal getLeaveRateIncrement(){
return this.leaveRateIncrement; return this.leaveRateIncrement;
} }
/** /**
* 设置 增加 请假率 * 设置 增加 请假率
* @param leaveRateIncrement * @param leaveRateIncrement
*/ */
public void setLeaveRateIncrement(BigDecimal leaveRateIncrement){ public void setLeaveRateIncrement(BigDecimal leaveRateIncrement){
this.leaveRateIncrement = leaveRateIncrement; this.leaveRateIncrement = leaveRateIncrement;
} }
/** /**
* 获取 请假率 * 获取 请假率
* @return leaveRateList * @return leaveRateList
*/ */
public List<BigDecimal> getLeaveRateList(){ public List<BigDecimal> getLeaveRateList(){
return this.leaveRateList; return this.leaveRateList;
} }
/** /**
* 设置 请假率 * 设置 请假率
* @param leaveRateList * @param leaveRateList
*/ */
public void setLeaveRateList(List<BigDecimal> leaveRateList){ public void setLeaveRateList(List<BigDecimal> leaveRateList){
this.leaveRateList = leaveRateList; this.leaveRateList = leaveRateList;
} }
/** /**
* 获取 请假率 * 获取 请假率
* @return leaveRateNotList * @return leaveRateNotList
*/ */
public List<BigDecimal> getLeaveRateNotList(){ public List<BigDecimal> getLeaveRateNotList(){
return this.leaveRateNotList; return this.leaveRateNotList;
} }
/** /**
* 设置 请假率 * 设置 请假率
* @param leaveRateNotList * @param leaveRateNotList
*/ */
public void setLeaveRateNotList(List<BigDecimal> leaveRateNotList){ public void setLeaveRateNotList(List<BigDecimal> leaveRateNotList){
this.leaveRateNotList = leaveRateNotList; this.leaveRateNotList = leaveRateNotList;
} }
/** /**
* 获取 开始 离岗率 * 获取 开始 离岗率
* @return turnoverRateStart * @return turnoverRateStart
*/ */
public BigDecimal getTurnoverRateStart(){ public BigDecimal getTurnoverRateStart(){
return this.turnoverRateStart; return this.turnoverRateStart;
} }
/** /**
* 设置 开始 离岗率 * 设置 开始 离岗率
* @param turnoverRateStart * @param turnoverRateStart
*/ */
public void setTurnoverRateStart(BigDecimal turnoverRateStart){ public void setTurnoverRateStart(BigDecimal turnoverRateStart){
this.turnoverRateStart = turnoverRateStart; this.turnoverRateStart = turnoverRateStart;
} }
/** /**
* 获取 结束 离岗率 * 获取 结束 离岗率
* @return $turnoverRateEnd * @return $turnoverRateEnd
*/ */
public BigDecimal getTurnoverRateEnd(){ public BigDecimal getTurnoverRateEnd(){
return this.turnoverRateEnd; return this.turnoverRateEnd;
} }
/** /**
* 设置 结束 离岗率 * 设置 结束 离岗率
* @param turnoverRateEnd * @param turnoverRateEnd
*/ */
public void setTurnoverRateEnd(BigDecimal turnoverRateEnd){ public void setTurnoverRateEnd(BigDecimal turnoverRateEnd){
this.turnoverRateEnd = turnoverRateEnd; this.turnoverRateEnd = turnoverRateEnd;
} }
/** /**
* 获取 增加 离岗率 * 获取 增加 离岗率
* @return turnoverRateIncrement * @return turnoverRateIncrement
*/ */
public BigDecimal getTurnoverRateIncrement(){ public BigDecimal getTurnoverRateIncrement(){
return this.turnoverRateIncrement; return this.turnoverRateIncrement;
} }
/** /**
* 设置 增加 离岗率 * 设置 增加 离岗率
* @param turnoverRateIncrement * @param turnoverRateIncrement
*/ */
public void setTurnoverRateIncrement(BigDecimal turnoverRateIncrement){ public void setTurnoverRateIncrement(BigDecimal turnoverRateIncrement){
this.turnoverRateIncrement = turnoverRateIncrement; this.turnoverRateIncrement = turnoverRateIncrement;
} }
/** /**
* 获取 离岗率 * 获取 离岗率
* @return turnoverRateList * @return turnoverRateList
*/ */
public List<BigDecimal> getTurnoverRateList(){ public List<BigDecimal> getTurnoverRateList(){
return this.turnoverRateList; return this.turnoverRateList;
} }
/** /**
* 设置 离岗率 * 设置 离岗率
* @param turnoverRateList * @param turnoverRateList
*/ */
public void setTurnoverRateList(List<BigDecimal> turnoverRateList){ public void setTurnoverRateList(List<BigDecimal> turnoverRateList){
this.turnoverRateList = turnoverRateList; this.turnoverRateList = turnoverRateList;
} }
/** /**
* 获取 离岗率 * 获取 离岗率
* @return turnoverRateNotList * @return turnoverRateNotList
*/ */
public List<BigDecimal> getTurnoverRateNotList(){ public List<BigDecimal> getTurnoverRateNotList(){
return this.turnoverRateNotList; return this.turnoverRateNotList;
} }
/** /**
* 设置 离岗率 * 设置 离岗率
* @param turnoverRateNotList * @param turnoverRateNotList
*/ */
public void setTurnoverRateNotList(List<BigDecimal> turnoverRateNotList){ public void setTurnoverRateNotList(List<BigDecimal> turnoverRateNotList){
this.turnoverRateNotList = turnoverRateNotList; this.turnoverRateNotList = turnoverRateNotList;
} }
/** /**
* 获取 开始 睡觉率 * 获取 开始 睡觉率
* @return sleepRateStart * @return sleepRateStart
*/ */
public BigDecimal getSleepRateStart(){ public BigDecimal getSleepRateStart(){
return this.sleepRateStart; return this.sleepRateStart;
} }
/** /**
* 设置 开始 睡觉率 * 设置 开始 睡觉率
* @param sleepRateStart * @param sleepRateStart
*/ */
public void setSleepRateStart(BigDecimal sleepRateStart){ public void setSleepRateStart(BigDecimal sleepRateStart){
this.sleepRateStart = sleepRateStart; this.sleepRateStart = sleepRateStart;
} }
/** /**
* 获取 结束 睡觉率 * 获取 结束 睡觉率
* @return $sleepRateEnd * @return $sleepRateEnd
*/ */
public BigDecimal getSleepRateEnd(){ public BigDecimal getSleepRateEnd(){
return this.sleepRateEnd; return this.sleepRateEnd;
} }
/** /**
* 设置 结束 睡觉率 * 设置 结束 睡觉率
* @param sleepRateEnd * @param sleepRateEnd
*/ */
public void setSleepRateEnd(BigDecimal sleepRateEnd){ public void setSleepRateEnd(BigDecimal sleepRateEnd){
this.sleepRateEnd = sleepRateEnd; this.sleepRateEnd = sleepRateEnd;
} }
/** /**
* 获取 增加 睡觉率 * 获取 增加 睡觉率
* @return sleepRateIncrement * @return sleepRateIncrement
*/ */
public BigDecimal getSleepRateIncrement(){ public BigDecimal getSleepRateIncrement(){
return this.sleepRateIncrement; return this.sleepRateIncrement;
} }
/** /**
* 设置 增加 睡觉率 * 设置 增加 睡觉率
* @param sleepRateIncrement * @param sleepRateIncrement
*/ */
public void setSleepRateIncrement(BigDecimal sleepRateIncrement){ public void setSleepRateIncrement(BigDecimal sleepRateIncrement){
this.sleepRateIncrement = sleepRateIncrement; this.sleepRateIncrement = sleepRateIncrement;
} }
/** /**
* 获取 睡觉率 * 获取 睡觉率
* @return sleepRateList * @return sleepRateList
*/ */
public List<BigDecimal> getSleepRateList(){ public List<BigDecimal> getSleepRateList(){
return this.sleepRateList; return this.sleepRateList;
} }
/** /**
* 设置 睡觉率 * 设置 睡觉率
* @param sleepRateList * @param sleepRateList
*/ */
public void setSleepRateList(List<BigDecimal> sleepRateList){ public void setSleepRateList(List<BigDecimal> sleepRateList){
this.sleepRateList = sleepRateList; this.sleepRateList = sleepRateList;
} }
/** /**
* 获取 睡觉率 * 获取 睡觉率
* @return sleepRateNotList * @return sleepRateNotList
*/ */
public List<BigDecimal> getSleepRateNotList(){ public List<BigDecimal> getSleepRateNotList(){
return this.sleepRateNotList; return this.sleepRateNotList;
} }
/** /**
* 设置 睡觉率 * 设置 睡觉率
* @param sleepRateNotList * @param sleepRateNotList
*/ */
public void setSleepRateNotList(List<BigDecimal> sleepRateNotList){ public void setSleepRateNotList(List<BigDecimal> sleepRateNotList){
this.sleepRateNotList = sleepRateNotList; this.sleepRateNotList = sleepRateNotList;
} }
/** /**
* 获取 开始 玩手机率 * 获取 开始 玩手机率
* @return playPhoneRateStart * @return playPhoneRateStart
*/ */
public BigDecimal getPlayPhoneRateStart(){ public BigDecimal getPlayPhoneRateStart(){
return this.playPhoneRateStart; return this.playPhoneRateStart;
} }
/** /**
* 设置 开始 玩手机率 * 设置 开始 玩手机率
* @param playPhoneRateStart * @param playPhoneRateStart
*/ */
public void setPlayPhoneRateStart(BigDecimal playPhoneRateStart){ public void setPlayPhoneRateStart(BigDecimal playPhoneRateStart){
this.playPhoneRateStart = playPhoneRateStart; this.playPhoneRateStart = playPhoneRateStart;
} }
/** /**
* 获取 结束 玩手机率 * 获取 结束 玩手机率
* @return $playPhoneRateEnd * @return $playPhoneRateEnd
*/ */
public BigDecimal getPlayPhoneRateEnd(){ public BigDecimal getPlayPhoneRateEnd(){
return this.playPhoneRateEnd; return this.playPhoneRateEnd;
} }
/** /**
* 设置 结束 玩手机率 * 设置 结束 玩手机率
* @param playPhoneRateEnd * @param playPhoneRateEnd
*/ */
public void setPlayPhoneRateEnd(BigDecimal playPhoneRateEnd){ public void setPlayPhoneRateEnd(BigDecimal playPhoneRateEnd){
this.playPhoneRateEnd = playPhoneRateEnd; this.playPhoneRateEnd = playPhoneRateEnd;
} }
/** /**
* 获取 增加 玩手机率 * 获取 增加 玩手机率
* @return playPhoneRateIncrement * @return playPhoneRateIncrement
*/ */
public BigDecimal getPlayPhoneRateIncrement(){ public BigDecimal getPlayPhoneRateIncrement(){
return this.playPhoneRateIncrement; return this.playPhoneRateIncrement;
} }
/** /**
* 设置 增加 玩手机率 * 设置 增加 玩手机率
* @param playPhoneRateIncrement * @param playPhoneRateIncrement
*/ */
public void setPlayPhoneRateIncrement(BigDecimal playPhoneRateIncrement){ public void setPlayPhoneRateIncrement(BigDecimal playPhoneRateIncrement){
this.playPhoneRateIncrement = playPhoneRateIncrement; this.playPhoneRateIncrement = playPhoneRateIncrement;
} }
/** /**
* 获取 玩手机率 * 获取 玩手机率
* @return playPhoneRateList * @return playPhoneRateList
*/ */
public List<BigDecimal> getPlayPhoneRateList(){ public List<BigDecimal> getPlayPhoneRateList(){
return this.playPhoneRateList; return this.playPhoneRateList;
} }
/** /**
* 设置 玩手机率 * 设置 玩手机率
* @param playPhoneRateList * @param playPhoneRateList
*/ */
public void setPlayPhoneRateList(List<BigDecimal> playPhoneRateList){ public void setPlayPhoneRateList(List<BigDecimal> playPhoneRateList){
this.playPhoneRateList = playPhoneRateList; this.playPhoneRateList = playPhoneRateList;
} }
/** /**
* 获取 玩手机率 * 获取 玩手机率
* @return playPhoneRateNotList * @return playPhoneRateNotList
*/ */
public List<BigDecimal> getPlayPhoneRateNotList(){ public List<BigDecimal> getPlayPhoneRateNotList(){
return this.playPhoneRateNotList; return this.playPhoneRateNotList;
} }
/** /**
* 设置 玩手机率 * 设置 玩手机率
* @param playPhoneRateNotList * @param playPhoneRateNotList
*/ */
public void setPlayPhoneRateNotList(List<BigDecimal> playPhoneRateNotList){ public void setPlayPhoneRateNotList(List<BigDecimal> playPhoneRateNotList){
this.playPhoneRateNotList = playPhoneRateNotList; this.playPhoneRateNotList = playPhoneRateNotList;
} }
/** /**
* 获取 开始 办件超期率 * 获取 开始 办件超期率
* @return expireWorkRateStart * @return expireWorkRateStart
*/ */
public BigDecimal getExpireWorkRateStart(){ public BigDecimal getExpireWorkRateStart(){
return this.expireWorkRateStart; return this.expireWorkRateStart;
} }
/** /**
* 设置 开始 办件超期率 * 设置 开始 办件超期率
* @param expireWorkRateStart * @param expireWorkRateStart
*/ */
public void setExpireWorkRateStart(BigDecimal expireWorkRateStart){ public void setExpireWorkRateStart(BigDecimal expireWorkRateStart){
this.expireWorkRateStart = expireWorkRateStart; this.expireWorkRateStart = expireWorkRateStart;
} }
/** /**
* 获取 结束 办件超期率 * 获取 结束 办件超期率
* @return $expireWorkRateEnd * @return $expireWorkRateEnd
*/ */
public BigDecimal getExpireWorkRateEnd(){ public BigDecimal getExpireWorkRateEnd(){
return this.expireWorkRateEnd; return this.expireWorkRateEnd;
} }
/** /**
* 设置 结束 办件超期率 * 设置 结束 办件超期率
* @param expireWorkRateEnd * @param expireWorkRateEnd
*/ */
public void setExpireWorkRateEnd(BigDecimal expireWorkRateEnd){ public void setExpireWorkRateEnd(BigDecimal expireWorkRateEnd){
this.expireWorkRateEnd = expireWorkRateEnd; this.expireWorkRateEnd = expireWorkRateEnd;
} }
/** /**
* 获取 增加 办件超期率 * 获取 增加 办件超期率
* @return expireWorkRateIncrement * @return expireWorkRateIncrement
*/ */
public BigDecimal getExpireWorkRateIncrement(){ public BigDecimal getExpireWorkRateIncrement(){
return this.expireWorkRateIncrement; return this.expireWorkRateIncrement;
} }
/** /**
* 设置 增加 办件超期率 * 设置 增加 办件超期率
* @param expireWorkRateIncrement * @param expireWorkRateIncrement
*/ */
public void setExpireWorkRateIncrement(BigDecimal expireWorkRateIncrement){ public void setExpireWorkRateIncrement(BigDecimal expireWorkRateIncrement){
this.expireWorkRateIncrement = expireWorkRateIncrement; this.expireWorkRateIncrement = expireWorkRateIncrement;
} }
/** /**
* 获取 办件超期率 * 获取 办件超期率
* @return expireWorkRateList * @return expireWorkRateList
*/ */
public List<BigDecimal> getExpireWorkRateList(){ public List<BigDecimal> getExpireWorkRateList(){
return this.expireWorkRateList; return this.expireWorkRateList;
} }
/** /**
* 设置 办件超期率 * 设置 办件超期率
* @param expireWorkRateList * @param expireWorkRateList
*/ */
public void setExpireWorkRateList(List<BigDecimal> expireWorkRateList){ public void setExpireWorkRateList(List<BigDecimal> expireWorkRateList){
this.expireWorkRateList = expireWorkRateList; this.expireWorkRateList = expireWorkRateList;
} }
/** /**
* 获取 办件超期率 * 获取 办件超期率
* @return expireWorkRateNotList * @return expireWorkRateNotList
*/ */
public List<BigDecimal> getExpireWorkRateNotList(){ public List<BigDecimal> getExpireWorkRateNotList(){
return this.expireWorkRateNotList; return this.expireWorkRateNotList;
} }
/** /**
* 设置 办件超期率 * 设置 办件超期率
* @param expireWorkRateNotList * @param expireWorkRateNotList
*/ */
public void setExpireWorkRateNotList(List<BigDecimal> expireWorkRateNotList){ public void setExpireWorkRateNotList(List<BigDecimal> expireWorkRateNotList){
this.expireWorkRateNotList = expireWorkRateNotList; this.expireWorkRateNotList = expireWorkRateNotList;
} }
/** /**
* 获取 开始 差评率 * 获取 开始 差评率
* @return negaReviewRateStart * @return negaReviewRateStart
*/ */
public BigDecimal getNegaReviewRateStart(){ public BigDecimal getNegaReviewRateStart(){
return this.negaReviewRateStart; return this.negaReviewRateStart;
} }
/** /**
* 设置 开始 差评率 * 设置 开始 差评率
* @param negaReviewRateStart * @param negaReviewRateStart
*/ */
public void setNegaReviewRateStart(BigDecimal negaReviewRateStart){ public void setNegaReviewRateStart(BigDecimal negaReviewRateStart){
this.negaReviewRateStart = negaReviewRateStart; this.negaReviewRateStart = negaReviewRateStart;
} }
/** /**
* 获取 结束 差评率 * 获取 结束 差评率
* @return $negaReviewRateEnd * @return $negaReviewRateEnd
*/ */
public BigDecimal getNegaReviewRateEnd(){ public BigDecimal getNegaReviewRateEnd(){
return this.negaReviewRateEnd; return this.negaReviewRateEnd;
} }
/** /**
* 设置 结束 差评率 * 设置 结束 差评率
* @param negaReviewRateEnd * @param negaReviewRateEnd
*/ */
public void setNegaReviewRateEnd(BigDecimal negaReviewRateEnd){ public void setNegaReviewRateEnd(BigDecimal negaReviewRateEnd){
this.negaReviewRateEnd = negaReviewRateEnd; this.negaReviewRateEnd = negaReviewRateEnd;
} }
/** /**
* 获取 增加 差评率 * 获取 增加 差评率
* @return negaReviewRateIncrement * @return negaReviewRateIncrement
*/ */
public BigDecimal getNegaReviewRateIncrement(){ public BigDecimal getNegaReviewRateIncrement(){
return this.negaReviewRateIncrement; return this.negaReviewRateIncrement;
} }
/** /**
* 设置 增加 差评率 * 设置 增加 差评率
* @param negaReviewRateIncrement * @param negaReviewRateIncrement
*/ */
public void setNegaReviewRateIncrement(BigDecimal negaReviewRateIncrement){ public void setNegaReviewRateIncrement(BigDecimal negaReviewRateIncrement){
this.negaReviewRateIncrement = negaReviewRateIncrement; this.negaReviewRateIncrement = negaReviewRateIncrement;
} }
/** /**
* 获取 差评率 * 获取 差评率
* @return negaReviewRateList * @return negaReviewRateList
*/ */
public List<BigDecimal> getNegaReviewRateList(){ public List<BigDecimal> getNegaReviewRateList(){
return this.negaReviewRateList; return this.negaReviewRateList;
} }
/** /**
* 设置 差评率 * 设置 差评率
* @param negaReviewRateList * @param negaReviewRateList
*/ */
public void setNegaReviewRateList(List<BigDecimal> negaReviewRateList){ public void setNegaReviewRateList(List<BigDecimal> negaReviewRateList){
this.negaReviewRateList = negaReviewRateList; this.negaReviewRateList = negaReviewRateList;
} }
/** /**
* 获取 差评率 * 获取 差评率
* @return negaReviewRateNotList * @return negaReviewRateNotList
*/ */
public List<BigDecimal> getNegaReviewRateNotList(){ public List<BigDecimal> getNegaReviewRateNotList(){
return this.negaReviewRateNotList; return this.negaReviewRateNotList;
} }
/** /**
* 设置 差评率 * 设置 差评率
* @param negaReviewRateNotList * @param negaReviewRateNotList
*/ */
public void setNegaReviewRateNotList(List<BigDecimal> negaReviewRateNotList){ public void setNegaReviewRateNotList(List<BigDecimal> negaReviewRateNotList){
this.negaReviewRateNotList = negaReviewRateNotList; this.negaReviewRateNotList = negaReviewRateNotList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkList * @return remarkList
*/ */
public List<String> getRemarkList(){ public List<String> getRemarkList(){
return this.remarkList; return this.remarkList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public void setRemarkList(List<String> remarkList){ public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkNotList * @return remarkNotList
*/ */
public List<String> getRemarkNotList(){ public List<String> getRemarkNotList(){
return this.remarkNotList; return this.remarkNotList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkNotList * @param remarkNotList
*/ */
public void setRemarkNotList(List<String> remarkNotList){ public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList; this.remarkNotList = remarkNotList;
} }
/** /**
* 获取 开始 年 * 获取 开始 年
* @return yearStart * @return yearStart
*/ */
public Integer getYearStart(){ public Integer getYearStart(){
return this.yearStart; return this.yearStart;
} }
/** /**
* 设置 开始 年 * 设置 开始 年
* @param yearStart * @param yearStart
*/ */
public void setYearStart(Integer yearStart){ public void setYearStart(Integer yearStart){
this.yearStart = yearStart; this.yearStart = yearStart;
} }
/** /**
* 获取 结束 年 * 获取 结束 年
* @return $yearEnd * @return $yearEnd
*/ */
public Integer getYearEnd(){ public Integer getYearEnd(){
return this.yearEnd; return this.yearEnd;
} }
/** /**
* 设置 结束 年 * 设置 结束 年
* @param yearEnd * @param yearEnd
*/ */
public void setYearEnd(Integer yearEnd){ public void setYearEnd(Integer yearEnd){
this.yearEnd = yearEnd; this.yearEnd = yearEnd;
} }
/** /**
* 获取 增加 年 * 获取 增加 年
* @return yearIncrement * @return yearIncrement
*/ */
public Integer getYearIncrement(){ public Integer getYearIncrement(){
return this.yearIncrement; return this.yearIncrement;
} }
/** /**
* 设置 增加 年 * 设置 增加 年
* @param yearIncrement * @param yearIncrement
*/ */
public void setYearIncrement(Integer yearIncrement){ public void setYearIncrement(Integer yearIncrement){
this.yearIncrement = yearIncrement; this.yearIncrement = yearIncrement;
} }
/** /**
* 获取 年 * 获取 年
* @return yearList * @return yearList
*/ */
public List<Integer> getYearList(){ public List<Integer> getYearList(){
return this.yearList; return this.yearList;
} }
/** /**
* 设置 年 * 设置 年
* @param yearList * @param yearList
*/ */
public void setYearList(List<Integer> yearList){ public void setYearList(List<Integer> yearList){
this.yearList = yearList; this.yearList = yearList;
} }
/** /**
* 获取 年 * 获取 年
* @return yearNotList * @return yearNotList
*/ */
public List<Integer> getYearNotList(){ public List<Integer> getYearNotList(){
return this.yearNotList; return this.yearNotList;
} }
/** /**
* 设置 年 * 设置 年
* @param yearNotList * @param yearNotList
*/ */
public void setYearNotList(List<Integer> yearNotList){ public void setYearNotList(List<Integer> yearNotList){
this.yearNotList = yearNotList; this.yearNotList = yearNotList;
} }
/** /**
* 获取 开始 月 * 获取 开始 月
* @return monthStart * @return monthStart
*/ */
public Integer getMonthStart(){ public Integer getMonthStart(){
return this.monthStart; return this.monthStart;
} }
/** /**
* 设置 开始 月 * 设置 开始 月
* @param monthStart * @param monthStart
*/ */
public void setMonthStart(Integer monthStart){ public void setMonthStart(Integer monthStart){
this.monthStart = monthStart; this.monthStart = monthStart;
} }
/** /**
* 获取 结束 月 * 获取 结束 月
* @return $monthEnd * @return $monthEnd
*/ */
public Integer getMonthEnd(){ public Integer getMonthEnd(){
return this.monthEnd; return this.monthEnd;
} }
/** /**
* 设置 结束 月 * 设置 结束 月
* @param monthEnd * @param monthEnd
*/ */
public void setMonthEnd(Integer monthEnd){ public void setMonthEnd(Integer monthEnd){
this.monthEnd = monthEnd; this.monthEnd = monthEnd;
} }
/** /**
* 获取 增加 月 * 获取 增加 月
* @return monthIncrement * @return monthIncrement
*/ */
public Integer getMonthIncrement(){ public Integer getMonthIncrement(){
return this.monthIncrement; return this.monthIncrement;
} }
/** /**
* 设置 增加 月 * 设置 增加 月
* @param monthIncrement * @param monthIncrement
*/ */
public void setMonthIncrement(Integer monthIncrement){ public void setMonthIncrement(Integer monthIncrement){
this.monthIncrement = monthIncrement; this.monthIncrement = monthIncrement;
} }
/** /**
* 获取 月 * 获取 月
* @return monthList * @return monthList
*/ */
public List<Integer> getMonthList(){ public List<Integer> getMonthList(){
return this.monthList; return this.monthList;
} }
/** /**
* 设置 月 * 设置 月
* @param monthList * @param monthList
*/ */
public void setMonthList(List<Integer> monthList){ public void setMonthList(List<Integer> monthList){
this.monthList = monthList; this.monthList = monthList;
} }
/** /**
* 获取 月 * 获取 月
* @return monthNotList * @return monthNotList
*/ */
public List<Integer> getMonthNotList(){ public List<Integer> getMonthNotList(){
return this.monthNotList; return this.monthNotList;
} }
/** /**
* 设置 月 * 设置 月
* @param monthNotList * @param monthNotList
*/ */
public void setMonthNotList(List<Integer> monthNotList){ public void setMonthNotList(List<Integer> monthNotList){
this.monthNotList = monthNotList; this.monthNotList = monthNotList;
} }
/** /**
* 获取 开始 日 * 获取 开始 日
* @return dayStart * @return dayStart
*/ */
public Integer getDayStart(){ public Integer getDayStart(){
return this.dayStart; return this.dayStart;
} }
/** /**
* 设置 开始 日 * 设置 开始 日
* @param dayStart * @param dayStart
*/ */
public void setDayStart(Integer dayStart){ public void setDayStart(Integer dayStart){
this.dayStart = dayStart; this.dayStart = dayStart;
} }
/** /**
* 获取 结束 日 * 获取 结束 日
* @return $dayEnd * @return $dayEnd
*/ */
public Integer getDayEnd(){ public Integer getDayEnd(){
return this.dayEnd; return this.dayEnd;
} }
/** /**
* 设置 结束 日 * 设置 结束 日
* @param dayEnd * @param dayEnd
*/ */
public void setDayEnd(Integer dayEnd){ public void setDayEnd(Integer dayEnd){
this.dayEnd = dayEnd; this.dayEnd = dayEnd;
} }
/** /**
* 获取 增加 日 * 获取 增加 日
* @return dayIncrement * @return dayIncrement
*/ */
public Integer getDayIncrement(){ public Integer getDayIncrement(){
return this.dayIncrement; return this.dayIncrement;
} }
/** /**
* 设置 增加 日 * 设置 增加 日
* @param dayIncrement * @param dayIncrement
*/ */
public void setDayIncrement(Integer dayIncrement){ public void setDayIncrement(Integer dayIncrement){
this.dayIncrement = dayIncrement; this.dayIncrement = dayIncrement;
} }
/** /**
* 获取 日 * 获取 日
* @return dayList * @return dayList
*/ */
public List<Integer> getDayList(){ public List<Integer> getDayList(){
return this.dayList; return this.dayList;
} }
/** /**
* 设置 日 * 设置 日
* @param dayList * @param dayList
*/ */
public void setDayList(List<Integer> dayList){ public void setDayList(List<Integer> dayList){
this.dayList = dayList; this.dayList = dayList;
} }
/** /**
* 获取 日 * 获取 日
* @return dayNotList * @return dayNotList
*/ */
public List<Integer> getDayNotList(){ public List<Integer> getDayNotList(){
return this.dayNotList; return this.dayNotList;
} }
/** /**
* 设置 日 * 设置 日
* @param dayNotList * @param dayNotList
*/ */
public void setDayNotList(List<Integer> dayNotList){ public void setDayNotList(List<Integer> dayNotList){
this.dayNotList = dayNotList; this.dayNotList = dayNotList;
} }
/** /**
* 获取 开始 创建时间 * 获取 开始 创建时间
* @return createTimeStart * @return createTimeStart
*/ */
public String getCreateTimeStart(){ public String getCreateTimeStart(){
return this.createTimeStart; return this.createTimeStart;
} }
/** /**
* 设置 开始 创建时间 * 设置 开始 创建时间
* @param createTimeStart * @param createTimeStart
*/ */
public void setCreateTimeStart(String createTimeStart){ public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart; this.createTimeStart = createTimeStart;
} }
/** /**
* 获取 结束 创建时间 * 获取 结束 创建时间
* @return createTimeEnd * @return createTimeEnd
*/ */
public String getCreateTimeEnd(){ public String getCreateTimeEnd(){
return this.createTimeEnd; return this.createTimeEnd;
} }
/** /**
* 设置 结束 创建时间 * 设置 结束 创建时间
* @param createTimeEnd * @param createTimeEnd
*/ */
public void setCreateTimeEnd(String createTimeEnd){ public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd; this.createTimeEnd = createTimeEnd;
} }
/** /**
* 获取 开始 创建人id * 获取 开始 创建人id
* @return createUserIdStart * @return createUserIdStart
*/ */
public Long getCreateUserIdStart(){ public Long getCreateUserIdStart(){
return this.createUserIdStart; return this.createUserIdStart;
} }
/** /**
* 设置 开始 创建人id * 设置 开始 创建人id
* @param createUserIdStart * @param createUserIdStart
*/ */
public void setCreateUserIdStart(Long createUserIdStart){ public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
} }
/** /**
* 获取 结束 创建人id * 获取 结束 创建人id
* @return $createUserIdEnd * @return $createUserIdEnd
*/ */
public Long getCreateUserIdEnd(){ public Long getCreateUserIdEnd(){
return this.createUserIdEnd; return this.createUserIdEnd;
} }
/** /**
* 设置 结束 创建人id * 设置 结束 创建人id
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public void setCreateUserIdEnd(Long createUserIdEnd){ public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
} }
/** /**
* 获取 增加 创建人id * 获取 增加 创建人id
* @return createUserIdIncrement * @return createUserIdIncrement
*/ */
public Long getCreateUserIdIncrement(){ public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement; return this.createUserIdIncrement;
} }
/** /**
* 设置 增加 创建人id * 设置 增加 创建人id
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public void setCreateUserIdIncrement(Long createUserIdIncrement){ public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
} }
/** /**
* 获取 创建人id * 获取 创建人id
* @return createUserIdList * @return createUserIdList
*/ */
public List<Long> getCreateUserIdList(){ public List<Long> getCreateUserIdList(){
return this.createUserIdList; return this.createUserIdList;
} }
/** /**
* 设置 创建人id * 设置 创建人id
* @param createUserIdList * @param createUserIdList
*/ */
public void setCreateUserIdList(List<Long> createUserIdList){ public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
} }
/** /**
* 获取 创建人id * 获取 创建人id
* @return createUserIdNotList * @return createUserIdNotList
*/ */
public List<Long> getCreateUserIdNotList(){ public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList; return this.createUserIdNotList;
} }
/** /**
* 设置 创建人id * 设置 创建人id
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public void setCreateUserIdNotList(List<Long> createUserIdNotList){ public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
} }
/** /**
* 获取 开始 更新时间 * 获取 开始 更新时间
* @return updateTimeStart * @return updateTimeStart
*/ */
public String getUpdateTimeStart(){ public String getUpdateTimeStart(){
return this.updateTimeStart; return this.updateTimeStart;
} }
/** /**
* 设置 开始 更新时间 * 设置 开始 更新时间
* @param updateTimeStart * @param updateTimeStart
*/ */
public void setUpdateTimeStart(String updateTimeStart){ public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart; this.updateTimeStart = updateTimeStart;
} }
/** /**
* 获取 结束 更新时间 * 获取 结束 更新时间
* @return updateTimeEnd * @return updateTimeEnd
*/ */
public String getUpdateTimeEnd(){ public String getUpdateTimeEnd(){
return this.updateTimeEnd; return this.updateTimeEnd;
} }
/** /**
* 设置 结束 更新时间 * 设置 结束 更新时间
* @param updateTimeEnd * @param updateTimeEnd
*/ */
public void setUpdateTimeEnd(String updateTimeEnd){ public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd; this.updateTimeEnd = updateTimeEnd;
} }
/** /**
* 获取 开始 更新人id * 获取 开始 更新人id
* @return updateUserIdStart * @return updateUserIdStart
*/ */
public Long getUpdateUserIdStart(){ public Long getUpdateUserIdStart(){
return this.updateUserIdStart; return this.updateUserIdStart;
} }
/** /**
* 设置 开始 更新人id * 设置 开始 更新人id
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public void setUpdateUserIdStart(Long updateUserIdStart){ public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
} }
/** /**
* 获取 结束 更新人id * 获取 结束 更新人id
* @return $updateUserIdEnd * @return $updateUserIdEnd
*/ */
public Long getUpdateUserIdEnd(){ public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd; return this.updateUserIdEnd;
} }
/** /**
* 设置 结束 更新人id * 设置 结束 更新人id
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public void setUpdateUserIdEnd(Long updateUserIdEnd){ public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
} }
/** /**
* 获取 增加 更新人id * 获取 增加 更新人id
* @return updateUserIdIncrement * @return updateUserIdIncrement
*/ */
public Long getUpdateUserIdIncrement(){ public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement; return this.updateUserIdIncrement;
} }
/** /**
* 设置 增加 更新人id * 设置 增加 更新人id
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){ public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
} }
/** /**
* 获取 更新人id * 获取 更新人id
* @return updateUserIdList * @return updateUserIdList
*/ */
public List<Long> getUpdateUserIdList(){ public List<Long> getUpdateUserIdList(){
return this.updateUserIdList; return this.updateUserIdList;
} }
/** /**
* 设置 更新人id * 设置 更新人id
* @param updateUserIdList * @param updateUserIdList
*/ */
public void setUpdateUserIdList(List<Long> updateUserIdList){ public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
} }
/** /**
* 获取 更新人id * 获取 更新人id
* @return updateUserIdNotList * @return updateUserIdNotList
*/ */
public List<Long> getUpdateUserIdNotList(){ public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList; return this.updateUserIdNotList;
} }
/** /**
* 设置 更新人id * 设置 更新人id
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){ public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param id * @param id
*/ */
public PerformPerposeDeptStatQuery id(Long id){ public PerformPerposeDeptStatQuery id(Long id){
setId(id); setId(id);
return this; return this;
} }
/** /**
* 设置 开始 主键ID,主键,自增长 * 设置 开始 主键ID,主键,自增长
* @param idStart * @param idStart
*/ */
public PerformPerposeDeptStatQuery idStart(Long idStart){ public PerformPerposeDeptStatQuery idStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
return this; return this;
} }
/** /**
* 设置 结束 主键ID,主键,自增长 * 设置 结束 主键ID,主键,自增长
* @param idEnd * @param idEnd
*/ */
public PerformPerposeDeptStatQuery idEnd(Long idEnd){ public PerformPerposeDeptStatQuery idEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
return this; return this;
} }
/** /**
* 设置 增加 主键ID,主键,自增长 * 设置 增加 主键ID,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public PerformPerposeDeptStatQuery idIncrement(Long idIncrement){ public PerformPerposeDeptStatQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
return this; return this;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idList * @param idList
*/ */
public PerformPerposeDeptStatQuery idList(List<Long> idList){ public PerformPerposeDeptStatQuery idList(List<Long> idList){
this.idList = idList; this.idList = idList;
return this; return this;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idNotList * @param idNotList
*/ */
public PerformPerposeDeptStatQuery idNotList(List<Long> idNotList){ public PerformPerposeDeptStatQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
return this; return this;
} }
/** /**
* 设置 部门id号 * 设置 部门id号
* @param deptId * @param deptId
*/ */
public PerformPerposeDeptStatQuery deptId(Long deptId){ public PerformPerposeDeptStatQuery deptId(Long deptId){
setDeptId(deptId); setDeptId(deptId);
return this; return this;
} }
/** /**
* 设置 开始 部门id号 * 设置 开始 部门id号
* @param deptIdStart * @param deptIdStart
*/ */
public PerformPerposeDeptStatQuery deptIdStart(Long deptIdStart){ public PerformPerposeDeptStatQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart; this.deptIdStart = deptIdStart;
return this; return this;
} }
/** /**
* 设置 结束 部门id号 * 设置 结束 部门id号
* @param deptIdEnd * @param deptIdEnd
*/ */
public PerformPerposeDeptStatQuery deptIdEnd(Long deptIdEnd){ public PerformPerposeDeptStatQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd; this.deptIdEnd = deptIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 部门id号 * 设置 增加 部门id号
* @param deptIdIncrement * @param deptIdIncrement
*/ */
public PerformPerposeDeptStatQuery deptIdIncrement(Long deptIdIncrement){ public PerformPerposeDeptStatQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement; this.deptIdIncrement = deptIdIncrement;
return this; return this;
} }
/** /**
* 设置 部门id号 * 设置 部门id号
* @param deptIdList * @param deptIdList
*/ */
public PerformPerposeDeptStatQuery deptIdList(List<Long> deptIdList){ public PerformPerposeDeptStatQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
return this; return this;
} }
/** /**
* 设置 部门id号 * 设置 部门id号
* @param deptIdNotList * @param deptIdNotList
*/ */
public PerformPerposeDeptStatQuery deptIdNotList(List<Long> deptIdNotList){ public PerformPerposeDeptStatQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList; this.deptIdNotList = deptIdNotList;
return this; return this;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptName * @param deptName
*/ */
public PerformPerposeDeptStatQuery deptName(String deptName){ public PerformPerposeDeptStatQuery deptName(String deptName){
setDeptName(deptName); setDeptName(deptName);
return this; return this;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptNameList * @param deptNameList
*/ */
public PerformPerposeDeptStatQuery deptNameList(List<String> deptNameList){ public PerformPerposeDeptStatQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList; this.deptNameList = deptNameList;
return this; return this;
} }
/** /**
* 设置 旷工率 * 设置 旷工率
* @param absentRate * @param absentRate
*/ */
public PerformPerposeDeptStatQuery absentRate(BigDecimal absentRate){ public PerformPerposeDeptStatQuery absentRate(BigDecimal absentRate){
setAbsentRate(absentRate); setAbsentRate(absentRate);
return this; return this;
} }
/** /**
* 设置 开始 旷工率 * 设置 开始 旷工率
* @param absentRateStart * @param absentRateStart
*/ */
public PerformPerposeDeptStatQuery absentRateStart(BigDecimal absentRateStart){ public PerformPerposeDeptStatQuery absentRateStart(BigDecimal absentRateStart){
this.absentRateStart = absentRateStart; this.absentRateStart = absentRateStart;
return this; return this;
} }
/** /**
* 设置 结束 旷工率 * 设置 结束 旷工率
* @param absentRateEnd * @param absentRateEnd
*/ */
public PerformPerposeDeptStatQuery absentRateEnd(BigDecimal absentRateEnd){ public PerformPerposeDeptStatQuery absentRateEnd(BigDecimal absentRateEnd){
this.absentRateEnd = absentRateEnd; this.absentRateEnd = absentRateEnd;
return this; return this;
} }
/** /**
* 设置 增加 旷工率 * 设置 增加 旷工率
* @param absentRateIncrement * @param absentRateIncrement
*/ */
public PerformPerposeDeptStatQuery absentRateIncrement(BigDecimal absentRateIncrement){ public PerformPerposeDeptStatQuery absentRateIncrement(BigDecimal absentRateIncrement){
this.absentRateIncrement = absentRateIncrement; this.absentRateIncrement = absentRateIncrement;
return this; return this;
} }
/** /**
* 设置 旷工率 * 设置 旷工率
* @param absentRateList * @param absentRateList
*/ */
public PerformPerposeDeptStatQuery absentRateList(List<BigDecimal> absentRateList){ public PerformPerposeDeptStatQuery absentRateList(List<BigDecimal> absentRateList){
this.absentRateList = absentRateList; this.absentRateList = absentRateList;
return this; return this;
} }
/** /**
* 设置 旷工率 * 设置 旷工率
* @param absentRateNotList * @param absentRateNotList
*/ */
public PerformPerposeDeptStatQuery absentRateNotList(List<BigDecimal> absentRateNotList){ public PerformPerposeDeptStatQuery absentRateNotList(List<BigDecimal> absentRateNotList){
this.absentRateNotList = absentRateNotList; this.absentRateNotList = absentRateNotList;
return this; return this;
} }
/** /**
* 设置 缺卡率 * 设置 缺卡率
* @param absenceRate * @param absenceRate
*/ */
public PerformPerposeDeptStatQuery absenceRate(BigDecimal absenceRate){ public PerformPerposeDeptStatQuery absenceRate(BigDecimal absenceRate){
setAbsenceRate(absenceRate); setAbsenceRate(absenceRate);
return this; return this;
} }
/** /**
* 设置 开始 缺卡率 * 设置 开始 缺卡率
* @param absenceRateStart * @param absenceRateStart
*/ */
public PerformPerposeDeptStatQuery absenceRateStart(BigDecimal absenceRateStart){ public PerformPerposeDeptStatQuery absenceRateStart(BigDecimal absenceRateStart){
this.absenceRateStart = absenceRateStart; this.absenceRateStart = absenceRateStart;
return this; return this;
} }
/** /**
* 设置 结束 缺卡率 * 设置 结束 缺卡率
* @param absenceRateEnd * @param absenceRateEnd
*/ */
public PerformPerposeDeptStatQuery absenceRateEnd(BigDecimal absenceRateEnd){ public PerformPerposeDeptStatQuery absenceRateEnd(BigDecimal absenceRateEnd){
this.absenceRateEnd = absenceRateEnd; this.absenceRateEnd = absenceRateEnd;
return this; return this;
} }
/** /**
* 设置 增加 缺卡率 * 设置 增加 缺卡率
* @param absenceRateIncrement * @param absenceRateIncrement
*/ */
public PerformPerposeDeptStatQuery absenceRateIncrement(BigDecimal absenceRateIncrement){ public PerformPerposeDeptStatQuery absenceRateIncrement(BigDecimal absenceRateIncrement){
this.absenceRateIncrement = absenceRateIncrement; this.absenceRateIncrement = absenceRateIncrement;
return this; return this;
} }
/** /**
* 设置 缺卡率 * 设置 缺卡率
* @param absenceRateList * @param absenceRateList
*/ */
public PerformPerposeDeptStatQuery absenceRateList(List<BigDecimal> absenceRateList){ public PerformPerposeDeptStatQuery absenceRateList(List<BigDecimal> absenceRateList){
this.absenceRateList = absenceRateList; this.absenceRateList = absenceRateList;
return this; return this;
} }
/** /**
* 设置 缺卡率 * 设置 缺卡率
* @param absenceRateNotList * @param absenceRateNotList
*/ */
public PerformPerposeDeptStatQuery absenceRateNotList(List<BigDecimal> absenceRateNotList){ public PerformPerposeDeptStatQuery absenceRateNotList(List<BigDecimal> absenceRateNotList){
this.absenceRateNotList = absenceRateNotList; this.absenceRateNotList = absenceRateNotList;
return this; return this;
} }
/** /**
* 设置 迟到率 * 设置 迟到率
* @param lateRate * @param lateRate
*/ */
public PerformPerposeDeptStatQuery lateRate(BigDecimal lateRate){ public PerformPerposeDeptStatQuery lateRate(BigDecimal lateRate){
setLateRate(lateRate); setLateRate(lateRate);
return this; return this;
} }
/** /**
* 设置 开始 迟到率 * 设置 开始 迟到率
* @param lateRateStart * @param lateRateStart
*/ */
public PerformPerposeDeptStatQuery lateRateStart(BigDecimal lateRateStart){ public PerformPerposeDeptStatQuery lateRateStart(BigDecimal lateRateStart){
this.lateRateStart = lateRateStart; this.lateRateStart = lateRateStart;
return this; return this;
} }
/** /**
* 设置 结束 迟到率 * 设置 结束 迟到率
* @param lateRateEnd * @param lateRateEnd
*/ */
public PerformPerposeDeptStatQuery lateRateEnd(BigDecimal lateRateEnd){ public PerformPerposeDeptStatQuery lateRateEnd(BigDecimal lateRateEnd){
this.lateRateEnd = lateRateEnd; this.lateRateEnd = lateRateEnd;
return this; return this;
} }
/** /**
* 设置 增加 迟到率 * 设置 增加 迟到率
* @param lateRateIncrement * @param lateRateIncrement
*/ */
public PerformPerposeDeptStatQuery lateRateIncrement(BigDecimal lateRateIncrement){ public PerformPerposeDeptStatQuery lateRateIncrement(BigDecimal lateRateIncrement){
this.lateRateIncrement = lateRateIncrement; this.lateRateIncrement = lateRateIncrement;
return this; return this;
} }
/** /**
* 设置 迟到率 * 设置 迟到率
* @param lateRateList * @param lateRateList
*/ */
public PerformPerposeDeptStatQuery lateRateList(List<BigDecimal> lateRateList){ public PerformPerposeDeptStatQuery lateRateList(List<BigDecimal> lateRateList){
this.lateRateList = lateRateList; this.lateRateList = lateRateList;
return this; return this;
} }
/** /**
* 设置 迟到率 * 设置 迟到率
* @param lateRateNotList * @param lateRateNotList
*/ */
public PerformPerposeDeptStatQuery lateRateNotList(List<BigDecimal> lateRateNotList){ public PerformPerposeDeptStatQuery lateRateNotList(List<BigDecimal> lateRateNotList){
this.lateRateNotList = lateRateNotList; this.lateRateNotList = lateRateNotList;
return this; return this;
} }
/** /**
* 设置 早退率 * 设置 早退率
* @param earlyRate * @param earlyRate
*/ */
public PerformPerposeDeptStatQuery earlyRate(BigDecimal earlyRate){ public PerformPerposeDeptStatQuery earlyRate(BigDecimal earlyRate){
setEarlyRate(earlyRate); setEarlyRate(earlyRate);
return this; return this;
} }
/** /**
* 设置 开始 早退率 * 设置 开始 早退率
* @param earlyRateStart * @param earlyRateStart
*/ */
public PerformPerposeDeptStatQuery earlyRateStart(BigDecimal earlyRateStart){ public PerformPerposeDeptStatQuery earlyRateStart(BigDecimal earlyRateStart){
this.earlyRateStart = earlyRateStart; this.earlyRateStart = earlyRateStart;
return this; return this;
} }
/** /**
* 设置 结束 早退率 * 设置 结束 早退率
* @param earlyRateEnd * @param earlyRateEnd
*/ */
public PerformPerposeDeptStatQuery earlyRateEnd(BigDecimal earlyRateEnd){ public PerformPerposeDeptStatQuery earlyRateEnd(BigDecimal earlyRateEnd){
this.earlyRateEnd = earlyRateEnd; this.earlyRateEnd = earlyRateEnd;
return this; return this;
} }
/** /**
* 设置 增加 早退率 * 设置 增加 早退率
* @param earlyRateIncrement * @param earlyRateIncrement
*/ */
public PerformPerposeDeptStatQuery earlyRateIncrement(BigDecimal earlyRateIncrement){ public PerformPerposeDeptStatQuery earlyRateIncrement(BigDecimal earlyRateIncrement){
this.earlyRateIncrement = earlyRateIncrement; this.earlyRateIncrement = earlyRateIncrement;
return this; return this;
} }
/** /**
* 设置 早退率 * 设置 早退率
* @param earlyRateList * @param earlyRateList
*/ */
public PerformPerposeDeptStatQuery earlyRateList(List<BigDecimal> earlyRateList){ public PerformPerposeDeptStatQuery earlyRateList(List<BigDecimal> earlyRateList){
this.earlyRateList = earlyRateList; this.earlyRateList = earlyRateList;
return this; return this;
} }
/** /**
* 设置 早退率 * 设置 早退率
* @param earlyRateNotList * @param earlyRateNotList
*/ */
public PerformPerposeDeptStatQuery earlyRateNotList(List<BigDecimal> earlyRateNotList){ public PerformPerposeDeptStatQuery earlyRateNotList(List<BigDecimal> earlyRateNotList){
this.earlyRateNotList = earlyRateNotList; this.earlyRateNotList = earlyRateNotList;
return this; return this;
} }
/** /**
* 设置 请假率 * 设置 请假率
* @param leaveRate * @param leaveRate
*/ */
public PerformPerposeDeptStatQuery leaveRate(BigDecimal leaveRate){ public PerformPerposeDeptStatQuery leaveRate(BigDecimal leaveRate){
setLeaveRate(leaveRate); setLeaveRate(leaveRate);
return this; return this;
} }
/** /**
* 设置 开始 请假率 * 设置 开始 请假率
* @param leaveRateStart * @param leaveRateStart
*/ */
public PerformPerposeDeptStatQuery leaveRateStart(BigDecimal leaveRateStart){ public PerformPerposeDeptStatQuery leaveRateStart(BigDecimal leaveRateStart){
this.leaveRateStart = leaveRateStart; this.leaveRateStart = leaveRateStart;
return this; return this;
} }
/** /**
* 设置 结束 请假率 * 设置 结束 请假率
* @param leaveRateEnd * @param leaveRateEnd
*/ */
public PerformPerposeDeptStatQuery leaveRateEnd(BigDecimal leaveRateEnd){ public PerformPerposeDeptStatQuery leaveRateEnd(BigDecimal leaveRateEnd){
this.leaveRateEnd = leaveRateEnd; this.leaveRateEnd = leaveRateEnd;
return this; return this;
} }
/** /**
* 设置 增加 请假率 * 设置 增加 请假率
* @param leaveRateIncrement * @param leaveRateIncrement
*/ */
public PerformPerposeDeptStatQuery leaveRateIncrement(BigDecimal leaveRateIncrement){ public PerformPerposeDeptStatQuery leaveRateIncrement(BigDecimal leaveRateIncrement){
this.leaveRateIncrement = leaveRateIncrement; this.leaveRateIncrement = leaveRateIncrement;
return this; return this;
} }
/** /**
* 设置 请假率 * 设置 请假率
* @param leaveRateList * @param leaveRateList
*/ */
public PerformPerposeDeptStatQuery leaveRateList(List<BigDecimal> leaveRateList){ public PerformPerposeDeptStatQuery leaveRateList(List<BigDecimal> leaveRateList){
this.leaveRateList = leaveRateList; this.leaveRateList = leaveRateList;
return this; return this;
} }
/** /**
* 设置 请假率 * 设置 请假率
* @param leaveRateNotList * @param leaveRateNotList
*/ */
public PerformPerposeDeptStatQuery leaveRateNotList(List<BigDecimal> leaveRateNotList){ public PerformPerposeDeptStatQuery leaveRateNotList(List<BigDecimal> leaveRateNotList){
this.leaveRateNotList = leaveRateNotList; this.leaveRateNotList = leaveRateNotList;
return this; return this;
} }
/** /**
* 设置 离岗率 * 设置 离岗率
* @param turnoverRate * @param turnoverRate
*/ */
public PerformPerposeDeptStatQuery turnoverRate(BigDecimal turnoverRate){ public PerformPerposeDeptStatQuery turnoverRate(BigDecimal turnoverRate){
setTurnoverRate(turnoverRate); setTurnoverRate(turnoverRate);
return this; return this;
} }
/** /**
* 设置 开始 离岗率 * 设置 开始 离岗率
* @param turnoverRateStart * @param turnoverRateStart
*/ */
public PerformPerposeDeptStatQuery turnoverRateStart(BigDecimal turnoverRateStart){ public PerformPerposeDeptStatQuery turnoverRateStart(BigDecimal turnoverRateStart){
this.turnoverRateStart = turnoverRateStart; this.turnoverRateStart = turnoverRateStart;
return this; return this;
} }
/** /**
* 设置 结束 离岗率 * 设置 结束 离岗率
* @param turnoverRateEnd * @param turnoverRateEnd
*/ */
public PerformPerposeDeptStatQuery turnoverRateEnd(BigDecimal turnoverRateEnd){ public PerformPerposeDeptStatQuery turnoverRateEnd(BigDecimal turnoverRateEnd){
this.turnoverRateEnd = turnoverRateEnd; this.turnoverRateEnd = turnoverRateEnd;
return this; return this;
} }
/** /**
* 设置 增加 离岗率 * 设置 增加 离岗率
* @param turnoverRateIncrement * @param turnoverRateIncrement
*/ */
public PerformPerposeDeptStatQuery turnoverRateIncrement(BigDecimal turnoverRateIncrement){ public PerformPerposeDeptStatQuery turnoverRateIncrement(BigDecimal turnoverRateIncrement){
this.turnoverRateIncrement = turnoverRateIncrement; this.turnoverRateIncrement = turnoverRateIncrement;
return this; return this;
} }
/** /**
* 设置 离岗率 * 设置 离岗率
* @param turnoverRateList * @param turnoverRateList
*/ */
public PerformPerposeDeptStatQuery turnoverRateList(List<BigDecimal> turnoverRateList){ public PerformPerposeDeptStatQuery turnoverRateList(List<BigDecimal> turnoverRateList){
this.turnoverRateList = turnoverRateList; this.turnoverRateList = turnoverRateList;
return this; return this;
} }
/** /**
* 设置 离岗率 * 设置 离岗率
* @param turnoverRateNotList * @param turnoverRateNotList
*/ */
public PerformPerposeDeptStatQuery turnoverRateNotList(List<BigDecimal> turnoverRateNotList){ public PerformPerposeDeptStatQuery turnoverRateNotList(List<BigDecimal> turnoverRateNotList){
this.turnoverRateNotList = turnoverRateNotList; this.turnoverRateNotList = turnoverRateNotList;
return this; return this;
} }
/** /**
* 设置 睡觉率 * 设置 睡觉率
* @param sleepRate * @param sleepRate
*/ */
public PerformPerposeDeptStatQuery sleepRate(BigDecimal sleepRate){ public PerformPerposeDeptStatQuery sleepRate(BigDecimal sleepRate){
setSleepRate(sleepRate); setSleepRate(sleepRate);
return this; return this;
} }
/** /**
* 设置 开始 睡觉率 * 设置 开始 睡觉率
* @param sleepRateStart * @param sleepRateStart
*/ */
public PerformPerposeDeptStatQuery sleepRateStart(BigDecimal sleepRateStart){ public PerformPerposeDeptStatQuery sleepRateStart(BigDecimal sleepRateStart){
this.sleepRateStart = sleepRateStart; this.sleepRateStart = sleepRateStart;
return this; return this;
} }
/** /**
* 设置 结束 睡觉率 * 设置 结束 睡觉率
* @param sleepRateEnd * @param sleepRateEnd
*/ */
public PerformPerposeDeptStatQuery sleepRateEnd(BigDecimal sleepRateEnd){ public PerformPerposeDeptStatQuery sleepRateEnd(BigDecimal sleepRateEnd){
this.sleepRateEnd = sleepRateEnd; this.sleepRateEnd = sleepRateEnd;
return this; return this;
} }
/** /**
* 设置 增加 睡觉率 * 设置 增加 睡觉率
* @param sleepRateIncrement * @param sleepRateIncrement
*/ */
public PerformPerposeDeptStatQuery sleepRateIncrement(BigDecimal sleepRateIncrement){ public PerformPerposeDeptStatQuery sleepRateIncrement(BigDecimal sleepRateIncrement){
this.sleepRateIncrement = sleepRateIncrement; this.sleepRateIncrement = sleepRateIncrement;
return this; return this;
} }
/** /**
* 设置 睡觉率 * 设置 睡觉率
* @param sleepRateList * @param sleepRateList
*/ */
public PerformPerposeDeptStatQuery sleepRateList(List<BigDecimal> sleepRateList){ public PerformPerposeDeptStatQuery sleepRateList(List<BigDecimal> sleepRateList){
this.sleepRateList = sleepRateList; this.sleepRateList = sleepRateList;
return this; return this;
} }
/** /**
* 设置 睡觉率 * 设置 睡觉率
* @param sleepRateNotList * @param sleepRateNotList
*/ */
public PerformPerposeDeptStatQuery sleepRateNotList(List<BigDecimal> sleepRateNotList){ public PerformPerposeDeptStatQuery sleepRateNotList(List<BigDecimal> sleepRateNotList){
this.sleepRateNotList = sleepRateNotList; this.sleepRateNotList = sleepRateNotList;
return this; return this;
} }
/** /**
* 设置 玩手机率 * 设置 玩手机率
* @param playPhoneRate * @param playPhoneRate
*/ */
public PerformPerposeDeptStatQuery playPhoneRate(BigDecimal playPhoneRate){ public PerformPerposeDeptStatQuery playPhoneRate(BigDecimal playPhoneRate){
setPlayPhoneRate(playPhoneRate); setPlayPhoneRate(playPhoneRate);
return this; return this;
} }
/** /**
* 设置 开始 玩手机率 * 设置 开始 玩手机率
* @param playPhoneRateStart * @param playPhoneRateStart
*/ */
public PerformPerposeDeptStatQuery playPhoneRateStart(BigDecimal playPhoneRateStart){ public PerformPerposeDeptStatQuery playPhoneRateStart(BigDecimal playPhoneRateStart){
this.playPhoneRateStart = playPhoneRateStart; this.playPhoneRateStart = playPhoneRateStart;
return this; return this;
} }
/** /**
* 设置 结束 玩手机率 * 设置 结束 玩手机率
* @param playPhoneRateEnd * @param playPhoneRateEnd
*/ */
public PerformPerposeDeptStatQuery playPhoneRateEnd(BigDecimal playPhoneRateEnd){ public PerformPerposeDeptStatQuery playPhoneRateEnd(BigDecimal playPhoneRateEnd){
this.playPhoneRateEnd = playPhoneRateEnd; this.playPhoneRateEnd = playPhoneRateEnd;
return this; return this;
} }
/** /**
* 设置 增加 玩手机率 * 设置 增加 玩手机率
* @param playPhoneRateIncrement * @param playPhoneRateIncrement
*/ */
public PerformPerposeDeptStatQuery playPhoneRateIncrement(BigDecimal playPhoneRateIncrement){ public PerformPerposeDeptStatQuery playPhoneRateIncrement(BigDecimal playPhoneRateIncrement){
this.playPhoneRateIncrement = playPhoneRateIncrement; this.playPhoneRateIncrement = playPhoneRateIncrement;
return this; return this;
} }
/** /**
* 设置 玩手机率 * 设置 玩手机率
* @param playPhoneRateList * @param playPhoneRateList
*/ */
public PerformPerposeDeptStatQuery playPhoneRateList(List<BigDecimal> playPhoneRateList){ public PerformPerposeDeptStatQuery playPhoneRateList(List<BigDecimal> playPhoneRateList){
this.playPhoneRateList = playPhoneRateList; this.playPhoneRateList = playPhoneRateList;
return this; return this;
} }
/** /**
* 设置 玩手机率 * 设置 玩手机率
* @param playPhoneRateNotList * @param playPhoneRateNotList
*/ */
public PerformPerposeDeptStatQuery playPhoneRateNotList(List<BigDecimal> playPhoneRateNotList){ public PerformPerposeDeptStatQuery playPhoneRateNotList(List<BigDecimal> playPhoneRateNotList){
this.playPhoneRateNotList = playPhoneRateNotList; this.playPhoneRateNotList = playPhoneRateNotList;
return this; return this;
} }
/** /**
* 设置 办件超期率 * 设置 办件超期率
* @param expireWorkRate * @param expireWorkRate
*/ */
public PerformPerposeDeptStatQuery expireWorkRate(BigDecimal expireWorkRate){ public PerformPerposeDeptStatQuery expireWorkRate(BigDecimal expireWorkRate){
setExpireWorkRate(expireWorkRate); setExpireWorkRate(expireWorkRate);
return this; return this;
} }
/** /**
* 设置 开始 办件超期率 * 设置 开始 办件超期率
* @param expireWorkRateStart * @param expireWorkRateStart
*/ */
public PerformPerposeDeptStatQuery expireWorkRateStart(BigDecimal expireWorkRateStart){ public PerformPerposeDeptStatQuery expireWorkRateStart(BigDecimal expireWorkRateStart){
this.expireWorkRateStart = expireWorkRateStart; this.expireWorkRateStart = expireWorkRateStart;
return this; return this;
} }
/** /**
* 设置 结束 办件超期率 * 设置 结束 办件超期率
* @param expireWorkRateEnd * @param expireWorkRateEnd
*/ */
public PerformPerposeDeptStatQuery expireWorkRateEnd(BigDecimal expireWorkRateEnd){ public PerformPerposeDeptStatQuery expireWorkRateEnd(BigDecimal expireWorkRateEnd){
this.expireWorkRateEnd = expireWorkRateEnd; this.expireWorkRateEnd = expireWorkRateEnd;
return this; return this;
} }
/** /**
* 设置 增加 办件超期率 * 设置 增加 办件超期率
* @param expireWorkRateIncrement * @param expireWorkRateIncrement
*/ */
public PerformPerposeDeptStatQuery expireWorkRateIncrement(BigDecimal expireWorkRateIncrement){ public PerformPerposeDeptStatQuery expireWorkRateIncrement(BigDecimal expireWorkRateIncrement){
this.expireWorkRateIncrement = expireWorkRateIncrement; this.expireWorkRateIncrement = expireWorkRateIncrement;
return this; return this;
} }
/** /**
* 设置 办件超期率 * 设置 办件超期率
* @param expireWorkRateList * @param expireWorkRateList
*/ */
public PerformPerposeDeptStatQuery expireWorkRateList(List<BigDecimal> expireWorkRateList){ public PerformPerposeDeptStatQuery expireWorkRateList(List<BigDecimal> expireWorkRateList){
this.expireWorkRateList = expireWorkRateList; this.expireWorkRateList = expireWorkRateList;
return this; return this;
} }
/** /**
* 设置 办件超期率 * 设置 办件超期率
* @param expireWorkRateNotList * @param expireWorkRateNotList
*/ */
public PerformPerposeDeptStatQuery expireWorkRateNotList(List<BigDecimal> expireWorkRateNotList){ public PerformPerposeDeptStatQuery expireWorkRateNotList(List<BigDecimal> expireWorkRateNotList){
this.expireWorkRateNotList = expireWorkRateNotList; this.expireWorkRateNotList = expireWorkRateNotList;
return this; return this;
} }
/** /**
* 设置 差评率 * 设置 差评率
* @param negaReviewRate * @param negaReviewRate
*/ */
public PerformPerposeDeptStatQuery negaReviewRate(BigDecimal negaReviewRate){ public PerformPerposeDeptStatQuery negaReviewRate(BigDecimal negaReviewRate){
setNegaReviewRate(negaReviewRate); setNegaReviewRate(negaReviewRate);
return this; return this;
} }
/** /**
* 设置 开始 差评率 * 设置 开始 差评率
* @param negaReviewRateStart * @param negaReviewRateStart
*/ */
public PerformPerposeDeptStatQuery negaReviewRateStart(BigDecimal negaReviewRateStart){ public PerformPerposeDeptStatQuery negaReviewRateStart(BigDecimal negaReviewRateStart){
this.negaReviewRateStart = negaReviewRateStart; this.negaReviewRateStart = negaReviewRateStart;
return this; return this;
} }
/** /**
* 设置 结束 差评率 * 设置 结束 差评率
* @param negaReviewRateEnd * @param negaReviewRateEnd
*/ */
public PerformPerposeDeptStatQuery negaReviewRateEnd(BigDecimal negaReviewRateEnd){ public PerformPerposeDeptStatQuery negaReviewRateEnd(BigDecimal negaReviewRateEnd){
this.negaReviewRateEnd = negaReviewRateEnd; this.negaReviewRateEnd = negaReviewRateEnd;
return this; return this;
} }
/** /**
* 设置 增加 差评率 * 设置 增加 差评率
* @param negaReviewRateIncrement * @param negaReviewRateIncrement
*/ */
public PerformPerposeDeptStatQuery negaReviewRateIncrement(BigDecimal negaReviewRateIncrement){ public PerformPerposeDeptStatQuery negaReviewRateIncrement(BigDecimal negaReviewRateIncrement){
this.negaReviewRateIncrement = negaReviewRateIncrement; this.negaReviewRateIncrement = negaReviewRateIncrement;
return this; return this;
} }
/** /**
* 设置 差评率 * 设置 差评率
* @param negaReviewRateList * @param negaReviewRateList
*/ */
public PerformPerposeDeptStatQuery negaReviewRateList(List<BigDecimal> negaReviewRateList){ public PerformPerposeDeptStatQuery negaReviewRateList(List<BigDecimal> negaReviewRateList){
this.negaReviewRateList = negaReviewRateList; this.negaReviewRateList = negaReviewRateList;
return this; return this;
} }
/** /**
* 设置 差评率 * 设置 差评率
* @param negaReviewRateNotList * @param negaReviewRateNotList
*/ */
public PerformPerposeDeptStatQuery negaReviewRateNotList(List<BigDecimal> negaReviewRateNotList){ public PerformPerposeDeptStatQuery negaReviewRateNotList(List<BigDecimal> negaReviewRateNotList){
this.negaReviewRateNotList = negaReviewRateNotList; this.negaReviewRateNotList = negaReviewRateNotList;
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public PerformPerposeDeptStatQuery remark(String remark){ public PerformPerposeDeptStatQuery remark(String remark){
setRemark(remark); setRemark(remark);
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public PerformPerposeDeptStatQuery remarkList(List<String> remarkList){ public PerformPerposeDeptStatQuery remarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
return this; return this;
} }
/** /**
* 设置 年 * 设置 年
* @param year * @param year
*/ */
public PerformPerposeDeptStatQuery year(Integer year){ public PerformPerposeDeptStatQuery year(Integer year){
setYear(year); setYear(year);
return this; return this;
} }
/** /**
* 设置 开始 年 * 设置 开始 年
* @param yearStart * @param yearStart
*/ */
public PerformPerposeDeptStatQuery yearStart(Integer yearStart){ public PerformPerposeDeptStatQuery yearStart(Integer yearStart){
this.yearStart = yearStart; this.yearStart = yearStart;
return this; return this;
} }
/** /**
* 设置 结束 年 * 设置 结束 年
* @param yearEnd * @param yearEnd
*/ */
public PerformPerposeDeptStatQuery yearEnd(Integer yearEnd){ public PerformPerposeDeptStatQuery yearEnd(Integer yearEnd){
this.yearEnd = yearEnd; this.yearEnd = yearEnd;
return this; return this;
} }
/** /**
* 设置 增加 年 * 设置 增加 年
* @param yearIncrement * @param yearIncrement
*/ */
public PerformPerposeDeptStatQuery yearIncrement(Integer yearIncrement){ public PerformPerposeDeptStatQuery yearIncrement(Integer yearIncrement){
this.yearIncrement = yearIncrement; this.yearIncrement = yearIncrement;
return this; return this;
} }
/** /**
* 设置 年 * 设置 年
* @param yearList * @param yearList
*/ */
public PerformPerposeDeptStatQuery yearList(List<Integer> yearList){ public PerformPerposeDeptStatQuery yearList(List<Integer> yearList){
this.yearList = yearList; this.yearList = yearList;
return this; return this;
} }
/** /**
* 设置 年 * 设置 年
* @param yearNotList * @param yearNotList
*/ */
public PerformPerposeDeptStatQuery yearNotList(List<Integer> yearNotList){ public PerformPerposeDeptStatQuery yearNotList(List<Integer> yearNotList){
this.yearNotList = yearNotList; this.yearNotList = yearNotList;
return this; return this;
} }
/** /**
* 设置 月 * 设置 月
* @param month * @param month
*/ */
public PerformPerposeDeptStatQuery month(Integer month){ public PerformPerposeDeptStatQuery month(Integer month){
setMonth(month); setMonth(month);
return this; return this;
} }
/** /**
* 设置 开始 月 * 设置 开始 月
* @param monthStart * @param monthStart
*/ */
public PerformPerposeDeptStatQuery monthStart(Integer monthStart){ public PerformPerposeDeptStatQuery monthStart(Integer monthStart){
this.monthStart = monthStart; this.monthStart = monthStart;
return this; return this;
} }
/** /**
* 设置 结束 月 * 设置 结束 月
* @param monthEnd * @param monthEnd
*/ */
public PerformPerposeDeptStatQuery monthEnd(Integer monthEnd){ public PerformPerposeDeptStatQuery monthEnd(Integer monthEnd){
this.monthEnd = monthEnd; this.monthEnd = monthEnd;
return this; return this;
} }
/** /**
* 设置 增加 月 * 设置 增加 月
* @param monthIncrement * @param monthIncrement
*/ */
public PerformPerposeDeptStatQuery monthIncrement(Integer monthIncrement){ public PerformPerposeDeptStatQuery monthIncrement(Integer monthIncrement){
this.monthIncrement = monthIncrement; this.monthIncrement = monthIncrement;
return this; return this;
} }
/** /**
* 设置 月 * 设置 月
* @param monthList * @param monthList
*/ */
public PerformPerposeDeptStatQuery monthList(List<Integer> monthList){ public PerformPerposeDeptStatQuery monthList(List<Integer> monthList){
this.monthList = monthList; this.monthList = monthList;
return this; return this;
} }
/** /**
* 设置 月 * 设置 月
* @param monthNotList * @param monthNotList
*/ */
public PerformPerposeDeptStatQuery monthNotList(List<Integer> monthNotList){ public PerformPerposeDeptStatQuery monthNotList(List<Integer> monthNotList){
this.monthNotList = monthNotList; this.monthNotList = monthNotList;
return this; return this;
} }
/** /**
* 设置 日 * 设置 日
* @param day * @param day
*/ */
public PerformPerposeDeptStatQuery day(Integer day){ public PerformPerposeDeptStatQuery day(Integer day){
setDay(day); setDay(day);
return this; return this;
} }
/** /**
* 设置 开始 日 * 设置 开始 日
* @param dayStart * @param dayStart
*/ */
public PerformPerposeDeptStatQuery dayStart(Integer dayStart){ public PerformPerposeDeptStatQuery dayStart(Integer dayStart){
this.dayStart = dayStart; this.dayStart = dayStart;
return this; return this;
} }
/** /**
* 设置 结束 日 * 设置 结束 日
* @param dayEnd * @param dayEnd
*/ */
public PerformPerposeDeptStatQuery dayEnd(Integer dayEnd){ public PerformPerposeDeptStatQuery dayEnd(Integer dayEnd){
this.dayEnd = dayEnd; this.dayEnd = dayEnd;
return this; return this;
} }
/** /**
* 设置 增加 日 * 设置 增加 日
* @param dayIncrement * @param dayIncrement
*/ */
public PerformPerposeDeptStatQuery dayIncrement(Integer dayIncrement){ public PerformPerposeDeptStatQuery dayIncrement(Integer dayIncrement){
this.dayIncrement = dayIncrement; this.dayIncrement = dayIncrement;
return this; return this;
} }
/** /**
* 设置 日 * 设置 日
* @param dayList * @param dayList
*/ */
public PerformPerposeDeptStatQuery dayList(List<Integer> dayList){ public PerformPerposeDeptStatQuery dayList(List<Integer> dayList){
this.dayList = dayList; this.dayList = dayList;
return this; return this;
} }
/** /**
* 设置 日 * 设置 日
* @param dayNotList * @param dayNotList
*/ */
public PerformPerposeDeptStatQuery dayNotList(List<Integer> dayNotList){ public PerformPerposeDeptStatQuery dayNotList(List<Integer> dayNotList){
this.dayNotList = dayNotList; this.dayNotList = dayNotList;
return this; return this;
} }
/** /**
* 设置 创建人id * 设置 创建人id
* @param createUserId * @param createUserId
*/ */
public PerformPerposeDeptStatQuery createUserId(Long createUserId){ public PerformPerposeDeptStatQuery createUserId(Long createUserId){
setCreateUserId(createUserId); setCreateUserId(createUserId);
return this; return this;
} }
/** /**
* 设置 开始 创建人id * 设置 开始 创建人id
* @param createUserIdStart * @param createUserIdStart
*/ */
public PerformPerposeDeptStatQuery createUserIdStart(Long createUserIdStart){ public PerformPerposeDeptStatQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 创建人id * 设置 结束 创建人id
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public PerformPerposeDeptStatQuery createUserIdEnd(Long createUserIdEnd){ public PerformPerposeDeptStatQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 创建人id * 设置 增加 创建人id
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public PerformPerposeDeptStatQuery createUserIdIncrement(Long createUserIdIncrement){ public PerformPerposeDeptStatQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 创建人id * 设置 创建人id
* @param createUserIdList * @param createUserIdList
*/ */
public PerformPerposeDeptStatQuery createUserIdList(List<Long> createUserIdList){ public PerformPerposeDeptStatQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
return this; return this;
} }
/** /**
* 设置 创建人id * 设置 创建人id
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public PerformPerposeDeptStatQuery createUserIdNotList(List<Long> createUserIdNotList){ public PerformPerposeDeptStatQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
return this; return this;
} }
/** /**
* 设置 更新人id * 设置 更新人id
* @param updateUserId * @param updateUserId
*/ */
public PerformPerposeDeptStatQuery updateUserId(Long updateUserId){ public PerformPerposeDeptStatQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId); setUpdateUserId(updateUserId);
return this; return this;
} }
/** /**
* 设置 开始 更新人id * 设置 开始 更新人id
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public PerformPerposeDeptStatQuery updateUserIdStart(Long updateUserIdStart){ public PerformPerposeDeptStatQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 更新人id * 设置 结束 更新人id
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public PerformPerposeDeptStatQuery updateUserIdEnd(Long updateUserIdEnd){ public PerformPerposeDeptStatQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 更新人id * 设置 增加 更新人id
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public PerformPerposeDeptStatQuery updateUserIdIncrement(Long updateUserIdIncrement){ public PerformPerposeDeptStatQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 更新人id * 设置 更新人id
* @param updateUserIdList * @param updateUserIdList
*/ */
public PerformPerposeDeptStatQuery updateUserIdList(List<Long> updateUserIdList){ public PerformPerposeDeptStatQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
return this; return this;
} }
/** /**
* 设置 更新人id * 设置 更新人id
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public PerformPerposeDeptStatQuery updateUserIdNotList(List<Long> updateUserIdNotList){ public PerformPerposeDeptStatQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
return this; return this;
} }
/** /**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList * @return orConditionList
*/ */
public List<PerformPerposeDeptStatQuery> getOrConditionList(){ public List<PerformPerposeDeptStatQuery> getOrConditionList(){
return this.orConditionList; return this.orConditionList;
} }
/** /**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList * @param orConditionList
*/ */
public void setOrConditionList(List<PerformPerposeDeptStatQuery> orConditionList){ public void setOrConditionList(List<PerformPerposeDeptStatQuery> orConditionList){
this.orConditionList = orConditionList; this.orConditionList = orConditionList;
} }
/** /**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList * @return andConditionList
*/ */
public List<PerformPerposeDeptStatQuery> getAndConditionList(){ public List<PerformPerposeDeptStatQuery> getAndConditionList(){
return this.andConditionList; return this.andConditionList;
} }
/** /**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList * @param andConditionList
*/ */
public void setAndConditionList(List<PerformPerposeDeptStatQuery> andConditionList){ public void setAndConditionList(List<PerformPerposeDeptStatQuery> andConditionList){
this.andConditionList = andConditionList; this.andConditionList = andConditionList;
} }
......
package com.mortals.xhx.module.perform.model; package com.mortals.xhx.module.perform.model;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Date;
import java.util.List; import java.util.List;
import java.util.ArrayList; import java.util.ArrayList;
import cn.hutool.core.date.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel; import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
...@@ -111,9 +114,9 @@ public class PerformPerposeEntity extends PerformPerposeVo { ...@@ -111,9 +114,9 @@ public class PerformPerposeEntity extends PerformPerposeVo {
this.periodType = 1; this.periodType = 1;
this.year = -1; this.year = DateUtil.year(new Date());
this.month = -1; this.month =DateUtil.month(new Date())+1;
this.halfYear = 1; this.halfYear = 1;
......
...@@ -7,38 +7,38 @@ import com.mortals.framework.model.BaseEntityLong; ...@@ -7,38 +7,38 @@ import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.perform.model.vo.PerformPerposeStaffVo; import com.mortals.xhx.module.perform.model.vo.PerformPerposeStaffVo;
import lombok.Data; import lombok.Data;
/** /**
* 员工考核目标详细信息实体对象 * 员工考核目标详细信息实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
@Data @Data
public class PerformPerposeStaffEntity extends PerformPerposeStaffVo { public class PerformPerposeStaffEntity extends PerformPerposeStaffVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 考核目标id * 考核目标id
*/ */
private Long purposeConfId; private Long purposeConfId;
/** /**
* 员工id * 员工id
*/ */
private Long staffId; private Long staffId;
/** /**
* 员工名称 * 员工名称
*/ */
private String staffName; private String staffName;
/** /**
* 工号 * 工号
*/ */
private String number; private String number;
/** /**
* 备注 * 备注
*/ */
private String remark; private String remark;
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -46,7 +46,7 @@ public class PerformPerposeStaffEntity extends PerformPerposeStaffVo { ...@@ -46,7 +46,7 @@ public class PerformPerposeStaffEntity extends PerformPerposeStaffVo {
if (obj instanceof PerformPerposeStaffEntity) { if (obj instanceof PerformPerposeStaffEntity) {
PerformPerposeStaffEntity tmp = (PerformPerposeStaffEntity) obj; PerformPerposeStaffEntity tmp = (PerformPerposeStaffEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
...@@ -54,14 +54,14 @@ public class PerformPerposeStaffEntity extends PerformPerposeStaffVo { ...@@ -54,14 +54,14 @@ public class PerformPerposeStaffEntity extends PerformPerposeStaffVo {
public void initAttrValue(){ 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; ...@@ -3,26 +3,26 @@ package com.mortals.xhx.module.perform.model;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.perform.model.PerformPerposeStaffEntity; import com.mortals.xhx.module.perform.model.PerformPerposeStaffEntity;
/** /**
* 员工考核目标详细信息查询对象 * 员工考核目标详细信息查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
public class PerformPerposeStaffQuery extends PerformPerposeStaffEntity { 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 */ /** 开始 考核目标id */
private Long purposeConfIdStart; private Long purposeConfIdStart;
...@@ -120,927 +120,927 @@ public class PerformPerposeStaffQuery extends PerformPerposeStaffEntity { ...@@ -120,927 +120,927 @@ public class PerformPerposeStaffQuery extends PerformPerposeStaffEntity {
public PerformPerposeStaffQuery(){} public PerformPerposeStaffQuery(){}
/** /**
* 获取 开始 序号,主键,自增长 * 获取 开始 序号,主键,自增长
* @return IdStart * @return idStart
*/ */
public Long getIdStart(){ public Long getIdStart(){
return this.IdStart; return this.idStart;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 序号,主键,自增长
* @param IdStart * @param idStart
*/ */
public void setIdStart(Long IdStart){ public void setIdStart(Long idStart){
this.IdStart = IdStart; this.idStart = idStart;
} }
/** /**
* 获取 结束 序号,主键,自增长 * 获取 结束 序号,主键,自增长
* @return $IdEnd * @return $idEnd
*/ */
public Long getIdEnd(){ public Long getIdEnd(){
return this.IdEnd; return this.idEnd;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 设置 结束 序号,主键,自增长
* @param IdEnd * @param idEnd
*/ */
public void setIdEnd(Long IdEnd){ public void setIdEnd(Long idEnd){
this.IdEnd = IdEnd; this.idEnd = idEnd;
} }
/** /**
* 获取 增加 序号,主键,自增长 * 获取 增加 序号,主键,自增长
* @return IdIncrement * @return idIncrement
*/ */
public Long getIdIncrement(){ public Long getIdIncrement(){
return this.IdIncrement; return this.idIncrement;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 增加 序号,主键,自增长
* @param IdIncrement * @param idIncrement
*/ */
public void setIdIncrement(Long IdIncrement){ public void setIdIncrement(Long idIncrement){
this.IdIncrement = IdIncrement; this.idIncrement = idIncrement;
} }
/** /**
* 获取 序号,主键,自增长 * 获取 序号,主键,自增长
* @return IdList * @return idList
*/ */
public List<Long> getIdList(){ public List<Long> getIdList(){
return this.IdList; return this.idList;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param IdList * @param idList
*/ */
public void setIdList(List<Long> IdList){ public void setIdList(List<Long> idList){
this.IdList = IdList; this.idList = idList;
} }
/** /**
* 获取 序号,主键,自增长 * 获取 序号,主键,自增长
* @return IdNotList * @return idNotList
*/ */
public List<Long> getIdNotList(){ public List<Long> getIdNotList(){
return this.IdNotList; return this.idNotList;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param IdNotList * @param idNotList
*/ */
public void setIdNotList(List<Long> IdNotList){ public void setIdNotList(List<Long> idNotList){
this.IdNotList = IdNotList; this.idNotList = idNotList;
} }
/** /**
* 获取 开始 考核目标id * 获取 开始 考核目标id
* @return purposeConfIdStart * @return purposeConfIdStart
*/ */
public Long getPurposeConfIdStart(){ public Long getPurposeConfIdStart(){
return this.purposeConfIdStart; return this.purposeConfIdStart;
} }
/** /**
* 设置 开始 考核目标id * 设置 开始 考核目标id
* @param purposeConfIdStart * @param purposeConfIdStart
*/ */
public void setPurposeConfIdStart(Long purposeConfIdStart){ public void setPurposeConfIdStart(Long purposeConfIdStart){
this.purposeConfIdStart = purposeConfIdStart; this.purposeConfIdStart = purposeConfIdStart;
} }
/** /**
* 获取 结束 考核目标id * 获取 结束 考核目标id
* @return $purposeConfIdEnd * @return $purposeConfIdEnd
*/ */
public Long getPurposeConfIdEnd(){ public Long getPurposeConfIdEnd(){
return this.purposeConfIdEnd; return this.purposeConfIdEnd;
} }
/** /**
* 设置 结束 考核目标id * 设置 结束 考核目标id
* @param purposeConfIdEnd * @param purposeConfIdEnd
*/ */
public void setPurposeConfIdEnd(Long purposeConfIdEnd){ public void setPurposeConfIdEnd(Long purposeConfIdEnd){
this.purposeConfIdEnd = purposeConfIdEnd; this.purposeConfIdEnd = purposeConfIdEnd;
} }
/** /**
* 获取 增加 考核目标id * 获取 增加 考核目标id
* @return purposeConfIdIncrement * @return purposeConfIdIncrement
*/ */
public Long getPurposeConfIdIncrement(){ public Long getPurposeConfIdIncrement(){
return this.purposeConfIdIncrement; return this.purposeConfIdIncrement;
} }
/** /**
* 设置 增加 考核目标id * 设置 增加 考核目标id
* @param purposeConfIdIncrement * @param purposeConfIdIncrement
*/ */
public void setPurposeConfIdIncrement(Long purposeConfIdIncrement){ public void setPurposeConfIdIncrement(Long purposeConfIdIncrement){
this.purposeConfIdIncrement = purposeConfIdIncrement; this.purposeConfIdIncrement = purposeConfIdIncrement;
} }
/** /**
* 获取 考核目标id * 获取 考核目标id
* @return purposeConfIdList * @return purposeConfIdList
*/ */
public List<Long> getPurposeConfIdList(){ public List<Long> getPurposeConfIdList(){
return this.purposeConfIdList; return this.purposeConfIdList;
} }
/** /**
* 设置 考核目标id * 设置 考核目标id
* @param purposeConfIdList * @param purposeConfIdList
*/ */
public void setPurposeConfIdList(List<Long> purposeConfIdList){ public void setPurposeConfIdList(List<Long> purposeConfIdList){
this.purposeConfIdList = purposeConfIdList; this.purposeConfIdList = purposeConfIdList;
} }
/** /**
* 获取 考核目标id * 获取 考核目标id
* @return purposeConfIdNotList * @return purposeConfIdNotList
*/ */
public List<Long> getPurposeConfIdNotList(){ public List<Long> getPurposeConfIdNotList(){
return this.purposeConfIdNotList; return this.purposeConfIdNotList;
} }
/** /**
* 设置 考核目标id * 设置 考核目标id
* @param purposeConfIdNotList * @param purposeConfIdNotList
*/ */
public void setPurposeConfIdNotList(List<Long> purposeConfIdNotList){ public void setPurposeConfIdNotList(List<Long> purposeConfIdNotList){
this.purposeConfIdNotList = purposeConfIdNotList; this.purposeConfIdNotList = purposeConfIdNotList;
} }
/** /**
* 获取 开始 员工id * 获取 开始 员工id
* @return staffIdStart * @return staffIdStart
*/ */
public Long getStaffIdStart(){ public Long getStaffIdStart(){
return this.staffIdStart; return this.staffIdStart;
} }
/** /**
* 设置 开始 员工id * 设置 开始 员工id
* @param staffIdStart * @param staffIdStart
*/ */
public void setStaffIdStart(Long staffIdStart){ public void setStaffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart; this.staffIdStart = staffIdStart;
} }
/** /**
* 获取 结束 员工id * 获取 结束 员工id
* @return $staffIdEnd * @return $staffIdEnd
*/ */
public Long getStaffIdEnd(){ public Long getStaffIdEnd(){
return this.staffIdEnd; return this.staffIdEnd;
} }
/** /**
* 设置 结束 员工id * 设置 结束 员工id
* @param staffIdEnd * @param staffIdEnd
*/ */
public void setStaffIdEnd(Long staffIdEnd){ public void setStaffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd; this.staffIdEnd = staffIdEnd;
} }
/** /**
* 获取 增加 员工id * 获取 增加 员工id
* @return staffIdIncrement * @return staffIdIncrement
*/ */
public Long getStaffIdIncrement(){ public Long getStaffIdIncrement(){
return this.staffIdIncrement; return this.staffIdIncrement;
} }
/** /**
* 设置 增加 员工id * 设置 增加 员工id
* @param staffIdIncrement * @param staffIdIncrement
*/ */
public void setStaffIdIncrement(Long staffIdIncrement){ public void setStaffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement; this.staffIdIncrement = staffIdIncrement;
} }
/** /**
* 获取 员工id * 获取 员工id
* @return staffIdList * @return staffIdList
*/ */
public List<Long> getStaffIdList(){ public List<Long> getStaffIdList(){
return this.staffIdList; return this.staffIdList;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffIdList * @param staffIdList
*/ */
public void setStaffIdList(List<Long> staffIdList){ public void setStaffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList; this.staffIdList = staffIdList;
} }
/** /**
* 获取 员工id * 获取 员工id
* @return staffIdNotList * @return staffIdNotList
*/ */
public List<Long> getStaffIdNotList(){ public List<Long> getStaffIdNotList(){
return this.staffIdNotList; return this.staffIdNotList;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffIdNotList * @param staffIdNotList
*/ */
public void setStaffIdNotList(List<Long> staffIdNotList){ public void setStaffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList; this.staffIdNotList = staffIdNotList;
} }
/** /**
* 获取 员工名称 * 获取 员工名称
* @return staffNameList * @return staffNameList
*/ */
public List<String> getStaffNameList(){ public List<String> getStaffNameList(){
return this.staffNameList; return this.staffNameList;
} }
/** /**
* 设置 员工名称 * 设置 员工名称
* @param staffNameList * @param staffNameList
*/ */
public void setStaffNameList(List<String> staffNameList){ public void setStaffNameList(List<String> staffNameList){
this.staffNameList = staffNameList; this.staffNameList = staffNameList;
} }
/** /**
* 获取 员工名称 * 获取 员工名称
* @return staffNameNotList * @return staffNameNotList
*/ */
public List<String> getStaffNameNotList(){ public List<String> getStaffNameNotList(){
return this.staffNameNotList; return this.staffNameNotList;
} }
/** /**
* 设置 员工名称 * 设置 员工名称
* @param staffNameNotList * @param staffNameNotList
*/ */
public void setStaffNameNotList(List<String> staffNameNotList){ public void setStaffNameNotList(List<String> staffNameNotList){
this.staffNameNotList = staffNameNotList; this.staffNameNotList = staffNameNotList;
} }
/** /**
* 获取 工号 * 获取 工号
* @return numberList * @return numberList
*/ */
public List<String> getNumberList(){ public List<String> getNumberList(){
return this.numberList; return this.numberList;
} }
/** /**
* 设置 工号 * 设置 工号
* @param numberList * @param numberList
*/ */
public void setNumberList(List<String> numberList){ public void setNumberList(List<String> numberList){
this.numberList = numberList; this.numberList = numberList;
} }
/** /**
* 获取 工号 * 获取 工号
* @return numberNotList * @return numberNotList
*/ */
public List<String> getNumberNotList(){ public List<String> getNumberNotList(){
return this.numberNotList; return this.numberNotList;
} }
/** /**
* 设置 工号 * 设置 工号
* @param numberNotList * @param numberNotList
*/ */
public void setNumberNotList(List<String> numberNotList){ public void setNumberNotList(List<String> numberNotList){
this.numberNotList = numberNotList; this.numberNotList = numberNotList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkList * @return remarkList
*/ */
public List<String> getRemarkList(){ public List<String> getRemarkList(){
return this.remarkList; return this.remarkList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public void setRemarkList(List<String> remarkList){ public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkNotList * @return remarkNotList
*/ */
public List<String> getRemarkNotList(){ public List<String> getRemarkNotList(){
return this.remarkNotList; return this.remarkNotList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkNotList * @param remarkNotList
*/ */
public void setRemarkNotList(List<String> remarkNotList){ public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList; this.remarkNotList = remarkNotList;
} }
/** /**
* 获取 开始 创建用户 * 获取 开始 创建用户
* @return createUserIdStart * @return createUserIdStart
*/ */
public Long getCreateUserIdStart(){ public Long getCreateUserIdStart(){
return this.createUserIdStart; return this.createUserIdStart;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public void setCreateUserIdStart(Long createUserIdStart){ public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
} }
/** /**
* 获取 结束 创建用户 * 获取 结束 创建用户
* @return $createUserIdEnd * @return $createUserIdEnd
*/ */
public Long getCreateUserIdEnd(){ public Long getCreateUserIdEnd(){
return this.createUserIdEnd; return this.createUserIdEnd;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public void setCreateUserIdEnd(Long createUserIdEnd){ public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
} }
/** /**
* 获取 增加 创建用户 * 获取 增加 创建用户
* @return createUserIdIncrement * @return createUserIdIncrement
*/ */
public Long getCreateUserIdIncrement(){ public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement; return this.createUserIdIncrement;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public void setCreateUserIdIncrement(Long createUserIdIncrement){ public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdList * @return createUserIdList
*/ */
public List<Long> getCreateUserIdList(){ public List<Long> getCreateUserIdList(){
return this.createUserIdList; return this.createUserIdList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public void setCreateUserIdList(List<Long> createUserIdList){ public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdNotList * @return createUserIdNotList
*/ */
public List<Long> getCreateUserIdNotList(){ public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList; return this.createUserIdNotList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public void setCreateUserIdNotList(List<Long> createUserIdNotList){ public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
} }
/** /**
* 获取 开始 创建时间 * 获取 开始 创建时间
* @return createTimeStart * @return createTimeStart
*/ */
public String getCreateTimeStart(){ public String getCreateTimeStart(){
return this.createTimeStart; return this.createTimeStart;
} }
/** /**
* 设置 开始 创建时间 * 设置 开始 创建时间
* @param createTimeStart * @param createTimeStart
*/ */
public void setCreateTimeStart(String createTimeStart){ public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart; this.createTimeStart = createTimeStart;
} }
/** /**
* 获取 结束 创建时间 * 获取 结束 创建时间
* @return createTimeEnd * @return createTimeEnd
*/ */
public String getCreateTimeEnd(){ public String getCreateTimeEnd(){
return this.createTimeEnd; return this.createTimeEnd;
} }
/** /**
* 设置 结束 创建时间 * 设置 结束 创建时间
* @param createTimeEnd * @param createTimeEnd
*/ */
public void setCreateTimeEnd(String createTimeEnd){ public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd; this.createTimeEnd = createTimeEnd;
} }
/** /**
* 获取 开始 更新用户 * 获取 开始 更新用户
* @return updateUserIdStart * @return updateUserIdStart
*/ */
public Long getUpdateUserIdStart(){ public Long getUpdateUserIdStart(){
return this.updateUserIdStart; return this.updateUserIdStart;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public void setUpdateUserIdStart(Long updateUserIdStart){ public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
} }
/** /**
* 获取 结束 更新用户 * 获取 结束 更新用户
* @return $updateUserIdEnd * @return $updateUserIdEnd
*/ */
public Long getUpdateUserIdEnd(){ public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd; return this.updateUserIdEnd;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public void setUpdateUserIdEnd(Long updateUserIdEnd){ public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
} }
/** /**
* 获取 增加 更新用户 * 获取 增加 更新用户
* @return updateUserIdIncrement * @return updateUserIdIncrement
*/ */
public Long getUpdateUserIdIncrement(){ public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement; return this.updateUserIdIncrement;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){ public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdList * @return updateUserIdList
*/ */
public List<Long> getUpdateUserIdList(){ public List<Long> getUpdateUserIdList(){
return this.updateUserIdList; return this.updateUserIdList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public void setUpdateUserIdList(List<Long> updateUserIdList){ public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdNotList * @return updateUserIdNotList
*/ */
public List<Long> getUpdateUserIdNotList(){ public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList; return this.updateUserIdNotList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){ public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
} }
/** /**
* 获取 开始 更新时间 * 获取 开始 更新时间
* @return updateTimeStart * @return updateTimeStart
*/ */
public String getUpdateTimeStart(){ public String getUpdateTimeStart(){
return this.updateTimeStart; return this.updateTimeStart;
} }
/** /**
* 设置 开始 更新时间 * 设置 开始 更新时间
* @param updateTimeStart * @param updateTimeStart
*/ */
public void setUpdateTimeStart(String updateTimeStart){ public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart; this.updateTimeStart = updateTimeStart;
} }
/** /**
* 获取 结束 更新时间 * 获取 结束 更新时间
* @return updateTimeEnd * @return updateTimeEnd
*/ */
public String getUpdateTimeEnd(){ public String getUpdateTimeEnd(){
return this.updateTimeEnd; return this.updateTimeEnd;
} }
/** /**
* 设置 结束 更新时间 * 设置 结束 更新时间
* @param updateTimeEnd * @param updateTimeEnd
*/ */
public void setUpdateTimeEnd(String updateTimeEnd){ public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd; this.updateTimeEnd = updateTimeEnd;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param Id * @param id
*/ */
public PerformPerposeStaffQuery Id(Long Id){ public PerformPerposeStaffQuery id(Long id){
setId(Id); setId(id);
return this; return this;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 序号,主键,自增长
* @param IdStart * @param idStart
*/ */
public PerformPerposeStaffQuery IdStart(Long IdStart){ public PerformPerposeStaffQuery idStart(Long idStart){
this.IdStart = IdStart; this.idStart = idStart;
return this; return this;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 设置 结束 序号,主键,自增长
* @param IdEnd * @param idEnd
*/ */
public PerformPerposeStaffQuery IdEnd(Long IdEnd){ public PerformPerposeStaffQuery idEnd(Long idEnd){
this.IdEnd = IdEnd; this.idEnd = idEnd;
return this; return this;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 增加 序号,主键,自增长
* @param IdIncrement * @param idIncrement
*/ */
public PerformPerposeStaffQuery IdIncrement(Long IdIncrement){ public PerformPerposeStaffQuery idIncrement(Long idIncrement){
this.IdIncrement = IdIncrement; this.idIncrement = idIncrement;
return this; return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param IdList * @param idList
*/ */
public PerformPerposeStaffQuery IdList(List<Long> IdList){ public PerformPerposeStaffQuery idList(List<Long> idList){
this.IdList = IdList; this.idList = idList;
return this; return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param IdNotList * @param idNotList
*/ */
public PerformPerposeStaffQuery IdNotList(List<Long> IdNotList){ public PerformPerposeStaffQuery idNotList(List<Long> idNotList){
this.IdNotList = IdNotList; this.idNotList = idNotList;
return this; return this;
} }
/** /**
* 设置 考核目标id * 设置 考核目标id
* @param purposeConfId * @param purposeConfId
*/ */
public PerformPerposeStaffQuery purposeConfId(Long purposeConfId){ public PerformPerposeStaffQuery purposeConfId(Long purposeConfId){
setPurposeConfId(purposeConfId); setPurposeConfId(purposeConfId);
return this; return this;
} }
/** /**
* 设置 开始 考核目标id * 设置 开始 考核目标id
* @param purposeConfIdStart * @param purposeConfIdStart
*/ */
public PerformPerposeStaffQuery purposeConfIdStart(Long purposeConfIdStart){ public PerformPerposeStaffQuery purposeConfIdStart(Long purposeConfIdStart){
this.purposeConfIdStart = purposeConfIdStart; this.purposeConfIdStart = purposeConfIdStart;
return this; return this;
} }
/** /**
* 设置 结束 考核目标id * 设置 结束 考核目标id
* @param purposeConfIdEnd * @param purposeConfIdEnd
*/ */
public PerformPerposeStaffQuery purposeConfIdEnd(Long purposeConfIdEnd){ public PerformPerposeStaffQuery purposeConfIdEnd(Long purposeConfIdEnd){
this.purposeConfIdEnd = purposeConfIdEnd; this.purposeConfIdEnd = purposeConfIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 考核目标id * 设置 增加 考核目标id
* @param purposeConfIdIncrement * @param purposeConfIdIncrement
*/ */
public PerformPerposeStaffQuery purposeConfIdIncrement(Long purposeConfIdIncrement){ public PerformPerposeStaffQuery purposeConfIdIncrement(Long purposeConfIdIncrement){
this.purposeConfIdIncrement = purposeConfIdIncrement; this.purposeConfIdIncrement = purposeConfIdIncrement;
return this; return this;
} }
/** /**
* 设置 考核目标id * 设置 考核目标id
* @param purposeConfIdList * @param purposeConfIdList
*/ */
public PerformPerposeStaffQuery purposeConfIdList(List<Long> purposeConfIdList){ public PerformPerposeStaffQuery purposeConfIdList(List<Long> purposeConfIdList){
this.purposeConfIdList = purposeConfIdList; this.purposeConfIdList = purposeConfIdList;
return this; return this;
} }
/** /**
* 设置 考核目标id * 设置 考核目标id
* @param purposeConfIdNotList * @param purposeConfIdNotList
*/ */
public PerformPerposeStaffQuery purposeConfIdNotList(List<Long> purposeConfIdNotList){ public PerformPerposeStaffQuery purposeConfIdNotList(List<Long> purposeConfIdNotList){
this.purposeConfIdNotList = purposeConfIdNotList; this.purposeConfIdNotList = purposeConfIdNotList;
return this; return this;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffId * @param staffId
*/ */
public PerformPerposeStaffQuery staffId(Long staffId){ public PerformPerposeStaffQuery staffId(Long staffId){
setStaffId(staffId); setStaffId(staffId);
return this; return this;
} }
/** /**
* 设置 开始 员工id * 设置 开始 员工id
* @param staffIdStart * @param staffIdStart
*/ */
public PerformPerposeStaffQuery staffIdStart(Long staffIdStart){ public PerformPerposeStaffQuery staffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart; this.staffIdStart = staffIdStart;
return this; return this;
} }
/** /**
* 设置 结束 员工id * 设置 结束 员工id
* @param staffIdEnd * @param staffIdEnd
*/ */
public PerformPerposeStaffQuery staffIdEnd(Long staffIdEnd){ public PerformPerposeStaffQuery staffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd; this.staffIdEnd = staffIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 员工id * 设置 增加 员工id
* @param staffIdIncrement * @param staffIdIncrement
*/ */
public PerformPerposeStaffQuery staffIdIncrement(Long staffIdIncrement){ public PerformPerposeStaffQuery staffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement; this.staffIdIncrement = staffIdIncrement;
return this; return this;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffIdList * @param staffIdList
*/ */
public PerformPerposeStaffQuery staffIdList(List<Long> staffIdList){ public PerformPerposeStaffQuery staffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList; this.staffIdList = staffIdList;
return this; return this;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffIdNotList * @param staffIdNotList
*/ */
public PerformPerposeStaffQuery staffIdNotList(List<Long> staffIdNotList){ public PerformPerposeStaffQuery staffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList; this.staffIdNotList = staffIdNotList;
return this; return this;
} }
/** /**
* 设置 员工名称 * 设置 员工名称
* @param staffName * @param staffName
*/ */
public PerformPerposeStaffQuery staffName(String staffName){ public PerformPerposeStaffQuery staffName(String staffName){
setStaffName(staffName); setStaffName(staffName);
return this; return this;
} }
/** /**
* 设置 员工名称 * 设置 员工名称
* @param staffNameList * @param staffNameList
*/ */
public PerformPerposeStaffQuery staffNameList(List<String> staffNameList){ public PerformPerposeStaffQuery staffNameList(List<String> staffNameList){
this.staffNameList = staffNameList; this.staffNameList = staffNameList;
return this; return this;
} }
/** /**
* 设置 工号 * 设置 工号
* @param number * @param number
*/ */
public PerformPerposeStaffQuery number(String number){ public PerformPerposeStaffQuery number(String number){
setNumber(number); setNumber(number);
return this; return this;
} }
/** /**
* 设置 工号 * 设置 工号
* @param numberList * @param numberList
*/ */
public PerformPerposeStaffQuery numberList(List<String> numberList){ public PerformPerposeStaffQuery numberList(List<String> numberList){
this.numberList = numberList; this.numberList = numberList;
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public PerformPerposeStaffQuery remark(String remark){ public PerformPerposeStaffQuery remark(String remark){
setRemark(remark); setRemark(remark);
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public PerformPerposeStaffQuery remarkList(List<String> remarkList){ public PerformPerposeStaffQuery remarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserId * @param createUserId
*/ */
public PerformPerposeStaffQuery createUserId(Long createUserId){ public PerformPerposeStaffQuery createUserId(Long createUserId){
setCreateUserId(createUserId); setCreateUserId(createUserId);
return this; return this;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public PerformPerposeStaffQuery createUserIdStart(Long createUserIdStart){ public PerformPerposeStaffQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public PerformPerposeStaffQuery createUserIdEnd(Long createUserIdEnd){ public PerformPerposeStaffQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public PerformPerposeStaffQuery createUserIdIncrement(Long createUserIdIncrement){ public PerformPerposeStaffQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public PerformPerposeStaffQuery createUserIdList(List<Long> createUserIdList){ public PerformPerposeStaffQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public PerformPerposeStaffQuery createUserIdNotList(List<Long> createUserIdNotList){ public PerformPerposeStaffQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserId * @param updateUserId
*/ */
public PerformPerposeStaffQuery updateUserId(Long updateUserId){ public PerformPerposeStaffQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId); setUpdateUserId(updateUserId);
return this; return this;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public PerformPerposeStaffQuery updateUserIdStart(Long updateUserIdStart){ public PerformPerposeStaffQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public PerformPerposeStaffQuery updateUserIdEnd(Long updateUserIdEnd){ public PerformPerposeStaffQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public PerformPerposeStaffQuery updateUserIdIncrement(Long updateUserIdIncrement){ public PerformPerposeStaffQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public PerformPerposeStaffQuery updateUserIdList(List<Long> updateUserIdList){ public PerformPerposeStaffQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public PerformPerposeStaffQuery updateUserIdNotList(List<Long> updateUserIdNotList){ public PerformPerposeStaffQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
return this; return this;
} }
/** /**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList * @return orConditionList
*/ */
public List<PerformPerposeStaffQuery> getOrConditionList(){ 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) * 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList * @param orConditionList
*/ */
public void setOrConditionList(List<PerformPerposeStaffQuery> orConditionList){ public void setOrConditionList(List<PerformPerposeStaffQuery> orConditionList){
this.orConditionList = orConditionList; this.orConditionList = orConditionList;
} }
/** /**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList * @return andConditionList
*/ */
public List<PerformPerposeStaffQuery> getAndConditionList(){ public List<PerformPerposeStaffQuery> getAndConditionList(){
return this.andConditionList; return this.andConditionList;
} }
/** /**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList * @param andConditionList
*/ */
public void setAndConditionList(List<PerformPerposeStaffQuery> andConditionList){ public void setAndConditionList(List<PerformPerposeStaffQuery> andConditionList){
this.andConditionList = andConditionList; this.andConditionList = andConditionList;
} }
......
package com.mortals.xhx.module.perform.model; package com.mortals.xhx.module.perform.model;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Date;
import java.util.List; import java.util.List;
import java.util.ArrayList; import java.util.ArrayList;
import cn.hutool.core.date.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel; import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
...@@ -11,7 +14,7 @@ import lombok.Data; ...@@ -11,7 +14,7 @@ import lombok.Data;
* 员工目标统计实体对象 * 员工目标统计实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-07-11 * @date 2023-07-12
*/ */
@Data @Data
public class PerformPerposeStaffStatEntity extends PerformPerposeStaffStatVo { public class PerformPerposeStaffStatEntity extends PerformPerposeStaffStatVo {
...@@ -131,10 +134,10 @@ public class PerformPerposeStaffStatEntity extends PerformPerposeStaffStatVo { ...@@ -131,10 +134,10 @@ public class PerformPerposeStaffStatEntity extends PerformPerposeStaffStatVo {
this.remark = ""; this.remark = "";
this.year = -1; this.year = DateUtil.year(new Date());
this.month = -1; this.month = DateUtil.month(new Date())+1;
this.day = -1; this.day = DateUtil.dayOfMonth(new Date());
} }
} }
\ No newline at end of file
...@@ -7,7 +7,7 @@ import com.mortals.xhx.module.perform.model.PerformPerposeStaffStatEntity; ...@@ -7,7 +7,7 @@ import com.mortals.xhx.module.perform.model.PerformPerposeStaffStatEntity;
* 员工目标统计查询对象 * 员工目标统计查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-07-11 * @date 2023-07-12
*/ */
public class PerformPerposeStaffStatQuery extends PerformPerposeStaffStatEntity { public class PerformPerposeStaffStatQuery extends PerformPerposeStaffStatEntity {
/** 开始 主键ID,主键,自增长 */ /** 开始 主键ID,主键,自增长 */
......
...@@ -11,7 +11,7 @@ import java.util.Date; ...@@ -11,7 +11,7 @@ import java.util.Date;
* 绩效记录申诉信息视图对象 * 绩效记录申诉信息视图对象
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
@Data @Data
public class PerformAttendAppealVo extends BaseEntityLong { public class PerformAttendAppealVo extends BaseEntityLong {
......
...@@ -13,6 +13,7 @@ import lombok.Data; ...@@ -13,6 +13,7 @@ import lombok.Data;
@Data @Data
public class PerformDeptConfDetailVo extends BaseEntityLong { public class PerformDeptConfDetailVo extends BaseEntityLong {
/** 分类Id */
private Long categoryId;
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.model.vo; package com.mortals.xhx.module.perform.model.vo;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.perform.model.PerformDeptConfDetailEntity;
import com.mortals.xhx.module.perform.model.PerformDeptConfEntity; import com.mortals.xhx.module.perform.model.PerformDeptConfEntity;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
...@@ -13,6 +14,7 @@ import lombok.Data; ...@@ -13,6 +14,7 @@ import lombok.Data;
@Data @Data
public class PerformDeptConfVo extends BaseEntityLong { public class PerformDeptConfVo extends BaseEntityLong {
/** 部门考核内容详细信息 */
List<PerformDeptConfDetailEntity> deptConfDetail;
} }
\ No newline at end of file
...@@ -4,15 +4,16 @@ import com.mortals.xhx.module.perform.model.PerformPerposeDeptStatEntity; ...@@ -4,15 +4,16 @@ import com.mortals.xhx.module.perform.model.PerformPerposeDeptStatEntity;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import lombok.Data; import lombok.Data;
import com.mortals.framework.annotation.Excel;
import java.math.BigDecimal;
import java.util.Date;
/** /**
* 部门目标统计视图对象 * 部门目标统计视图对象
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
@Data @Data
public class PerformPerposeDeptStatVo extends BaseEntityLong { public class PerformPerposeDeptStatVo extends BaseEntityLong {
} }
\ No newline at end of file
...@@ -11,7 +11,7 @@ import java.util.Date; ...@@ -11,7 +11,7 @@ import java.util.Date;
* 员工目标统计视图对象 * 员工目标统计视图对象
* *
* @author zxfei * @author zxfei
* @date 2023-07-11 * @date 2023-07-12
*/ */
@Data @Data
public class PerformPerposeStaffStatVo extends BaseEntityLong { public class PerformPerposeStaffStatVo extends BaseEntityLong {
......
package com.mortals.xhx.module.perform.model.vo; package com.mortals.xhx.module.perform.model.vo;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.perform.model.PerformPerposeDeptEntity;
import com.mortals.xhx.module.perform.model.PerformPerposeEntity; import com.mortals.xhx.module.perform.model.PerformPerposeEntity;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.perform.model.PerformPerposeStaffEntity;
import lombok.Data; import lombok.Data;
/** /**
* 考核目标视图对象 * 考核目标视图对象
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-05-16
*/ */
@Data @Data
public class PerformPerposeVo extends BaseEntityLong { public class PerformPerposeVo extends BaseEntityLong {
/**
* 员工目标
*/
private List<PerformPerposeStaffEntity> perposeStaffList;
/**
* 部门目标
*/
private List<PerformPerposeDeptEntity> perposeDeptList;
private String staffPerpose;
private String deptPerpose;
} }
\ No newline at end of file
...@@ -13,6 +13,7 @@ import lombok.Data; ...@@ -13,6 +13,7 @@ import lombok.Data;
@Data @Data
public class PerformStaffConfDetailVo extends BaseEntityLong { public class PerformStaffConfDetailVo extends BaseEntityLong {
/** 分类Id */
private Long categoryId;
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.model.vo; package com.mortals.xhx.module.perform.model.vo;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.perform.model.PerformStaffConfDetailEntity;
import com.mortals.xhx.module.perform.model.PerformStaffConfEntity; import com.mortals.xhx.module.perform.model.PerformStaffConfEntity;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
...@@ -12,7 +13,7 @@ import lombok.Data; ...@@ -12,7 +13,7 @@ import lombok.Data;
*/ */
@Data @Data
public class PerformStaffConfVo extends BaseEntityLong { public class PerformStaffConfVo extends BaseEntityLong {
/** 人员自动考核内容详细信息 */
private List<PerformStaffConfDetailEntity> staffConfDetail;
} }
\ No newline at end of file
...@@ -8,7 +8,7 @@ import com.mortals.xhx.module.perform.dao.PerformAttendAppealDao; ...@@ -8,7 +8,7 @@ import com.mortals.xhx.module.perform.dao.PerformAttendAppealDao;
* 绩效记录申诉信息 service接口 * 绩效记录申诉信息 service接口
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
public interface PerformAttendAppealService extends ICRUDService<PerformAttendAppealEntity,Long>{ public interface PerformAttendAppealService extends ICRUDService<PerformAttendAppealEntity,Long>{
......
package com.mortals.xhx.module.perform.service; package com.mortals.xhx.module.perform.service;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICRUDService; import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.perform.model.PerformDeptConfDetailEntity; import com.mortals.xhx.module.perform.model.PerformDeptConfDetailEntity;
import com.mortals.xhx.module.perform.dao.PerformDeptConfDetailDao; import com.mortals.xhx.module.perform.dao.PerformDeptConfDetailDao;
...@@ -13,4 +15,12 @@ import com.mortals.xhx.module.perform.dao.PerformDeptConfDetailDao; ...@@ -13,4 +15,12 @@ import com.mortals.xhx.module.perform.dao.PerformDeptConfDetailDao;
public interface PerformDeptConfDetailService extends ICRUDService<PerformDeptConfDetailEntity,Long>{ public interface PerformDeptConfDetailService extends ICRUDService<PerformDeptConfDetailEntity,Long>{
PerformDeptConfDetailDao getDao(); PerformDeptConfDetailDao getDao();
/**
* 启用停用规则
* @param id
* @return
* @throws AppException
*/
int enable(Long id, Context context) throws AppException;
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.service; package com.mortals.xhx.module.perform.service;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICRUDService; import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.perform.model.PerformStaffConfDetailEntity; import com.mortals.xhx.module.perform.model.PerformStaffConfDetailEntity;
import com.mortals.xhx.module.perform.dao.PerformStaffConfDetailDao; import com.mortals.xhx.module.perform.dao.PerformStaffConfDetailDao;
...@@ -13,4 +15,12 @@ import com.mortals.xhx.module.perform.dao.PerformStaffConfDetailDao; ...@@ -13,4 +15,12 @@ import com.mortals.xhx.module.perform.dao.PerformStaffConfDetailDao;
public interface PerformStaffConfDetailService extends ICRUDService<PerformStaffConfDetailEntity,Long>{ public interface PerformStaffConfDetailService extends ICRUDService<PerformStaffConfDetailEntity,Long>{
PerformStaffConfDetailDao getDao(); PerformStaffConfDetailDao getDao();
/**
* 启用停用规则
* @param id
* @return
* @throws AppException
*/
int enable(Long id, Context context) throws AppException;
} }
\ No newline at end of file
...@@ -20,7 +20,7 @@ import lombok.extern.slf4j.Slf4j; ...@@ -20,7 +20,7 @@ import lombok.extern.slf4j.Slf4j;
* 绩效记录申诉信息 service实现 * 绩效记录申诉信息 service实现
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
@Service("performAttendAppealService") @Service("performAttendAppealService")
@Slf4j @Slf4j
......
package com.mortals.xhx.module.perform.service.impl; package com.mortals.xhx.module.perform.service.impl;
import com.mortals.xhx.common.code.EnabledEnum;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
...@@ -7,6 +8,9 @@ import com.mortals.xhx.module.perform.dao.PerformDeptConfDetailDao; ...@@ -7,6 +8,9 @@ import com.mortals.xhx.module.perform.dao.PerformDeptConfDetailDao;
import com.mortals.xhx.module.perform.model.PerformDeptConfDetailEntity; import com.mortals.xhx.module.perform.model.PerformDeptConfDetailEntity;
import com.mortals.xhx.module.perform.service.PerformDeptConfDetailService; import com.mortals.xhx.module.perform.service.PerformDeptConfDetailService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.util.Date;
/** /**
* PerformDeptConfDetailService * PerformDeptConfDetailService
* 部门考核内容详细信息 service实现 * 部门考核内容详细信息 service实现
...@@ -17,5 +21,27 @@ import lombok.extern.slf4j.Slf4j; ...@@ -17,5 +21,27 @@ import lombok.extern.slf4j.Slf4j;
@Service("performDeptConfDetailService") @Service("performDeptConfDetailService")
@Slf4j @Slf4j
public class PerformDeptConfDetailServiceImpl extends AbstractCRUDServiceImpl<PerformDeptConfDetailDao, PerformDeptConfDetailEntity, Long> implements PerformDeptConfDetailService { public class PerformDeptConfDetailServiceImpl extends AbstractCRUDServiceImpl<PerformDeptConfDetailDao, PerformDeptConfDetailEntity, Long> implements PerformDeptConfDetailService {
@Override
public int enable(Long id, Context context) throws AppException {
if(id == null){
throw new AppException("考核内容详细Id不能为空");
}
PerformDeptConfDetailEntity temp = this.get(id);
if(temp == null){
throw new AppException("考核内容详细Id不正确");
}
PerformDeptConfDetailEntity entity = new PerformDeptConfDetailEntity();
entity.setId(id);
if(temp.getEnable() == EnabledEnum.停止.getValue()){
entity.setEnable(EnabledEnum.启用.getValue());
}else {
entity.setEnable(EnabledEnum.停止.getValue());
}
if(context!=null && context.getUser()!=null){
entity.setUpdateTime(new Date());
entity.setUpdateUserId(context.getUser().getId());
}
return this.dao.update(entity);
}
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.service.impl; package com.mortals.xhx.module.perform.service.impl;
import com.mortals.framework.model.PageInfo;
import com.mortals.xhx.common.code.CheckTypeEnum;
import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.service.DeptService;
import com.mortals.xhx.module.perform.model.PerformDeptConfDetailEntity;
import com.mortals.xhx.module.perform.model.PerformDeptConfDetailQuery;
import com.mortals.xhx.module.perform.model.PerformRulesCategoryEntity;
import com.mortals.xhx.module.perform.service.PerformDeptConfDetailService;
import com.mortals.xhx.module.perform.service.PerformRulesCategoryService;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
...@@ -7,6 +18,11 @@ import com.mortals.xhx.module.perform.dao.PerformDeptConfDao; ...@@ -7,6 +18,11 @@ import com.mortals.xhx.module.perform.dao.PerformDeptConfDao;
import com.mortals.xhx.module.perform.model.PerformDeptConfEntity; import com.mortals.xhx.module.perform.model.PerformDeptConfEntity;
import com.mortals.xhx.module.perform.service.PerformDeptConfService; import com.mortals.xhx.module.perform.service.PerformDeptConfService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/** /**
* PerformDeptConfService * PerformDeptConfService
* 部门自动考核信息 service实现 * 部门自动考核信息 service实现
...@@ -17,5 +33,107 @@ import lombok.extern.slf4j.Slf4j; ...@@ -17,5 +33,107 @@ import lombok.extern.slf4j.Slf4j;
@Service("performDeptConfService") @Service("performDeptConfService")
@Slf4j @Slf4j
public class PerformDeptConfServiceImpl extends AbstractCRUDServiceImpl<PerformDeptConfDao, PerformDeptConfEntity, Long> implements PerformDeptConfService { public class PerformDeptConfServiceImpl extends AbstractCRUDServiceImpl<PerformDeptConfDao, PerformDeptConfEntity, Long> implements PerformDeptConfService {
@Autowired
private PerformDeptConfDetailService performDeptConfDetailService;
@Autowired
private DeptService deptService;
@Autowired
private PerformRulesCategoryService performRulesCategoryService;
@Override
protected void findAfter(PerformDeptConfEntity params, PageInfo pageInfo, Context context, List<PerformDeptConfEntity> list) throws AppException {
if(CollectionUtils.isNotEmpty(list)){
for (PerformDeptConfEntity item:list){
List<PerformDeptConfDetailEntity> detailEntityList = performDeptConfDetailService.find(new PerformDeptConfDetailQuery().deptConfId(item.getId()));
item.setDeptConfDetail(detailEntityList);
}
}
}
@Override
protected void updateBefore(PerformDeptConfEntity entity, Context context) throws AppException {
super.updateBefore(entity, context);
DeptEntity deptEntity = deptService.get(entity.getDeptId());
if (deptEntity != null) {
entity.setDeptName(deptEntity.getDeptName());
}
}
@Override
protected void saveBefore(PerformDeptConfEntity entity, Context context) throws AppException {
super.saveBefore(entity,context);
DeptEntity deptEntity = deptService.get(entity.getDeptId());
if(deptEntity!=null){
entity.setDeptName(deptEntity.getDeptName());
}
if(CollectionUtils.isNotEmpty(entity.getDeptConfDetail())){
Map<Integer,List<PerformDeptConfDetailEntity>> groupMap = entity.getDeptConfDetail().stream().collect(Collectors.groupingBy(PerformDeptConfDetailEntity::getType));
if(groupMap.containsKey(CheckTypeEnum.考勤绩效.getValue())) {
entity.setAttendCount(groupMap.get(CheckTypeEnum.考勤绩效.getValue()).size());
}else {
entity.setAttendCount(0);
}
if(groupMap.containsKey(CheckTypeEnum.评价绩效.getValue())) {
entity.setAssessCount(groupMap.get(CheckTypeEnum.评价绩效.getValue()).size());
}else {
entity.setAssessCount(0);
}
if(groupMap.containsKey(CheckTypeEnum.办件绩效.getValue())) {
entity.setWorkCount(groupMap.get(CheckTypeEnum.办件绩效.getValue()).size());
}else {
entity.setWorkCount(0);
}
if(groupMap.containsKey(CheckTypeEnum.效能绩效.getValue())) {
entity.setEffectCount(groupMap.get(CheckTypeEnum.效能绩效.getValue()).size());
}else {
entity.setEffectCount(0);
}
if(groupMap.containsKey(CheckTypeEnum.其它绩效.getValue())) {
entity.setOtherCount(groupMap.get(CheckTypeEnum.其它绩效.getValue()).size());
}else {
entity.setOtherCount(0);
}
}
}
@Override
protected void saveAfter(PerformDeptConfEntity entity, Context context) throws AppException {
if(CollectionUtils.isNotEmpty(entity.getDeptConfDetail())){
for(PerformDeptConfDetailEntity item:entity.getDeptConfDetail()){
item.setDeptConfId(entity.getId());
item.setCreateTime(entity.getCreateTime());
item.setCreateUser(entity.getCreateUser());
item.setDeptId(entity.getDeptId());
item.setDeptName(entity.getDeptName());
PerformRulesCategoryEntity categoryEntity = performRulesCategoryService.get(item.getCategoryId());
if(categoryEntity!=null){
item.setCategoryName(categoryEntity.getName());
}
item.setId(null);
}
performDeptConfDetailService.save(entity.getDeptConfDetail(),context);
}
}
@Override
public PerformDeptConfEntity get(Long key, Context context) throws AppException {
PerformDeptConfEntity entity = this.dao.get(key);
if(entity!=null) {
List<PerformDeptConfDetailEntity> detailEntityList = performDeptConfDetailService.find(new PerformDeptConfDetailQuery().deptConfId(entity.getId()));
entity.setDeptConfDetail(detailEntityList);
}
return entity;
}
@Override
protected void removeAfter(Long[] ids, Context context, int result) throws AppException {
if(ids != null && ids.length != 0){
for (Long id:ids){
PerformDeptConfDetailEntity condition = new PerformDeptConfDetailEntity();
condition.setDeptConfId(id);
performDeptConfDetailService.remove(condition,context);
}
}
}
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.service.impl; package com.mortals.xhx.module.perform.service.impl;
import com.mortals.framework.model.PageInfo;
import com.mortals.xhx.common.code.AssessmentScopeEnum;
import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.service.DeptService;
import com.mortals.xhx.module.perform.model.*;
import com.mortals.xhx.module.perform.service.PerformPerposeDeptService;
import com.mortals.xhx.module.perform.service.PerformPerposeStaffService;
import com.mortals.xhx.module.staff.model.StaffEntity;
import com.mortals.xhx.module.staff.service.StaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context; import com.mortals.framework.model.Context;
import com.mortals.xhx.module.perform.dao.PerformPerposeDao; import com.mortals.xhx.module.perform.dao.PerformPerposeDao;
import com.mortals.xhx.module.perform.model.PerformPerposeEntity;
import com.mortals.xhx.module.perform.service.PerformPerposeService; import com.mortals.xhx.module.perform.service.PerformPerposeService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.util.ObjectUtils;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;
/** /**
* PerformPerposeService * PerformPerposeService
* 考核目标 service实现 * 考核目标 service实现
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-05-16
*/ */
@Service("performPerposeService") @Service("performPerposeService")
@Slf4j @Slf4j
public class PerformPerposeServiceImpl extends AbstractCRUDServiceImpl<PerformPerposeDao, PerformPerposeEntity, Long> implements PerformPerposeService { public class PerformPerposeServiceImpl extends AbstractCRUDServiceImpl<PerformPerposeDao, PerformPerposeEntity, Long> implements PerformPerposeService {
@Autowired
private PerformPerposeStaffService perposeStaffService;
@Autowired
private PerformPerposeDeptService perposeDeptService;
@Autowired
private DeptService deptService;
@Autowired
private StaffService staffService;
@Override
protected void findAfter(PerformPerposeEntity params, PageInfo pageInfo, Context context, List<PerformPerposeEntity> list) throws AppException {
super.findAfter(params, pageInfo, context, list);
list.stream().forEach(item->{
if(AssessmentScopeEnum.个人.getValue()==item.getAssessmentScope()){
List<PerformPerposeStaffEntity> staffEntities = perposeStaffService.find(new PerformPerposeStaffQuery().purposeConfId(item.getId()));
item.setPerposeStaffList(staffEntities);
item.setStaffPerpose(staffEntities.stream().map(item1->item1.getStaffName()).collect(Collectors.joining(",")));
}else if(AssessmentScopeEnum.部门.getValue()==item.getAssessmentScope()){
List<PerformPerposeDeptEntity> deptEntities = perposeDeptService.find(new PerformPerposeDeptQuery().purposeConfId(item.getId()));
item.setPerposeDeptList(deptEntities);
item.setDeptPerpose(deptEntities.stream().map(item1->item1.getDeptName()).collect(Collectors.joining(",")));
}
});
}
@Override
protected void saveAfter(PerformPerposeEntity entity, Context context) throws AppException {
super.saveAfter(entity, context);
if (!ObjectUtils.isEmpty(entity.getPerposeStaffList())) {
entity.getPerposeStaffList().stream().peek(item -> {
item.setPurposeConfId(entity.getId());
if (!ObjectUtils.isEmpty(item.getStaffId())) {
StaffEntity staffCache = staffService.getCache(item.getStaffId().toString());
if (!ObjectUtils.isEmpty(staffCache)) {
item.setStaffName(staffCache.getName());
item.setNumber(staffCache.getWorkNum());
}
}
item.setCreateUserId(this.getContextUserId(context));
item.setCreateTime(new Date());
}).count();
perposeStaffService.save(entity.getPerposeStaffList());
}
if (!ObjectUtils.isEmpty(entity.getPerposeDeptList())) {
entity.getPerposeDeptList().stream().peek(item -> {
item.setPurposeConfId(entity.getId());
if (!ObjectUtils.isEmpty(item.getDeptId())) {
DeptEntity deptEntity = deptService.get(item.getDeptId(), context);
if (!ObjectUtils.isEmpty(deptEntity)) {
item.setDeptName(deptEntity.getDeptName());
}
}
item.setCreateUserId(this.getContextUserId(context));
item.setCreateTime(new Date());
}).count();
perposeDeptService.save(entity.getPerposeDeptList(), context);
}
}
@Override
protected void updateAfter(PerformPerposeEntity entity, Context context) throws AppException {
super.updateAfter(entity, context);
if (!ObjectUtils.isEmpty(entity.getPerposeStaffList())) {
Long[] performAttendAppealFilesIds = perposeStaffService.find(new PerformPerposeStaffQuery().purposeConfId(entity.getId())).stream().map(PerformPerposeStaffEntity::getId).toArray(Long[]::new);
perposeStaffService.remove(performAttendAppealFilesIds, context);
entity.getPerposeStaffList().stream().peek(item -> {
item.setPurposeConfId(entity.getId());
if (!ObjectUtils.isEmpty(item.getStaffId())) {
StaffEntity staffCache = staffService.getCache(item.getStaffId().toString());
if (!ObjectUtils.isEmpty(staffCache)) {
item.setStaffName(staffCache.getName());
item.setNumber(staffCache.getWorkNum());
}
}
item.setCreateUserId(this.getContextUserId(context));
item.setCreateTime(new Date());
}).count();
perposeStaffService.save(entity.getPerposeStaffList());
}
if (!ObjectUtils.isEmpty(entity.getPerposeDeptList())) {
Long[] performAttendAppealFilesIds = perposeDeptService.find(new PerformPerposeDeptQuery().purposeConfId(entity.getId())).stream().map(PerformPerposeDeptEntity::getId).toArray(Long[]::new);
perposeDeptService.remove(performAttendAppealFilesIds, context);
entity.getPerposeDeptList().stream().peek(item -> {
item.setPurposeConfId(entity.getId());
if (!ObjectUtils.isEmpty(item.getDeptId())) {
DeptEntity deptEntity = deptService.get(item.getDeptId(), context);
if (!ObjectUtils.isEmpty(deptEntity)) {
item.setDeptName(deptEntity.getDeptName());
}
}
item.setCreateUserId(this.getContextUserId(context));
item.setCreateTime(new Date());
}).count();
perposeDeptService.save(entity.getPerposeDeptList(), context);
}
}
@Override
protected void removeAfter(Long[] ids, Context context, int result) throws AppException {
super.removeAfter(ids, context, result);
List<PerformPerposeStaffEntity> staffEntityList = perposeStaffService.find(new PerformPerposeStaffQuery().purposeConfIdList(Arrays.asList(ids)));
perposeStaffService.removeList(staffEntityList, context);
List<PerformPerposeDeptEntity> deptEntityList = perposeDeptService.find(new PerformPerposeDeptQuery().purposeConfIdList(Arrays.asList(ids)));
perposeDeptService.removeList(deptEntityList, context);
}
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.service.impl; package com.mortals.xhx.module.perform.service.impl;
import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context; import com.mortals.framework.model.Context;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.xhx.common.code.EnabledEnum;
import com.mortals.xhx.module.perform.dao.PerformStaffConfDetailDao; import com.mortals.xhx.module.perform.dao.PerformStaffConfDetailDao;
import com.mortals.xhx.module.perform.model.PerformStaffConfDetailEntity; import com.mortals.xhx.module.perform.model.PerformStaffConfDetailEntity;
import com.mortals.xhx.module.perform.service.PerformStaffConfDetailService; import com.mortals.xhx.module.perform.service.PerformStaffConfDetailService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import java.util.Date;
/** /**
* PerformStaffConfDetailService * PerformStaffConfDetailService
* 人员考核内容详细信息 service实现 * 人员考核内容详细信息 service实现
...@@ -17,5 +22,27 @@ import lombok.extern.slf4j.Slf4j; ...@@ -17,5 +22,27 @@ import lombok.extern.slf4j.Slf4j;
@Service("performStaffConfDetailService") @Service("performStaffConfDetailService")
@Slf4j @Slf4j
public class PerformStaffConfDetailServiceImpl extends AbstractCRUDServiceImpl<PerformStaffConfDetailDao, PerformStaffConfDetailEntity, Long> implements PerformStaffConfDetailService { public class PerformStaffConfDetailServiceImpl extends AbstractCRUDServiceImpl<PerformStaffConfDetailDao, PerformStaffConfDetailEntity, Long> implements PerformStaffConfDetailService {
@Override
public int enable(Long id, Context context) throws AppException {
if(id == null){
throw new AppException("考核内容详细Id不能为空");
}
PerformStaffConfDetailEntity temp = this.get(id);
if(temp == null){
throw new AppException("考核内容详细Id不正确");
}
PerformStaffConfDetailEntity entity = new PerformStaffConfDetailEntity();
entity.setId(id);
if(temp.getEnable() == EnabledEnum.停止.getValue()){
entity.setEnable(EnabledEnum.启用.getValue());
}else {
entity.setEnable(EnabledEnum.停止.getValue());
}
if(context!=null && context.getUser()!=null){
entity.setUpdateTime(new Date());
entity.setUpdateUserId(context.getUser().getId());
}
return this.dao.update(entity);
}
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.service.impl; package com.mortals.xhx.module.perform.service.impl;
import com.mortals.framework.model.PageInfo;
import com.mortals.framework.util.StringUtils;
import com.mortals.xhx.common.code.CheckTypeEnum;
import com.mortals.xhx.module.perform.model.*;
import com.mortals.xhx.module.perform.service.PerformRulesCategoryService;
import com.mortals.xhx.module.perform.service.PerformStaffConfDetailService;
import com.mortals.xhx.module.staff.model.StaffEntity;
import com.mortals.xhx.module.staff.model.StaffQuery;
import com.mortals.xhx.module.staff.service.StaffService;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context; import com.mortals.framework.model.Context;
import com.mortals.xhx.module.perform.dao.PerformStaffConfDao; import com.mortals.xhx.module.perform.dao.PerformStaffConfDao;
import com.mortals.xhx.module.perform.model.PerformStaffConfEntity;
import com.mortals.xhx.module.perform.service.PerformStaffConfService; import com.mortals.xhx.module.perform.service.PerformStaffConfService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/** /**
* PerformStaffConfService * PerformStaffConfService
* 人员自动考核信息 service实现 * 人员自动考核信息 service实现
...@@ -17,5 +32,132 @@ import lombok.extern.slf4j.Slf4j; ...@@ -17,5 +32,132 @@ import lombok.extern.slf4j.Slf4j;
@Service("performStaffConfService") @Service("performStaffConfService")
@Slf4j @Slf4j
public class PerformStaffConfServiceImpl extends AbstractCRUDServiceImpl<PerformStaffConfDao, PerformStaffConfEntity, Long> implements PerformStaffConfService { public class PerformStaffConfServiceImpl extends AbstractCRUDServiceImpl<PerformStaffConfDao, PerformStaffConfEntity, Long> implements PerformStaffConfService {
@Autowired
private PerformStaffConfDetailService performStaffConfDetailService;
@Autowired
private StaffService staffService;
@Autowired
private PerformRulesCategoryService performRulesCategoryService;
@Override
protected void saveBefore(PerformStaffConfEntity entity, Context context) throws AppException {
super.saveBefore(entity,context);
if(StringUtils.isNotEmpty(entity.getStaffIds())){
List<Long> staffIdList = StringUtils.converStr2Long(entity.getStaffIds());
StaffQuery staffQuery = new StaffQuery();
staffQuery.setIdList(staffIdList);
List<StaffEntity> staffEntityList = staffService.find(staffQuery);
if(CollectionUtils.isNotEmpty(staffEntityList)){
String names = "";
for (StaffEntity item:staffEntityList){
names+=item.getName()+",";
}
entity.setStaffNames(names.substring(0,names.length()-1));
entity.setStaffCount(staffEntityList.size());
}else {
entity.setStaffCount(0);
}
}
if(CollectionUtils.isNotEmpty(entity.getStaffConfDetail())){
Map<Integer,List<PerformStaffConfDetailEntity>> groupMap = entity.getStaffConfDetail().stream().collect(Collectors.groupingBy(PerformStaffConfDetailEntity::getType));
if(groupMap.containsKey(CheckTypeEnum.考勤绩效.getValue())) {
entity.setAttendCount(groupMap.get(CheckTypeEnum.考勤绩效.getValue()).size());
}else {
entity.setAttendCount(0);
}
if(groupMap.containsKey(CheckTypeEnum.评价绩效.getValue())) {
entity.setAssessCount(groupMap.get(CheckTypeEnum.评价绩效.getValue()).size());
}else {
entity.setAssessCount(0);
}
if(groupMap.containsKey(CheckTypeEnum.办件绩效.getValue())) {
entity.setWorkCount(groupMap.get(CheckTypeEnum.办件绩效.getValue()).size());
}else {
entity.setWorkCount(0);
}
if(groupMap.containsKey(CheckTypeEnum.效能绩效.getValue())) {
entity.setEffectCount(groupMap.get(CheckTypeEnum.效能绩效.getValue()).size());
}else {
entity.setEffectCount(0);
}
if(groupMap.containsKey(CheckTypeEnum.其它绩效.getValue())) {
entity.setOtherCount(groupMap.get(CheckTypeEnum.其它绩效.getValue()).size());
}else {
entity.setOtherCount(0);
}
}
}
@Override
protected void updateBefore(PerformStaffConfEntity entity, Context context) throws AppException {
super.updateBefore(entity,context);
if(StringUtils.isNotEmpty(entity.getStaffIds())){
List<Long> staffIdList = StringUtils.converStr2Long(entity.getStaffIds());
StaffQuery staffQuery = new StaffQuery();
staffQuery.setIdList(staffIdList);
List<StaffEntity> staffEntityList = staffService.find(staffQuery);
if(CollectionUtils.isNotEmpty(staffEntityList)){
String names = "";
for (StaffEntity item:staffEntityList){
names+=item.getName()+",";
}
entity.setStaffNames(names.substring(0,names.length()-1));
entity.setStaffCount(staffEntityList.size());
}else {
entity.setStaffCount(0);
}
}
}
@Override
protected void saveAfter(PerformStaffConfEntity entity, Context context) throws AppException {
if(CollectionUtils.isNotEmpty(entity.getStaffConfDetail())){
for(PerformStaffConfDetailEntity item:entity.getStaffConfDetail()){
item.setStaffConfId(entity.getId());
item.setCreateTime(entity.getCreateTime());
item.setCreateUser(entity.getCreateUser());
item.setId(null);
PerformRulesCategoryEntity categoryEntity = performRulesCategoryService.get(item.getCategoryId());
if(categoryEntity!=null){
item.setCategoryName(categoryEntity.getName());
}
}
performStaffConfDetailService.save(entity.getStaffConfDetail(),context);
}
}
@Override
protected void findAfter(PerformStaffConfEntity params, PageInfo pageInfo, Context context, List<PerformStaffConfEntity> list) throws AppException {
if(CollectionUtils.isNotEmpty(list)){
for (PerformStaffConfEntity item:list){
List<PerformStaffConfDetailEntity> detailEntityList = performStaffConfDetailService.find(new PerformStaffConfDetailQuery().staffConfId(item.getId()));
item.setStaffConfDetail(detailEntityList);
}
}
}
@Override
public PerformStaffConfEntity get(Long key, Context context) throws AppException {
PerformStaffConfEntity entity = this.dao.get(key);
if(entity!=null) {
List<PerformStaffConfDetailEntity> detailEntityList = performStaffConfDetailService.find(new PerformStaffConfDetailQuery().staffConfId(entity.getId()));
entity.setStaffConfDetail(detailEntityList);
}
return entity;
}
@Override
protected void removeAfter(Long[] ids, Context context, int result) throws AppException {
if(ids != null && ids.length != 0){
for (Long id:ids){
PerformStaffConfDetailEntity condition = new PerformStaffConfDetailEntity();
condition.setStaffConfId(id);
performStaffConfDetailService.remove(condition,context);
}
}
}
} }
\ No newline at end of file
...@@ -27,7 +27,7 @@ import static com.mortals.framework.ap.SysConstains.*; ...@@ -27,7 +27,7 @@ import static com.mortals.framework.ap.SysConstains.*;
* 绩效记录申诉信息 * 绩效记录申诉信息
* *
* @author zxfei * @author zxfei
* @date 2023-07-05 * @date 2023-07-12
*/ */
@RestController @RestController
@RequestMapping("perform/attend/appeal") @RequestMapping("perform/attend/appeal")
...@@ -46,6 +46,10 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro ...@@ -46,6 +46,10 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
this.addDict(model, "subAddType", paramService.getParamBySecondOrganize("PerformAttendAppeal","subAddType")); this.addDict(model, "subAddType", paramService.getParamBySecondOrganize("PerformAttendAppeal","subAddType"));
this.addDict(model, "processStatus", paramService.getParamBySecondOrganize("PerformAttendAppeal","processStatus")); this.addDict(model, "processStatus", paramService.getParamBySecondOrganize("PerformAttendAppeal","processStatus"));
this.addDict(model, "appealResult", paramService.getParamBySecondOrganize("PerformAttendAppeal","appealResult")); this.addDict(model, "appealResult", paramService.getParamBySecondOrganize("PerformAttendAppeal","appealResult"));
this.addDict(model, "reviewResult", paramService.getParamBySecondOrganize("PerformAttendAppeal","reviewResult"));
this.addDict(model, "reviewSource", paramService.getParamBySecondOrganize("PerformAttendAppeal","reviewSource"));
this.addDict(model, "irregularType", paramService.getParamBySecondOrganize("PerformAttendAppeal","irregularType"));
this.addDict(model, "irregularOtherType", paramService.getParamBySecondOrganize("PerformAttendAppeal","irregularOtherType"));
super.init(model, context); super.init(model, context);
} }
......
package com.mortals.xhx.module.perform.web; package com.mortals.xhx.module.perform.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.code.CheckTypeEnum;
import com.mortals.xhx.common.code.EnableEnum;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -42,6 +44,8 @@ public class PerformDeptConfController extends BaseCRUDJsonBodyMappingController ...@@ -42,6 +44,8 @@ public class PerformDeptConfController extends BaseCRUDJsonBodyMappingController
@Override @Override
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "type", CheckTypeEnum.getEnumMap());
this.addDict(model, "enable", EnableEnum.getEnumMap());
super.init(model, context); super.init(model, context);
} }
......
package com.mortals.xhx.module.perform.web; package com.mortals.xhx.module.perform.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.code.CheckTypeEnum;
import com.mortals.xhx.common.code.EnableEnum;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -42,10 +44,40 @@ public class PerformDeptConfDetailController extends BaseCRUDJsonBodyMappingCont ...@@ -42,10 +44,40 @@ public class PerformDeptConfDetailController extends BaseCRUDJsonBodyMappingCont
@Override @Override
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "type", paramService.getParamBySecondOrganize("PerformDeptConfDetail","type")); this.addDict(model, "type", CheckTypeEnum.getEnumMap());
this.addDict(model, "enable", paramService.getParamBySecondOrganize("PerformDeptConfDetail","enable")); this.addDict(model, "enable", EnableEnum.getEnumMap());
super.init(model, context); super.init(model, context);
} }
/**
* 启用停用
* @param id
* @return
*/
@RequestMapping(value = {"enable"},method = {RequestMethod.POST, RequestMethod.GET})
public String enable(Long id) {
Context context = this.getContext();
if (id == null) {
return this.createFailJsonResp("请至少选择一条记录");
} else {
Map<String, Object> model = new HashMap();
int code = 1;
String busiDesc = "启用/停用" + this.getModuleDesc();
try {
int iRet = this.service.enable(id, context);
model.put("message_info", this.getModuleDesc() + "启用/停用成功!");
this.recordSysLog(this.request, busiDesc + " 【成功】 [id:" + id + "]");
} catch (Exception var7) {
code = -1;
this.doException(this.request, busiDesc, model, var7);
}
JSONObject ret = new JSONObject();
ret.put("code", Integer.valueOf(code));
ret.put("msg", model.remove("message_info"));
ret.put("data", model);
return ret.toJSONString();
}
}
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.web; package com.mortals.xhx.module.perform.web;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.base.system.user.model.UserQuery;
import com.mortals.xhx.base.system.user.service.UserService;
import com.mortals.xhx.common.code.AssessmentScopeEnum;
import com.mortals.xhx.module.perform.model.*;
import com.mortals.xhx.module.perform.service.PerformPerposeDeptService;
import com.mortals.xhx.module.perform.service.PerformPerposeStaffService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -9,7 +16,6 @@ import com.mortals.framework.model.Context; ...@@ -9,7 +16,6 @@ import com.mortals.framework.model.Context;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.module.perform.model.PerformPerposeEntity;
import com.mortals.xhx.module.perform.service.PerformPerposeService; import com.mortals.xhx.module.perform.service.PerformPerposeService;
import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.ArrayUtils;
import com.mortals.framework.util.StringUtils; import com.mortals.framework.util.StringUtils;
...@@ -35,6 +41,13 @@ public class PerformPerposeController extends BaseCRUDJsonBodyMappingController< ...@@ -35,6 +41,13 @@ public class PerformPerposeController extends BaseCRUDJsonBodyMappingController<
@Autowired @Autowired
private ParamService paramService; private ParamService paramService;
@Autowired
private UserService userService;
@Autowired
private PerformPerposeStaffService perposeStaffService;
@Autowired
private PerformPerposeDeptService perposeDeptService;
public PerformPerposeController(){ public PerformPerposeController(){
super.setModuleDesc( "考核目标"); super.setModuleDesc( "考核目标");
...@@ -50,8 +63,28 @@ public class PerformPerposeController extends BaseCRUDJsonBodyMappingController< ...@@ -50,8 +63,28 @@ public class PerformPerposeController extends BaseCRUDJsonBodyMappingController<
this.addDict(model, "halfYear", paramService.getParamBySecondOrganize("PerformPerpose","halfYear")); this.addDict(model, "halfYear", paramService.getParamBySecondOrganize("PerformPerpose","halfYear"));
this.addDict(model, "halfYear", paramService.getParamBySecondOrganize("PerformPerpose","halfYear")); this.addDict(model, "halfYear", paramService.getParamBySecondOrganize("PerformPerpose","halfYear"));
this.addDict(model, "quarter", paramService.getParamBySecondOrganize("PerformPerpose","quarter")); this.addDict(model, "quarter", paramService.getParamBySecondOrganize("PerformPerpose","quarter"));
Map<String, String> collect = userService.find(new UserQuery(), getContext()).stream()
.collect(Collectors.toMap(x -> x.getId().toString(), y -> y.getRealName(), (o, n) -> n));
this.addDict(model, "updateUserId", collect);
super.init(model, context); super.init(model, context);
} }
@Override
protected int editAfter(Long id, Map<String, Object> model, PerformPerposeEntity entity, Context context) throws AppException {
if(AssessmentScopeEnum.个人.getValue()==entity.getAssessmentScope()){
List<PerformPerposeStaffEntity> staffEntities = perposeStaffService.find(new PerformPerposeStaffQuery().purposeConfId(entity.getId()));
entity.setPerposeStaffList(staffEntities);
}else if(AssessmentScopeEnum.部门.getValue()==entity.getAssessmentScope()){
List<PerformPerposeDeptEntity> deptEntities = perposeDeptService.find(new PerformPerposeDeptQuery().purposeConfId(entity.getId()));
entity.setPerposeDeptList(deptEntities);
}
return super.editAfter(id, model, entity, context);
}
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.web; package com.mortals.xhx.module.perform.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.code.CheckTypeEnum;
import com.mortals.xhx.common.code.EnableEnum;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -42,6 +44,8 @@ public class PerformStaffConfController extends BaseCRUDJsonBodyMappingControlle ...@@ -42,6 +44,8 @@ public class PerformStaffConfController extends BaseCRUDJsonBodyMappingControlle
@Override @Override
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "type", CheckTypeEnum.getEnumMap());
this.addDict(model, "enable", EnableEnum.getEnumMap());
super.init(model, context); super.init(model, context);
} }
......
package com.mortals.xhx.module.perform.web; package com.mortals.xhx.module.perform.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.code.CheckTypeEnum;
import com.mortals.xhx.common.code.EnableEnum;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -42,10 +44,40 @@ public class PerformStaffConfDetailController extends BaseCRUDJsonBodyMappingCon ...@@ -42,10 +44,40 @@ public class PerformStaffConfDetailController extends BaseCRUDJsonBodyMappingCon
@Override @Override
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "type", paramService.getParamBySecondOrganize("PerformStaffConfDetail","type")); this.addDict(model, "type", CheckTypeEnum.getEnumMap());
this.addDict(model, "enable", paramService.getParamBySecondOrganize("PerformStaffConfDetail","enable")); this.addDict(model, "enable", EnableEnum.getEnumMap());
super.init(model, context); super.init(model, context);
} }
/**
* 启用停用
* @param id
* @return
*/
@RequestMapping(value = {"enable"},method = {RequestMethod.POST, RequestMethod.GET})
public String enable(Long id) {
Context context = this.getContext();
if (id == null) {
return this.createFailJsonResp("请至少选择一条记录");
} else {
Map<String, Object> model = new HashMap();
int code = 1;
String busiDesc = "启用/停用" + this.getModuleDesc();
try {
int iRet = this.service.enable(id, context);
model.put("message_info", this.getModuleDesc() + "启用/停用成功!");
this.recordSysLog(this.request, busiDesc + " 【成功】 [id:" + id + "]");
} catch (Exception var7) {
code = -1;
this.doException(this.request, busiDesc, model, var7);
}
JSONObject ret = new JSONObject();
ret.put("code", Integer.valueOf(code));
ret.put("msg", model.remove("message_info"));
ret.put("data", model);
return ret.toJSONString();
}
}
} }
\ No newline at end of file
...@@ -9,10 +9,7 @@ import com.mortals.xhx.base.system.role.model.RoleUserQuery; ...@@ -9,10 +9,7 @@ import com.mortals.xhx.base.system.role.model.RoleUserQuery;
import com.mortals.xhx.base.system.role.service.RoleUserService; import com.mortals.xhx.base.system.role.service.RoleUserService;
import com.mortals.xhx.base.system.user.model.UserEntity; import com.mortals.xhx.base.system.user.model.UserEntity;
import com.mortals.xhx.base.system.user.service.UserService; import com.mortals.xhx.base.system.user.service.UserService;
import com.mortals.xhx.common.code.StaffSatusEnum; import com.mortals.xhx.common.code.*;
import com.mortals.xhx.common.code.StaffTypeEnum;
import com.mortals.xhx.common.code.StatusEnum;
import com.mortals.xhx.common.code.UserStatus;
import com.mortals.xhx.module.staff.dao.StaffDao; import com.mortals.xhx.module.staff.dao.StaffDao;
import com.mortals.xhx.module.staff.dao.ibatis.StaffDaoImpl; import com.mortals.xhx.module.staff.dao.ibatis.StaffDaoImpl;
import com.mortals.xhx.module.staff.dao.ibatis.StaffLeaveDaoImpl; import com.mortals.xhx.module.staff.dao.ibatis.StaffLeaveDaoImpl;
...@@ -103,7 +100,7 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta ...@@ -103,7 +100,7 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta
userEntity.setLoginName(StrUtil.cleanBlank(entity.getLoginName())); userEntity.setLoginName(StrUtil.cleanBlank(entity.getLoginName()));
userEntity.setRealName(entity.getName()); userEntity.setRealName(entity.getName());
userEntity.setUserType(2); userEntity.setUserType(UserType.WORK_PERSON.getValue());
userEntity.setSiteIds("1"); userEntity.setSiteIds("1");
userEntity.setAreaCodes("511500000000"); userEntity.setAreaCodes("511500000000");
userEntity.setStatus(UserStatus.NORMAL.getValue()); userEntity.setStatus(UserStatus.NORMAL.getValue());
......
package com.mortals.xhx.module.staff.web; package com.mortals.xhx.module.staff.web;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -46,5 +47,8 @@ public class StaffPerformSummaryController extends BaseCRUDJsonBodyMappingContro ...@@ -46,5 +47,8 @@ public class StaffPerformSummaryController extends BaseCRUDJsonBodyMappingContro
super.init(model, context); super.init(model, context);
} }
@Override
protected void doListBefore(StaffPerformSummaryEntity query, Map<String, Object> model, Context context) throws AppException {
}
} }
...@@ -8,7 +8,7 @@ import java.util.List; ...@@ -8,7 +8,7 @@ import java.util.List;
* 窗口负责人 DAO接口 * 窗口负责人 DAO接口
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
public interface WindowOwnerDao extends ICRUDDao<WindowOwnerEntity,Long>{ public interface WindowOwnerDao extends ICRUDDao<WindowOwnerEntity,Long>{
......
package com.mortals.xhx.module.window.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.window.model.WindowOwnerDetailEntity;
import java.util.List;
/**
* 窗口负责人详细Dao
* 窗口负责人详细 DAO接口
*
* @author zxfei
* @date 2023-07-12
*/
public interface WindowOwnerDetailDao extends ICRUDDao<WindowOwnerDetailEntity,Long>{
}
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
* 窗口负责人DaoImpl DAO接口 * 窗口负责人DaoImpl DAO接口
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
@Repository("windowOwnerDao") @Repository("windowOwnerDao")
public class WindowOwnerDaoImpl extends BaseCRUDDaoMybatis<WindowOwnerEntity,Long> implements WindowOwnerDao { public class WindowOwnerDaoImpl extends BaseCRUDDaoMybatis<WindowOwnerEntity,Long> implements WindowOwnerDao {
......
package com.mortals.xhx.module.window.dao.ibatis;
import org.springframework.stereotype.Repository;
import com.mortals.xhx.module.window.dao.WindowOwnerDetailDao;
import com.mortals.xhx.module.window.model.WindowOwnerDetailEntity;
import java.util.Date;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import java.util.List;
/**
* 窗口负责人详细DaoImpl DAO接口
*
* @author zxfei
* @date 2023-07-12
*/
@Repository("windowOwnerDetailDao")
public class WindowOwnerDetailDaoImpl extends BaseCRUDDaoMybatis<WindowOwnerDetailEntity,Long> implements WindowOwnerDetailDao {
}
package com.mortals.xhx.module.window.model;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.window.model.vo.WindowOwnerDetailVo;
import lombok.Data;
/**
* 窗口负责人详细实体对象
*
* @author zxfei
* @date 2023-07-12
*/
@Data
public class WindowOwnerDetailEntity extends WindowOwnerDetailVo {
private static final long serialVersionUID = 1L;
/**
* 负责人Id
*/
private Long ownerId;
/**
* 员工id号
*/
private Long staffId;
/**
* 备注
*/
private String remark;
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof WindowOwnerDetailEntity) {
WindowOwnerDetailEntity tmp = (WindowOwnerDetailEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public void initAttrValue(){
this.ownerId = 0L;
this.staffId = 0L;
this.remark = "";
}
}
\ No newline at end of file
package com.mortals.xhx.module.window.model;
import java.util.List;
import com.mortals.xhx.module.window.model.WindowOwnerDetailEntity;
/**
* 窗口负责人详细查询对象
*
* @author zxfei
* @date 2023-07-12
*/
public class WindowOwnerDetailQuery extends WindowOwnerDetailEntity {
/** 开始 序号,主键,自增长 */
private Long idStart;
/** 结束 序号,主键,自增长 */
private Long idEnd;
/** 增加 序号,主键,自增长 */
private Long idIncrement;
/** 序号,主键,自增长列表 */
private List <Long> idList;
/** 序号,主键,自增长排除列表 */
private List <Long> idNotList;
/** 开始 负责人Id */
private Long ownerIdStart;
/** 结束 负责人Id */
private Long ownerIdEnd;
/** 增加 负责人Id */
private Long ownerIdIncrement;
/** 负责人Id列表 */
private List <Long> ownerIdList;
/** 负责人Id排除列表 */
private List <Long> ownerIdNotList;
/** 开始 员工id号 */
private Long staffIdStart;
/** 结束 员工id号 */
private Long staffIdEnd;
/** 增加 员工id号 */
private Long staffIdIncrement;
/** 员工id号列表 */
private List <Long> staffIdList;
/** 员工id号排除列表 */
private List <Long> staffIdNotList;
/** 备注 */
private List<String> remarkList;
/** 备注排除列表 */
private List <String> remarkNotList;
/** 开始 创建时间 */
private String createTimeStart;
/** 结束 创建时间 */
private String createTimeEnd;
/** 开始 创建用户 */
private Long createUserIdStart;
/** 结束 创建用户 */
private Long createUserIdEnd;
/** 增加 创建用户 */
private Long createUserIdIncrement;
/** 创建用户列表 */
private List <Long> createUserIdList;
/** 创建用户排除列表 */
private List <Long> createUserIdNotList;
/** 开始 更新用户 */
private Long updateUserIdStart;
/** 结束 更新用户 */
private Long updateUserIdEnd;
/** 增加 更新用户 */
private Long updateUserIdIncrement;
/** 更新用户列表 */
private List <Long> updateUserIdList;
/** 更新用户排除列表 */
private List <Long> updateUserIdNotList;
/** 开始 修改时间 */
private String updateTimeStart;
/** 结束 修改时间 */
private String updateTimeEnd;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<WindowOwnerDetailQuery> orConditionList;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private List<WindowOwnerDetailQuery> andConditionList;
public WindowOwnerDetailQuery(){}
/**
* 获取 开始 序号,主键,自增长
* @return idStart
*/
public Long getIdStart(){
return this.idStart;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public void setIdStart(Long idStart){
this.idStart = idStart;
}
/**
* 获取 结束 序号,主键,自增长
* @return $idEnd
*/
public Long getIdEnd(){
return this.idEnd;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public void setIdEnd(Long idEnd){
this.idEnd = idEnd;
}
/**
* 获取 增加 序号,主键,自增长
* @return idIncrement
*/
public Long getIdIncrement(){
return this.idIncrement;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement;
}
/**
* 获取 序号,主键,自增长
* @return idList
*/
public List<Long> getIdList(){
return this.idList;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
public void setIdList(List<Long> idList){
this.idList = idList;
}
/**
* 获取 序号,主键,自增长
* @return idNotList
*/
public List<Long> getIdNotList(){
return this.idNotList;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList;
}
/**
* 获取 开始 负责人Id
* @return ownerIdStart
*/
public Long getOwnerIdStart(){
return this.ownerIdStart;
}
/**
* 设置 开始 负责人Id
* @param ownerIdStart
*/
public void setOwnerIdStart(Long ownerIdStart){
this.ownerIdStart = ownerIdStart;
}
/**
* 获取 结束 负责人Id
* @return $ownerIdEnd
*/
public Long getOwnerIdEnd(){
return this.ownerIdEnd;
}
/**
* 设置 结束 负责人Id
* @param ownerIdEnd
*/
public void setOwnerIdEnd(Long ownerIdEnd){
this.ownerIdEnd = ownerIdEnd;
}
/**
* 获取 增加 负责人Id
* @return ownerIdIncrement
*/
public Long getOwnerIdIncrement(){
return this.ownerIdIncrement;
}
/**
* 设置 增加 负责人Id
* @param ownerIdIncrement
*/
public void setOwnerIdIncrement(Long ownerIdIncrement){
this.ownerIdIncrement = ownerIdIncrement;
}
/**
* 获取 负责人Id
* @return ownerIdList
*/
public List<Long> getOwnerIdList(){
return this.ownerIdList;
}
/**
* 设置 负责人Id
* @param ownerIdList
*/
public void setOwnerIdList(List<Long> ownerIdList){
this.ownerIdList = ownerIdList;
}
/**
* 获取 负责人Id
* @return ownerIdNotList
*/
public List<Long> getOwnerIdNotList(){
return this.ownerIdNotList;
}
/**
* 设置 负责人Id
* @param ownerIdNotList
*/
public void setOwnerIdNotList(List<Long> ownerIdNotList){
this.ownerIdNotList = ownerIdNotList;
}
/**
* 获取 开始 员工id号
* @return staffIdStart
*/
public Long getStaffIdStart(){
return this.staffIdStart;
}
/**
* 设置 开始 员工id号
* @param staffIdStart
*/
public void setStaffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart;
}
/**
* 获取 结束 员工id号
* @return $staffIdEnd
*/
public Long getStaffIdEnd(){
return this.staffIdEnd;
}
/**
* 设置 结束 员工id号
* @param staffIdEnd
*/
public void setStaffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd;
}
/**
* 获取 增加 员工id号
* @return staffIdIncrement
*/
public Long getStaffIdIncrement(){
return this.staffIdIncrement;
}
/**
* 设置 增加 员工id号
* @param staffIdIncrement
*/
public void setStaffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement;
}
/**
* 获取 员工id号
* @return staffIdList
*/
public List<Long> getStaffIdList(){
return this.staffIdList;
}
/**
* 设置 员工id号
* @param staffIdList
*/
public void setStaffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList;
}
/**
* 获取 员工id号
* @return staffIdNotList
*/
public List<Long> getStaffIdNotList(){
return this.staffIdNotList;
}
/**
* 设置 员工id号
* @param staffIdNotList
*/
public void setStaffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList;
}
/**
* 获取 备注
* @return remarkList
*/
public List<String> getRemarkList(){
return this.remarkList;
}
/**
* 设置 备注
* @param remarkList
*/
public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList;
}
/**
* 获取 备注
* @return remarkNotList
*/
public List<String> getRemarkNotList(){
return this.remarkNotList;
}
/**
* 设置 备注
* @param remarkNotList
*/
public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 创建用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 创建用户
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 创建用户
* @return createUserIdNotList
*/
public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
}
/**
* 获取 开始 更新用户
* @return updateUserIdStart
*/
public Long getUpdateUserIdStart(){
return this.updateUserIdStart;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
}
/**
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
}
/**
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
}
/**
* 获取 更新用户
* @return updateUserIdList
*/
public List<Long> getUpdateUserIdList(){
return this.updateUserIdList;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
}
/**
* 获取 更新用户
* @return updateUserIdNotList
*/
public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
}
/**
* 获取 开始 修改时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 修改时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 修改时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 修改时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 设置 序号,主键,自增长
* @param id
*/
public WindowOwnerDetailQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public WindowOwnerDetailQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public WindowOwnerDetailQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public WindowOwnerDetailQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
public WindowOwnerDetailQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public WindowOwnerDetailQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
/**
* 设置 负责人Id
* @param ownerId
*/
public WindowOwnerDetailQuery ownerId(Long ownerId){
setOwnerId(ownerId);
return this;
}
/**
* 设置 开始 负责人Id
* @param ownerIdStart
*/
public WindowOwnerDetailQuery ownerIdStart(Long ownerIdStart){
this.ownerIdStart = ownerIdStart;
return this;
}
/**
* 设置 结束 负责人Id
* @param ownerIdEnd
*/
public WindowOwnerDetailQuery ownerIdEnd(Long ownerIdEnd){
this.ownerIdEnd = ownerIdEnd;
return this;
}
/**
* 设置 增加 负责人Id
* @param ownerIdIncrement
*/
public WindowOwnerDetailQuery ownerIdIncrement(Long ownerIdIncrement){
this.ownerIdIncrement = ownerIdIncrement;
return this;
}
/**
* 设置 负责人Id
* @param ownerIdList
*/
public WindowOwnerDetailQuery ownerIdList(List<Long> ownerIdList){
this.ownerIdList = ownerIdList;
return this;
}
/**
* 设置 负责人Id
* @param ownerIdNotList
*/
public WindowOwnerDetailQuery ownerIdNotList(List<Long> ownerIdNotList){
this.ownerIdNotList = ownerIdNotList;
return this;
}
/**
* 设置 员工id号
* @param staffId
*/
public WindowOwnerDetailQuery staffId(Long staffId){
setStaffId(staffId);
return this;
}
/**
* 设置 开始 员工id号
* @param staffIdStart
*/
public WindowOwnerDetailQuery staffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart;
return this;
}
/**
* 设置 结束 员工id号
* @param staffIdEnd
*/
public WindowOwnerDetailQuery staffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd;
return this;
}
/**
* 设置 增加 员工id号
* @param staffIdIncrement
*/
public WindowOwnerDetailQuery staffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement;
return this;
}
/**
* 设置 员工id号
* @param staffIdList
*/
public WindowOwnerDetailQuery staffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList;
return this;
}
/**
* 设置 员工id号
* @param staffIdNotList
*/
public WindowOwnerDetailQuery staffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList;
return this;
}
/**
* 设置 备注
* @param remark
*/
public WindowOwnerDetailQuery remark(String remark){
setRemark(remark);
return this;
}
/**
* 设置 备注
* @param remarkList
*/
public WindowOwnerDetailQuery remarkList(List<String> remarkList){
this.remarkList = remarkList;
return this;
}
/**
* 设置 创建用户
* @param createUserId
*/
public WindowOwnerDetailQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public WindowOwnerDetailQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public WindowOwnerDetailQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public WindowOwnerDetailQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public WindowOwnerDetailQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public WindowOwnerDetailQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
/**
* 设置 更新用户
* @param updateUserId
*/
public WindowOwnerDetailQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public WindowOwnerDetailQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
return this;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public WindowOwnerDetailQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
return this;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public WindowOwnerDetailQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
public WindowOwnerDetailQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public WindowOwnerDetailQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<WindowOwnerDetailQuery> getOrConditionList(){
return this.orConditionList;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public void setOrConditionList(List<WindowOwnerDetailQuery> orConditionList){
this.orConditionList = orConditionList;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public List<WindowOwnerDetailQuery> getAndConditionList(){
return this.andConditionList;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public void setAndConditionList(List<WindowOwnerDetailQuery> andConditionList){
this.andConditionList = andConditionList;
}
}
\ No newline at end of file
package com.mortals.xhx.module.window.model; package com.mortals.xhx.module.window.model;
import java.util.List; import java.util.List;
import java.util.List;
import java.util.ArrayList; import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel; import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.window.model.vo.WindowOwnerVo; import com.mortals.xhx.module.window.model.vo.WindowOwnerVo;
import com.mortals.xhx.module.window.model.WindowOwnerDetailEntity;
import lombok.Data; import lombok.Data;
/** /**
* 窗口负责人实体对象 * 窗口负责人实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
@Data @Data
public class WindowOwnerEntity extends WindowOwnerVo { public class WindowOwnerEntity extends WindowOwnerVo {
...@@ -44,6 +46,17 @@ public class WindowOwnerEntity extends WindowOwnerVo { ...@@ -44,6 +46,17 @@ public class WindowOwnerEntity extends WindowOwnerVo {
* 备注 * 备注
*/ */
private String remark; private String remark;
/**
* 窗口负责人详细信息
*/
private List<WindowOwnerDetailEntity> windowOwnerDetailList=new ArrayList<>();;
public List<WindowOwnerDetailEntity> getWindowOwnerDetailList(){
return windowOwnerDetailList;
}
public void setWindowOwnerDetailList(List<WindowOwnerDetailEntity> windowOwnerDetailList){
this.windowOwnerDetailList = windowOwnerDetailList;
}
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
......
package com.mortals.xhx.module.window.model; package com.mortals.xhx.module.window.model;
import java.util.List;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.window.model.WindowOwnerEntity; import com.mortals.xhx.module.window.model.WindowOwnerEntity;
/** /**
* 窗口负责人查询对象 * 窗口负责人查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
public class WindowOwnerQuery extends WindowOwnerEntity { public class WindowOwnerQuery extends WindowOwnerEntity {
/** 开始 序号,主键,自增长 */ /** 开始 序号,主键,自增长 */
......
package com.mortals.xhx.module.window.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.window.model.WindowOwnerDetailEntity;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;
import com.mortals.framework.annotation.Excel;
import java.math.BigDecimal;
import java.util.Date;
/**
* 窗口负责人详细视图对象
*
* @author zxfei
* @date 2023-07-12
*/
@Data
public class WindowOwnerDetailVo extends BaseEntityLong {
}
\ No newline at end of file
...@@ -4,15 +4,16 @@ import com.mortals.xhx.module.window.model.WindowOwnerEntity; ...@@ -4,15 +4,16 @@ import com.mortals.xhx.module.window.model.WindowOwnerEntity;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import lombok.Data; import lombok.Data;
import com.mortals.framework.annotation.Excel;
import java.math.BigDecimal;
import java.util.Date;
/** /**
* 窗口负责人视图对象 * 窗口负责人视图对象
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
@Data @Data
public class WindowOwnerVo extends BaseEntityLong { public class WindowOwnerVo extends BaseEntityLong {
} }
\ No newline at end of file
package com.mortals.xhx.module.window.service;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.window.model.WindowOwnerDetailEntity;
import com.mortals.xhx.module.window.dao.WindowOwnerDetailDao;
/**
* WindowOwnerDetailService
*
* 窗口负责人详细 service接口
*
* @author zxfei
* @date 2023-07-12
*/
public interface WindowOwnerDetailService extends ICRUDService<WindowOwnerDetailEntity,Long>{
WindowOwnerDetailDao getDao();
}
\ No newline at end of file
...@@ -8,7 +8,7 @@ import com.mortals.xhx.module.window.dao.WindowOwnerDao; ...@@ -8,7 +8,7 @@ import com.mortals.xhx.module.window.dao.WindowOwnerDao;
* 窗口负责人 service接口 * 窗口负责人 service接口
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
public interface WindowOwnerService extends ICRUDService<WindowOwnerEntity,Long>{ public interface WindowOwnerService extends ICRUDService<WindowOwnerEntity,Long>{
......
package com.mortals.xhx.module.window.service.impl;
import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.xhx.module.window.dao.WindowOwnerDetailDao;
import com.mortals.xhx.module.window.model.WindowOwnerDetailEntity;
import com.mortals.xhx.module.window.service.WindowOwnerDetailService;
import lombok.extern.slf4j.Slf4j;
/**
* WindowOwnerDetailService
* 窗口负责人详细 service实现
*
* @author zxfei
* @date 2023-07-12
*/
@Service("windowOwnerDetailService")
@Slf4j
public class WindowOwnerDetailServiceImpl extends AbstractCRUDServiceImpl<WindowOwnerDetailDao, WindowOwnerDetailEntity, Long> implements WindowOwnerDetailService {
}
\ No newline at end of file
package com.mortals.xhx.module.window.service.impl; package com.mortals.xhx.module.window.service.impl;
import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.service.DeptService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
...@@ -6,16 +8,69 @@ import com.mortals.framework.model.Context; ...@@ -6,16 +8,69 @@ import com.mortals.framework.model.Context;
import com.mortals.xhx.module.window.dao.WindowOwnerDao; import com.mortals.xhx.module.window.dao.WindowOwnerDao;
import com.mortals.xhx.module.window.model.WindowOwnerEntity; import com.mortals.xhx.module.window.model.WindowOwnerEntity;
import com.mortals.xhx.module.window.service.WindowOwnerService; import com.mortals.xhx.module.window.service.WindowOwnerService;
import org.springframework.beans.factory.annotation.Autowired;
import com.mortals.xhx.module.window.model.WindowOwnerDetailEntity;
import com.mortals.xhx.module.window.model.WindowOwnerDetailQuery;
import com.mortals.xhx.module.window.service.WindowOwnerDetailService;
import org.springframework.util.ObjectUtils;
import java.util.Date;
import java.util.Arrays;
import java.util.List;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
/** /**
* WindowOwnerService * WindowOwnerService
* 窗口负责人 service实现 * 窗口负责人 service实现
* *
* @author zxfei * @author zxfei
* @date 2023-05-16 * @date 2023-07-12
*/ */
@Service("windowOwnerService") @Service("windowOwnerService")
@Slf4j @Slf4j
public class WindowOwnerServiceImpl extends AbstractCRUDServiceImpl<WindowOwnerDao, WindowOwnerEntity, Long> implements WindowOwnerService { public class WindowOwnerServiceImpl extends AbstractCRUDServiceImpl<WindowOwnerDao, WindowOwnerEntity, Long> implements WindowOwnerService {
@Autowired
private WindowOwnerDetailService windowOwnerDetailService;
@Autowired
private DeptService deptService;
@Override
protected void saveAfter(WindowOwnerEntity entity, Context context) throws AppException {
if(!ObjectUtils.isEmpty(entity.getWindowOwnerDetailList())){
entity.getWindowOwnerDetailList().stream().peek(item->{
item.setOwnerId(entity.getId());
item.setCreateUserId(this.getContextUserId(context));
item.setCreateTime(new Date());
}).count();
DeptEntity deptEntity = deptService.get(entity.getId());
entity.setDeptName(deptEntity==null?"":deptEntity.getDeptName());
entity.setNumber(entity.getWindowOwnerDetailList().size()+"");
windowOwnerDetailService.save(entity.getWindowOwnerDetailList());
}
super.saveAfter(entity, context);
}
@Override
protected void updateAfter(WindowOwnerEntity entity, Context context) throws AppException {
if(!ObjectUtils.isEmpty(entity.getWindowOwnerDetailList())){
Long[] windowOwnerDetailIds = windowOwnerDetailService.find(new WindowOwnerDetailQuery().ownerId(entity.getId())).stream().map(WindowOwnerDetailEntity::getId).toArray(Long[]::new);
windowOwnerDetailService.remove(windowOwnerDetailIds,context);
entity.getWindowOwnerDetailList().stream().peek(item ->{
item.setOwnerId(entity.getId());
item.setCreateUserId(this.getContextUserId(context));
item.setCreateTime(new Date());
item.setUpdateUserId(this.getContextUserId(context));
item.setUpdateTime(new Date());
}).count();
entity.setNumber(entity.getWindowOwnerDetailList().size()+"");
windowOwnerDetailService.save(entity.getWindowOwnerDetailList());
}
super.updateAfter(entity, context);
}
@Override
protected void removeAfter(Long[] ids, Context context, int result) throws AppException {
List<WindowOwnerDetailEntity> windowOwnerDetaillist = windowOwnerDetailService.find(new WindowOwnerDetailQuery().ownerIdList(Arrays.asList(ids)));
windowOwnerDetailService.removeList(windowOwnerDetaillist,context);
super.removeAfter(ids, context, result);
}
} }
\ No newline at end of file
package com.mortals.xhx.module.window.web; package com.mortals.xhx.module.window.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.base.system.user.model.UserQuery;
import com.mortals.xhx.base.system.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import com.mortals.framework.model.Context; import com.mortals.framework.model.Context;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.module.window.model.WindowOwnerEntity; import com.mortals.xhx.module.window.model.WindowOwnerEntity;
import com.mortals.xhx.module.window.service.WindowOwnerService; import com.mortals.xhx.module.window.service.WindowOwnerService;
import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.ArrayUtils;
import com.mortals.framework.util.StringUtils; import com.mortals.framework.util.StringUtils;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import java.util.Arrays; import java.util.Arrays;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
import static com.mortals.framework.ap.SysConstains.*; import static com.mortals.framework.ap.SysConstains.*;
/** /**
* * 窗口负责人
* 窗口负责人 *
* * @author zxfei
* @author zxfei * @date 2023-07-12
* @date 2023-05-16 */
*/
@RestController @RestController
@RequestMapping("window/owner") @RequestMapping("window/owner")
public class WindowOwnerController extends BaseCRUDJsonBodyMappingController<WindowOwnerService,WindowOwnerEntity,Long> { public class WindowOwnerController extends BaseCRUDJsonBodyMappingController<WindowOwnerService, WindowOwnerEntity, Long> {
@Autowired @Autowired
private ParamService paramService; private ParamService paramService;
@Autowired
private UserService userService;
public WindowOwnerController(){ public WindowOwnerController() {
super.setModuleDesc( "窗口负责人"); super.setModuleDesc("窗口负责人");
} }
@Override @Override
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
Map<String, String> collect = userService.find(new UserQuery(), getContext()).stream()
.collect(Collectors.toMap(x -> x.getId().toString(), y -> y.getRealName(), (o, n) -> n));
this.addDict(model, "updateUserId", collect);
super.init(model, context); super.init(model, context);
} }
......
package com.mortals.xhx.module.window.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import com.mortals.framework.model.Context;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.module.window.model.WindowOwnerDetailEntity;
import com.mortals.xhx.module.window.service.WindowOwnerDetailService;
import org.apache.commons.lang3.ArrayUtils;
import com.mortals.framework.util.StringUtils;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import com.alibaba.fastjson.JSONObject;
import java.util.Arrays;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import static com.mortals.framework.ap.SysConstains.*;
/**
*
* 窗口负责人详细
*
* @author zxfei
* @date 2023-07-12
*/
@RestController
@RequestMapping("window/owner/detail")
public class WindowOwnerDetailController extends BaseCRUDJsonBodyMappingController<WindowOwnerDetailService,WindowOwnerDetailEntity,Long> {
@Autowired
private ParamService paramService;
public WindowOwnerDetailController(){
super.setModuleDesc( "窗口负责人详细");
}
@Override
protected void init(Map<String, Object> model, Context context) {
super.init(model, context);
}
}
\ No newline at end of file
...@@ -10,27 +10,11 @@ ...@@ -10,27 +10,11 @@
DATE_FORMAT(checkTime,'%m') as `month`, DATE_FORMAT(checkTime,'%m') as `month`,
SUM(CASE subAddType WHEN 1 THEN score ELSE score*-1 END) as sumScore SUM(CASE subAddType WHEN 1 THEN score ELSE score*-1 END) as sumScore
FROM FROM
( mortals_xhx_check_complain_record
SELECT WHERE checkStatus = 2
id,recordId,staffId,staffName,workNum,deptId,deptName,subAddType,score,checkTime <if test="staffId != null and staffId!=''"> AND staffId = #{staffId} </if>
FROM <if test="checkTimeStart != null and checkTimeStart!=''"> AND checkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') </if>
mortals_xhx_check_complain_record <if test="checkTimeEnd != null and checkTimeEnd!=''"> AND checkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') </if>
WHERE
checkStatus = 2
<if test="staffId != null and staffId!=''"> AND staffId = #{staffId} </if>
<if test="checkTimeStart != null and checkTimeStart!=''"> AND checkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') </if>
<if test="checkTimeEnd != null and checkTimeEnd!=''"> AND checkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') </if>
UNION
SELECT
id,recordId,staffId,staffName,workNum,deptId,deptName,subAddType,score,checkTime
FROM
mortals_xhx_check_review_record
WHERE
checkStatus = 2
<if test="staffId != null and staffId!=''"> AND staffId = #{staffId} </if>
<if test="checkTimeStart != null and checkTimeStart!=''"> AND checkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') </if>
<if test="checkTimeEnd != null and checkTimeEnd!=''"> AND checkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') </if>
) AS t
GROUP BY GROUP BY
staffId,staffName,workNum,deptId,deptName,DATE_FORMAT(checkTime,'%Y-%m') staffId,staffName,workNum,deptId,deptName,DATE_FORMAT(checkTime,'%Y-%m')
</select> </select>
......
...@@ -10,27 +10,11 @@ ...@@ -10,27 +10,11 @@
DATE_FORMAT(checkTime,'%m') as `month`, DATE_FORMAT(checkTime,'%m') as `month`,
SUM(CASE subAddType WHEN 1 THEN score ELSE score*-1 END) as sumScore SUM(CASE subAddType WHEN 1 THEN score ELSE score*-1 END) as sumScore
FROM FROM
( mortals_xhx_check_review_record
SELECT WHERE checkStatus = 2
id,recordId,staffId,staffName,workNum,deptId,deptName,subAddType,score,checkTime <if test="staffId != null and staffId!=''"> AND staffId = #{staffId} </if>
FROM <if test="checkTimeStart != null and checkTimeStart!=''"> AND checkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') </if>
mortals_xhx_check_complain_record <if test="checkTimeEnd != null and checkTimeEnd!=''"> AND checkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') </if>
WHERE
checkStatus = 2
<if test="staffId != null and staffId!=''"> AND staffId = #{staffId} </if>
<if test="checkTimeStart != null and checkTimeStart!=''"> AND checkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') </if>
<if test="checkTimeEnd != null and checkTimeEnd!=''"> AND checkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') </if>
UNION
SELECT
id,recordId,staffId,staffName,workNum,deptId,deptName,subAddType,score,checkTime
FROM
mortals_xhx_check_review_record
WHERE
checkStatus = 2
<if test="staffId != null and staffId!=''"> AND staffId = #{staffId} </if>
<if test="checkTimeStart != null and checkTimeStart!=''"> AND checkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') </if>
<if test="checkTimeEnd != null and checkTimeEnd!=''"> AND checkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') </if>
) AS t
GROUP BY GROUP BY
staffId,staffName,workNum,deptId,deptName,DATE_FORMAT(checkTime,'%Y-%m') staffId,staffName,workNum,deptId,deptName,DATE_FORMAT(checkTime,'%Y-%m')
</select> </select>
......
...@@ -38,6 +38,28 @@ ...@@ -38,6 +38,28 @@
<result property="updateUserId" column="updateUserId" /> <result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" /> <result property="updateTime" column="updateTime" />
<result property="violationType" column="violationType" /> <result property="violationType" column="violationType" />
<result property="reviewResult" column="reviewResult" />
<result property="reviewTime" column="reviewTime" />
<result property="reviewSource" column="reviewSource" />
<result property="reviewDevice" column="reviewDevice" />
<result property="complainTitle" column="complainTitle" />
<result property="complainContent" column="complainContent" />
<result property="complainRealName" column="complainRealName" />
<result property="contact" column="contact" />
<result property="complainTime" column="complainTime" />
<result property="complainSource" column="complainSource" />
<result property="complainDevice" column="complainDevice" />
<result property="goworkCode" column="goworkCode" />
<result property="goworkDepts" column="goworkDepts" />
<result property="matterlName" column="matterlName" />
<result property="goworkTime" column="goworkTime" />
<result property="irregularType" column="irregularType" />
<result property="happenTime" column="happenTime" />
<result property="duration" column="duration" />
<result property="alarmTime" column="alarmTime" />
<result property="snapPath" column="snapPath" />
<result property="irregularOtherType" column="irregularOtherType" />
<result property="performType" column="performType" />
<collection property="performAttendAppealFilesList" column="id" ofType="PerformAttendAppealFilesEntity" javaType="ArrayList" select="getPerformAttendAppealFilesByAppealId"></collection> <collection property="performAttendAppealFilesList" column="id" ofType="PerformAttendAppealFilesEntity" javaType="ArrayList" select="getPerformAttendAppealFilesByAppealId"></collection>
</resultMap> </resultMap>
<resultMap type="PerformAttendAppealFilesEntity" id="PerformAttendAppealFilesEntity-Map"> <resultMap type="PerformAttendAppealFilesEntity" id="PerformAttendAppealFilesEntity-Map">
...@@ -154,6 +176,72 @@ ...@@ -154,6 +176,72 @@
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('violationType') or colPickMode == 1 and data.containsKey('violationType')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('violationType') or colPickMode == 1 and data.containsKey('violationType')))">
a.violationType, a.violationType,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reviewResult') or colPickMode == 1 and data.containsKey('reviewResult')))">
a.reviewResult,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reviewTime') or colPickMode == 1 and data.containsKey('reviewTime')))">
a.reviewTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reviewSource') or colPickMode == 1 and data.containsKey('reviewSource')))">
a.reviewSource,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reviewDevice') or colPickMode == 1 and data.containsKey('reviewDevice')))">
a.reviewDevice,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('complainTitle') or colPickMode == 1 and data.containsKey('complainTitle')))">
a.complainTitle,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('complainContent') or colPickMode == 1 and data.containsKey('complainContent')))">
a.complainContent,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('complainRealName') or colPickMode == 1 and data.containsKey('complainRealName')))">
a.complainRealName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('contact') or colPickMode == 1 and data.containsKey('contact')))">
a.contact,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('complainTime') or colPickMode == 1 and data.containsKey('complainTime')))">
a.complainTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('complainSource') or colPickMode == 1 and data.containsKey('complainSource')))">
a.complainSource,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('complainDevice') or colPickMode == 1 and data.containsKey('complainDevice')))">
a.complainDevice,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('goworkCode') or colPickMode == 1 and data.containsKey('goworkCode')))">
a.goworkCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('goworkDepts') or colPickMode == 1 and data.containsKey('goworkDepts')))">
a.goworkDepts,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterlName') or colPickMode == 1 and data.containsKey('matterlName')))">
a.matterlName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('goworkTime') or colPickMode == 1 and data.containsKey('goworkTime')))">
a.goworkTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('irregularType') or colPickMode == 1 and data.containsKey('irregularType')))">
a.irregularType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('happenTime') or colPickMode == 1 and data.containsKey('happenTime')))">
a.happenTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('duration') or colPickMode == 1 and data.containsKey('duration')))">
a.duration,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('alarmTime') or colPickMode == 1 and data.containsKey('alarmTime')))">
a.alarmTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('snapPath') or colPickMode == 1 and data.containsKey('snapPath')))">
a.snapPath,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('irregularOtherType') or colPickMode == 1 and data.containsKey('irregularOtherType')))">
a.irregularOtherType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('performType') or colPickMode == 1 and data.containsKey('performType')))">
a.performType,
</if>
</trim> </trim>
</sql> </sql>
<!-- 子表所有列 --> <!-- 子表所有列 -->
...@@ -165,18 +253,18 @@ ...@@ -165,18 +253,18 @@
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="PerformAttendAppealEntity" useGeneratedKeys="true" keyProperty="id"> <insert id="insert" parameterType="PerformAttendAppealEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_perform_attend_appeal insert into mortals_xhx_perform_attend_appeal
(checkRecordId,staffId,staffName,workNum,deptId,deptName,attendanceGroupId,attendanceGroupName,attendanceDate,ruleId,ruleName,subMethod,subAddType,score,goOffTimeStr,errorTime,actualAttendTime,errorResult,checkPerson,checkTime,checkDesc,checkResult,processStatus,appealDesc,appealTime,appealResult,remark,createUserId,createTime,updateUserId,updateTime,violationType) (checkRecordId,staffId,staffName,workNum,deptId,deptName,attendanceGroupId,attendanceGroupName,attendanceDate,ruleId,ruleName,subMethod,subAddType,score,goOffTimeStr,errorTime,actualAttendTime,errorResult,checkPerson,checkTime,checkDesc,checkResult,processStatus,appealDesc,appealTime,appealResult,remark,createUserId,createTime,updateUserId,updateTime,violationType,reviewResult,reviewTime,reviewSource,reviewDevice,complainTitle,complainContent,complainRealName,contact,complainTime,complainSource,complainDevice,goworkCode,goworkDepts,matterlName,goworkTime,irregularType,happenTime,duration,alarmTime,snapPath,irregularOtherType,performType)
VALUES VALUES
(#{checkRecordId},#{staffId},#{staffName},#{workNum},#{deptId},#{deptName},#{attendanceGroupId},#{attendanceGroupName},#{attendanceDate},#{ruleId},#{ruleName},#{subMethod},#{subAddType},#{score},#{goOffTimeStr},#{errorTime},#{actualAttendTime},#{errorResult},#{checkPerson},#{checkTime},#{checkDesc},#{checkResult},#{processStatus},#{appealDesc},#{appealTime},#{appealResult},#{remark},#{createUserId},#{createTime},#{updateUserId},#{updateTime},#{violationType}) (#{checkRecordId},#{staffId},#{staffName},#{workNum},#{deptId},#{deptName},#{attendanceGroupId},#{attendanceGroupName},#{attendanceDate},#{ruleId},#{ruleName},#{subMethod},#{subAddType},#{score},#{goOffTimeStr},#{errorTime},#{actualAttendTime},#{errorResult},#{checkPerson},#{checkTime},#{checkDesc},#{checkResult},#{processStatus},#{appealDesc},#{appealTime},#{appealResult},#{remark},#{createUserId},#{createTime},#{updateUserId},#{updateTime},#{violationType},#{reviewResult},#{reviewTime},#{reviewSource},#{reviewDevice},#{complainTitle},#{complainContent},#{complainRealName},#{contact},#{complainTime},#{complainSource},#{complainDevice},#{goworkCode},#{goworkDepts},#{matterlName},#{goworkTime},#{irregularType},#{happenTime},#{duration},#{alarmTime},#{snapPath},#{irregularOtherType},#{performType})
</insert> </insert>
<!-- 批量新增 --> <!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto"> <insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_perform_attend_appeal insert into mortals_xhx_perform_attend_appeal
(checkRecordId,staffId,staffName,workNum,deptId,deptName,attendanceGroupId,attendanceGroupName,attendanceDate,ruleId,ruleName,subMethod,subAddType,score,goOffTimeStr,errorTime,actualAttendTime,errorResult,checkPerson,checkTime,checkDesc,checkResult,processStatus,appealDesc,appealTime,appealResult,remark,createUserId,createTime,updateUserId,updateTime,violationType) (checkRecordId,staffId,staffName,workNum,deptId,deptName,attendanceGroupId,attendanceGroupName,attendanceDate,ruleId,ruleName,subMethod,subAddType,score,goOffTimeStr,errorTime,actualAttendTime,errorResult,checkPerson,checkTime,checkDesc,checkResult,processStatus,appealDesc,appealTime,appealResult,remark,createUserId,createTime,updateUserId,updateTime,violationType,reviewResult,reviewTime,reviewSource,reviewDevice,complainTitle,complainContent,complainRealName,contact,complainTime,complainSource,complainDevice,goworkCode,goworkDepts,matterlName,goworkTime,irregularType,happenTime,duration,alarmTime,snapPath,irregularOtherType,performType)
VALUES VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," > <foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.checkRecordId},#{item.staffId},#{item.staffName},#{item.workNum},#{item.deptId},#{item.deptName},#{item.attendanceGroupId},#{item.attendanceGroupName},#{item.attendanceDate},#{item.ruleId},#{item.ruleName},#{item.subMethod},#{item.subAddType},#{item.score},#{item.goOffTimeStr},#{item.errorTime},#{item.actualAttendTime},#{item.errorResult},#{item.checkPerson},#{item.checkTime},#{item.checkDesc},#{item.checkResult},#{item.processStatus},#{item.appealDesc},#{item.appealTime},#{item.appealResult},#{item.remark},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime},#{item.violationType}) (#{item.checkRecordId},#{item.staffId},#{item.staffName},#{item.workNum},#{item.deptId},#{item.deptName},#{item.attendanceGroupId},#{item.attendanceGroupName},#{item.attendanceDate},#{item.ruleId},#{item.ruleName},#{item.subMethod},#{item.subAddType},#{item.score},#{item.goOffTimeStr},#{item.errorTime},#{item.actualAttendTime},#{item.errorResult},#{item.checkPerson},#{item.checkTime},#{item.checkDesc},#{item.checkResult},#{item.processStatus},#{item.appealDesc},#{item.appealTime},#{item.appealResult},#{item.remark},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime},#{item.violationType},#{item.reviewResult},#{item.reviewTime},#{item.reviewSource},#{item.reviewDevice},#{item.complainTitle},#{item.complainContent},#{item.complainRealName},#{item.contact},#{item.complainTime},#{item.complainSource},#{item.complainDevice},#{item.goworkCode},#{item.goworkDepts},#{item.matterlName},#{item.goworkTime},#{item.irregularType},#{item.happenTime},#{item.duration},#{item.alarmTime},#{item.snapPath},#{item.irregularOtherType},#{item.performType})
</foreach> </foreach>
</insert> </insert>
...@@ -318,6 +406,84 @@ ...@@ -318,6 +406,84 @@
<if test="(colPickMode==0 and data.containsKey('violationType')) or (colPickMode==1 and !data.containsKey('violationType'))"> <if test="(colPickMode==0 and data.containsKey('violationType')) or (colPickMode==1 and !data.containsKey('violationType'))">
a.violationType=#{data.violationType}, a.violationType=#{data.violationType},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('reviewResult')) or (colPickMode==1 and !data.containsKey('reviewResult'))">
a.reviewResult=#{data.reviewResult},
</if>
<if test="(colPickMode==0 and data.containsKey('reviewResultIncrement')) or (colPickMode==1 and !data.containsKey('reviewResultIncrement'))">
a.reviewResult=ifnull(a.reviewResult,0) + #{data.reviewResultIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('reviewTime')) or (colPickMode==1 and !data.containsKey('reviewTime'))">
a.reviewTime=#{data.reviewTime},
</if>
<if test="(colPickMode==0 and data.containsKey('reviewSource')) or (colPickMode==1 and !data.containsKey('reviewSource'))">
a.reviewSource=#{data.reviewSource},
</if>
<if test="(colPickMode==0 and data.containsKey('reviewDevice')) or (colPickMode==1 and !data.containsKey('reviewDevice'))">
a.reviewDevice=#{data.reviewDevice},
</if>
<if test="(colPickMode==0 and data.containsKey('complainTitle')) or (colPickMode==1 and !data.containsKey('complainTitle'))">
a.complainTitle=#{data.complainTitle},
</if>
<if test="(colPickMode==0 and data.containsKey('complainContent')) or (colPickMode==1 and !data.containsKey('complainContent'))">
a.complainContent=#{data.complainContent},
</if>
<if test="(colPickMode==0 and data.containsKey('complainRealName')) or (colPickMode==1 and !data.containsKey('complainRealName'))">
a.complainRealName=#{data.complainRealName},
</if>
<if test="(colPickMode==0 and data.containsKey('contact')) or (colPickMode==1 and !data.containsKey('contact'))">
a.contact=#{data.contact},
</if>
<if test="(colPickMode==0 and data.containsKey('complainTime')) or (colPickMode==1 and !data.containsKey('complainTime'))">
a.complainTime=#{data.complainTime},
</if>
<if test="(colPickMode==0 and data.containsKey('complainSource')) or (colPickMode==1 and !data.containsKey('complainSource'))">
a.complainSource=#{data.complainSource},
</if>
<if test="(colPickMode==0 and data.containsKey('complainDevice')) or (colPickMode==1 and !data.containsKey('complainDevice'))">
a.complainDevice=#{data.complainDevice},
</if>
<if test="(colPickMode==0 and data.containsKey('goworkCode')) or (colPickMode==1 and !data.containsKey('goworkCode'))">
a.goworkCode=#{data.goworkCode},
</if>
<if test="(colPickMode==0 and data.containsKey('goworkDepts')) or (colPickMode==1 and !data.containsKey('goworkDepts'))">
a.goworkDepts=#{data.goworkDepts},
</if>
<if test="(colPickMode==0 and data.containsKey('matterlName')) or (colPickMode==1 and !data.containsKey('matterlName'))">
a.matterlName=#{data.matterlName},
</if>
<if test="(colPickMode==0 and data.containsKey('goworkTime')) or (colPickMode==1 and !data.containsKey('goworkTime'))">
a.goworkTime=#{data.goworkTime},
</if>
<if test="(colPickMode==0 and data.containsKey('irregularType')) or (colPickMode==1 and !data.containsKey('irregularType'))">
a.irregularType=#{data.irregularType},
</if>
<if test="(colPickMode==0 and data.containsKey('irregularTypeIncrement')) or (colPickMode==1 and !data.containsKey('irregularTypeIncrement'))">
a.irregularType=ifnull(a.irregularType,0) + #{data.irregularTypeIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('happenTime')) or (colPickMode==1 and !data.containsKey('happenTime'))">
a.happenTime=#{data.happenTime},
</if>
<if test="(colPickMode==0 and data.containsKey('duration')) or (colPickMode==1 and !data.containsKey('duration'))">
a.duration=#{data.duration},
</if>
<if test="(colPickMode==0 and data.containsKey('durationIncrement')) or (colPickMode==1 and !data.containsKey('durationIncrement'))">
a.duration=ifnull(a.duration,0) + #{data.durationIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('alarmTime')) or (colPickMode==1 and !data.containsKey('alarmTime'))">
a.alarmTime=#{data.alarmTime},
</if>
<if test="(colPickMode==0 and data.containsKey('snapPath')) or (colPickMode==1 and !data.containsKey('snapPath'))">
a.snapPath=#{data.snapPath},
</if>
<if test="(colPickMode==0 and data.containsKey('irregularOtherType')) or (colPickMode==1 and !data.containsKey('irregularOtherType'))">
a.irregularOtherType=#{data.irregularOtherType},
</if>
<if test="(colPickMode==0 and data.containsKey('irregularOtherTypeIncrement')) or (colPickMode==1 and !data.containsKey('irregularOtherTypeIncrement'))">
a.irregularOtherType=ifnull(a.irregularOtherType,0) + #{data.irregularOtherTypeIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('performType')) or (colPickMode==1 and !data.containsKey('performType'))">
a.performType=#{data.performType},
</if>
</trim> </trim>
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
where where
...@@ -614,6 +780,180 @@ ...@@ -614,6 +780,180 @@
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="reviewResult=(case" suffix="ELSE reviewResult end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('reviewResult')) or (colPickMode==1 and !item.containsKey('reviewResult'))">
when a.id=#{item.id} then #{item.reviewResult}
</when>
<when test="(colPickMode==0 and item.containsKey('reviewResultIncrement')) or (colPickMode==1 and !item.containsKey('reviewResultIncrement'))">
when a.id=#{item.id} then ifnull(a.reviewResult,0) + #{item.reviewResultIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="reviewTime=(case" suffix="ELSE reviewTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('reviewTime')) or (colPickMode==1 and !item.containsKey('reviewTime'))">
when a.id=#{item.id} then #{item.reviewTime}
</if>
</foreach>
</trim>
<trim prefix="reviewSource=(case" suffix="ELSE reviewSource end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('reviewSource')) or (colPickMode==1 and !item.containsKey('reviewSource'))">
when a.id=#{item.id} then #{item.reviewSource}
</if>
</foreach>
</trim>
<trim prefix="reviewDevice=(case" suffix="ELSE reviewDevice end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('reviewDevice')) or (colPickMode==1 and !item.containsKey('reviewDevice'))">
when a.id=#{item.id} then #{item.reviewDevice}
</if>
</foreach>
</trim>
<trim prefix="complainTitle=(case" suffix="ELSE complainTitle end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('complainTitle')) or (colPickMode==1 and !item.containsKey('complainTitle'))">
when a.id=#{item.id} then #{item.complainTitle}
</if>
</foreach>
</trim>
<trim prefix="complainContent=(case" suffix="ELSE complainContent end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('complainContent')) or (colPickMode==1 and !item.containsKey('complainContent'))">
when a.id=#{item.id} then #{item.complainContent}
</if>
</foreach>
</trim>
<trim prefix="complainRealName=(case" suffix="ELSE complainRealName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('complainRealName')) or (colPickMode==1 and !item.containsKey('complainRealName'))">
when a.id=#{item.id} then #{item.complainRealName}
</if>
</foreach>
</trim>
<trim prefix="contact=(case" suffix="ELSE contact end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('contact')) or (colPickMode==1 and !item.containsKey('contact'))">
when a.id=#{item.id} then #{item.contact}
</if>
</foreach>
</trim>
<trim prefix="complainTime=(case" suffix="ELSE complainTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('complainTime')) or (colPickMode==1 and !item.containsKey('complainTime'))">
when a.id=#{item.id} then #{item.complainTime}
</if>
</foreach>
</trim>
<trim prefix="complainSource=(case" suffix="ELSE complainSource end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('complainSource')) or (colPickMode==1 and !item.containsKey('complainSource'))">
when a.id=#{item.id} then #{item.complainSource}
</if>
</foreach>
</trim>
<trim prefix="complainDevice=(case" suffix="ELSE complainDevice end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('complainDevice')) or (colPickMode==1 and !item.containsKey('complainDevice'))">
when a.id=#{item.id} then #{item.complainDevice}
</if>
</foreach>
</trim>
<trim prefix="goworkCode=(case" suffix="ELSE goworkCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('goworkCode')) or (colPickMode==1 and !item.containsKey('goworkCode'))">
when a.id=#{item.id} then #{item.goworkCode}
</if>
</foreach>
</trim>
<trim prefix="goworkDepts=(case" suffix="ELSE goworkDepts end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('goworkDepts')) or (colPickMode==1 and !item.containsKey('goworkDepts'))">
when a.id=#{item.id} then #{item.goworkDepts}
</if>
</foreach>
</trim>
<trim prefix="matterlName=(case" suffix="ELSE matterlName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('matterlName')) or (colPickMode==1 and !item.containsKey('matterlName'))">
when a.id=#{item.id} then #{item.matterlName}
</if>
</foreach>
</trim>
<trim prefix="goworkTime=(case" suffix="ELSE goworkTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('goworkTime')) or (colPickMode==1 and !item.containsKey('goworkTime'))">
when a.id=#{item.id} then #{item.goworkTime}
</if>
</foreach>
</trim>
<trim prefix="irregularType=(case" suffix="ELSE irregularType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('irregularType')) or (colPickMode==1 and !item.containsKey('irregularType'))">
when a.id=#{item.id} then #{item.irregularType}
</when>
<when test="(colPickMode==0 and item.containsKey('irregularTypeIncrement')) or (colPickMode==1 and !item.containsKey('irregularTypeIncrement'))">
when a.id=#{item.id} then ifnull(a.irregularType,0) + #{item.irregularTypeIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="happenTime=(case" suffix="ELSE happenTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('happenTime')) or (colPickMode==1 and !item.containsKey('happenTime'))">
when a.id=#{item.id} then #{item.happenTime}
</if>
</foreach>
</trim>
<trim prefix="duration=(case" suffix="ELSE duration end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('duration')) or (colPickMode==1 and !item.containsKey('duration'))">
when a.id=#{item.id} then #{item.duration}
</when>
<when test="(colPickMode==0 and item.containsKey('durationIncrement')) or (colPickMode==1 and !item.containsKey('durationIncrement'))">
when a.id=#{item.id} then ifnull(a.duration,0) + #{item.durationIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="alarmTime=(case" suffix="ELSE alarmTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('alarmTime')) or (colPickMode==1 and !item.containsKey('alarmTime'))">
when a.id=#{item.id} then #{item.alarmTime}
</if>
</foreach>
</trim>
<trim prefix="snapPath=(case" suffix="ELSE snapPath end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('snapPath')) or (colPickMode==1 and !item.containsKey('snapPath'))">
when a.id=#{item.id} then #{item.snapPath}
</if>
</foreach>
</trim>
<trim prefix="irregularOtherType=(case" suffix="ELSE irregularOtherType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('irregularOtherType')) or (colPickMode==1 and !item.containsKey('irregularOtherType'))">
when a.id=#{item.id} then #{item.irregularOtherType}
</when>
<when test="(colPickMode==0 and item.containsKey('irregularOtherTypeIncrement')) or (colPickMode==1 and !item.containsKey('irregularOtherTypeIncrement'))">
when a.id=#{item.id} then ifnull(a.irregularOtherType,0) + #{item.irregularOtherTypeIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="performType=(case" suffix="ELSE performType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('performType')) or (colPickMode==1 and !item.containsKey('performType'))">
when a.id=#{item.id} then #{item.performType}
</if>
</foreach>
</trim>
</trim> </trim>
where id in where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")"> <foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
...@@ -1467,6 +1807,462 @@ ...@@ -1467,6 +1807,462 @@
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="conditionParamRef.containsKey('reviewResult')">
<if test="conditionParamRef.reviewResult != null ">
${_conditionType_} a.reviewResult = #{${_conditionParam_}.reviewResult}
</if>
<if test="conditionParamRef.reviewResult == null">
${_conditionType_} a.reviewResult is null
</if>
</if>
<if test="conditionParamRef.containsKey('reviewResultList') and conditionParamRef.reviewResultList.size() > 0">
${_conditionType_} a.reviewResult in
<foreach collection="conditionParamRef.reviewResultList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reviewResultNotList') and conditionParamRef.reviewResultNotList.size() > 0">
${_conditionType_} a.reviewResult not in
<foreach collection="conditionParamRef.reviewResultNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reviewResultStart') and conditionParamRef.reviewResultStart != null">
${_conditionType_} a.reviewResult <![CDATA[ >= ]]> #{${_conditionParam_}.reviewResultStart}
</if>
<if test="conditionParamRef.containsKey('reviewResultEnd') and conditionParamRef.reviewResultEnd != null">
${_conditionType_} a.reviewResult <![CDATA[ <= ]]> #{${_conditionParam_}.reviewResultEnd}
</if>
<if test="conditionParamRef.containsKey('reviewTime')">
<if test="conditionParamRef.reviewTime != null ">
${_conditionType_} a.reviewTime = #{${_conditionParam_}.reviewTime}
</if>
<if test="conditionParamRef.reviewTime == null">
${_conditionType_} a.reviewTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('reviewTimeStart') and conditionParamRef.reviewTimeStart != null and conditionParamRef.reviewTimeStart!=''">
${_conditionType_} a.reviewTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.reviewTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('reviewTimeEnd') and conditionParamRef.reviewTimeEnd != null and conditionParamRef.reviewTimeEnd!=''">
${_conditionType_} a.reviewTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.reviewTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('reviewSource')">
<if test="conditionParamRef.reviewSource != null and conditionParamRef.reviewSource != ''">
${_conditionType_} a.reviewSource like #{${_conditionParam_}.reviewSource}
</if>
<if test="conditionParamRef.reviewSource == null">
${_conditionType_} a.reviewSource is null
</if>
</if>
<if test="conditionParamRef.containsKey('reviewSourceList') and conditionParamRef.reviewSourceList.size() > 0">
${_conditionType_} a.reviewSource in
<foreach collection="conditionParamRef.reviewSourceList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reviewSourceNotList') and conditionParamRef.reviewSourceNotList.size() > 0">
${_conditionType_} a.reviewSource not in
<foreach collection="conditionParamRef.reviewSourceNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reviewDevice')">
<if test="conditionParamRef.reviewDevice != null and conditionParamRef.reviewDevice != ''">
${_conditionType_} a.reviewDevice like #{${_conditionParam_}.reviewDevice}
</if>
<if test="conditionParamRef.reviewDevice == null">
${_conditionType_} a.reviewDevice is null
</if>
</if>
<if test="conditionParamRef.containsKey('reviewDeviceList') and conditionParamRef.reviewDeviceList.size() > 0">
${_conditionType_} a.reviewDevice in
<foreach collection="conditionParamRef.reviewDeviceList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reviewDeviceNotList') and conditionParamRef.reviewDeviceNotList.size() > 0">
${_conditionType_} a.reviewDevice not in
<foreach collection="conditionParamRef.reviewDeviceNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainTitle')">
<if test="conditionParamRef.complainTitle != null and conditionParamRef.complainTitle != ''">
${_conditionType_} a.complainTitle like #{${_conditionParam_}.complainTitle}
</if>
<if test="conditionParamRef.complainTitle == null">
${_conditionType_} a.complainTitle is null
</if>
</if>
<if test="conditionParamRef.containsKey('complainTitleList') and conditionParamRef.complainTitleList.size() > 0">
${_conditionType_} a.complainTitle in
<foreach collection="conditionParamRef.complainTitleList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainTitleNotList') and conditionParamRef.complainTitleNotList.size() > 0">
${_conditionType_} a.complainTitle not in
<foreach collection="conditionParamRef.complainTitleNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainContent')">
<if test="conditionParamRef.complainContent != null and conditionParamRef.complainContent != ''">
${_conditionType_} a.complainContent like #{${_conditionParam_}.complainContent}
</if>
<if test="conditionParamRef.complainContent == null">
${_conditionType_} a.complainContent is null
</if>
</if>
<if test="conditionParamRef.containsKey('complainContentList') and conditionParamRef.complainContentList.size() > 0">
${_conditionType_} a.complainContent in
<foreach collection="conditionParamRef.complainContentList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainContentNotList') and conditionParamRef.complainContentNotList.size() > 0">
${_conditionType_} a.complainContent not in
<foreach collection="conditionParamRef.complainContentNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainRealName')">
<if test="conditionParamRef.complainRealName != null and conditionParamRef.complainRealName != ''">
${_conditionType_} a.complainRealName like #{${_conditionParam_}.complainRealName}
</if>
<if test="conditionParamRef.complainRealName == null">
${_conditionType_} a.complainRealName is null
</if>
</if>
<if test="conditionParamRef.containsKey('complainRealNameList') and conditionParamRef.complainRealNameList.size() > 0">
${_conditionType_} a.complainRealName in
<foreach collection="conditionParamRef.complainRealNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainRealNameNotList') and conditionParamRef.complainRealNameNotList.size() > 0">
${_conditionType_} a.complainRealName not in
<foreach collection="conditionParamRef.complainRealNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('contact')">
<if test="conditionParamRef.contact != null and conditionParamRef.contact != ''">
${_conditionType_} a.contact like #{${_conditionParam_}.contact}
</if>
<if test="conditionParamRef.contact == null">
${_conditionType_} a.contact is null
</if>
</if>
<if test="conditionParamRef.containsKey('contactList') and conditionParamRef.contactList.size() > 0">
${_conditionType_} a.contact in
<foreach collection="conditionParamRef.contactList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('contactNotList') and conditionParamRef.contactNotList.size() > 0">
${_conditionType_} a.contact not in
<foreach collection="conditionParamRef.contactNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainTime')">
<if test="conditionParamRef.complainTime != null ">
${_conditionType_} a.complainTime = #{${_conditionParam_}.complainTime}
</if>
<if test="conditionParamRef.complainTime == null">
${_conditionType_} a.complainTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('complainTimeStart') and conditionParamRef.complainTimeStart != null and conditionParamRef.complainTimeStart!=''">
${_conditionType_} a.complainTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.complainTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('complainTimeEnd') and conditionParamRef.complainTimeEnd != null and conditionParamRef.complainTimeEnd!=''">
${_conditionType_} a.complainTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.complainTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('complainSource')">
<if test="conditionParamRef.complainSource != null and conditionParamRef.complainSource != ''">
${_conditionType_} a.complainSource like #{${_conditionParam_}.complainSource}
</if>
<if test="conditionParamRef.complainSource == null">
${_conditionType_} a.complainSource is null
</if>
</if>
<if test="conditionParamRef.containsKey('complainSourceList') and conditionParamRef.complainSourceList.size() > 0">
${_conditionType_} a.complainSource in
<foreach collection="conditionParamRef.complainSourceList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainSourceNotList') and conditionParamRef.complainSourceNotList.size() > 0">
${_conditionType_} a.complainSource not in
<foreach collection="conditionParamRef.complainSourceNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainDevice')">
<if test="conditionParamRef.complainDevice != null and conditionParamRef.complainDevice != ''">
${_conditionType_} a.complainDevice like #{${_conditionParam_}.complainDevice}
</if>
<if test="conditionParamRef.complainDevice == null">
${_conditionType_} a.complainDevice is null
</if>
</if>
<if test="conditionParamRef.containsKey('complainDeviceList') and conditionParamRef.complainDeviceList.size() > 0">
${_conditionType_} a.complainDevice in
<foreach collection="conditionParamRef.complainDeviceList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('complainDeviceNotList') and conditionParamRef.complainDeviceNotList.size() > 0">
${_conditionType_} a.complainDevice not in
<foreach collection="conditionParamRef.complainDeviceNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('goworkCode')">
<if test="conditionParamRef.goworkCode != null and conditionParamRef.goworkCode != ''">
${_conditionType_} a.goworkCode like #{${_conditionParam_}.goworkCode}
</if>
<if test="conditionParamRef.goworkCode == null">
${_conditionType_} a.goworkCode is null
</if>
</if>
<if test="conditionParamRef.containsKey('goworkCodeList') and conditionParamRef.goworkCodeList.size() > 0">
${_conditionType_} a.goworkCode in
<foreach collection="conditionParamRef.goworkCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('goworkCodeNotList') and conditionParamRef.goworkCodeNotList.size() > 0">
${_conditionType_} a.goworkCode not in
<foreach collection="conditionParamRef.goworkCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('goworkDepts')">
<if test="conditionParamRef.goworkDepts != null and conditionParamRef.goworkDepts != ''">
${_conditionType_} a.goworkDepts like #{${_conditionParam_}.goworkDepts}
</if>
<if test="conditionParamRef.goworkDepts == null">
${_conditionType_} a.goworkDepts is null
</if>
</if>
<if test="conditionParamRef.containsKey('goworkDeptsList') and conditionParamRef.goworkDeptsList.size() > 0">
${_conditionType_} a.goworkDepts in
<foreach collection="conditionParamRef.goworkDeptsList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('goworkDeptsNotList') and conditionParamRef.goworkDeptsNotList.size() > 0">
${_conditionType_} a.goworkDepts not in
<foreach collection="conditionParamRef.goworkDeptsNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterlName')">
<if test="conditionParamRef.matterlName != null and conditionParamRef.matterlName != ''">
${_conditionType_} a.matterlName like #{${_conditionParam_}.matterlName}
</if>
<if test="conditionParamRef.matterlName == null">
${_conditionType_} a.matterlName is null
</if>
</if>
<if test="conditionParamRef.containsKey('matterlNameList') and conditionParamRef.matterlNameList.size() > 0">
${_conditionType_} a.matterlName in
<foreach collection="conditionParamRef.matterlNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterlNameNotList') and conditionParamRef.matterlNameNotList.size() > 0">
${_conditionType_} a.matterlName not in
<foreach collection="conditionParamRef.matterlNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('goworkTime')">
<if test="conditionParamRef.goworkTime != null ">
${_conditionType_} a.goworkTime = #{${_conditionParam_}.goworkTime}
</if>
<if test="conditionParamRef.goworkTime == null">
${_conditionType_} a.goworkTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('goworkTimeStart') and conditionParamRef.goworkTimeStart != null and conditionParamRef.goworkTimeStart!=''">
${_conditionType_} a.goworkTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.goworkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('goworkTimeEnd') and conditionParamRef.goworkTimeEnd != null and conditionParamRef.goworkTimeEnd!=''">
${_conditionType_} a.goworkTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.goworkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('irregularType')">
<if test="conditionParamRef.irregularType != null ">
${_conditionType_} a.irregularType = #{${_conditionParam_}.irregularType}
</if>
<if test="conditionParamRef.irregularType == null">
${_conditionType_} a.irregularType is null
</if>
</if>
<if test="conditionParamRef.containsKey('irregularTypeList') and conditionParamRef.irregularTypeList.size() > 0">
${_conditionType_} a.irregularType in
<foreach collection="conditionParamRef.irregularTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('irregularTypeNotList') and conditionParamRef.irregularTypeNotList.size() > 0">
${_conditionType_} a.irregularType not in
<foreach collection="conditionParamRef.irregularTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('irregularTypeStart') and conditionParamRef.irregularTypeStart != null">
${_conditionType_} a.irregularType <![CDATA[ >= ]]> #{${_conditionParam_}.irregularTypeStart}
</if>
<if test="conditionParamRef.containsKey('irregularTypeEnd') and conditionParamRef.irregularTypeEnd != null">
${_conditionType_} a.irregularType <![CDATA[ <= ]]> #{${_conditionParam_}.irregularTypeEnd}
</if>
<if test="conditionParamRef.containsKey('happenTime')">
<if test="conditionParamRef.happenTime != null ">
${_conditionType_} a.happenTime = #{${_conditionParam_}.happenTime}
</if>
<if test="conditionParamRef.happenTime == null">
${_conditionType_} a.happenTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('happenTimeStart') and conditionParamRef.happenTimeStart != null and conditionParamRef.happenTimeStart!=''">
${_conditionType_} a.happenTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.happenTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('happenTimeEnd') and conditionParamRef.happenTimeEnd != null and conditionParamRef.happenTimeEnd!=''">
${_conditionType_} a.happenTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.happenTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('duration')">
<if test="conditionParamRef.duration != null ">
${_conditionType_} a.duration = #{${_conditionParam_}.duration}
</if>
<if test="conditionParamRef.duration == null">
${_conditionType_} a.duration is null
</if>
</if>
<if test="conditionParamRef.containsKey('durationList') and conditionParamRef.durationList.size() > 0">
${_conditionType_} a.duration in
<foreach collection="conditionParamRef.durationList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('durationNotList') and conditionParamRef.durationNotList.size() > 0">
${_conditionType_} a.duration not in
<foreach collection="conditionParamRef.durationNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('durationStart') and conditionParamRef.durationStart != null">
${_conditionType_} a.duration <![CDATA[ >= ]]> #{${_conditionParam_}.durationStart}
</if>
<if test="conditionParamRef.containsKey('durationEnd') and conditionParamRef.durationEnd != null">
${_conditionType_} a.duration <![CDATA[ <= ]]> #{${_conditionParam_}.durationEnd}
</if>
<if test="conditionParamRef.containsKey('alarmTime')">
<if test="conditionParamRef.alarmTime != null ">
${_conditionType_} a.alarmTime = #{${_conditionParam_}.alarmTime}
</if>
<if test="conditionParamRef.alarmTime == null">
${_conditionType_} a.alarmTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('alarmTimeStart') and conditionParamRef.alarmTimeStart != null and conditionParamRef.alarmTimeStart!=''">
${_conditionType_} a.alarmTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.alarmTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('alarmTimeEnd') and conditionParamRef.alarmTimeEnd != null and conditionParamRef.alarmTimeEnd!=''">
${_conditionType_} a.alarmTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.alarmTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('snapPath')">
<if test="conditionParamRef.snapPath != null and conditionParamRef.snapPath != ''">
${_conditionType_} a.snapPath like #{${_conditionParam_}.snapPath}
</if>
<if test="conditionParamRef.snapPath == null">
${_conditionType_} a.snapPath is null
</if>
</if>
<if test="conditionParamRef.containsKey('snapPathList') and conditionParamRef.snapPathList.size() > 0">
${_conditionType_} a.snapPath in
<foreach collection="conditionParamRef.snapPathList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('snapPathNotList') and conditionParamRef.snapPathNotList.size() > 0">
${_conditionType_} a.snapPath not in
<foreach collection="conditionParamRef.snapPathNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('irregularOtherType')">
<if test="conditionParamRef.irregularOtherType != null ">
${_conditionType_} a.irregularOtherType = #{${_conditionParam_}.irregularOtherType}
</if>
<if test="conditionParamRef.irregularOtherType == null">
${_conditionType_} a.irregularOtherType is null
</if>
</if>
<if test="conditionParamRef.containsKey('irregularOtherTypeList') and conditionParamRef.irregularOtherTypeList.size() > 0">
${_conditionType_} a.irregularOtherType in
<foreach collection="conditionParamRef.irregularOtherTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('irregularOtherTypeNotList') and conditionParamRef.irregularOtherTypeNotList.size() > 0">
${_conditionType_} a.irregularOtherType not in
<foreach collection="conditionParamRef.irregularOtherTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('irregularOtherTypeStart') and conditionParamRef.irregularOtherTypeStart != null">
${_conditionType_} a.irregularOtherType <![CDATA[ >= ]]> #{${_conditionParam_}.irregularOtherTypeStart}
</if>
<if test="conditionParamRef.containsKey('irregularOtherTypeEnd') and conditionParamRef.irregularOtherTypeEnd != null">
${_conditionType_} a.irregularOtherType <![CDATA[ <= ]]> #{${_conditionParam_}.irregularOtherTypeEnd}
</if>
<if test="conditionParamRef.containsKey('performType')">
<if test="conditionParamRef.performType != null and conditionParamRef.performType != ''">
${_conditionType_} a.performType like #{${_conditionParam_}.performType}
</if>
<if test="conditionParamRef.performType == null">
${_conditionType_} a.performType is null
</if>
</if>
<if test="conditionParamRef.containsKey('performTypeList') and conditionParamRef.performTypeList.size() > 0">
${_conditionType_} a.performType in
<foreach collection="conditionParamRef.performTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('performTypeNotList') and conditionParamRef.performTypeNotList.size() > 0">
${_conditionType_} a.performType not in
<foreach collection="conditionParamRef.performTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
</sql> </sql>
<sql id="_orderCols_"> <sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()"> <if test="orderColList != null and !orderColList.isEmpty()">
...@@ -1645,6 +2441,116 @@ ...@@ -1645,6 +2441,116 @@
<if test='orderCol.violationType != null and "DESC".equalsIgnoreCase(orderCol.violationType)'>DESC</if> <if test='orderCol.violationType != null and "DESC".equalsIgnoreCase(orderCol.violationType)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('reviewResult')">
a.reviewResult
<if test='orderCol.reviewResult != null and "DESC".equalsIgnoreCase(orderCol.reviewResult)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('reviewTime')">
a.reviewTime
<if test='orderCol.reviewTime != null and "DESC".equalsIgnoreCase(orderCol.reviewTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('reviewSource')">
a.reviewSource
<if test='orderCol.reviewSource != null and "DESC".equalsIgnoreCase(orderCol.reviewSource)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('reviewDevice')">
a.reviewDevice
<if test='orderCol.reviewDevice != null and "DESC".equalsIgnoreCase(orderCol.reviewDevice)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('complainTitle')">
a.complainTitle
<if test='orderCol.complainTitle != null and "DESC".equalsIgnoreCase(orderCol.complainTitle)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('complainContent')">
a.complainContent
<if test='orderCol.complainContent != null and "DESC".equalsIgnoreCase(orderCol.complainContent)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('complainRealName')">
a.complainRealName
<if test='orderCol.complainRealName != null and "DESC".equalsIgnoreCase(orderCol.complainRealName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('contact')">
a.contact
<if test='orderCol.contact != null and "DESC".equalsIgnoreCase(orderCol.contact)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('complainTime')">
a.complainTime
<if test='orderCol.complainTime != null and "DESC".equalsIgnoreCase(orderCol.complainTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('complainSource')">
a.complainSource
<if test='orderCol.complainSource != null and "DESC".equalsIgnoreCase(orderCol.complainSource)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('complainDevice')">
a.complainDevice
<if test='orderCol.complainDevice != null and "DESC".equalsIgnoreCase(orderCol.complainDevice)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('goworkCode')">
a.goworkCode
<if test='orderCol.goworkCode != null and "DESC".equalsIgnoreCase(orderCol.goworkCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('goworkDepts')">
a.goworkDepts
<if test='orderCol.goworkDepts != null and "DESC".equalsIgnoreCase(orderCol.goworkDepts)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('matterlName')">
a.matterlName
<if test='orderCol.matterlName != null and "DESC".equalsIgnoreCase(orderCol.matterlName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('goworkTime')">
a.goworkTime
<if test='orderCol.goworkTime != null and "DESC".equalsIgnoreCase(orderCol.goworkTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('irregularType')">
a.irregularType
<if test='orderCol.irregularType != null and "DESC".equalsIgnoreCase(orderCol.irregularType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('happenTime')">
a.happenTime
<if test='orderCol.happenTime != null and "DESC".equalsIgnoreCase(orderCol.happenTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('duration')">
a.duration
<if test='orderCol.duration != null and "DESC".equalsIgnoreCase(orderCol.duration)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('alarmTime')">
a.alarmTime
<if test='orderCol.alarmTime != null and "DESC".equalsIgnoreCase(orderCol.alarmTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('snapPath')">
a.snapPath
<if test='orderCol.snapPath != null and "DESC".equalsIgnoreCase(orderCol.snapPath)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('irregularOtherType')">
a.irregularOtherType
<if test='orderCol.irregularOtherType != null and "DESC".equalsIgnoreCase(orderCol.irregularOtherType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('performType')">
a.performType
<if test='orderCol.performType != null and "DESC".equalsIgnoreCase(orderCol.performType)'>DESC</if>
,
</if>
</trim> </trim>
</if> </if>
</sql> </sql>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd"> "mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.perform.dao.ibatis.PerformPerposeDeptDaoImpl"> <mapper namespace="com.mortals.xhx.module.perform.dao.ibatis.PerformPerposeDeptDaoImpl">
<!-- 字段和属性映射 --> <!-- 字段和属性映射 -->
<resultMap type="PerformPerposeDeptEntity" id="PerformPerposeDeptEntity-Map"> <resultMap type="PerformPerposeDeptEntity" id="PerformPerposeDeptEntity-Map">
<id property="Id" column="Id" /> <id property="id" column="id" />
<result property="purposeConfId" column="purposeConfId" /> <result property="purposeConfId" column="purposeConfId" />
<result property="deptId" column="deptId" /> <result property="deptId" column="deptId" />
<result property="deptName" column="deptName" /> <result property="deptName" column="deptName" />
<result property="remark" column="remark" /> <result property="remark" column="remark" />
<result property="createUserId" column="createUserId" /> <result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" /> <result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" /> <result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" /> <result property="updateTime" column="updateTime" />
</resultMap> </resultMap>
<!-- 表所有列 --> <!-- 表所有列 -->
<sql id="_columns"> <sql id="_columns">
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('Id') or colPickMode == 1 and data.containsKey('Id')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.Id, a.id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('purposeConfId') or colPickMode == 1 and data.containsKey('purposeConfId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('purposeConfId') or colPickMode == 1 and data.containsKey('purposeConfId')))">
a.purposeConfId, a.purposeConfId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))">
a.deptId, a.deptId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))">
a.deptName, a.deptName,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.remark, a.remark,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId, a.createUserId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime, a.createTime,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId, a.updateUserId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime, a.updateTime,
</if> </if>
</trim> </trim>
</sql> </sql>
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="PerformPerposeDeptEntity" useGeneratedKeys="true" keyProperty="Id"> <insert id="insert" parameterType="PerformPerposeDeptEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_perform_perpose_dept insert into mortals_xhx_perform_perpose_dept
(purposeConfId,deptId,deptName,remark,createUserId,createTime,updateUserId,updateTime) (purposeConfId,deptId,deptName,remark,createUserId,createTime,updateUserId,updateTime)
VALUES VALUES
...@@ -122,108 +122,108 @@ ...@@ -122,108 +122,108 @@
<update id="updateBatch" parameterType="paramDto"> <update id="updateBatch" parameterType="paramDto">
update mortals_xhx_perform_perpose_dept as a update mortals_xhx_perform_perpose_dept as a
<trim prefix="set" suffixOverrides=","> <trim prefix="set" suffixOverrides=",">
<trim prefix="purposeConfId=(case" suffix="ELSE purposeConfId end),"> <trim prefix="purposeConfId=(case" suffix="ELSE purposeConfId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('purposeConfId')) or (colPickMode==1 and !item.containsKey('purposeConfId'))"> <when test="(colPickMode==0 and item.containsKey('purposeConfId')) or (colPickMode==1 and !item.containsKey('purposeConfId'))">
when a.Id=#{item.Id} then #{item.purposeConfId} when a.id=#{item.id} then #{item.purposeConfId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('purposeConfIdIncrement')) or (colPickMode==1 and !item.containsKey('purposeConfIdIncrement'))"> <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 a.id=#{item.id} then ifnull(a.purposeConfId,0) + #{item.purposeConfIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="deptId=(case" suffix="ELSE deptId end),"> <trim prefix="deptId=(case" suffix="ELSE deptId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('deptId')) or (colPickMode==1 and !item.containsKey('deptId'))"> <when test="(colPickMode==0 and item.containsKey('deptId')) or (colPickMode==1 and !item.containsKey('deptId'))">
when a.Id=#{item.Id} then #{item.deptId} when a.id=#{item.id} then #{item.deptId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('deptIdIncrement')) or (colPickMode==1 and !item.containsKey('deptIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('deptIdIncrement')) or (colPickMode==1 and !item.containsKey('deptIdIncrement'))">
when a.Id=#{item.Id} then ifnull(a.deptId,0) + #{item.deptIdIncrement} when a.id=#{item.id} then ifnull(a.deptId,0) + #{item.deptIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="deptName=(case" suffix="ELSE deptName end),"> <trim prefix="deptName=(case" suffix="ELSE deptName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deptName')) or (colPickMode==1 and !item.containsKey('deptName'))"> <if test="(colPickMode==0 and item.containsKey('deptName')) or (colPickMode==1 and !item.containsKey('deptName'))">
when a.Id=#{item.Id} then #{item.deptName} when a.id=#{item.id} then #{item.deptName}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="remark=(case" suffix="ELSE remark end),"> <trim prefix="remark=(case" suffix="ELSE remark end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))"> <if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))">
when a.Id=#{item.Id} then #{item.remark} when a.id=#{item.id} then #{item.remark}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),"> <trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))"> <when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.Id=#{item.Id} then #{item.createUserId} when a.id=#{item.id} then #{item.createUserId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.Id=#{item.Id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement} when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),"> <trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))"> <if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.Id=#{item.Id} then #{item.createTime} when a.id=#{item.id} then #{item.createTime}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),"> <trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))"> <when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.Id=#{item.Id} then #{item.updateUserId} when a.id=#{item.id} then #{item.updateUserId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.Id=#{item.Id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement} when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),"> <trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))"> <if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.Id=#{item.Id} then #{item.updateTime} when a.id=#{item.id} then #{item.updateTime}
</if> </if>
</foreach> </foreach>
</trim> </trim>
</trim> </trim>
where Id in where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")"> <foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
#{item.Id} #{item.id}
</foreach> </foreach>
</update> </update>
<!-- 根据主健查询 --> <!-- 根据主健查询 -->
<select id="getByKey" parameterType="paramDto" resultMap="PerformPerposeDeptEntity-Map"> <select id="getByKey" parameterType="paramDto" resultMap="PerformPerposeDeptEntity-Map">
select <include refid="_columns"/> select <include refid="_columns"/>
from mortals_xhx_perform_perpose_dept as a from mortals_xhx_perform_perpose_dept as a
where a.Id=#{condition.Id} where a.id=#{condition.id}
</select> </select>
<!-- 根据主健删除 --> <!-- 根据主健删除 -->
<delete id="deleteByKey" parameterType="paramDto"> <delete id="deleteByKey" parameterType="paramDto">
delete a.* from mortals_xhx_perform_perpose_dept as a where a.Id=#{condition.Id} delete a.* from mortals_xhx_perform_perpose_dept as a where a.id=#{condition.id}
</delete> </delete>
<!-- 根据主健删除一批,针对单一主健有效 --> <!-- 根据主健删除一批,针对单一主健有效 -->
<delete id="deleteByKeys"> <delete id="deleteByKeys">
delete from mortals_xhx_perform_perpose_dept where Id in delete from mortals_xhx_perform_perpose_dept where id in
<foreach collection="array" item="item" index="index" open="(" separator="," close=")"> <foreach collection="array" item="item" index="index" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
</delete> </delete>
<!-- 根据主健列表删除一批,针对单一主健有效 --> <!-- 根据主健列表删除一批,针对单一主健有效 -->
<delete id="deleteByKeyList"> <delete id="deleteByKeyList">
delete from mortals_xhx_perform_perpose_dept where Id in delete from mortals_xhx_perform_perpose_dept where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")"> <foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
...@@ -231,9 +231,9 @@ ...@@ -231,9 +231,9 @@
<!-- 根据对象列表删除一批,针对单一主健有效 --> <!-- 根据对象列表删除一批,针对单一主健有效 -->
<delete id="deleteByEntityList"> <delete id="deleteByEntityList">
delete from mortals_xhx_perform_perpose_dept where Id in delete from mortals_xhx_perform_perpose_dept where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")"> <foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item.Id} #{item.id}
</foreach> </foreach>
</delete> </delete>
<!-- 根据paramDto删除一批 --> <!-- 根据paramDto删除一批 -->
...@@ -311,274 +311,274 @@ ...@@ -311,274 +311,274 @@
<bind name="conditionParamRef" value="${_conditionParam_}"/> <bind name="conditionParamRef" value="${_conditionParam_}"/>
<if test="conditionParamRef.containsKey('id')"> <if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null"> <if test="conditionParamRef.id != null">
${_conditionType_} a.Id=#{${_conditionParam_}.id} ${_conditionType_} a.id=#{${_conditionParam_}.id}
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('Id')"> <if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.Id != null "> <if test="conditionParamRef.id != null ">
${_conditionType_} a.Id = #{${_conditionParam_}.Id} ${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.Id == null">
${_conditionType_} a.Id is null
</if>
</if>
<if test="conditionParamRef.containsKey('IdList') and conditionParamRef.IdList.size() > 0">
${_conditionType_} a.Id in
<foreach collection="conditionParamRef.IdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('IdNotList') and conditionParamRef.IdNotList.size() > 0">
${_conditionType_} a.Id not in
<foreach collection="conditionParamRef.IdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('IdStart') and conditionParamRef.IdStart != null">
${_conditionType_} a.Id <![CDATA[ >= ]]> #{${_conditionParam_}.IdStart}
</if> </if>
<if test="conditionParamRef.containsKey('IdEnd') and conditionParamRef.IdEnd != null"> <if test="conditionParamRef.id == null">
${_conditionType_} a.Id <![CDATA[ <= ]]> #{${_conditionParam_}.IdEnd} ${_conditionType_} a.id is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('purposeConfId')"> <if test="conditionParamRef.containsKey('purposeConfId')">
<if test="conditionParamRef.purposeConfId != null "> <if test="conditionParamRef.purposeConfId != null ">
${_conditionType_} a.purposeConfId = #{${_conditionParam_}.purposeConfId} ${_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>
<if test="conditionParamRef.containsKey('purposeConfIdStart') and conditionParamRef.purposeConfIdStart != null"> <if test="conditionParamRef.purposeConfId == null">
${_conditionType_} a.purposeConfId <![CDATA[ >= ]]> #{${_conditionParam_}.purposeConfIdStart} ${_conditionType_} a.purposeConfId is null
</if>
<if test="conditionParamRef.containsKey('purposeConfIdEnd') and conditionParamRef.purposeConfIdEnd != null">
${_conditionType_} a.purposeConfId <![CDATA[ <= ]]> #{${_conditionParam_}.purposeConfIdEnd}
</if> </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.containsKey('deptId')">
<if test="conditionParamRef.deptId != null "> <if test="conditionParamRef.deptId != null ">
${_conditionType_} a.deptId = #{${_conditionParam_}.deptId} ${_conditionType_} a.deptId = #{${_conditionParam_}.deptId}
</if>
<if test="conditionParamRef.deptId == null">
${_conditionType_} a.deptId is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0"> <if test="conditionParamRef.deptId == null">
${_conditionType_} a.deptId in ${_conditionType_} a.deptId is null
<foreach collection="conditionParamRef.deptIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdNotList') and conditionParamRef.deptIdNotList.size() > 0">
${_conditionType_} a.deptId not in
<foreach collection="conditionParamRef.deptIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdStart') and conditionParamRef.deptIdStart != null">
${_conditionType_} a.deptId <![CDATA[ >= ]]> #{${_conditionParam_}.deptIdStart}
</if>
<if test="conditionParamRef.containsKey('deptIdEnd') and conditionParamRef.deptIdEnd != null">
${_conditionType_} a.deptId <![CDATA[ <= ]]> #{${_conditionParam_}.deptIdEnd}
</if> </if>
</if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
${_conditionType_} a.deptId in
<foreach collection="conditionParamRef.deptIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdNotList') and conditionParamRef.deptIdNotList.size() > 0">
${_conditionType_} a.deptId not in
<foreach collection="conditionParamRef.deptIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdStart') and conditionParamRef.deptIdStart != null">
${_conditionType_} a.deptId <![CDATA[ >= ]]> #{${_conditionParam_}.deptIdStart}
</if>
<if test="conditionParamRef.containsKey('deptIdEnd') and conditionParamRef.deptIdEnd != null">
${_conditionType_} a.deptId <![CDATA[ <= ]]> #{${_conditionParam_}.deptIdEnd}
</if>
<if test="conditionParamRef.containsKey('deptName')"> <if test="conditionParamRef.containsKey('deptName')">
<if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''"> <if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''">
${_conditionType_} a.deptName like #{${_conditionParam_}.deptName} ${_conditionType_} a.deptName like #{${_conditionParam_}.deptName}
</if>
<if test="conditionParamRef.deptName == null">
${_conditionType_} a.deptName is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('deptNameList') and conditionParamRef.deptNameList.size() > 0"> <if test="conditionParamRef.deptName == null">
${_conditionType_} a.deptName in ${_conditionType_} a.deptName is null
<foreach collection="conditionParamRef.deptNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptNameNotList') and conditionParamRef.deptNameNotList.size() > 0">
${_conditionType_} a.deptName not in
<foreach collection="conditionParamRef.deptNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('deptNameList') and conditionParamRef.deptNameList.size() > 0">
${_conditionType_} a.deptName in
<foreach collection="conditionParamRef.deptNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptNameNotList') and conditionParamRef.deptNameNotList.size() > 0">
${_conditionType_} a.deptName not in
<foreach collection="conditionParamRef.deptNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remark')"> <if test="conditionParamRef.containsKey('remark')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''"> <if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
${_conditionType_} a.remark like #{${_conditionParam_}.remark} ${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if>
<if test="conditionParamRef.remark == null">
${_conditionType_} a.remark is null
</if>
</if>
<if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0"> <if test="conditionParamRef.remark == null">
${_conditionType_} a.remark not in ${_conditionType_} a.remark is null
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0"> </if>
${_conditionType_} a.createUserId in <if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.remark in
#{item} <foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</if> </foreach>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0"> </if>
${_conditionType_} a.createUserId not in <if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.remark not in
#{item} <foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</if> </foreach>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null"> </if>
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart} <if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null"> <if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd} ${_conditionType_} a.createUserId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')"> <if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null "> <if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime} ${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''"> <if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.createTime is null
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0"> </if>
${_conditionType_} a.updateUserId in <if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
#{item} </if>
</foreach> <if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
</if> ${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0"> </if>
${_conditionType_} a.updateUserId not in <if test="conditionParamRef.containsKey('updateUserId')">
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=","> <if test="conditionParamRef.updateUserId != null ">
#{item} ${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null"> <if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd} ${_conditionType_} a.updateUserId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateTime')"> <if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null "> <if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime} ${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''"> <if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.updateTime is null
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
</sql> </sql>
<sql id="_orderCols_"> <sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()"> <if test="orderColList != null and !orderColList.isEmpty()">
order by order by
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=","> <foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
${item.colName} ${item.sortKind} ${item.colName} ${item.sortKind}
</foreach> </foreach>
</trim> </trim>
</if> </if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()"> <if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by order by
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="orderCol.containsKey('Id')"> <if test="orderCol.containsKey('id')">
a.Id a.id
<if test='orderCol.Id != null and "DESC".equalsIgnoreCase(orderCol.Id)'>DESC</if> <if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('purposeConfId')"> <if test="orderCol.containsKey('purposeConfId')">
a.purposeConfId a.purposeConfId
<if test='orderCol.purposeConfId != null and "DESC".equalsIgnoreCase(orderCol.purposeConfId)'>DESC</if> <if test='orderCol.purposeConfId != null and "DESC".equalsIgnoreCase(orderCol.purposeConfId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('deptId')"> <if test="orderCol.containsKey('deptId')">
a.deptId a.deptId
<if test='orderCol.deptId != null and "DESC".equalsIgnoreCase(orderCol.deptId)'>DESC</if> <if test='orderCol.deptId != null and "DESC".equalsIgnoreCase(orderCol.deptId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('deptName')"> <if test="orderCol.containsKey('deptName')">
a.deptName a.deptName
<if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if> <if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('remark')"> <if test="orderCol.containsKey('remark')">
a.remark a.remark
<if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if> <if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createUserId')"> <if test="orderCol.containsKey('createUserId')">
a.createUserId a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if> <if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createTime')"> <if test="orderCol.containsKey('createTime')">
a.createTime a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if> <if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateUserId')"> <if test="orderCol.containsKey('updateUserId')">
a.updateUserId a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if> <if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateTime')"> <if test="orderCol.containsKey('updateTime')">
a.updateTime a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if> <if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
, ,
</if> </if>
</trim> </trim>
</if> </if>
</sql> </sql>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd"> "mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.perform.dao.ibatis.PerformPerposeStaffDaoImpl"> <mapper namespace="com.mortals.xhx.module.perform.dao.ibatis.PerformPerposeStaffDaoImpl">
<!-- 字段和属性映射 --> <!-- 字段和属性映射 -->
<resultMap type="PerformPerposeStaffEntity" id="PerformPerposeStaffEntity-Map"> <resultMap type="PerformPerposeStaffEntity" id="PerformPerposeStaffEntity-Map">
<id property="Id" column="Id" /> <id property="id" column="id" />
<result property="purposeConfId" column="purposeConfId" /> <result property="purposeConfId" column="purposeConfId" />
<result property="staffId" column="staffId" /> <result property="staffId" column="staffId" />
<result property="staffName" column="staffName" /> <result property="staffName" column="staffName" />
<result property="number" column="number" /> <result property="number" column="number" />
<result property="remark" column="remark" /> <result property="remark" column="remark" />
<result property="createUserId" column="createUserId" /> <result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" /> <result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" /> <result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" /> <result property="updateTime" column="updateTime" />
</resultMap> </resultMap>
<!-- 表所有列 --> <!-- 表所有列 -->
<sql id="_columns"> <sql id="_columns">
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('Id') or colPickMode == 1 and data.containsKey('Id')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.Id, a.id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('purposeConfId') or colPickMode == 1 and data.containsKey('purposeConfId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('purposeConfId') or colPickMode == 1 and data.containsKey('purposeConfId')))">
a.purposeConfId, a.purposeConfId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffId') or colPickMode == 1 and data.containsKey('staffId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffId') or colPickMode == 1 and data.containsKey('staffId')))">
a.staffId, a.staffId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffName') or colPickMode == 1 and data.containsKey('staffName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffName') or colPickMode == 1 and data.containsKey('staffName')))">
a.staffName, a.staffName,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('number') or colPickMode == 1 and data.containsKey('number')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('number') or colPickMode == 1 and data.containsKey('number')))">
a.number, a.number,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.remark, a.remark,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId, a.createUserId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime, a.createTime,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId, a.updateUserId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime, a.updateTime,
</if> </if>
</trim> </trim>
</sql> </sql>
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
<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 insert into mortals_xhx_perform_perpose_staff
(purposeConfId,staffId,staffName,number,remark,createUserId,createTime,updateUserId,updateTime) (purposeConfId,staffId,staffName,number,remark,createUserId,createTime,updateUserId,updateTime)
VALUES VALUES
...@@ -129,115 +129,115 @@ ...@@ -129,115 +129,115 @@
<update id="updateBatch" parameterType="paramDto"> <update id="updateBatch" parameterType="paramDto">
update mortals_xhx_perform_perpose_staff as a update mortals_xhx_perform_perpose_staff as a
<trim prefix="set" suffixOverrides=","> <trim prefix="set" suffixOverrides=",">
<trim prefix="purposeConfId=(case" suffix="ELSE purposeConfId end),"> <trim prefix="purposeConfId=(case" suffix="ELSE purposeConfId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('purposeConfId')) or (colPickMode==1 and !item.containsKey('purposeConfId'))"> <when test="(colPickMode==0 and item.containsKey('purposeConfId')) or (colPickMode==1 and !item.containsKey('purposeConfId'))">
when a.Id=#{item.Id} then #{item.purposeConfId} when a.id=#{item.id} then #{item.purposeConfId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('purposeConfIdIncrement')) or (colPickMode==1 and !item.containsKey('purposeConfIdIncrement'))"> <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 a.id=#{item.id} then ifnull(a.purposeConfId,0) + #{item.purposeConfIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="staffId=(case" suffix="ELSE staffId end),"> <trim prefix="staffId=(case" suffix="ELSE staffId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('staffId')) or (colPickMode==1 and !item.containsKey('staffId'))"> <when test="(colPickMode==0 and item.containsKey('staffId')) or (colPickMode==1 and !item.containsKey('staffId'))">
when a.Id=#{item.Id} then #{item.staffId} when a.id=#{item.id} then #{item.staffId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('staffIdIncrement')) or (colPickMode==1 and !item.containsKey('staffIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('staffIdIncrement')) or (colPickMode==1 and !item.containsKey('staffIdIncrement'))">
when a.Id=#{item.Id} then ifnull(a.staffId,0) + #{item.staffIdIncrement} when a.id=#{item.id} then ifnull(a.staffId,0) + #{item.staffIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="staffName=(case" suffix="ELSE staffName end),"> <trim prefix="staffName=(case" suffix="ELSE staffName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('staffName')) or (colPickMode==1 and !item.containsKey('staffName'))"> <if test="(colPickMode==0 and item.containsKey('staffName')) or (colPickMode==1 and !item.containsKey('staffName'))">
when a.Id=#{item.Id} then #{item.staffName} when a.id=#{item.id} then #{item.staffName}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="number=(case" suffix="ELSE number end),"> <trim prefix="number=(case" suffix="ELSE number end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('number')) or (colPickMode==1 and !item.containsKey('number'))"> <if test="(colPickMode==0 and item.containsKey('number')) or (colPickMode==1 and !item.containsKey('number'))">
when a.Id=#{item.Id} then #{item.number} when a.id=#{item.id} then #{item.number}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="remark=(case" suffix="ELSE remark end),"> <trim prefix="remark=(case" suffix="ELSE remark end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))"> <if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))">
when a.Id=#{item.Id} then #{item.remark} when a.id=#{item.id} then #{item.remark}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),"> <trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))"> <when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.Id=#{item.Id} then #{item.createUserId} when a.id=#{item.id} then #{item.createUserId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.Id=#{item.Id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement} when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),"> <trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))"> <if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.Id=#{item.Id} then #{item.createTime} when a.id=#{item.id} then #{item.createTime}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),"> <trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))"> <when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.Id=#{item.Id} then #{item.updateUserId} when a.id=#{item.id} then #{item.updateUserId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.Id=#{item.Id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement} when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),"> <trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))"> <if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.Id=#{item.Id} then #{item.updateTime} when a.id=#{item.id} then #{item.updateTime}
</if> </if>
</foreach> </foreach>
</trim> </trim>
</trim> </trim>
where Id in where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")"> <foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
#{item.Id} #{item.id}
</foreach> </foreach>
</update> </update>
<!-- 根据主健查询 --> <!-- 根据主健查询 -->
<select id="getByKey" parameterType="paramDto" resultMap="PerformPerposeStaffEntity-Map"> <select id="getByKey" parameterType="paramDto" resultMap="PerformPerposeStaffEntity-Map">
select <include refid="_columns"/> select <include refid="_columns"/>
from mortals_xhx_perform_perpose_staff as a from mortals_xhx_perform_perpose_staff as a
where a.Id=#{condition.Id} where a.id=#{condition.id}
</select> </select>
<!-- 根据主健删除 --> <!-- 根据主健删除 -->
<delete id="deleteByKey" parameterType="paramDto"> <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>
<!-- 根据主健删除一批,针对单一主健有效 --> <!-- 根据主健删除一批,针对单一主健有效 -->
<delete id="deleteByKeys"> <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=")"> <foreach collection="array" item="item" index="index" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
</delete> </delete>
<!-- 根据主健列表删除一批,针对单一主健有效 --> <!-- 根据主健列表删除一批,针对单一主健有效 -->
<delete id="deleteByKeyList"> <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=")"> <foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
...@@ -245,9 +245,9 @@ ...@@ -245,9 +245,9 @@
<!-- 根据对象列表删除一批,针对单一主健有效 --> <!-- 根据对象列表删除一批,针对单一主健有效 -->
<delete id="deleteByEntityList"> <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=")"> <foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item.Id} #{item.id}
</foreach> </foreach>
</delete> </delete>
<!-- 根据paramDto删除一批 --> <!-- 根据paramDto删除一批 -->
...@@ -325,300 +325,300 @@ ...@@ -325,300 +325,300 @@
<bind name="conditionParamRef" value="${_conditionParam_}"/> <bind name="conditionParamRef" value="${_conditionParam_}"/>
<if test="conditionParamRef.containsKey('id')"> <if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null"> <if test="conditionParamRef.id != null">
${_conditionType_} a.Id=#{${_conditionParam_}.id} ${_conditionType_} a.id=#{${_conditionParam_}.id}
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('Id')"> <if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.Id != null "> <if test="conditionParamRef.id != null ">
${_conditionType_} a.Id = #{${_conditionParam_}.Id} ${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.Id == null">
${_conditionType_} a.Id is null
</if>
</if>
<if test="conditionParamRef.containsKey('IdList') and conditionParamRef.IdList.size() > 0">
${_conditionType_} a.Id in
<foreach collection="conditionParamRef.IdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('IdNotList') and conditionParamRef.IdNotList.size() > 0">
${_conditionType_} a.Id not in
<foreach collection="conditionParamRef.IdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('IdStart') and conditionParamRef.IdStart != null">
${_conditionType_} a.Id <![CDATA[ >= ]]> #{${_conditionParam_}.IdStart}
</if> </if>
<if test="conditionParamRef.containsKey('IdEnd') and conditionParamRef.IdEnd != null"> <if test="conditionParamRef.id == null">
${_conditionType_} a.Id <![CDATA[ <= ]]> #{${_conditionParam_}.IdEnd} ${_conditionType_} a.id is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('purposeConfId')"> <if test="conditionParamRef.containsKey('purposeConfId')">
<if test="conditionParamRef.purposeConfId != null "> <if test="conditionParamRef.purposeConfId != null ">
${_conditionType_} a.purposeConfId = #{${_conditionParam_}.purposeConfId} ${_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>
<if test="conditionParamRef.containsKey('purposeConfIdNotList') and conditionParamRef.purposeConfIdNotList.size() > 0"> <if test="conditionParamRef.purposeConfId == null">
${_conditionType_} a.purposeConfId not in ${_conditionType_} a.purposeConfId is null
<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>
</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.containsKey('staffId')">
<if test="conditionParamRef.staffId != null "> <if test="conditionParamRef.staffId != null ">
${_conditionType_} a.staffId = #{${_conditionParam_}.staffId} ${_conditionType_} a.staffId = #{${_conditionParam_}.staffId}
</if>
<if test="conditionParamRef.staffId == null">
${_conditionType_} a.staffId is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('staffIdList') and conditionParamRef.staffIdList.size() > 0"> <if test="conditionParamRef.staffId == null">
${_conditionType_} a.staffId in ${_conditionType_} a.staffId is null
<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>
</if>
<if test="conditionParamRef.containsKey('staffIdList') and conditionParamRef.staffIdList.size() > 0">
${_conditionType_} a.staffId in
<foreach collection="conditionParamRef.staffIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('staffIdNotList') and conditionParamRef.staffIdNotList.size() > 0">
${_conditionType_} a.staffId not in
<foreach collection="conditionParamRef.staffIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('staffIdStart') and conditionParamRef.staffIdStart != null">
${_conditionType_} a.staffId <![CDATA[ >= ]]> #{${_conditionParam_}.staffIdStart}
</if>
<if test="conditionParamRef.containsKey('staffIdEnd') and conditionParamRef.staffIdEnd != null">
${_conditionType_} a.staffId <![CDATA[ <= ]]> #{${_conditionParam_}.staffIdEnd}
</if>
<if test="conditionParamRef.containsKey('staffName')"> <if test="conditionParamRef.containsKey('staffName')">
<if test="conditionParamRef.staffName != null and conditionParamRef.staffName != ''"> <if test="conditionParamRef.staffName != null and conditionParamRef.staffName != ''">
${_conditionType_} a.staffName like #{${_conditionParam_}.staffName} ${_conditionType_} a.staffName like #{${_conditionParam_}.staffName}
</if>
<if test="conditionParamRef.staffName == null">
${_conditionType_} a.staffName is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('staffNameList') and conditionParamRef.staffNameList.size() > 0"> <if test="conditionParamRef.staffName == null">
${_conditionType_} a.staffName in ${_conditionType_} a.staffName is null
<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>
</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.containsKey('number')">
<if test="conditionParamRef.number != null and conditionParamRef.number != ''"> <if test="conditionParamRef.number != null and conditionParamRef.number != ''">
${_conditionType_} a.number like #{${_conditionParam_}.number} ${_conditionType_} a.number like #{${_conditionParam_}.number}
</if>
<if test="conditionParamRef.number == null">
${_conditionType_} a.number is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('numberList') and conditionParamRef.numberList.size() > 0"> <if test="conditionParamRef.number == null">
${_conditionType_} a.number in ${_conditionType_} a.number is null
<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>
</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.containsKey('remark')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''"> <if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
${_conditionType_} a.remark like #{${_conditionParam_}.remark} ${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if>
<if test="conditionParamRef.remark == null">
${_conditionType_} a.remark is null
</if>
</if>
<if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0"> <if test="conditionParamRef.remark == null">
${_conditionType_} a.remark not in ${_conditionType_} a.remark is null
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null"> </if>
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart} <if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null"> <if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd} ${_conditionType_} a.createUserId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')"> <if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null "> <if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime} ${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if> </if>
<if test="conditionParamRef.containsKey('updateUserId')"> <if test="conditionParamRef.createTime == null">
<if test="conditionParamRef.updateUserId != null "> ${_conditionType_} a.createTime is null
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null"> </if>
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart} <if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null"> <if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd} ${_conditionType_} a.updateUserId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateTime')"> <if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null "> <if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime} ${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if> </if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''"> <if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.updateTime is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
</sql> </sql>
<sql id="_orderCols_"> <sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()"> <if test="orderColList != null and !orderColList.isEmpty()">
order by order by
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=","> <foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
${item.colName} ${item.sortKind} ${item.colName} ${item.sortKind}
</foreach> </foreach>
</trim> </trim>
</if> </if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()"> <if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by order by
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="orderCol.containsKey('Id')"> <if test="orderCol.containsKey('id')">
a.Id a.id
<if test='orderCol.Id != null and "DESC".equalsIgnoreCase(orderCol.Id)'>DESC</if> <if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('purposeConfId')"> <if test="orderCol.containsKey('purposeConfId')">
a.purposeConfId a.purposeConfId
<if test='orderCol.purposeConfId != null and "DESC".equalsIgnoreCase(orderCol.purposeConfId)'>DESC</if> <if test='orderCol.purposeConfId != null and "DESC".equalsIgnoreCase(orderCol.purposeConfId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('staffId')"> <if test="orderCol.containsKey('staffId')">
a.staffId a.staffId
<if test='orderCol.staffId != null and "DESC".equalsIgnoreCase(orderCol.staffId)'>DESC</if> <if test='orderCol.staffId != null and "DESC".equalsIgnoreCase(orderCol.staffId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('staffName')"> <if test="orderCol.containsKey('staffName')">
a.staffName a.staffName
<if test='orderCol.staffName != null and "DESC".equalsIgnoreCase(orderCol.staffName)'>DESC</if> <if test='orderCol.staffName != null and "DESC".equalsIgnoreCase(orderCol.staffName)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('number')"> <if test="orderCol.containsKey('number')">
a.number a.number
<if test='orderCol.number != null and "DESC".equalsIgnoreCase(orderCol.number)'>DESC</if> <if test='orderCol.number != null and "DESC".equalsIgnoreCase(orderCol.number)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('remark')"> <if test="orderCol.containsKey('remark')">
a.remark a.remark
<if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if> <if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createUserId')"> <if test="orderCol.containsKey('createUserId')">
a.createUserId a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if> <if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createTime')"> <if test="orderCol.containsKey('createTime')">
a.createTime a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if> <if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateUserId')"> <if test="orderCol.containsKey('updateUserId')">
a.updateUserId a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if> <if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateTime')"> <if test="orderCol.containsKey('updateTime')">
a.updateTime a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if> <if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
, ,
</if> </if>
</trim> </trim>
</if> </if>
</sql> </sql>
......
<?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.window.dao.ibatis.WindowOwnerDetailDaoImpl">
<!-- 字段和属性映射 -->
<resultMap type="WindowOwnerDetailEntity" id="WindowOwnerDetailEntity-Map">
<id property="id" column="id" />
<result property="ownerId" column="ownerId" />
<result property="staffId" column="staffId" />
<result property="remark" column="remark" />
<result property="createTime" column="createTime" />
<result property="createUserId" column="createUserId" />
<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('ownerId') or colPickMode == 1 and data.containsKey('ownerId')))">
a.ownerId,
</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('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.remark,
</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>
<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="WindowOwnerDetailEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_window_owner_detail
(ownerId,staffId,remark,createTime,createUserId,updateUserId,updateTime)
VALUES
(#{ownerId},#{staffId},#{remark},#{createTime},#{createUserId},#{updateUserId},#{updateTime})
</insert>
<!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_window_owner_detail
(ownerId,staffId,remark,createTime,createUserId,updateUserId,updateTime)
VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.ownerId},#{item.staffId},#{item.remark},#{item.createTime},#{item.createUserId},#{item.updateUserId},#{item.updateTime})
</foreach>
</insert>
<!-- 根据ParamDto更新 -->
<update id="update" parameterType="paramDto">
update mortals_xhx_window_owner_detail as a
set
<trim suffixOverrides="," suffix="">
<if test="(colPickMode==0 and data.containsKey('ownerId')) or (colPickMode==1 and !data.containsKey('ownerId'))">
a.ownerId=#{data.ownerId},
</if>
<if test="(colPickMode==0 and data.containsKey('ownerIdIncrement')) or (colPickMode==1 and !data.containsKey('ownerIdIncrement'))">
a.ownerId=ifnull(a.ownerId,0) + #{data.ownerIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('staffId')) or (colPickMode==1 and !data.containsKey('staffId'))">
a.staffId=#{data.staffId},
</if>
<if test="(colPickMode==0 and data.containsKey('staffIdIncrement')) or (colPickMode==1 and !data.containsKey('staffIdIncrement'))">
a.staffId=ifnull(a.staffId,0) + #{data.staffIdIncrement},
</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('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('updateUserId')) or (colPickMode==1 and !data.containsKey('updateUserId'))">
a.updateUserId=#{data.updateUserId},
</if>
<if test="(colPickMode==0 and data.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !data.containsKey('updateUserIdIncrement'))">
a.updateUserId=ifnull(a.updateUserId,0) + #{data.updateUserIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime},
</if>
</trim>
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</update>
<!-- 批量更新 -->
<update id="updateBatch" parameterType="paramDto">
update mortals_xhx_window_owner_detail as a
<trim prefix="set" suffixOverrides=",">
<trim prefix="ownerId=(case" suffix="ELSE ownerId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('ownerId')) or (colPickMode==1 and !item.containsKey('ownerId'))">
when a.id=#{item.id} then #{item.ownerId}
</when>
<when test="(colPickMode==0 and item.containsKey('ownerIdIncrement')) or (colPickMode==1 and !item.containsKey('ownerIdIncrement'))">
when a.id=#{item.id} then ifnull(a.ownerId,0) + #{item.ownerIdIncrement}
</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="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="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>
<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="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
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
#{item.id}
</foreach>
</update>
<!-- 根据主健查询 -->
<select id="getByKey" parameterType="paramDto" resultMap="WindowOwnerDetailEntity-Map">
select <include refid="_columns"/>
from mortals_xhx_window_owner_detail as a
where a.id=#{condition.id}
</select>
<!-- 根据主健删除 -->
<delete id="deleteByKey" parameterType="paramDto">
delete a.* from mortals_xhx_window_owner_detail as a where a.id=#{condition.id}
</delete>
<!-- 根据主健删除一批,针对单一主健有效 -->
<delete id="deleteByKeys">
delete from mortals_xhx_window_owner_detail where id in
<foreach collection="array" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据主健列表删除一批,针对单一主健有效 -->
<delete id="deleteByKeyList">
delete from mortals_xhx_window_owner_detail where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据对象列表删除一批,针对单一主健有效 -->
<delete id="deleteByEntityList">
delete from mortals_xhx_window_owner_detail 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_window_owner_detail as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</delete>
<!-- 获取列表 -->
<select id="getList" parameterType="paramDto" resultMap="WindowOwnerDetailEntity-Map">
select <include refid="_columns"/>
from mortals_xhx_window_owner_detail as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
<include refid="_orderCols_"/>
</select>
<!-- 获取 -->
<select id="getListCount" parameterType="paramDto" resultType="int">
select count(1)
from mortals_xhx_window_owner_detail as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</select>
<!-- 条件映射 -->
<sql id="_condition_">
<if test="condition != null and !condition.isEmpty()">
<!-- 条件映射-普通条件 -->
<include refid="_condition_param_">
<property name="_conditionParam_" value="condition"/>
<property name="_conditionType_" value="and"/>
</include>
<!-- 条件映射-集合之间使用AND,集合中元素使用OR-(list[0].1 or list[0].2) and (list[1].3 or list[1].4) -->
<if test="condition.containsKey('andConditionList') and !condition.andConditionList.isEmpty()">
and
<foreach collection="condition.andConditionList" open="(" close=")" index="index" item="andCondition" separator=" and ">
<trim prefixOverrides="or" prefix="(" suffix=")">
<include refid="_condition_param_">
<property name="_conditionParam_" value="andCondition"/>
<property name="_conditionType_" value="or"/>
</include>
</trim>
</foreach>
</if>
<!-- 条件映射-集合之间使用OR,集合中元素使用AND-(list[0].1 and list[0].2) or (list[1].3 and list[1].4) -->
<if test="condition.containsKey('orConditionList') and !condition.orConditionList.isEmpty()">
and
<foreach collection="condition.orConditionList" open="(" close=")" index="index" item="orCondition" separator=" or ">
<trim prefixOverrides="and" prefix="(" suffix=")">
<include refid="_condition_param_">
<property name="_conditionParam_" value="orCondition"/>
<property name="_conditionType_" value="and"/>
</include>
</trim>
</foreach>
</if>
</if>
</sql>
<!-- 条件映射-代参数 -->
<sql id="_condition_param_">
<bind name="conditionParamRef" value="${_conditionParam_}"/>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null">
${_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>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('ownerId')">
<if test="conditionParamRef.ownerId != null ">
${_conditionType_} a.ownerId = #{${_conditionParam_}.ownerId}
</if>
<if test="conditionParamRef.ownerId == null">
${_conditionType_} a.ownerId is null
</if>
</if>
<if test="conditionParamRef.containsKey('ownerIdList') and conditionParamRef.ownerIdList.size() > 0">
${_conditionType_} a.ownerId in
<foreach collection="conditionParamRef.ownerIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('ownerIdNotList') and conditionParamRef.ownerIdNotList.size() > 0">
${_conditionType_} a.ownerId not in
<foreach collection="conditionParamRef.ownerIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('ownerIdStart') and conditionParamRef.ownerIdStart != null">
${_conditionType_} a.ownerId <![CDATA[ >= ]]> #{${_conditionParam_}.ownerIdStart}
</if>
<if test="conditionParamRef.containsKey('ownerIdEnd') and conditionParamRef.ownerIdEnd != null">
${_conditionType_} a.ownerId <![CDATA[ <= ]]> #{${_conditionParam_}.ownerIdEnd}
</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>
<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('remark')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if>
<if test="conditionParamRef.remark == null">
${_conditionType_} a.remark is null
</if>
</if>
<if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('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}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
</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}
</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('ownerId')">
a.ownerId
<if test='orderCol.ownerId != null and "DESC".equalsIgnoreCase(orderCol.ownerId)'>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('remark')">
a.remark
<if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>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('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>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>
<sql id="_group_by_">
<if test="groupList != null and !groupList.isEmpty()">
GROUP BY
<trim suffixOverrides="," suffix="">
<foreach collection="groupList" open="" close="" index="index" item="item" separator=",">
${item}
</foreach>
</trim>
</if>
</sql>
</mapper>
\ No newline at end of file
...@@ -17,7 +17,17 @@ ...@@ -17,7 +17,17 @@
<result property="createUserId" column="createUserId" /> <result property="createUserId" column="createUserId" />
<result property="updateUserId" column="updateUserId" /> <result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" /> <result property="updateTime" column="updateTime" />
<collection property="windowOwnerDetailList" column="id" ofType="WindowOwnerDetailEntity" javaType="ArrayList" select="getWindowOwnerDetailByOwnerId"></collection>
</resultMap>
<resultMap type="WindowOwnerDetailEntity" id="WindowOwnerDetailEntity-Map">
<result property="id" column="id" />
<result property="ownerId" column="ownerId" />
<result property="staffId" column="staffId" />
<result property="remark" column="remark" />
<result property="createTime" column="createTime" />
<result property="createUserId" column="createUserId" />
<result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" />
</resultMap> </resultMap>
...@@ -62,6 +72,12 @@ ...@@ -62,6 +72,12 @@
</if> </if>
</trim> </trim>
</sql> </sql>
<!-- 子表所有列 -->
<sql id="_columns_sub">
<trim suffixOverrides="," suffix="">
b.id,b.ownerId,b.staffId,b.remark,b.createTime,b.createUserId,b.updateUserId,b.updateTime,
</trim>
</sql>
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="WindowOwnerEntity" useGeneratedKeys="true" keyProperty="id"> <insert id="insert" parameterType="WindowOwnerEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_window_owner insert into mortals_xhx_window_owner
...@@ -300,6 +316,14 @@ ...@@ -300,6 +316,14 @@
</trim> </trim>
<include refid="_orderCols_"/> <include refid="_orderCols_"/>
</select> </select>
<!-- 获取子列表 -->
<select id="getWindowOwnerDetailByOwnerId" parameterType="java.lang.Long" resultMap="WindowOwnerDetailEntity-Map">
select <include refid="_columns_sub"/>
from mortals_xhx_window_owner_detail as b
<trim suffixOverrides="where" suffix="">
where b.ownerId = #{id}
</trim>
</select>
......
...@@ -29,34 +29,56 @@ Authorization: {{authToken}} ...@@ -29,34 +29,56 @@ Authorization: {{authToken}}
Content-Type: application/json Content-Type: application/json
{ {
"checkRecordId":387, "checkRecordId":702,
"staffId":305, "staffId":566,
"staffName":"78kg5e", "staffName":"b7xpn0",
"workNum":"wy77ky", "workNum":"ymsc43",
"deptId":849, "deptId":975,
"deptName":"ry3y3a", "deptName":"x9lhxh",
"attendanceGroupId":7, "attendanceGroupId":352,
"attendanceGroupName":"s7n602", "attendanceGroupName":"ijhjyv",
"attendanceDate":"1688486400000", "attendanceDate":"1689091200000",
"ruleId":418, "ruleId":714,
"ruleName":"y3gz3p", "ruleName":"k3nou3",
"subMethod":1, "subMethod":1,
"subAddType":1, "subAddType":1,
"score":0.00, "score":0.00,
"goOffTimeStr":"rjf27a", "goOffTimeStr":"3tpp9v",
"errorTime":"1688486400000", "errorTime":"1689091200000",
"actualAttendTime":"1688486400000", "actualAttendTime":"1689091200000",
"errorResult":"ysfu6y", "errorResult":"e36tyi",
"checkPerson":"w4rf2x", "checkPerson":"brd56v",
"checkTime":"1688486400000", "checkTime":"1689091200000",
"checkDesc":"30plug", "checkDesc":"dxif0b",
"checkResult":"lu4x9b", "checkResult":"5wz0wh",
"processStatus":1, "processStatus":1,
"appealDesc":"cumgvt", "appealDesc":"bhhaf6",
"appealTime":"1688486400000", "appealTime":"1689091200000",
"appealResult":2, "appealResult":2,
"remark":"n4bgtv", "remark":"owbk12",
"violationType":"1t3xtd" "violationType":"7tb1sj",
"reviewResult":378,
"reviewTime":"1689091200000",
"reviewSource":"hvc7j5",
"reviewDevice":"rbmr61",
"complainTitle":"tirz94",
"complainContent":"wtjqma",
"complainRealName":"v9550o",
"contact":"9lzrer",
"complainTime":"1689091200000",
"complainSource":"r8xzzy",
"complainDevice":"odwoei",
"goworkCode":"ac7kwy",
"goworkDepts":"90jn57",
"matterlName":"9e1tph",
"goworkTime":"1689091200000",
"irregularType":767,
"happenTime":"1689091200000",
"duration":0,
"alarmTime":"1689091200000",
"snapPath":"7r7qk4",
"irregularOtherType":754,
"performType":"yqp4d7"
} }
> {% > {%
......
...@@ -15,7 +15,6 @@ client.global.set("authToken", JSON.parse(response.body).data.token); ...@@ -15,7 +15,6 @@ client.global.set("authToken", JSON.parse(response.body).data.token);
###窗口负责人列表 ###窗口负责人列表
POST {{baseUrl}}/window/owner/list POST {{baseUrl}}/window/owner/list
Authorization: {{authToken}}
Content-Type: application/json Content-Type: application/json
{ {
...@@ -31,12 +30,12 @@ Content-Type: application/json ...@@ -31,12 +30,12 @@ Content-Type: application/json
{ {
"deptId":0, "deptId":0,
"deptName":"idn5ru", "deptName":"b2vbef",
"name":"5kk6au", "name":"wjrhid",
"number":"xgrmfn", "number":"10uobg",
"phone":"qjnd6f", "phone":"cywvqa",
"windowCount":338, "windowCount":32,
"remark":"gobsbz", "remark":"7dryt2",
} }
> {% > {%
...@@ -45,12 +44,10 @@ client.global.set("WindowOwner_id", JSON.parse(response.body).data.id); ...@@ -45,12 +44,10 @@ client.global.set("WindowOwner_id", JSON.parse(response.body).data.id);
###窗口负责人查看 ###窗口负责人查看
GET {{baseUrl}}/window/owner/info?id={{WindowOwner_id}} GET {{baseUrl}}/window/owner/info?id={{WindowOwner_id}}
Authorization: {{authToken}}
Accept: application/json Accept: application/json
###窗口负责人编辑 ###窗口负责人编辑
GET {{baseUrl}}/window/owner/edit?id={{WindowOwner_id}} GET {{baseUrl}}/window/owner/edit?id={{WindowOwner_id}}
Authorization: {{authToken}}
Accept: application/json Accept: application/json
......
###登录
POST {{baseUrl}}/login/login
Content-Type: application/json
{
"loginName":"admin",
"password":"admin",
"securityCode":"8888"
}
> {%
client.global.set("SmsSet_id", JSON.parse(response.body).data.id);
client.global.set("authToken", JSON.parse(response.body).data.token);
%}
###窗口负责人详细列表
POST {{baseUrl}}/window/owner/detail/list
Content-Type: application/json
{
"page":1,
"size":10
}
###窗口负责人详细更新与保存
POST {{baseUrl}}/window/owner/detail/save
Authorization: {{authToken}}
Content-Type: application/json
{
"ownerId":0,
"staffId":0,
"remark":"14lr1t",
}
> {%
client.global.set("WindowOwnerDetail_id", JSON.parse(response.body).data.id);
%}
###窗口负责人详细查看
GET {{baseUrl}}/window/owner/detail/info?id={{WindowOwnerDetail_id}}
Accept: application/json
###窗口负责人详细编辑
GET {{baseUrl}}/window/owner/detail/edit?id={{WindowOwnerDetail_id}}
Accept: application/json
###窗口负责人详细删除
GET {{baseUrl}}/window/owner/detail/delete?id={{WindowOwnerDetail_id}}
Authorization: {{authToken}}
Accept: application/json
...@@ -420,3 +420,86 @@ ALTER TABLE mortals_xhx_staff_perform_stat ADD COLUMN `totalAddScore` decimal(10 ...@@ -420,3 +420,86 @@ ALTER TABLE mortals_xhx_staff_perform_stat ADD COLUMN `totalAddScore` decimal(10
ALTER TABLE mortals_xhx_staff_perform_stat ADD COLUMN `totalSubScore` decimal(10,2) DEFAULT 0.0 COMMENT '员工绩效减分总分数汇总' AFTER totalAddScore; ALTER TABLE mortals_xhx_staff_perform_stat ADD COLUMN `totalSubScore` decimal(10,2) DEFAULT 0.0 COMMENT '员工绩效减分总分数汇总' AFTER totalAddScore;
ALTER TABLE mortals_xhx_staff_perform_stat ADD COLUMN `complainScoreAdd` decimal(10,2) DEFAULT 0.0 COMMENT '员工绩效指标增加分数' AFTER totalSubScore; ALTER TABLE mortals_xhx_staff_perform_stat ADD COLUMN `complainScoreAdd` decimal(10,2) DEFAULT 0.0 COMMENT '员工绩效指标增加分数' AFTER totalSubScore;
ALTER TABLE mortals_xhx_staff_perform_stat ADD COLUMN `complainScoreSub` decimal(10,2) DEFAULT 0.0 COMMENT '员工绩效指标扣减分数' AFTER complainScoreAdd; ALTER TABLE mortals_xhx_staff_perform_stat ADD COLUMN `complainScoreSub` decimal(10,2) DEFAULT 0.0 COMMENT '员工绩效指标扣减分数' AFTER complainScoreAdd;
-- ----------------------------
-- 绩效记录申诉信息表
-- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_perform_attend_appeal`;
CREATE TABLE mortals_xhx_perform_attend_appeal(
`id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长',
`checkRecordId` bigint(20) COMMENT '核查记录Id',
`staffId` bigint(20) COMMENT '员工ID',
`staffName` varchar(64) NOT NULL COMMENT '员工姓名',
`workNum` varchar(128) COMMENT '工号',
`deptId` bigint(20) COMMENT '所属部门',
`deptName` varchar(128) COMMENT '所属部门名称',
`attendanceGroupId` bigint(20) COMMENT '所属考勤组ID',
`attendanceGroupName` varchar(128) COMMENT '所属考勤组名称',
`attendanceDate` datetime COMMENT '扣分时间',
`ruleId` bigint(20) COMMENT '绩效规则id',
`ruleName` varchar(128) COMMENT '规则名称',
`subMethod` tinyint(1) DEFAULT '1' COMMENT '扣分方式(1.系统自动,2.人工添加,3.大厅巡查)',
`subAddType` tinyint(1) DEFAULT '1' COMMENT '增减类型(1.增加,2.扣除)',
`score` decimal(10,2) DEFAULT '0.00' COMMENT '扣分或增加分值',
`goOffTimeStr` varchar(128) COMMENT '上下班时间',
`errorTime` datetime COMMENT '异常时间',
`actualAttendTime` datetime COMMENT '实际打卡时间',
`errorResult` varchar(128) COMMENT '异常处理结果',
`checkPerson` varchar(128) COMMENT '核查人员',
`checkTime` datetime COMMENT '核查时间',
`checkDesc` varchar(512) COMMENT '核查说明',
`checkResult` varchar(128) COMMENT '核查结果',
`processStatus` tinyint(1) DEFAULT '1' COMMENT '处理状态(1.未处理,2.已处理)',
`appealDesc` varchar(128) COMMENT '申诉说明',
`appealTime` datetime COMMENT '申诉时间',
`appealResult` tinyint(1) DEFAULT '2' COMMENT '申诉结果(1.通过,2.不通过)',
`remark` varchar(512) COMMENT '说明',
`violationType` varchar(64) COMMENT '违规类型,',
`reviewResult` tinyint(1) COMMENT '评价结果(1.非常不满意,2.差评)',
`reviewTime` datetime COMMENT '评价时间',
`reviewSource` varchar(64) COMMENT '评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)',
`reviewDevice` varchar(128) COMMENT '评价设备',
`complainTitle` varchar(128) COMMENT '投诉标题',
`complainContent` varchar(512) COMMENT '投诉内容',
`complainRealName` varchar(128) COMMENT '投诉人真实姓名',
`contact` varchar(128) COMMENT '联系电话',
`complainTime` datetime COMMENT '投诉时间',
`complainSource` varchar(128) COMMENT '投诉来源',
`complainDevice` varchar(128) COMMENT '投诉设备',
`goworkCode` varchar(128) COMMENT '办件编码',
`goworkDepts` varchar(512) COMMENT '办件所属部门',
`matterlName` varchar(256) COMMENT '事项名称',
`goworkTime` datetime COMMENT '办理时间',
`irregularType` tinyint(1) COMMENT '违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)',
`happenTime` datetime COMMENT '发生时间',
`duration` int(9) DEFAULT '0' COMMENT '持续时间,秒',
`alarmTime` datetime COMMENT '报警时间',
`snapPath` varchar(255) COMMENT '图片凭证地址',
`irregularOtherType` tinyint(1) COMMENT '违规类型(1.工作纪律)',
`performType` varchar(64) COMMENT '绩效类型【attend:考勤绩效,review:评价差评绩效,complain:评价投诉绩效,gowork:办件绩效,effect:效能绩效,other:其它绩效】',
`createUserId` bigint(20) NOT NULL COMMENT '创建用户',
`createTime` datetime NOT NULL COMMENT '创建时间',
`updateUserId` bigint(20) COMMENT '更新用户',
`updateTime` datetime COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='绩效记录申诉信息';
-- ----------------------------
-- 窗口负责人详细表
-- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_window_owner_detail`;
CREATE TABLE mortals_xhx_window_owner_detail(
`id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长',
`ownerId` bigint(20) DEFAULT '0' COMMENT '负责人Id',
`staffId` bigint(20) DEFAULT '0' COMMENT '员工id号',
`remark` varchar(255) COMMENT '备注',
`createTime` datetime COMMENT '创建时间',
`createUserId` bigint(20) COMMENT '创建用户',
`updateUserId` bigint(20) COMMENT '更新用户',
`updateTime` datetime COMMENT '修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='窗口负责人详细';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment