Commit 2f585aab authored by 廖旭伟's avatar 廖旭伟

修改综窗事项列表接口

parent 831ea89f
package com.mortals.xhx.system;
import com.alibaba.fastjson.JSON;
import com.mortals.framework.model.AccessLogPdu;
import com.mortals.framework.model.BizLogPdu;
import com.mortals.framework.model.ErrorLogPdu;
import com.mortals.framework.model.OperateLogPdu;
import com.mortals.framework.service.IMessageProduceService;
import com.mortals.xhx.common.keys.QueueKey;
import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
@Component
@Primary
@Slf4j
public class MessageProducer implements IMessageProduceService {
@Autowired
private RabbitTemplate rabbitTemplate;
public void syncAccessSend(AccessLogPdu accessLogPdu) {
//new Message(JSON.toJSONString(accessLogPdu).getBytes(StandardCharsets.UTF_8))
//rabbitTemplate.send(QueueKey.EXCHANGE, QueueKey.ACCESS_LOG_QUEUE,new Message(JSON.toJSONString(accessLogPdu).getBytes(StandardCharsets.UTF_8)));
rabbitTemplate.convertAndSend(QueueKey.EXCHANGE, QueueKey.ACCESS_LOG_QUEUE, JSON.toJSONString(accessLogPdu));
//rabbitTemplate.convertAndSend(QueueKey.EXCHANGE, QueueKey.ACCESS_LOG_QUEUE, accessLogPdu);
}
@Override
public void syncBizSend(BizLogPdu bizLogPdu) {
rabbitTemplate.convertAndSend(QueueKey.EXCHANGE, QueueKey.BIZ_LOG_QUEUE, JSON.toJSONString(bizLogPdu));
}
@Override
public void syncErrorSend(ErrorLogPdu errorLogPdu) {
rabbitTemplate.convertAndSend(QueueKey.EXCHANGE, QueueKey.ERROR_LOG_QUEUE, JSON.toJSONString(errorLogPdu));
}
@Override
public void syncOperSend(OperateLogPdu operLogPdu) {
rabbitTemplate.convertAndSend(QueueKey.EXCHANGE, QueueKey.OPERATION_LOG_QUEUE, JSON.toJSONString(operLogPdu));
}
}
//package com.mortals.xhx.system;
//
//import com.alibaba.fastjson.JSON;
//import com.mortals.framework.model.AccessLogPdu;
//import com.mortals.framework.model.BizLogPdu;
//import com.mortals.framework.model.ErrorLogPdu;
//import com.mortals.framework.model.OperateLogPdu;
//import com.mortals.framework.service.IMessageProduceService;
//import com.mortals.xhx.common.keys.QueueKey;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.amqp.rabbit.core.RabbitTemplate;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Primary;
//import org.springframework.stereotype.Component;
//
////@Component
//@Primary
//@Slf4j
//public class MessageProducer implements IMessageProduceService {
//
// @Autowired
// private RabbitTemplate rabbitTemplate;
//
// public void syncAccessSend(AccessLogPdu accessLogPdu) {
// //new Message(JSON.toJSONString(accessLogPdu).getBytes(StandardCharsets.UTF_8))
// //rabbitTemplate.send(QueueKey.EXCHANGE, QueueKey.ACCESS_LOG_QUEUE,new Message(JSON.toJSONString(accessLogPdu).getBytes(StandardCharsets.UTF_8)));
//
// rabbitTemplate.convertAndSend(QueueKey.EXCHANGE, QueueKey.ACCESS_LOG_QUEUE, JSON.toJSONString(accessLogPdu));
// //rabbitTemplate.convertAndSend(QueueKey.EXCHANGE, QueueKey.ACCESS_LOG_QUEUE, accessLogPdu);
// }
//
// @Override
// public void syncBizSend(BizLogPdu bizLogPdu) {
// rabbitTemplate.convertAndSend(QueueKey.EXCHANGE, QueueKey.BIZ_LOG_QUEUE, JSON.toJSONString(bizLogPdu));
// }
//
// @Override
// public void syncErrorSend(ErrorLogPdu errorLogPdu) {
// rabbitTemplate.convertAndSend(QueueKey.EXCHANGE, QueueKey.ERROR_LOG_QUEUE, JSON.toJSONString(errorLogPdu));
// }
//
// @Override
// public void syncOperSend(OperateLogPdu operLogPdu) {
// rabbitTemplate.convertAndSend(QueueKey.EXCHANGE, QueueKey.OPERATION_LOG_QUEUE, JSON.toJSONString(operLogPdu));
// }
//
//}
......@@ -9,6 +9,8 @@ import com.alibaba.fastjson.TypeReference;
import com.mortals.framework.annotation.UnAuth;
import com.mortals.framework.common.Rest;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.PageInfo;
import com.mortals.framework.model.Result;
import com.mortals.framework.service.ICacheService;
import com.mortals.xhx.busiz.req.ComplexImplementationReq;
import com.mortals.xhx.busiz.req.FindHandlingPageReq;
......@@ -32,6 +34,7 @@ import com.mortals.xhx.protocol.complex.matter.model.rsp.HandlingRspInfoList;
import lombok.extern.slf4j.Slf4j;
import org.apache.axis.utils.StringUtils;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
......@@ -39,7 +42,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collector;
import java.util.stream.Collectors;
......@@ -65,6 +70,7 @@ public class ComplexApiController {
@Autowired
private ApplyMatterService applyMatterService;
/**
* 事项列表查询
*
......@@ -76,33 +82,46 @@ public class ComplexApiController {
public String eventImplementationList(@RequestBody ComplexImplementationReq req) {
log.info("【事项列表查询】【请求体】--> " + JSONObject.toJSONString(req));
req.setUrlPath("eventImplementation/list");
ApiResp<String> rsp = new ApiResp<>();
ApiResp<Object> rsp = new ApiResp<>();
rsp.setMsg(ApiRespCodeEnum.SUCCESS.getLabel());
rsp.setCode(ApiRespCodeEnum.SUCCESS.getValue());
try {
req.setNonce(RandomUtil.randomNumbers(6));
cacheService.lpush(KEY_COMPLEX_REQ, JSONObject.toJSONString(req));
String rest = cacheService.blpop(KEY_EVENT_IMPLEMENTATION_RESP + req.getNonce(), HTTP_TIMEOUT, String.class);
if (ObjectUtil.isEmpty(rest)) {
throw new AppException("请求访问超时");
}
Rest<ImplementEventInfo> eventListRest = JSON.parseObject(rest, new TypeReference<Rest<ImplementEventInfo>>() {
});
if(eventListRest.getCode()==1){
Integer applyType = req.getApplyType()==null?1:req.getApplyType();
List<ApplyMatterEntity> entityList = applyMatterService.find(new ApplyMatterQuery().applyType(applyType));
if(CollectionUtils.isNotEmpty(entityList)) {
Set<String> matter = entityList.stream().map(t -> t.getEventId()).collect(Collectors.toSet());
for (RecordsItem item : eventListRest.getData().getRecords()) {
if(matter.contains(item.getEventId())){
item.setEnableFlag(1);
}else {
item.setEnableFlag(0);
}
}
}
}
return JSON.toJSONString(eventListRest);
PageInfo pageInfo = new PageInfo(req.getPageSize());
pageInfo.setCurrPage(req.getCurrentPage());
ApplyMatterEntity query = new ApplyMatterEntity();
BeanUtils.copyProperties(req, query);
Result<ApplyMatterEntity> result = applyMatterService.find(query,pageInfo,null);
Map<String, Object> model = new HashMap();
model.put("records",result.getList());
model.put("current",result.getPageInfo().getCurrPage());
model.put("pages",result.getPageInfo().getTotalPage());
model.put("size",result.getPageInfo().getPrePageResult());
model.put("total",result.getPageInfo().getTotalResult());
rsp.setData(model);
// req.setNonce(RandomUtil.randomNumbers(6));
// cacheService.lpush(KEY_COMPLEX_REQ, JSONObject.toJSONString(req));
// String rest = cacheService.blpop(KEY_EVENT_IMPLEMENTATION_RESP + req.getNonce(), HTTP_TIMEOUT, String.class);
// if (ObjectUtil.isEmpty(rest)) {
// throw new AppException("请求访问超时");
// }
// Rest<ImplementEventInfo> eventListRest = JSON.parseObject(rest, new TypeReference<Rest<ImplementEventInfo>>() {
// });
// if(eventListRest.getCode()==1){
// Integer applyType = req.getApplyType()==null?1:req.getApplyType();
// List<ApplyMatterEntity> entityList = applyMatterService.find(new ApplyMatterQuery().applyType(applyType));
// if(CollectionUtils.isNotEmpty(entityList)) {
// Set<String> matter = entityList.stream().map(t -> t.getEventId()).collect(Collectors.toSet());
// for (RecordsItem item : eventListRest.getData().getRecords()) {
// if(matter.contains(item.getEventId())){
// item.setEnableFlag(1);
// }else {
// item.setEnableFlag(0);
// }
// }
// }
// }
return JSON.toJSONString(rsp);
} catch (Exception e) {
log.error("接收数据失败", e);
rsp.setCode(ApiRespCodeEnum.FAILED.getValue());
......
......@@ -10,46 +10,58 @@ import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.vo.ApplyMatterVo;
import lombok.Data;
/**
* 申报事项列表实体对象
*
* @author zxfei
* @date 2024-06-20
*/
* 申报事项列表实体对象
*
* @author zxfei
* @date 2024-07-01
*/
@Data
public class ApplyMatterEntity extends ApplyMatterVo {
private static final long serialVersionUID = 1L;
/**
* 可申报类型
*/
* 可申报类型
*/
private Integer applyType;
/**
* 实施清单事项ID
*/
* 实施清单事项ID
*/
private String eventId;
/**
* 事项类型
*/
* 事项类型
*/
private String eventType;
/**
* 实施编码
*/
* 实施编码
*/
private String implementCoding;
/**
* 业务办理项编码
*/
* 业务办理项编码
*/
private String handlingItemCode;
/**
* 实施清单名称
*/
* 实施清单名称
*/
private String implementName;
/**
* 事项面向对象分类
*/
* 事项面向对象分类
*/
private String eventObjectType;
/**
* 是否纳入通办
*/
private String crossFlag;
/**
* 委托部门
*/
private Integer deptId;
/**
* 委托部门
*/
private String deptName;
@Override
public int hashCode() {
return this.getId().hashCode();
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
......@@ -57,19 +69,22 @@ public class ApplyMatterEntity extends ApplyMatterVo {
if (obj instanceof ApplyMatterEntity) {
ApplyMatterEntity tmp = (ApplyMatterEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
return true;
}
}
return false;
}
public void initAttrValue(){
this.applyType = 0;
this.eventId = "";
this.eventType = "";
this.implementCoding = "";
this.handlingItemCode = "";
this.implementName = "";
this.eventObjectType = "";
this.applyType = 0;
this.eventId = "";
this.eventType = "";
this.implementCoding = "";
this.handlingItemCode = "";
this.implementName = "";
this.eventObjectType = "";
this.crossFlag = "";
this.deptId = null;
this.deptName = "";
}
}
\ No newline at end of file
......@@ -3,11 +3,11 @@ package com.mortals.xhx.module.matter.model;
import java.util.List;
import com.mortals.xhx.module.matter.model.ApplyMatterEntity;
/**
* 申报事项列表查询对象
*
* @author zxfei
* @date 2024-06-20
*/
* 申报事项列表查询对象
*
* @author zxfei
* @date 2024-07-01
*/
public class ApplyMatterQuery extends ApplyMatterEntity {
/** 开始 序号,主键,自增长 */
private Long idStart;
......@@ -111,6 +111,31 @@ public class ApplyMatterQuery extends ApplyMatterEntity {
/** 结束 更新时间 */
private String updateTimeEnd;
/** 是否纳入通办 */
private List<String> crossFlagList;
/** 是否纳入通办排除列表 */
private List <String> crossFlagNotList;
/** 开始 委托部门 */
private Integer deptIdStart;
/** 结束 委托部门 */
private Integer deptIdEnd;
/** 增加 委托部门 */
private Integer deptIdIncrement;
/** 委托部门列表 */
private List <Integer> deptIdList;
/** 委托部门排除列表 */
private List <Integer> deptIdNotList;
/** 委托部门 */
private List<String> deptNameList;
/** 委托部门排除列表 */
private List <String> deptNameNotList;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<ApplyMatterQuery> orConditionList;
......@@ -120,945 +145,1182 @@ public class ApplyMatterQuery extends ApplyMatterEntity {
public ApplyMatterQuery(){}
/**
* 获取 开始 序号,主键,自增长
* @return idStart
*/
* 获取 开始 序号,主键,自增长
* @return idStart
*/
public Long getIdStart(){
return this.idStart;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public void setIdStart(Long idStart){
this.idStart = idStart;
}
/**
* 获取 结束 序号,主键,自增长
* @return $idEnd
*/
* 获取 结束 序号,主键,自增长
* @return $idEnd
*/
public Long getIdEnd(){
return this.idEnd;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public void setIdEnd(Long idEnd){
this.idEnd = idEnd;
}
/**
* 获取 增加 序号,主键,自增长
* @return idIncrement
*/
* 获取 增加 序号,主键,自增长
* @return idIncrement
*/
public Long getIdIncrement(){
return this.idIncrement;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement;
}
/**
* 获取 序号,主键,自增长
* @return idList
*/
* 获取 序号,主键,自增长
* @return idList
*/
public List<Long> getIdList(){
return this.idList;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
* 设置 序号,主键,自增长
* @param idList
*/
public void setIdList(List<Long> idList){
this.idList = idList;
}
/**
* 获取 序号,主键,自增长
* @return idNotList
*/
* 获取 序号,主键,自增长
* @return idNotList
*/
public List<Long> getIdNotList(){
return this.idNotList;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
* 设置 序号,主键,自增长
* @param idNotList
*/
public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList;
}
/**
* 获取 开始 可申报类型
* @return applyTypeStart
*/
* 获取 开始 可申报类型
* @return applyTypeStart
*/
public Integer getApplyTypeStart(){
return this.applyTypeStart;
}
/**
* 设置 开始 可申报类型
* @param applyTypeStart
*/
* 设置 开始 可申报类型
* @param applyTypeStart
*/
public void setApplyTypeStart(Integer applyTypeStart){
this.applyTypeStart = applyTypeStart;
}
/**
* 获取 结束 可申报类型
* @return $applyTypeEnd
*/
* 获取 结束 可申报类型
* @return $applyTypeEnd
*/
public Integer getApplyTypeEnd(){
return this.applyTypeEnd;
}
/**
* 设置 结束 可申报类型
* @param applyTypeEnd
*/
* 设置 结束 可申报类型
* @param applyTypeEnd
*/
public void setApplyTypeEnd(Integer applyTypeEnd){
this.applyTypeEnd = applyTypeEnd;
}
/**
* 获取 增加 可申报类型
* @return applyTypeIncrement
*/
* 获取 增加 可申报类型
* @return applyTypeIncrement
*/
public Integer getApplyTypeIncrement(){
return this.applyTypeIncrement;
}
/**
* 设置 增加 可申报类型
* @param applyTypeIncrement
*/
* 设置 增加 可申报类型
* @param applyTypeIncrement
*/
public void setApplyTypeIncrement(Integer applyTypeIncrement){
this.applyTypeIncrement = applyTypeIncrement;
}
/**
* 获取 可申报类型
* @return applyTypeList
*/
* 获取 可申报类型
* @return applyTypeList
*/
public List<Integer> getApplyTypeList(){
return this.applyTypeList;
}
/**
* 设置 可申报类型
* @param applyTypeList
*/
* 设置 可申报类型
* @param applyTypeList
*/
public void setApplyTypeList(List<Integer> applyTypeList){
this.applyTypeList = applyTypeList;
}
/**
* 获取 可申报类型
* @return applyTypeNotList
*/
* 获取 可申报类型
* @return applyTypeNotList
*/
public List<Integer> getApplyTypeNotList(){
return this.applyTypeNotList;
}
/**
* 设置 可申报类型
* @param applyTypeNotList
*/
* 设置 可申报类型
* @param applyTypeNotList
*/
public void setApplyTypeNotList(List<Integer> applyTypeNotList){
this.applyTypeNotList = applyTypeNotList;
}
/**
* 获取 实施清单事项ID
* @return eventIdList
*/
* 获取 实施清单事项ID
* @return eventIdList
*/
public List<String> getEventIdList(){
return this.eventIdList;
}
/**
* 设置 实施清单事项ID
* @param eventIdList
*/
* 设置 实施清单事项ID
* @param eventIdList
*/
public void setEventIdList(List<String> eventIdList){
this.eventIdList = eventIdList;
}
/**
* 获取 实施清单事项ID
* @return eventIdNotList
*/
* 获取 实施清单事项ID
* @return eventIdNotList
*/
public List<String> getEventIdNotList(){
return this.eventIdNotList;
}
/**
* 设置 实施清单事项ID
* @param eventIdNotList
*/
* 设置 实施清单事项ID
* @param eventIdNotList
*/
public void setEventIdNotList(List<String> eventIdNotList){
this.eventIdNotList = eventIdNotList;
}
/**
* 获取 事项类型
* @return eventTypeList
*/
* 获取 事项类型
* @return eventTypeList
*/
public List<String> getEventTypeList(){
return this.eventTypeList;
}
/**
* 设置 事项类型
* @param eventTypeList
*/
* 设置 事项类型
* @param eventTypeList
*/
public void setEventTypeList(List<String> eventTypeList){
this.eventTypeList = eventTypeList;
}
/**
* 获取 事项类型
* @return eventTypeNotList
*/
* 获取 事项类型
* @return eventTypeNotList
*/
public List<String> getEventTypeNotList(){
return this.eventTypeNotList;
}
/**
* 设置 事项类型
* @param eventTypeNotList
*/
* 设置 事项类型
* @param eventTypeNotList
*/
public void setEventTypeNotList(List<String> eventTypeNotList){
this.eventTypeNotList = eventTypeNotList;
}
/**
* 获取 实施编码
* @return implementCodingList
*/
* 获取 实施编码
* @return implementCodingList
*/
public List<String> getImplementCodingList(){
return this.implementCodingList;
}
/**
* 设置 实施编码
* @param implementCodingList
*/
* 设置 实施编码
* @param implementCodingList
*/
public void setImplementCodingList(List<String> implementCodingList){
this.implementCodingList = implementCodingList;
}
/**
* 获取 实施编码
* @return implementCodingNotList
*/
* 获取 实施编码
* @return implementCodingNotList
*/
public List<String> getImplementCodingNotList(){
return this.implementCodingNotList;
}
/**
* 设置 实施编码
* @param implementCodingNotList
*/
* 设置 实施编码
* @param implementCodingNotList
*/
public void setImplementCodingNotList(List<String> implementCodingNotList){
this.implementCodingNotList = implementCodingNotList;
}
/**
* 获取 业务办理项编码
* @return handlingItemCodeList
*/
* 获取 业务办理项编码
* @return handlingItemCodeList
*/
public List<String> getHandlingItemCodeList(){
return this.handlingItemCodeList;
}
/**
* 设置 业务办理项编码
* @param handlingItemCodeList
*/
* 设置 业务办理项编码
* @param handlingItemCodeList
*/
public void setHandlingItemCodeList(List<String> handlingItemCodeList){
this.handlingItemCodeList = handlingItemCodeList;
}
/**
* 获取 业务办理项编码
* @return handlingItemCodeNotList
*/
* 获取 业务办理项编码
* @return handlingItemCodeNotList
*/
public List<String> getHandlingItemCodeNotList(){
return this.handlingItemCodeNotList;
}
/**
* 设置 业务办理项编码
* @param handlingItemCodeNotList
*/
* 设置 业务办理项编码
* @param handlingItemCodeNotList
*/
public void setHandlingItemCodeNotList(List<String> handlingItemCodeNotList){
this.handlingItemCodeNotList = handlingItemCodeNotList;
}
/**
* 获取 实施清单名称
* @return implementNameList
*/
* 获取 实施清单名称
* @return implementNameList
*/
public List<String> getImplementNameList(){
return this.implementNameList;
}
/**
* 设置 实施清单名称
* @param implementNameList
*/
* 设置 实施清单名称
* @param implementNameList
*/
public void setImplementNameList(List<String> implementNameList){
this.implementNameList = implementNameList;
}
/**
* 获取 实施清单名称
* @return implementNameNotList
*/
* 获取 实施清单名称
* @return implementNameNotList
*/
public List<String> getImplementNameNotList(){
return this.implementNameNotList;
}
/**
* 设置 实施清单名称
* @param implementNameNotList
*/
* 设置 实施清单名称
* @param implementNameNotList
*/
public void setImplementNameNotList(List<String> implementNameNotList){
this.implementNameNotList = implementNameNotList;
}
/**
* 获取 事项面向对象分类
* @return eventObjectTypeList
*/
* 获取 事项面向对象分类
* @return eventObjectTypeList
*/
public List<String> getEventObjectTypeList(){
return this.eventObjectTypeList;
}
/**
* 设置 事项面向对象分类
* @param eventObjectTypeList
*/
* 设置 事项面向对象分类
* @param eventObjectTypeList
*/
public void setEventObjectTypeList(List<String> eventObjectTypeList){
this.eventObjectTypeList = eventObjectTypeList;
}
/**
* 获取 事项面向对象分类
* @return eventObjectTypeNotList
*/
* 获取 事项面向对象分类
* @return eventObjectTypeNotList
*/
public List<String> getEventObjectTypeNotList(){
return this.eventObjectTypeNotList;
}
/**
* 设置 事项面向对象分类
* @param eventObjectTypeNotList
*/
* 设置 事项面向对象分类
* @param eventObjectTypeNotList
*/
public void setEventObjectTypeNotList(List<String> eventObjectTypeNotList){
this.eventObjectTypeNotList = eventObjectTypeNotList;
}
/**
* 获取 开始 更新用户
* @return createUserIdStart
*/
* 获取 开始 更新用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 更新用户
* @param createUserIdStart
*/
* 设置 开始 更新用户
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 更新用户
* @return $createUserIdEnd
*/
* 获取 结束 更新用户
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 更新用户
* @param createUserIdEnd
*/
* 设置 结束 更新用户
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 更新用户
* @return createUserIdIncrement
*/
* 获取 增加 更新用户
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 更新用户
* @param createUserIdIncrement
*/
* 设置 增加 更新用户
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 更新用户
* @return createUserIdList
*/
* 获取 更新用户
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 更新用户
* @param createUserIdList
*/
* 设置 更新用户
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 更新用户
* @return createUserIdNotList
*/
* 获取 更新用户
* @return createUserIdNotList
*/
public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList;
}
/**
* 设置 更新用户
* @param createUserIdNotList
*/
* 设置 更新用户
* @param createUserIdNotList
*/
public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 更新用户
* @return updateUserIdStart
*/
* 获取 开始 更新用户
* @return updateUserIdStart
*/
public Long getUpdateUserIdStart(){
return this.updateUserIdStart;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
}
/**
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
}
/**
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
}
/**
* 获取 更新用户
* @return updateUserIdList
*/
* 获取 更新用户
* @return updateUserIdList
*/
public List<Long> getUpdateUserIdList(){
return this.updateUserIdList;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
* 设置 更新用户
* @param updateUserIdList
*/
public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
}
/**
* 获取 更新用户
* @return updateUserIdNotList
*/
* 获取 更新用户
* @return updateUserIdNotList
*/
public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
* 设置 更新用户
* @param updateUserIdNotList
*/
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
}
/**
* 获取 开始 更新时间
* @return updateTimeStart
*/
* 获取 开始 更新时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 更新时间
* @param updateTimeStart
*/
* 设置 开始 更新时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 更新时间
* @return updateTimeEnd
*/
* 获取 结束 更新时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 更新时间
* @param updateTimeEnd
*/
* 设置 结束 更新时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 设置 序号,主键,自增长
* @param id
*/
* 获取 是否纳入通办
* @return crossFlagList
*/
public List<String> getCrossFlagList(){
return this.crossFlagList;
}
/**
* 设置 是否纳入通办
* @param crossFlagList
*/
public void setCrossFlagList(List<String> crossFlagList){
this.crossFlagList = crossFlagList;
}
/**
* 获取 是否纳入通办
* @return crossFlagNotList
*/
public List<String> getCrossFlagNotList(){
return this.crossFlagNotList;
}
/**
* 设置 是否纳入通办
* @param crossFlagNotList
*/
public void setCrossFlagNotList(List<String> crossFlagNotList){
this.crossFlagNotList = crossFlagNotList;
}
/**
* 获取 开始 委托部门
* @return deptIdStart
*/
public Integer getDeptIdStart(){
return this.deptIdStart;
}
/**
* 设置 开始 委托部门
* @param deptIdStart
*/
public void setDeptIdStart(Integer deptIdStart){
this.deptIdStart = deptIdStart;
}
/**
* 获取 结束 委托部门
* @return $deptIdEnd
*/
public Integer getDeptIdEnd(){
return this.deptIdEnd;
}
/**
* 设置 结束 委托部门
* @param deptIdEnd
*/
public void setDeptIdEnd(Integer deptIdEnd){
this.deptIdEnd = deptIdEnd;
}
/**
* 获取 增加 委托部门
* @return deptIdIncrement
*/
public Integer getDeptIdIncrement(){
return this.deptIdIncrement;
}
/**
* 设置 增加 委托部门
* @param deptIdIncrement
*/
public void setDeptIdIncrement(Integer deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
}
/**
* 获取 委托部门
* @return deptIdList
*/
public List<Integer> getDeptIdList(){
return this.deptIdList;
}
/**
* 设置 委托部门
* @param deptIdList
*/
public void setDeptIdList(List<Integer> deptIdList){
this.deptIdList = deptIdList;
}
/**
* 获取 委托部门
* @return deptIdNotList
*/
public List<Integer> getDeptIdNotList(){
return this.deptIdNotList;
}
/**
* 设置 委托部门
* @param deptIdNotList
*/
public void setDeptIdNotList(List<Integer> deptIdNotList){
this.deptIdNotList = deptIdNotList;
}
/**
* 获取 委托部门
* @return deptNameList
*/
public List<String> getDeptNameList(){
return this.deptNameList;
}
/**
* 设置 委托部门
* @param deptNameList
*/
public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
}
/**
* 获取 委托部门
* @return deptNameNotList
*/
public List<String> getDeptNameNotList(){
return this.deptNameNotList;
}
/**
* 设置 委托部门
* @param deptNameNotList
*/
public void setDeptNameNotList(List<String> deptNameNotList){
this.deptNameNotList = deptNameNotList;
}
/**
* 设置 序号,主键,自增长
* @param id
*/
public ApplyMatterQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public ApplyMatterQuery idStart(Long idStart){
this.idStart = idStart;
return this;
this.idStart = idStart;
return this;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public ApplyMatterQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public ApplyMatterQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
* 设置 序号,主键,自增长
* @param idList
*/
public ApplyMatterQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public ApplyMatterQuery idNotList(List<Long> idNotList){
return this;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public ApplyMatterQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
}
/**
* 设置 可申报类型
* @param applyType
*/
* 设置 可申报类型
* @param applyType
*/
public ApplyMatterQuery applyType(Integer applyType){
setApplyType(applyType);
return this;
}
/**
* 设置 开始 可申报类型
* @param applyTypeStart
*/
setApplyType(applyType);
return this;
}
/**
* 设置 开始 可申报类型
* @param applyTypeStart
*/
public ApplyMatterQuery applyTypeStart(Integer applyTypeStart){
this.applyTypeStart = applyTypeStart;
return this;
this.applyTypeStart = applyTypeStart;
return this;
}
/**
* 设置 结束 可申报类型
* @param applyTypeEnd
*/
* 设置 结束 可申报类型
* @param applyTypeEnd
*/
public ApplyMatterQuery applyTypeEnd(Integer applyTypeEnd){
this.applyTypeEnd = applyTypeEnd;
return this;
this.applyTypeEnd = applyTypeEnd;
return this;
}
/**
* 设置 增加 可申报类型
* @param applyTypeIncrement
*/
* 设置 增加 可申报类型
* @param applyTypeIncrement
*/
public ApplyMatterQuery applyTypeIncrement(Integer applyTypeIncrement){
this.applyTypeIncrement = applyTypeIncrement;
return this;
this.applyTypeIncrement = applyTypeIncrement;
return this;
}
/**
* 设置 可申报类型
* @param applyTypeList
*/
* 设置 可申报类型
* @param applyTypeList
*/
public ApplyMatterQuery applyTypeList(List<Integer> applyTypeList){
this.applyTypeList = applyTypeList;
return this;
}
/**
* 设置 可申报类型
* @param applyTypeNotList
*/
public ApplyMatterQuery applyTypeNotList(List<Integer> applyTypeNotList){
return this;
}
/**
* 设置 可申报类型
* @param applyTypeNotList
*/
public ApplyMatterQuery applyTypeNotList(List<Integer> applyTypeNotList){
this.applyTypeNotList = applyTypeNotList;
return this;
}
}
/**
* 设置 实施清单事项ID
* @param eventId
*/
/**
* 设置 实施清单事项ID
* @param eventId
*/
public ApplyMatterQuery eventId(String eventId){
setEventId(eventId);
return this;
return this;
}
/**
* 设置 实施清单事项ID
* @param eventIdList
*/
* 设置 实施清单事项ID
* @param eventIdList
*/
public ApplyMatterQuery eventIdList(List<String> eventIdList){
this.eventIdList = eventIdList;
return this;
return this;
}
/**
* 设置 事项类型
* @param eventType
*/
/**
* 设置 事项类型
* @param eventType
*/
public ApplyMatterQuery eventType(String eventType){
setEventType(eventType);
return this;
return this;
}
/**
* 设置 事项类型
* @param eventTypeList
*/
* 设置 事项类型
* @param eventTypeList
*/
public ApplyMatterQuery eventTypeList(List<String> eventTypeList){
this.eventTypeList = eventTypeList;
return this;
return this;
}
/**
* 设置 实施编码
* @param implementCoding
*/
/**
* 设置 实施编码
* @param implementCoding
*/
public ApplyMatterQuery implementCoding(String implementCoding){
setImplementCoding(implementCoding);
return this;
return this;
}
/**
* 设置 实施编码
* @param implementCodingList
*/
* 设置 实施编码
* @param implementCodingList
*/
public ApplyMatterQuery implementCodingList(List<String> implementCodingList){
this.implementCodingList = implementCodingList;
return this;
return this;
}
/**
* 设置 业务办理项编码
* @param handlingItemCode
*/
/**
* 设置 业务办理项编码
* @param handlingItemCode
*/
public ApplyMatterQuery handlingItemCode(String handlingItemCode){
setHandlingItemCode(handlingItemCode);
return this;
return this;
}
/**
* 设置 业务办理项编码
* @param handlingItemCodeList
*/
* 设置 业务办理项编码
* @param handlingItemCodeList
*/
public ApplyMatterQuery handlingItemCodeList(List<String> handlingItemCodeList){
this.handlingItemCodeList = handlingItemCodeList;
return this;
return this;
}
/**
* 设置 实施清单名称
* @param implementName
*/
/**
* 设置 实施清单名称
* @param implementName
*/
public ApplyMatterQuery implementName(String implementName){
setImplementName(implementName);
return this;
return this;
}
/**
* 设置 实施清单名称
* @param implementNameList
*/
* 设置 实施清单名称
* @param implementNameList
*/
public ApplyMatterQuery implementNameList(List<String> implementNameList){
this.implementNameList = implementNameList;
return this;
return this;
}
/**
* 设置 事项面向对象分类
* @param eventObjectType
*/
/**
* 设置 事项面向对象分类
* @param eventObjectType
*/
public ApplyMatterQuery eventObjectType(String eventObjectType){
setEventObjectType(eventObjectType);
return this;
return this;
}
/**
* 设置 事项面向对象分类
* @param eventObjectTypeList
*/
* 设置 事项面向对象分类
* @param eventObjectTypeList
*/
public ApplyMatterQuery eventObjectTypeList(List<String> eventObjectTypeList){
this.eventObjectTypeList = eventObjectTypeList;
return this;
return this;
}
/**
* 设置 更新用户
* @param createUserId
*/
* 设置 更新用户
* @param createUserId
*/
public ApplyMatterQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param createUserIdStart
*/
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param createUserIdStart
*/
public ApplyMatterQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 更新用户
* @param createUserIdEnd
*/
* 设置 结束 更新用户
* @param createUserIdEnd
*/
public ApplyMatterQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 更新用户
* @param createUserIdIncrement
*/
* 设置 增加 更新用户
* @param createUserIdIncrement
*/
public ApplyMatterQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 更新用户
* @param createUserIdList
*/
* 设置 更新用户
* @param createUserIdList
*/
public ApplyMatterQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 更新用户
* @param createUserIdNotList
*/
public ApplyMatterQuery createUserIdNotList(List<Long> createUserIdNotList){
return this;
}
/**
* 设置 更新用户
* @param createUserIdNotList
*/
public ApplyMatterQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
}
/**
* 设置 更新用户
* @param updateUserId
*/
* 设置 更新用户
* @param updateUserId
*/
public ApplyMatterQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public ApplyMatterQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
return this;
this.updateUserIdStart = updateUserIdStart;
return this;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public ApplyMatterQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
return this;
this.updateUserIdEnd = updateUserIdEnd;
return this;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public ApplyMatterQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
* 设置 更新用户
* @param updateUserIdList
*/
public ApplyMatterQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public ApplyMatterQuery updateUserIdNotList(List<Long> updateUserIdNotList){
return this;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public ApplyMatterQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
return this;
}
}
/**
* 设置 是否纳入通办
* @param crossFlag
*/
public ApplyMatterQuery crossFlag(String crossFlag){
setCrossFlag(crossFlag);
return this;
}
/**
* 设置 是否纳入通办
* @param crossFlagList
*/
public ApplyMatterQuery crossFlagList(List<String> crossFlagList){
this.crossFlagList = crossFlagList;
return this;
}
/**
* 设置 委托部门
* @param deptId
*/
public ApplyMatterQuery deptId(Integer deptId){
setDeptId(deptId);
return this;
}
/**
* 设置 开始 委托部门
* @param deptIdStart
*/
public ApplyMatterQuery deptIdStart(Integer deptIdStart){
this.deptIdStart = deptIdStart;
return this;
}
/**
* 设置 结束 委托部门
* @param deptIdEnd
*/
public ApplyMatterQuery deptIdEnd(Integer deptIdEnd){
this.deptIdEnd = deptIdEnd;
return this;
}
/**
* 设置 增加 委托部门
* @param deptIdIncrement
*/
public ApplyMatterQuery deptIdIncrement(Integer deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
return this;
}
/**
* 设置 委托部门
* @param deptIdList
*/
public ApplyMatterQuery deptIdList(List<Integer> deptIdList){
this.deptIdList = deptIdList;
return this;
}
/**
* 设置 委托部门
* @param deptIdNotList
*/
public ApplyMatterQuery deptIdNotList(List<Integer> deptIdNotList){
this.deptIdNotList = deptIdNotList;
return this;
}
/**
* 设置 委托部门
* @param deptName
*/
public ApplyMatterQuery deptName(String deptName){
setDeptName(deptName);
return this;
}
/**
* 设置 委托部门
* @param deptNameList
*/
public ApplyMatterQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<ApplyMatterQuery> getOrConditionList(){
return this.orConditionList;
return this.orConditionList;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public void setOrConditionList(List<ApplyMatterQuery> orConditionList){
this.orConditionList = orConditionList;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public List<ApplyMatterQuery> getAndConditionList(){
return this.andConditionList;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public void setAndConditionList(List<ApplyMatterQuery> andConditionList){
this.andConditionList = andConditionList;
}
......
......@@ -10,42 +10,54 @@ import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.vo.EventImplementationVo;
import lombok.Data;
/**
* 综窗事项列表实体对象
*
* @author zxfei
* @date 2024-06-20
*/
* 综窗事项列表实体对象
*
* @author zxfei
* @date 2024-07-01
*/
@Data
public class EventImplementationEntity extends EventImplementationVo {
private static final long serialVersionUID = 1L;
/**
* 实施清单事项ID
*/
* 实施清单事项ID
*/
private String eventId;
/**
* 事项类型
*/
* 事项类型
*/
private String eventType;
/**
* 实施编码
*/
* 实施编码
*/
private String implementCoding;
/**
* 业务办理项编码
*/
* 业务办理项编码
*/
private String handlingItemCode;
/**
* 实施清单名称
*/
* 实施清单名称
*/
private String implementName;
/**
* 事项面向对象分类
*/
* 事项面向对象分类
*/
private String eventObjectType;
/**
* 是否纳入通办
*/
private String crossFlag;
/**
* 委托部门
*/
private Integer deptId;
/**
* 委托部门
*/
private String deptName;
@Override
public int hashCode() {
return this.getId().hashCode();
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
......@@ -53,18 +65,21 @@ public class EventImplementationEntity extends EventImplementationVo {
if (obj instanceof EventImplementationEntity) {
EventImplementationEntity tmp = (EventImplementationEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
return true;
}
}
return false;
}
public void initAttrValue(){
this.eventId = "";
this.eventType = "";
this.implementCoding = "";
this.handlingItemCode = "";
this.implementName = "";
this.eventObjectType = "";
this.eventId = "";
this.eventType = "";
this.implementCoding = "";
this.handlingItemCode = "";
this.implementName = "";
this.eventObjectType = "";
this.crossFlag = "";
this.deptId = null;
this.deptName = "";
}
}
\ No newline at end of file
......@@ -3,11 +3,11 @@ package com.mortals.xhx.module.matter.model;
import java.util.List;
import com.mortals.xhx.module.matter.model.EventImplementationEntity;
/**
* 综窗事项列表查询对象
*
* @author zxfei
* @date 2024-06-20
*/
* 综窗事项列表查询对象
*
* @author zxfei
* @date 2024-07-01
*/
public class EventImplementationQuery extends EventImplementationEntity {
/** 开始 序号,主键,自增长 */
private Long idStart;
......@@ -96,6 +96,31 @@ public class EventImplementationQuery extends EventImplementationEntity {
/** 结束 更新时间 */
private String updateTimeEnd;
/** 是否纳入通办 */
private List<String> crossFlagList;
/** 是否纳入通办排除列表 */
private List <String> crossFlagNotList;
/** 开始 委托部门 */
private Integer deptIdStart;
/** 结束 委托部门 */
private Integer deptIdEnd;
/** 增加 委托部门 */
private Integer deptIdIncrement;
/** 委托部门列表 */
private List <Integer> deptIdList;
/** 委托部门排除列表 */
private List <Integer> deptIdNotList;
/** 委托部门 */
private List<String> deptNameList;
/** 委托部门排除列表 */
private List <String> deptNameNotList;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<EventImplementationQuery> orConditionList;
......@@ -105,810 +130,1047 @@ public class EventImplementationQuery extends EventImplementationEntity {
public EventImplementationQuery(){}
/**
* 获取 开始 序号,主键,自增长
* @return idStart
*/
* 获取 开始 序号,主键,自增长
* @return idStart
*/
public Long getIdStart(){
return this.idStart;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public void setIdStart(Long idStart){
this.idStart = idStart;
}
/**
* 获取 结束 序号,主键,自增长
* @return $idEnd
*/
* 获取 结束 序号,主键,自增长
* @return $idEnd
*/
public Long getIdEnd(){
return this.idEnd;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public void setIdEnd(Long idEnd){
this.idEnd = idEnd;
}
/**
* 获取 增加 序号,主键,自增长
* @return idIncrement
*/
* 获取 增加 序号,主键,自增长
* @return idIncrement
*/
public Long getIdIncrement(){
return this.idIncrement;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement;
}
/**
* 获取 序号,主键,自增长
* @return idList
*/
* 获取 序号,主键,自增长
* @return idList
*/
public List<Long> getIdList(){
return this.idList;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
* 设置 序号,主键,自增长
* @param idList
*/
public void setIdList(List<Long> idList){
this.idList = idList;
}
/**
* 获取 序号,主键,自增长
* @return idNotList
*/
* 获取 序号,主键,自增长
* @return idNotList
*/
public List<Long> getIdNotList(){
return this.idNotList;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
* 设置 序号,主键,自增长
* @param idNotList
*/
public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList;
}
/**
* 获取 实施清单事项ID
* @return eventIdList
*/
* 获取 实施清单事项ID
* @return eventIdList
*/
public List<String> getEventIdList(){
return this.eventIdList;
}
/**
* 设置 实施清单事项ID
* @param eventIdList
*/
* 设置 实施清单事项ID
* @param eventIdList
*/
public void setEventIdList(List<String> eventIdList){
this.eventIdList = eventIdList;
}
/**
* 获取 实施清单事项ID
* @return eventIdNotList
*/
* 获取 实施清单事项ID
* @return eventIdNotList
*/
public List<String> getEventIdNotList(){
return this.eventIdNotList;
}
/**
* 设置 实施清单事项ID
* @param eventIdNotList
*/
* 设置 实施清单事项ID
* @param eventIdNotList
*/
public void setEventIdNotList(List<String> eventIdNotList){
this.eventIdNotList = eventIdNotList;
}
/**
* 获取 事项类型
* @return eventTypeList
*/
* 获取 事项类型
* @return eventTypeList
*/
public List<String> getEventTypeList(){
return this.eventTypeList;
}
/**
* 设置 事项类型
* @param eventTypeList
*/
* 设置 事项类型
* @param eventTypeList
*/
public void setEventTypeList(List<String> eventTypeList){
this.eventTypeList = eventTypeList;
}
/**
* 获取 事项类型
* @return eventTypeNotList
*/
* 获取 事项类型
* @return eventTypeNotList
*/
public List<String> getEventTypeNotList(){
return this.eventTypeNotList;
}
/**
* 设置 事项类型
* @param eventTypeNotList
*/
* 设置 事项类型
* @param eventTypeNotList
*/
public void setEventTypeNotList(List<String> eventTypeNotList){
this.eventTypeNotList = eventTypeNotList;
}
/**
* 获取 实施编码
* @return implementCodingList
*/
* 获取 实施编码
* @return implementCodingList
*/
public List<String> getImplementCodingList(){
return this.implementCodingList;
}
/**
* 设置 实施编码
* @param implementCodingList
*/
* 设置 实施编码
* @param implementCodingList
*/
public void setImplementCodingList(List<String> implementCodingList){
this.implementCodingList = implementCodingList;
}
/**
* 获取 实施编码
* @return implementCodingNotList
*/
* 获取 实施编码
* @return implementCodingNotList
*/
public List<String> getImplementCodingNotList(){
return this.implementCodingNotList;
}
/**
* 设置 实施编码
* @param implementCodingNotList
*/
* 设置 实施编码
* @param implementCodingNotList
*/
public void setImplementCodingNotList(List<String> implementCodingNotList){
this.implementCodingNotList = implementCodingNotList;
}
/**
* 获取 业务办理项编码
* @return handlingItemCodeList
*/
* 获取 业务办理项编码
* @return handlingItemCodeList
*/
public List<String> getHandlingItemCodeList(){
return this.handlingItemCodeList;
}
/**
* 设置 业务办理项编码
* @param handlingItemCodeList
*/
* 设置 业务办理项编码
* @param handlingItemCodeList
*/
public void setHandlingItemCodeList(List<String> handlingItemCodeList){
this.handlingItemCodeList = handlingItemCodeList;
}
/**
* 获取 业务办理项编码
* @return handlingItemCodeNotList
*/
* 获取 业务办理项编码
* @return handlingItemCodeNotList
*/
public List<String> getHandlingItemCodeNotList(){
return this.handlingItemCodeNotList;
}
/**
* 设置 业务办理项编码
* @param handlingItemCodeNotList
*/
* 设置 业务办理项编码
* @param handlingItemCodeNotList
*/
public void setHandlingItemCodeNotList(List<String> handlingItemCodeNotList){
this.handlingItemCodeNotList = handlingItemCodeNotList;
}
/**
* 获取 实施清单名称
* @return implementNameList
*/
* 获取 实施清单名称
* @return implementNameList
*/
public List<String> getImplementNameList(){
return this.implementNameList;
}
/**
* 设置 实施清单名称
* @param implementNameList
*/
* 设置 实施清单名称
* @param implementNameList
*/
public void setImplementNameList(List<String> implementNameList){
this.implementNameList = implementNameList;
}
/**
* 获取 实施清单名称
* @return implementNameNotList
*/
* 获取 实施清单名称
* @return implementNameNotList
*/
public List<String> getImplementNameNotList(){
return this.implementNameNotList;
}
/**
* 设置 实施清单名称
* @param implementNameNotList
*/
* 设置 实施清单名称
* @param implementNameNotList
*/
public void setImplementNameNotList(List<String> implementNameNotList){
this.implementNameNotList = implementNameNotList;
}
/**
* 获取 事项面向对象分类
* @return eventObjectTypeList
*/
* 获取 事项面向对象分类
* @return eventObjectTypeList
*/
public List<String> getEventObjectTypeList(){
return this.eventObjectTypeList;
}
/**
* 设置 事项面向对象分类
* @param eventObjectTypeList
*/
* 设置 事项面向对象分类
* @param eventObjectTypeList
*/
public void setEventObjectTypeList(List<String> eventObjectTypeList){
this.eventObjectTypeList = eventObjectTypeList;
}
/**
* 获取 事项面向对象分类
* @return eventObjectTypeNotList
*/
* 获取 事项面向对象分类
* @return eventObjectTypeNotList
*/
public List<String> getEventObjectTypeNotList(){
return this.eventObjectTypeNotList;
}
/**
* 设置 事项面向对象分类
* @param eventObjectTypeNotList
*/
* 设置 事项面向对象分类
* @param eventObjectTypeNotList
*/
public void setEventObjectTypeNotList(List<String> eventObjectTypeNotList){
this.eventObjectTypeNotList = eventObjectTypeNotList;
}
/**
* 获取 开始 更新用户
* @return createUserIdStart
*/
* 获取 开始 更新用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 更新用户
* @param createUserIdStart
*/
* 设置 开始 更新用户
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 更新用户
* @return $createUserIdEnd
*/
* 获取 结束 更新用户
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 更新用户
* @param createUserIdEnd
*/
* 设置 结束 更新用户
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 更新用户
* @return createUserIdIncrement
*/
* 获取 增加 更新用户
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 更新用户
* @param createUserIdIncrement
*/
* 设置 增加 更新用户
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 更新用户
* @return createUserIdList
*/
* 获取 更新用户
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 更新用户
* @param createUserIdList
*/
* 设置 更新用户
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 更新用户
* @return createUserIdNotList
*/
* 获取 更新用户
* @return createUserIdNotList
*/
public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList;
}
/**
* 设置 更新用户
* @param createUserIdNotList
*/
* 设置 更新用户
* @param createUserIdNotList
*/
public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 更新用户
* @return updateUserIdStart
*/
* 获取 开始 更新用户
* @return updateUserIdStart
*/
public Long getUpdateUserIdStart(){
return this.updateUserIdStart;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
}
/**
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
}
/**
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
}
/**
* 获取 更新用户
* @return updateUserIdList
*/
* 获取 更新用户
* @return updateUserIdList
*/
public List<Long> getUpdateUserIdList(){
return this.updateUserIdList;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
* 设置 更新用户
* @param updateUserIdList
*/
public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
}
/**
* 获取 更新用户
* @return updateUserIdNotList
*/
* 获取 更新用户
* @return updateUserIdNotList
*/
public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
* 设置 更新用户
* @param updateUserIdNotList
*/
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
}
/**
* 获取 开始 更新时间
* @return updateTimeStart
*/
* 获取 开始 更新时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 更新时间
* @param updateTimeStart
*/
* 设置 开始 更新时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 更新时间
* @return updateTimeEnd
*/
* 获取 结束 更新时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 更新时间
* @param updateTimeEnd
*/
* 设置 结束 更新时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 设置 序号,主键,自增长
* @param id
*/
* 获取 是否纳入通办
* @return crossFlagList
*/
public List<String> getCrossFlagList(){
return this.crossFlagList;
}
/**
* 设置 是否纳入通办
* @param crossFlagList
*/
public void setCrossFlagList(List<String> crossFlagList){
this.crossFlagList = crossFlagList;
}
/**
* 获取 是否纳入通办
* @return crossFlagNotList
*/
public List<String> getCrossFlagNotList(){
return this.crossFlagNotList;
}
/**
* 设置 是否纳入通办
* @param crossFlagNotList
*/
public void setCrossFlagNotList(List<String> crossFlagNotList){
this.crossFlagNotList = crossFlagNotList;
}
/**
* 获取 开始 委托部门
* @return deptIdStart
*/
public Integer getDeptIdStart(){
return this.deptIdStart;
}
/**
* 设置 开始 委托部门
* @param deptIdStart
*/
public void setDeptIdStart(Integer deptIdStart){
this.deptIdStart = deptIdStart;
}
/**
* 获取 结束 委托部门
* @return $deptIdEnd
*/
public Integer getDeptIdEnd(){
return this.deptIdEnd;
}
/**
* 设置 结束 委托部门
* @param deptIdEnd
*/
public void setDeptIdEnd(Integer deptIdEnd){
this.deptIdEnd = deptIdEnd;
}
/**
* 获取 增加 委托部门
* @return deptIdIncrement
*/
public Integer getDeptIdIncrement(){
return this.deptIdIncrement;
}
/**
* 设置 增加 委托部门
* @param deptIdIncrement
*/
public void setDeptIdIncrement(Integer deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
}
/**
* 获取 委托部门
* @return deptIdList
*/
public List<Integer> getDeptIdList(){
return this.deptIdList;
}
/**
* 设置 委托部门
* @param deptIdList
*/
public void setDeptIdList(List<Integer> deptIdList){
this.deptIdList = deptIdList;
}
/**
* 获取 委托部门
* @return deptIdNotList
*/
public List<Integer> getDeptIdNotList(){
return this.deptIdNotList;
}
/**
* 设置 委托部门
* @param deptIdNotList
*/
public void setDeptIdNotList(List<Integer> deptIdNotList){
this.deptIdNotList = deptIdNotList;
}
/**
* 获取 委托部门
* @return deptNameList
*/
public List<String> getDeptNameList(){
return this.deptNameList;
}
/**
* 设置 委托部门
* @param deptNameList
*/
public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
}
/**
* 获取 委托部门
* @return deptNameNotList
*/
public List<String> getDeptNameNotList(){
return this.deptNameNotList;
}
/**
* 设置 委托部门
* @param deptNameNotList
*/
public void setDeptNameNotList(List<String> deptNameNotList){
this.deptNameNotList = deptNameNotList;
}
/**
* 设置 序号,主键,自增长
* @param id
*/
public EventImplementationQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public EventImplementationQuery idStart(Long idStart){
this.idStart = idStart;
return this;
this.idStart = idStart;
return this;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public EventImplementationQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public EventImplementationQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
* 设置 序号,主键,自增长
* @param idList
*/
public EventImplementationQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public EventImplementationQuery idNotList(List<Long> idNotList){
return this;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public EventImplementationQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
}
/**
* 设置 实施清单事项ID
* @param eventId
*/
/**
* 设置 实施清单事项ID
* @param eventId
*/
public EventImplementationQuery eventId(String eventId){
setEventId(eventId);
return this;
return this;
}
/**
* 设置 实施清单事项ID
* @param eventIdList
*/
* 设置 实施清单事项ID
* @param eventIdList
*/
public EventImplementationQuery eventIdList(List<String> eventIdList){
this.eventIdList = eventIdList;
return this;
return this;
}
/**
* 设置 事项类型
* @param eventType
*/
/**
* 设置 事项类型
* @param eventType
*/
public EventImplementationQuery eventType(String eventType){
setEventType(eventType);
return this;
return this;
}
/**
* 设置 事项类型
* @param eventTypeList
*/
* 设置 事项类型
* @param eventTypeList
*/
public EventImplementationQuery eventTypeList(List<String> eventTypeList){
this.eventTypeList = eventTypeList;
return this;
return this;
}
/**
* 设置 实施编码
* @param implementCoding
*/
/**
* 设置 实施编码
* @param implementCoding
*/
public EventImplementationQuery implementCoding(String implementCoding){
setImplementCoding(implementCoding);
return this;
return this;
}
/**
* 设置 实施编码
* @param implementCodingList
*/
* 设置 实施编码
* @param implementCodingList
*/
public EventImplementationQuery implementCodingList(List<String> implementCodingList){
this.implementCodingList = implementCodingList;
return this;
return this;
}
/**
* 设置 业务办理项编码
* @param handlingItemCode
*/
/**
* 设置 业务办理项编码
* @param handlingItemCode
*/
public EventImplementationQuery handlingItemCode(String handlingItemCode){
setHandlingItemCode(handlingItemCode);
return this;
return this;
}
/**
* 设置 业务办理项编码
* @param handlingItemCodeList
*/
* 设置 业务办理项编码
* @param handlingItemCodeList
*/
public EventImplementationQuery handlingItemCodeList(List<String> handlingItemCodeList){
this.handlingItemCodeList = handlingItemCodeList;
return this;
return this;
}
/**
* 设置 实施清单名称
* @param implementName
*/
/**
* 设置 实施清单名称
* @param implementName
*/
public EventImplementationQuery implementName(String implementName){
setImplementName(implementName);
return this;
return this;
}
/**
* 设置 实施清单名称
* @param implementNameList
*/
* 设置 实施清单名称
* @param implementNameList
*/
public EventImplementationQuery implementNameList(List<String> implementNameList){
this.implementNameList = implementNameList;
return this;
return this;
}
/**
* 设置 事项面向对象分类
* @param eventObjectType
*/
/**
* 设置 事项面向对象分类
* @param eventObjectType
*/
public EventImplementationQuery eventObjectType(String eventObjectType){
setEventObjectType(eventObjectType);
return this;
return this;
}
/**
* 设置 事项面向对象分类
* @param eventObjectTypeList
*/
* 设置 事项面向对象分类
* @param eventObjectTypeList
*/
public EventImplementationQuery eventObjectTypeList(List<String> eventObjectTypeList){
this.eventObjectTypeList = eventObjectTypeList;
return this;
return this;
}
/**
* 设置 更新用户
* @param createUserId
*/
* 设置 更新用户
* @param createUserId
*/
public EventImplementationQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param createUserIdStart
*/
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param createUserIdStart
*/
public EventImplementationQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 更新用户
* @param createUserIdEnd
*/
* 设置 结束 更新用户
* @param createUserIdEnd
*/
public EventImplementationQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 更新用户
* @param createUserIdIncrement
*/
* 设置 增加 更新用户
* @param createUserIdIncrement
*/
public EventImplementationQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 更新用户
* @param createUserIdList
*/
* 设置 更新用户
* @param createUserIdList
*/
public EventImplementationQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 更新用户
* @param createUserIdNotList
*/
public EventImplementationQuery createUserIdNotList(List<Long> createUserIdNotList){
return this;
}
/**
* 设置 更新用户
* @param createUserIdNotList
*/
public EventImplementationQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
}
/**
* 设置 更新用户
* @param updateUserId
*/
* 设置 更新用户
* @param updateUserId
*/
public EventImplementationQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public EventImplementationQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
return this;
this.updateUserIdStart = updateUserIdStart;
return this;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public EventImplementationQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
return this;
this.updateUserIdEnd = updateUserIdEnd;
return this;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public EventImplementationQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
* 设置 更新用户
* @param updateUserIdList
*/
public EventImplementationQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public EventImplementationQuery updateUserIdNotList(List<Long> updateUserIdNotList){
return this;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public EventImplementationQuery 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
*/
* 设置 是否纳入通办
* @param crossFlag
*/
public EventImplementationQuery crossFlag(String crossFlag){
setCrossFlag(crossFlag);
return this;
}
/**
* 设置 是否纳入通办
* @param crossFlagList
*/
public EventImplementationQuery crossFlagList(List<String> crossFlagList){
this.crossFlagList = crossFlagList;
return this;
}
/**
* 设置 委托部门
* @param deptId
*/
public EventImplementationQuery deptId(Integer deptId){
setDeptId(deptId);
return this;
}
/**
* 设置 开始 委托部门
* @param deptIdStart
*/
public EventImplementationQuery deptIdStart(Integer deptIdStart){
this.deptIdStart = deptIdStart;
return this;
}
/**
* 设置 结束 委托部门
* @param deptIdEnd
*/
public EventImplementationQuery deptIdEnd(Integer deptIdEnd){
this.deptIdEnd = deptIdEnd;
return this;
}
/**
* 设置 增加 委托部门
* @param deptIdIncrement
*/
public EventImplementationQuery deptIdIncrement(Integer deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
return this;
}
/**
* 设置 委托部门
* @param deptIdList
*/
public EventImplementationQuery deptIdList(List<Integer> deptIdList){
this.deptIdList = deptIdList;
return this;
}
/**
* 设置 委托部门
* @param deptIdNotList
*/
public EventImplementationQuery deptIdNotList(List<Integer> deptIdNotList){
this.deptIdNotList = deptIdNotList;
return this;
}
/**
* 设置 委托部门
* @param deptName
*/
public EventImplementationQuery deptName(String deptName){
setDeptName(deptName);
return this;
}
/**
* 设置 委托部门
* @param deptNameList
*/
public EventImplementationQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<EventImplementationQuery> getOrConditionList(){
return this.orConditionList;
return this.orConditionList;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public void setOrConditionList(List<EventImplementationQuery> orConditionList){
this.orConditionList = orConditionList;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public List<EventImplementationQuery> getAndConditionList(){
return this.andConditionList;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public void setAndConditionList(List<EventImplementationQuery> andConditionList){
this.andConditionList = andConditionList;
}
......
......@@ -20,6 +20,7 @@ import com.mortals.xhx.module.matter.model.ApplyMatterEntity;
import com.mortals.xhx.module.matter.model.EventImplementationQuery;
import com.mortals.xhx.module.matter.service.ApplyMatterService;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
......@@ -169,12 +170,16 @@ public class EventImplementationServiceImpl extends AbstractCRUDServiceImpl<Even
for (EventImplementationEntity item:list){
ApplyMatterEntity applyMatterEntity = new ApplyMatterEntity();
applyMatterEntity.initAttrValue();
applyMatterEntity.setEventId(item.getEventId());
applyMatterEntity.setEventObjectType(item.getEventObjectType());
applyMatterEntity.setEventType(item.getEventType());
applyMatterEntity.setHandlingItemCode(item.getHandlingItemCode());
applyMatterEntity.setImplementName(item.getImplementName());
applyMatterEntity.setImplementCoding(item.getImplementCoding());
BeanUtils.copyProperties(item, applyMatterEntity);
// applyMatterEntity.setEventId(item.getEventId());
// applyMatterEntity.setEventObjectType(item.getEventObjectType());
// applyMatterEntity.setEventType(item.getEventType());
// applyMatterEntity.setHandlingItemCode(item.getHandlingItemCode());
// applyMatterEntity.setImplementName(item.getImplementName());
// applyMatterEntity.setImplementCoding(item.getImplementCoding());
// applyMatterEntity.setCrossFlag(item.getCrossFlag());
// applyMatterEntity.setDeptId(item.getDeptId());
// applyMatterEntity.setDeptName(item.getDeptName());
applyMatterEntity.setApplyType(entity.getApplyType());
applyMatterEntity.setCreateTime(new Date());
applyMatterEntity.setCreateUserId(userId);
......@@ -194,12 +199,16 @@ public class EventImplementationServiceImpl extends AbstractCRUDServiceImpl<Even
for (RecordsItem item:records){
EventImplementationEntity entity = new EventImplementationEntity();
entity.initAttrValue();
entity.setEventId(item.getEventId());
entity.setEventObjectType(item.getEventObjectType());
entity.setEventType(item.getEventType());
entity.setHandlingItemCode(item.getHandlingItemCode());
entity.setImplementName(item.getImplementName());
entity.setImplementCoding(item.getImplementCoding());
BeanUtils.copyProperties(item, entity);
// entity.setEventId(item.getEventId());
// entity.setEventObjectType(item.getEventObjectType());
// entity.setEventType(item.getEventType());
// entity.setHandlingItemCode(item.getHandlingItemCode());
// entity.setImplementName(item.getImplementName());
// entity.setImplementCoding(item.getImplementCoding());
// entity.setCrossFlag(item.getCrossFlag());
// entity.setDeptId(item.getDeptId());
// entity.setDeptName(item.getDeptName());
list.add(entity);
}
}
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.matter.dao.ibatis.ApplyMatterDaoImpl">
<!-- 字段和属性映射 -->
<resultMap type="ApplyMatterEntity" id="ApplyMatterEntity-Map">
<id property="id" column="id" />
<result property="applyType" column="applyType" />
<result property="eventId" column="eventId" />
<result property="eventType" column="eventType" />
<result property="implementCoding" column="implementCoding" />
<result property="handlingItemCode" column="handlingItemCode" />
<result property="implementName" column="implementName" />
<result property="eventObjectType" column="eventObjectType" />
<result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" />
<id property="id" column="id" />
<result property="applyType" column="applyType" />
<result property="eventId" column="eventId" />
<result property="eventType" column="eventType" />
<result property="implementCoding" column="implementCoding" />
<result property="handlingItemCode" column="handlingItemCode" />
<result property="implementName" column="implementName" />
<result property="eventObjectType" column="eventObjectType" />
<result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" />
<result property="crossFlag" column="crossFlag" />
<result property="deptId" column="deptId" />
<result property="deptName" column="deptName" />
</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('applyType') or colPickMode == 1 and data.containsKey('applyType')))">
a.applyType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventId') or colPickMode == 1 and data.containsKey('eventId')))">
a.eventId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventType') or colPickMode == 1 and data.containsKey('eventType')))">
a.eventType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('implementCoding') or colPickMode == 1 and data.containsKey('implementCoding')))">
a.implementCoding,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('handlingItemCode') or colPickMode == 1 and data.containsKey('handlingItemCode')))">
a.handlingItemCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('implementName') or colPickMode == 1 and data.containsKey('implementName')))">
a.implementName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventObjectType') or colPickMode == 1 and data.containsKey('eventObjectType')))">
a.eventObjectType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('applyType') or colPickMode == 1 and data.containsKey('applyType')))">
a.applyType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventId') or colPickMode == 1 and data.containsKey('eventId')))">
a.eventId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventType') or colPickMode == 1 and data.containsKey('eventType')))">
a.eventType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('implementCoding') or colPickMode == 1 and data.containsKey('implementCoding')))">
a.implementCoding,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('handlingItemCode') or colPickMode == 1 and data.containsKey('handlingItemCode')))">
a.handlingItemCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('implementName') or colPickMode == 1 and data.containsKey('implementName')))">
a.implementName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventObjectType') or colPickMode == 1 and data.containsKey('eventObjectType')))">
a.eventObjectType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('crossFlag') or colPickMode == 1 and data.containsKey('crossFlag')))">
a.crossFlag,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))">
a.deptId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))">
a.deptName,
</if>
</trim>
</sql>
<!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="ApplyMatterEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_apply_matter
(applyType,eventId,eventType,implementCoding,handlingItemCode,implementName,eventObjectType,createUserId,createTime,updateUserId,updateTime)
(applyType,eventId,eventType,implementCoding,handlingItemCode,implementName,eventObjectType,createUserId,createTime,updateUserId,updateTime,crossFlag,deptId,deptName)
VALUES
(#{applyType},#{eventId},#{eventType},#{implementCoding},#{handlingItemCode},#{implementName},#{eventObjectType},#{createUserId},#{createTime},#{updateUserId},#{updateTime})
(#{applyType},#{eventId},#{eventType},#{implementCoding},#{handlingItemCode},#{implementName},#{eventObjectType},#{createUserId},#{createTime},#{updateUserId},#{updateTime},#{crossFlag},#{deptId},#{deptName})
</insert>
<!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_apply_matter
(applyType,eventId,eventType,implementCoding,handlingItemCode,implementName,eventObjectType,createUserId,createTime,updateUserId,updateTime)
(applyType,eventId,eventType,implementCoding,handlingItemCode,implementName,eventObjectType,createUserId,createTime,updateUserId,updateTime,crossFlag,deptId,deptName)
VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.applyType},#{item.eventId},#{item.eventType},#{item.implementCoding},#{item.handlingItemCode},#{item.implementName},#{item.eventObjectType},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime})
(#{item.applyType},#{item.eventId},#{item.eventType},#{item.implementCoding},#{item.handlingItemCode},#{item.implementName},#{item.eventObjectType},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime},#{item.crossFlag},#{item.deptId},#{item.deptName})
</foreach>
</insert>
......@@ -128,6 +140,18 @@
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime},
</if>
<if test="(colPickMode==0 and data.containsKey('crossFlag')) or (colPickMode==1 and !data.containsKey('crossFlag'))">
a.crossFlag=#{data.crossFlag},
</if>
<if test="(colPickMode==0 and data.containsKey('deptId')) or (colPickMode==1 and !data.containsKey('deptId'))">
a.deptId=#{data.deptId},
</if>
<if test="(colPickMode==0 and data.containsKey('deptIdIncrement')) or (colPickMode==1 and !data.containsKey('deptIdIncrement'))">
a.deptId=ifnull(a.deptId,0) + #{data.deptIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('deptName')) or (colPickMode==1 and !data.containsKey('deptName'))">
a.deptName=#{data.deptName},
</if>
</trim>
<trim suffixOverrides="where" suffix="">
where
......@@ -140,98 +164,124 @@
<update id="updateBatch" parameterType="paramDto">
update mortals_xhx_apply_matter as a
<trim prefix="set" suffixOverrides=",">
<trim prefix="applyType=(case" suffix="ELSE applyType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('applyType')) or (colPickMode==1 and !item.containsKey('applyType'))">
when a.id=#{item.id} then #{item.applyType}
</when>
<when test="(colPickMode==0 and item.containsKey('applyTypeIncrement')) or (colPickMode==1 and !item.containsKey('applyTypeIncrement'))">
when a.id=#{item.id} then ifnull(a.applyType,0) + #{item.applyTypeIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="eventId=(case" suffix="ELSE eventId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventId')) or (colPickMode==1 and !item.containsKey('eventId'))">
when a.id=#{item.id} then #{item.eventId}
</if>
</foreach>
</trim>
<trim prefix="eventType=(case" suffix="ELSE eventType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventType')) or (colPickMode==1 and !item.containsKey('eventType'))">
when a.id=#{item.id} then #{item.eventType}
</if>
</foreach>
</trim>
<trim prefix="implementCoding=(case" suffix="ELSE implementCoding end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('implementCoding')) or (colPickMode==1 and !item.containsKey('implementCoding'))">
when a.id=#{item.id} then #{item.implementCoding}
</if>
</foreach>
</trim>
<trim prefix="handlingItemCode=(case" suffix="ELSE handlingItemCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('handlingItemCode')) or (colPickMode==1 and !item.containsKey('handlingItemCode'))">
when a.id=#{item.id} then #{item.handlingItemCode}
</if>
</foreach>
</trim>
<trim prefix="implementName=(case" suffix="ELSE implementName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('implementName')) or (colPickMode==1 and !item.containsKey('implementName'))">
when a.id=#{item.id} then #{item.implementName}
</if>
</foreach>
</trim>
<trim prefix="eventObjectType=(case" suffix="ELSE eventObjectType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventObjectType')) or (colPickMode==1 and !item.containsKey('eventObjectType'))">
when a.id=#{item.id} then #{item.eventObjectType}
</if>
</foreach>
</trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime}
</if>
</foreach>
</trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.id=#{item.id} then #{item.updateUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime}
</if>
</foreach>
</trim>
<trim prefix="applyType=(case" suffix="ELSE applyType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('applyType')) or (colPickMode==1 and !item.containsKey('applyType'))">
when a.id=#{item.id} then #{item.applyType}
</when>
<when test="(colPickMode==0 and item.containsKey('applyTypeIncrement')) or (colPickMode==1 and !item.containsKey('applyTypeIncrement'))">
when a.id=#{item.id} then ifnull(a.applyType,0) + #{item.applyTypeIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="eventId=(case" suffix="ELSE eventId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventId')) or (colPickMode==1 and !item.containsKey('eventId'))">
when a.id=#{item.id} then #{item.eventId}
</if>
</foreach>
</trim>
<trim prefix="eventType=(case" suffix="ELSE eventType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventType')) or (colPickMode==1 and !item.containsKey('eventType'))">
when a.id=#{item.id} then #{item.eventType}
</if>
</foreach>
</trim>
<trim prefix="implementCoding=(case" suffix="ELSE implementCoding end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('implementCoding')) or (colPickMode==1 and !item.containsKey('implementCoding'))">
when a.id=#{item.id} then #{item.implementCoding}
</if>
</foreach>
</trim>
<trim prefix="handlingItemCode=(case" suffix="ELSE handlingItemCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('handlingItemCode')) or (colPickMode==1 and !item.containsKey('handlingItemCode'))">
when a.id=#{item.id} then #{item.handlingItemCode}
</if>
</foreach>
</trim>
<trim prefix="implementName=(case" suffix="ELSE implementName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('implementName')) or (colPickMode==1 and !item.containsKey('implementName'))">
when a.id=#{item.id} then #{item.implementName}
</if>
</foreach>
</trim>
<trim prefix="eventObjectType=(case" suffix="ELSE eventObjectType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventObjectType')) or (colPickMode==1 and !item.containsKey('eventObjectType'))">
when a.id=#{item.id} then #{item.eventObjectType}
</if>
</foreach>
</trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime}
</if>
</foreach>
</trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.id=#{item.id} then #{item.updateUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime}
</if>
</foreach>
</trim>
<trim prefix="crossFlag=(case" suffix="ELSE crossFlag end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('crossFlag')) or (colPickMode==1 and !item.containsKey('crossFlag'))">
when a.id=#{item.id} then #{item.crossFlag}
</if>
</foreach>
</trim>
<trim prefix="deptId=(case" suffix="ELSE deptId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('deptId')) or (colPickMode==1 and !item.containsKey('deptId'))">
when a.id=#{item.id} then #{item.deptId}
</when>
<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>
</choose>
</foreach>
</trim>
<trim prefix="deptName=(case" suffix="ELSE deptName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deptName')) or (colPickMode==1 and !item.containsKey('deptName'))">
when a.id=#{item.id} then #{item.deptName}
</if>
</foreach>
</trim>
</trim>
where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
......@@ -348,399 +398,497 @@
${_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 test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id}
</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 test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</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('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('applyType')">
<if test="conditionParamRef.applyType != null ">
${_conditionType_} a.applyType = #{${_conditionParam_}.applyType}
</if>
<if test="conditionParamRef.applyType == null">
${_conditionType_} a.applyType is null
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('applyTypeList') and conditionParamRef.applyTypeList.size() > 0">
${_conditionType_} a.applyType in
<foreach collection="conditionParamRef.applyTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('applyTypeNotList') and conditionParamRef.applyTypeNotList.size() > 0">
${_conditionType_} a.applyType not in
<foreach collection="conditionParamRef.applyTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('applyTypeStart') and conditionParamRef.applyTypeStart != null">
${_conditionType_} a.applyType <![CDATA[ >= ]]> #{${_conditionParam_}.applyTypeStart}
</if>
<if test="conditionParamRef.containsKey('applyTypeEnd') and conditionParamRef.applyTypeEnd != null">
${_conditionType_} a.applyType <![CDATA[ <= ]]> #{${_conditionParam_}.applyTypeEnd}
</if>
<if test="conditionParamRef.containsKey('eventId')">
<if test="conditionParamRef.eventId != null and conditionParamRef.eventId != ''">
${_conditionType_} a.eventId like #{${_conditionParam_}.eventId}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
<if test="conditionParamRef.eventId == null">
${_conditionType_} a.eventId is null
</if>
</if>
<if test="conditionParamRef.containsKey('eventIdList') and conditionParamRef.eventIdList.size() > 0">
${_conditionType_} a.eventId in
<foreach collection="conditionParamRef.eventIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventIdNotList') and conditionParamRef.eventIdNotList.size() > 0">
${_conditionType_} a.eventId not in
<foreach collection="conditionParamRef.eventIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('applyType')">
<if test="conditionParamRef.applyType != null ">
${_conditionType_} a.applyType = #{${_conditionParam_}.applyType}
</if>
<if test="conditionParamRef.applyType == null">
${_conditionType_} a.applyType is null
</if>
<if test="conditionParamRef.containsKey('eventType')">
<if test="conditionParamRef.eventType != null and conditionParamRef.eventType != ''">
${_conditionType_} a.eventType like #{${_conditionParam_}.eventType}
</if>
<if test="conditionParamRef.containsKey('applyTypeList') and conditionParamRef.applyTypeList.size() > 0">
${_conditionType_} a.applyType in
<foreach collection="conditionParamRef.applyTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.eventType == null">
${_conditionType_} a.eventType is null
</if>
<if test="conditionParamRef.containsKey('applyTypeNotList') and conditionParamRef.applyTypeNotList.size() > 0">
${_conditionType_} a.applyType not in
<foreach collection="conditionParamRef.applyTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventTypeList') and conditionParamRef.eventTypeList.size() > 0">
${_conditionType_} a.eventType in
<foreach collection="conditionParamRef.eventTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventTypeNotList') and conditionParamRef.eventTypeNotList.size() > 0">
${_conditionType_} a.eventType not in
<foreach collection="conditionParamRef.eventTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('implementCoding')">
<if test="conditionParamRef.implementCoding != null and conditionParamRef.implementCoding != ''">
${_conditionType_} a.implementCoding like #{${_conditionParam_}.implementCoding}
</if>
<if test="conditionParamRef.implementCoding == null">
${_conditionType_} a.implementCoding is null
</if>
<if test="conditionParamRef.containsKey('applyTypeStart') and conditionParamRef.applyTypeStart != null">
${_conditionType_} a.applyType <![CDATA[ >= ]]> #{${_conditionParam_}.applyTypeStart}
</if>
<if test="conditionParamRef.containsKey('implementCodingList') and conditionParamRef.implementCodingList.size() > 0">
${_conditionType_} a.implementCoding in
<foreach collection="conditionParamRef.implementCodingList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('implementCodingNotList') and conditionParamRef.implementCodingNotList.size() > 0">
${_conditionType_} a.implementCoding not in
<foreach collection="conditionParamRef.implementCodingNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('handlingItemCode')">
<if test="conditionParamRef.handlingItemCode != null and conditionParamRef.handlingItemCode != ''">
${_conditionType_} a.handlingItemCode like #{${_conditionParam_}.handlingItemCode}
</if>
<if test="conditionParamRef.containsKey('applyTypeEnd') and conditionParamRef.applyTypeEnd != null">
${_conditionType_} a.applyType <![CDATA[ <= ]]> #{${_conditionParam_}.applyTypeEnd}
<if test="conditionParamRef.handlingItemCode == null">
${_conditionType_} a.handlingItemCode is null
</if>
</if>
<if test="conditionParamRef.containsKey('handlingItemCodeList') and conditionParamRef.handlingItemCodeList.size() > 0">
${_conditionType_} a.handlingItemCode in
<foreach collection="conditionParamRef.handlingItemCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('handlingItemCodeNotList') and conditionParamRef.handlingItemCodeNotList.size() > 0">
${_conditionType_} a.handlingItemCode not in
<foreach collection="conditionParamRef.handlingItemCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('implementName')">
<if test="conditionParamRef.implementName != null and conditionParamRef.implementName != ''">
${_conditionType_} a.implementName like #{${_conditionParam_}.implementName}
</if>
<if test="conditionParamRef.implementName == null">
${_conditionType_} a.implementName is null
</if>
</if>
<if test="conditionParamRef.containsKey('implementNameList') and conditionParamRef.implementNameList.size() > 0">
${_conditionType_} a.implementName in
<foreach collection="conditionParamRef.implementNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('implementNameNotList') and conditionParamRef.implementNameNotList.size() > 0">
${_conditionType_} a.implementName not in
<foreach collection="conditionParamRef.implementNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventId')">
<if test="conditionParamRef.eventId != null and conditionParamRef.eventId != ''">
${_conditionType_} a.eventId like #{${_conditionParam_}.eventId}
</if>
<if test="conditionParamRef.eventId == null">
${_conditionType_} a.eventId is null
</if>
<if test="conditionParamRef.containsKey('eventObjectType')">
<if test="conditionParamRef.eventObjectType != null and conditionParamRef.eventObjectType != ''">
${_conditionType_} a.eventObjectType like #{${_conditionParam_}.eventObjectType}
</if>
<if test="conditionParamRef.containsKey('eventIdList') and conditionParamRef.eventIdList.size() > 0">
${_conditionType_} a.eventId in
<foreach collection="conditionParamRef.eventIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.eventObjectType == null">
${_conditionType_} a.eventObjectType is null
</if>
<if test="conditionParamRef.containsKey('eventIdNotList') and conditionParamRef.eventIdNotList.size() > 0">
${_conditionType_} a.eventId not in
<foreach collection="conditionParamRef.eventIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventObjectTypeList') and conditionParamRef.eventObjectTypeList.size() > 0">
${_conditionType_} a.eventObjectType in
<foreach collection="conditionParamRef.eventObjectTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventObjectTypeNotList') and conditionParamRef.eventObjectTypeNotList.size() > 0">
${_conditionType_} a.eventObjectType not in
<foreach collection="conditionParamRef.eventObjectTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('eventType')">
<if test="conditionParamRef.eventType != null and conditionParamRef.eventType != ''">
${_conditionType_} a.eventType like #{${_conditionParam_}.eventType}
</if>
<if test="conditionParamRef.eventType == null">
${_conditionType_} a.eventType is null
</if>
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.containsKey('eventTypeList') and conditionParamRef.eventTypeList.size() > 0">
${_conditionType_} a.eventType in
<foreach collection="conditionParamRef.eventTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
<if test="conditionParamRef.containsKey('eventTypeNotList') and conditionParamRef.eventTypeNotList.size() > 0">
${_conditionType_} a.eventType not in
<foreach collection="conditionParamRef.eventTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('implementCoding')">
<if test="conditionParamRef.implementCoding != null and conditionParamRef.implementCoding != ''">
${_conditionType_} a.implementCoding like #{${_conditionParam_}.implementCoding}
</if>
<if test="conditionParamRef.implementCoding == null">
${_conditionType_} a.implementCoding is null
</if>
<if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.containsKey('implementCodingList') and conditionParamRef.implementCodingList.size() > 0">
${_conditionType_} a.implementCoding in
<foreach collection="conditionParamRef.implementCodingList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
<if test="conditionParamRef.containsKey('implementCodingNotList') and conditionParamRef.implementCodingNotList.size() > 0">
${_conditionType_} a.implementCoding not in
<foreach collection="conditionParamRef.implementCodingNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('crossFlag')">
<if test="conditionParamRef.crossFlag != null and conditionParamRef.crossFlag != ''">
${_conditionType_} a.crossFlag like #{${_conditionParam_}.crossFlag}
</if>
<if test="conditionParamRef.crossFlag == null">
${_conditionType_} a.crossFlag is null
</if>
</if>
<if test="conditionParamRef.containsKey('crossFlagList') and conditionParamRef.crossFlagList.size() > 0">
${_conditionType_} a.crossFlag in
<foreach collection="conditionParamRef.crossFlagList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('crossFlagNotList') and conditionParamRef.crossFlagNotList.size() > 0">
${_conditionType_} a.crossFlag not in
<foreach collection="conditionParamRef.crossFlagNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptId')">
<if test="conditionParamRef.deptId != null ">
${_conditionType_} a.deptId = #{${_conditionParam_}.deptId}
</if>
<if test="conditionParamRef.deptId == null">
${_conditionType_} a.deptId is null
</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('handlingItemCode')">
<if test="conditionParamRef.handlingItemCode != null and conditionParamRef.handlingItemCode != ''">
${_conditionType_} a.handlingItemCode like #{${_conditionParam_}.handlingItemCode}
</if>
<if test="conditionParamRef.handlingItemCode == null">
${_conditionType_} a.handlingItemCode is null
</if>
<if test="conditionParamRef.containsKey('deptName')">
<if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''">
${_conditionType_} a.deptName like #{${_conditionParam_}.deptName}
</if>
<if test="conditionParamRef.containsKey('handlingItemCodeList') and conditionParamRef.handlingItemCodeList.size() > 0">
${_conditionType_} a.handlingItemCode in
<foreach collection="conditionParamRef.handlingItemCodeList" open="(" close=")" index="index" item="item" separator=",">
<if test="conditionParamRef.deptName == null">
${_conditionType_} a.deptName is null
</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>
</sql>
<sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()">
order by
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
field(a.id,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('handlingItemCodeNotList') and conditionParamRef.handlingItemCodeNotList.size() > 0">
${_conditionType_} a.handlingItemCode not in
<foreach collection="conditionParamRef.handlingItemCodeNotList" open="(" close=")" index="index" item="item" separator=",">
<if test="conditionParamRef.containsKey('applyTypeList') and conditionParamRef.applyTypeList.size() > 0">
field(a.applyType,
<foreach collection="conditionParamRef.applyTypeList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('implementName')">
<if test="conditionParamRef.implementName != null and conditionParamRef.implementName != ''">
${_conditionType_} a.implementName like #{${_conditionParam_}.implementName}
</if>
<if test="conditionParamRef.implementName == null">
${_conditionType_} a.implementName is null
</if>
</if>
<if test="conditionParamRef.containsKey('implementNameList') and conditionParamRef.implementNameList.size() > 0">
${_conditionType_} a.implementName in
<foreach collection="conditionParamRef.implementNameList" open="(" close=")" index="index" item="item" separator=",">
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
field(a.createUserId,
<foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('implementNameNotList') and conditionParamRef.implementNameNotList.size() > 0">
${_conditionType_} a.implementName not in
<foreach collection="conditionParamRef.implementNameNotList" open="(" close=")" index="index" item="item" separator=",">
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
field(a.updateUserId,
<foreach collection="conditionParamRef.updateUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('eventObjectType')">
<if test="conditionParamRef.eventObjectType != null and conditionParamRef.eventObjectType != ''">
${_conditionType_} a.eventObjectType like #{${_conditionParam_}.eventObjectType}
</if>
<if test="conditionParamRef.eventObjectType == null">
${_conditionType_} a.eventObjectType is null
</if>
</if>
<if test="conditionParamRef.containsKey('eventObjectTypeList') and conditionParamRef.eventObjectTypeList.size() > 0">
${_conditionType_} a.eventObjectType in
<foreach collection="conditionParamRef.eventObjectTypeList" open="(" close=")" index="index" item="item" separator=",">
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
field(a.deptId,
<foreach collection="conditionParamRef.deptIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('eventObjectTypeNotList') and conditionParamRef.eventObjectTypeNotList.size() > 0">
${_conditionType_} a.eventObjectType not in
<foreach collection="conditionParamRef.eventObjectTypeNotList" open="(" close=")" index="index" item="item" separator=",">
<trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
a.${item.colName} ${item.sortKind}
</foreach>
</trim>
</if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
field(a.id,
<foreach collection="conditionParamRef.idList" 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=",">
<if test="conditionParamRef.containsKey('applyTypeList') and conditionParamRef.applyTypeList.size() > 0">
field(a.applyType,
<foreach collection="conditionParamRef.applyTypeList" 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=",">
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
field(a.createUserId,
<foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId is null
</if>
,
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
field(a.updateUserId,
<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=",">
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
field(a.deptId,
<foreach collection="conditionParamRef.deptIdList" 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
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
field(a.id,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('applyTypeList') and conditionParamRef.applyTypeList.size() > 0">
field(a.applyType,
<foreach collection="conditionParamRef.applyTypeList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
field(a.createUserId,
<foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
field(a.updateUserId,
<foreach collection="conditionParamRef.updateUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
a.${item.colName} ${item.sortKind}
</foreach>
</trim>
</if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
field(a.id,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('applyTypeList') and conditionParamRef.applyTypeList.size() > 0">
field(a.applyType,
<foreach collection="conditionParamRef.applyTypeList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
field(a.createUserId,
<foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
field(a.updateUserId,
<foreach collection="conditionParamRef.updateUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<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('applyType')">
a.applyType
<if test='orderCol.applyType != null and "DESC".equalsIgnoreCase(orderCol.applyType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('eventId')">
a.eventId
<if test='orderCol.eventId != null and "DESC".equalsIgnoreCase(orderCol.eventId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('eventType')">
a.eventType
<if test='orderCol.eventType != null and "DESC".equalsIgnoreCase(orderCol.eventType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('implementCoding')">
a.implementCoding
<if test='orderCol.implementCoding != null and "DESC".equalsIgnoreCase(orderCol.implementCoding)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('handlingItemCode')">
a.handlingItemCode
<if test='orderCol.handlingItemCode != null and "DESC".equalsIgnoreCase(orderCol.handlingItemCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('implementName')">
a.implementName
<if test='orderCol.implementName != null and "DESC".equalsIgnoreCase(orderCol.implementName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('eventObjectType')">
a.eventObjectType
<if test='orderCol.eventObjectType != null and "DESC".equalsIgnoreCase(orderCol.eventObjectType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateUserId')">
a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('id')">
a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('applyType')">
a.applyType
<if test='orderCol.applyType != null and "DESC".equalsIgnoreCase(orderCol.applyType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('eventId')">
a.eventId
<if test='orderCol.eventId != null and "DESC".equalsIgnoreCase(orderCol.eventId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('eventType')">
a.eventType
<if test='orderCol.eventType != null and "DESC".equalsIgnoreCase(orderCol.eventType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('implementCoding')">
a.implementCoding
<if test='orderCol.implementCoding != null and "DESC".equalsIgnoreCase(orderCol.implementCoding)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('handlingItemCode')">
a.handlingItemCode
<if test='orderCol.handlingItemCode != null and "DESC".equalsIgnoreCase(orderCol.handlingItemCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('implementName')">
a.implementName
<if test='orderCol.implementName != null and "DESC".equalsIgnoreCase(orderCol.implementName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('eventObjectType')">
a.eventObjectType
<if test='orderCol.eventObjectType != null and "DESC".equalsIgnoreCase(orderCol.eventObjectType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateUserId')">
a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('crossFlag')">
a.crossFlag
<if test='orderCol.crossFlag != null and "DESC".equalsIgnoreCase(orderCol.crossFlag)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptId')">
a.deptId
<if test='orderCol.deptId != null and "DESC".equalsIgnoreCase(orderCol.deptId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptName')">
a.deptName
<if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if>
,
</if>
</trim>
</if>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.matter.dao.ibatis.EventImplementationDaoImpl">
<!-- 字段和属性映射 -->
<resultMap type="EventImplementationEntity" id="EventImplementationEntity-Map">
<id property="id" column="id" />
<result property="eventId" column="eventId" />
<result property="eventType" column="eventType" />
<result property="implementCoding" column="implementCoding" />
<result property="handlingItemCode" column="handlingItemCode" />
<result property="implementName" column="implementName" />
<result property="eventObjectType" column="eventObjectType" />
<result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" />
<id property="id" column="id" />
<result property="eventId" column="eventId" />
<result property="eventType" column="eventType" />
<result property="implementCoding" column="implementCoding" />
<result property="handlingItemCode" column="handlingItemCode" />
<result property="implementName" column="implementName" />
<result property="eventObjectType" column="eventObjectType" />
<result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" />
<result property="crossFlag" column="crossFlag" />
<result property="deptId" column="deptId" />
<result property="deptName" column="deptName" />
</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('eventId') or colPickMode == 1 and data.containsKey('eventId')))">
a.eventId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventType') or colPickMode == 1 and data.containsKey('eventType')))">
a.eventType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('implementCoding') or colPickMode == 1 and data.containsKey('implementCoding')))">
a.implementCoding,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('handlingItemCode') or colPickMode == 1 and data.containsKey('handlingItemCode')))">
a.handlingItemCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('implementName') or colPickMode == 1 and data.containsKey('implementName')))">
a.implementName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventObjectType') or colPickMode == 1 and data.containsKey('eventObjectType')))">
a.eventObjectType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventId') or colPickMode == 1 and data.containsKey('eventId')))">
a.eventId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventType') or colPickMode == 1 and data.containsKey('eventType')))">
a.eventType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('implementCoding') or colPickMode == 1 and data.containsKey('implementCoding')))">
a.implementCoding,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('handlingItemCode') or colPickMode == 1 and data.containsKey('handlingItemCode')))">
a.handlingItemCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('implementName') or colPickMode == 1 and data.containsKey('implementName')))">
a.implementName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventObjectType') or colPickMode == 1 and data.containsKey('eventObjectType')))">
a.eventObjectType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('crossFlag') or colPickMode == 1 and data.containsKey('crossFlag')))">
a.crossFlag,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))">
a.deptId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))">
a.deptName,
</if>
</trim>
</sql>
<!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="EventImplementationEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_event_implementation
(eventId,eventType,implementCoding,handlingItemCode,implementName,eventObjectType,createUserId,createTime,updateUserId,updateTime)
(eventId,eventType,implementCoding,handlingItemCode,implementName,eventObjectType,createUserId,createTime,updateUserId,updateTime,crossFlag,deptId,deptName)
VALUES
(#{eventId},#{eventType},#{implementCoding},#{handlingItemCode},#{implementName},#{eventObjectType},#{createUserId},#{createTime},#{updateUserId},#{updateTime})
(#{eventId},#{eventType},#{implementCoding},#{handlingItemCode},#{implementName},#{eventObjectType},#{createUserId},#{createTime},#{updateUserId},#{updateTime},#{crossFlag},#{deptId},#{deptName})
</insert>
<!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_event_implementation
(eventId,eventType,implementCoding,handlingItemCode,implementName,eventObjectType,createUserId,createTime,updateUserId,updateTime)
(eventId,eventType,implementCoding,handlingItemCode,implementName,eventObjectType,createUserId,createTime,updateUserId,updateTime,crossFlag,deptId,deptName)
VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.eventId},#{item.eventType},#{item.implementCoding},#{item.handlingItemCode},#{item.implementName},#{item.eventObjectType},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime})
(#{item.eventId},#{item.eventType},#{item.implementCoding},#{item.handlingItemCode},#{item.implementName},#{item.eventObjectType},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime},#{item.crossFlag},#{item.deptId},#{item.deptName})
</foreach>
</insert>
......@@ -118,6 +130,18 @@
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime},
</if>
<if test="(colPickMode==0 and data.containsKey('crossFlag')) or (colPickMode==1 and !data.containsKey('crossFlag'))">
a.crossFlag=#{data.crossFlag},
</if>
<if test="(colPickMode==0 and data.containsKey('deptId')) or (colPickMode==1 and !data.containsKey('deptId'))">
a.deptId=#{data.deptId},
</if>
<if test="(colPickMode==0 and data.containsKey('deptIdIncrement')) or (colPickMode==1 and !data.containsKey('deptIdIncrement'))">
a.deptId=ifnull(a.deptId,0) + #{data.deptIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('deptName')) or (colPickMode==1 and !data.containsKey('deptName'))">
a.deptName=#{data.deptName},
</if>
</trim>
<trim suffixOverrides="where" suffix="">
where
......@@ -130,86 +154,112 @@
<update id="updateBatch" parameterType="paramDto">
update mortals_xhx_event_implementation as a
<trim prefix="set" suffixOverrides=",">
<trim prefix="eventId=(case" suffix="ELSE eventId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventId')) or (colPickMode==1 and !item.containsKey('eventId'))">
when a.id=#{item.id} then #{item.eventId}
</if>
</foreach>
</trim>
<trim prefix="eventType=(case" suffix="ELSE eventType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventType')) or (colPickMode==1 and !item.containsKey('eventType'))">
when a.id=#{item.id} then #{item.eventType}
</if>
</foreach>
</trim>
<trim prefix="implementCoding=(case" suffix="ELSE implementCoding end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('implementCoding')) or (colPickMode==1 and !item.containsKey('implementCoding'))">
when a.id=#{item.id} then #{item.implementCoding}
</if>
</foreach>
</trim>
<trim prefix="handlingItemCode=(case" suffix="ELSE handlingItemCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('handlingItemCode')) or (colPickMode==1 and !item.containsKey('handlingItemCode'))">
when a.id=#{item.id} then #{item.handlingItemCode}
</if>
</foreach>
</trim>
<trim prefix="implementName=(case" suffix="ELSE implementName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('implementName')) or (colPickMode==1 and !item.containsKey('implementName'))">
when a.id=#{item.id} then #{item.implementName}
</if>
</foreach>
</trim>
<trim prefix="eventObjectType=(case" suffix="ELSE eventObjectType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventObjectType')) or (colPickMode==1 and !item.containsKey('eventObjectType'))">
when a.id=#{item.id} then #{item.eventObjectType}
</if>
</foreach>
</trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime}
</if>
</foreach>
</trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.id=#{item.id} then #{item.updateUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime}
</if>
</foreach>
</trim>
<trim prefix="eventId=(case" suffix="ELSE eventId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventId')) or (colPickMode==1 and !item.containsKey('eventId'))">
when a.id=#{item.id} then #{item.eventId}
</if>
</foreach>
</trim>
<trim prefix="eventType=(case" suffix="ELSE eventType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventType')) or (colPickMode==1 and !item.containsKey('eventType'))">
when a.id=#{item.id} then #{item.eventType}
</if>
</foreach>
</trim>
<trim prefix="implementCoding=(case" suffix="ELSE implementCoding end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('implementCoding')) or (colPickMode==1 and !item.containsKey('implementCoding'))">
when a.id=#{item.id} then #{item.implementCoding}
</if>
</foreach>
</trim>
<trim prefix="handlingItemCode=(case" suffix="ELSE handlingItemCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('handlingItemCode')) or (colPickMode==1 and !item.containsKey('handlingItemCode'))">
when a.id=#{item.id} then #{item.handlingItemCode}
</if>
</foreach>
</trim>
<trim prefix="implementName=(case" suffix="ELSE implementName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('implementName')) or (colPickMode==1 and !item.containsKey('implementName'))">
when a.id=#{item.id} then #{item.implementName}
</if>
</foreach>
</trim>
<trim prefix="eventObjectType=(case" suffix="ELSE eventObjectType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventObjectType')) or (colPickMode==1 and !item.containsKey('eventObjectType'))">
when a.id=#{item.id} then #{item.eventObjectType}
</if>
</foreach>
</trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime}
</if>
</foreach>
</trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.id=#{item.id} then #{item.updateUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime}
</if>
</foreach>
</trim>
<trim prefix="crossFlag=(case" suffix="ELSE crossFlag end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('crossFlag')) or (colPickMode==1 and !item.containsKey('crossFlag'))">
when a.id=#{item.id} then #{item.crossFlag}
</if>
</foreach>
</trim>
<trim prefix="deptId=(case" suffix="ELSE deptId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('deptId')) or (colPickMode==1 and !item.containsKey('deptId'))">
when a.id=#{item.id} then #{item.deptId}
</when>
<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>
</choose>
</foreach>
</trim>
<trim prefix="deptName=(case" suffix="ELSE deptName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deptName')) or (colPickMode==1 and !item.containsKey('deptName'))">
when a.id=#{item.id} then #{item.deptName}
</if>
</foreach>
</trim>
</trim>
where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
......@@ -326,353 +376,451 @@
${_conditionType_} a.id=#{${_conditionParam_}.id}
</if>
</if>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('eventId')">
<if test="conditionParamRef.eventId != null and conditionParamRef.eventId != ''">
${_conditionType_} a.eventId like #{${_conditionParam_}.eventId}
</if>
<if test="conditionParamRef.eventId == null">
${_conditionType_} a.eventId is null
</if>
<if test="conditionParamRef.containsKey('eventId')">
<if test="conditionParamRef.eventId != null and conditionParamRef.eventId != ''">
${_conditionType_} a.eventId like #{${_conditionParam_}.eventId}
</if>
<if test="conditionParamRef.containsKey('eventIdList') and conditionParamRef.eventIdList.size() > 0">
${_conditionType_} a.eventId in
<foreach collection="conditionParamRef.eventIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventIdNotList') and conditionParamRef.eventIdNotList.size() > 0">
${_conditionType_} a.eventId not in
<foreach collection="conditionParamRef.eventIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.eventId == null">
${_conditionType_} a.eventId is null
</if>
</if>
<if test="conditionParamRef.containsKey('eventIdList') and conditionParamRef.eventIdList.size() > 0">
${_conditionType_} a.eventId in
<foreach collection="conditionParamRef.eventIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventIdNotList') and conditionParamRef.eventIdNotList.size() > 0">
${_conditionType_} a.eventId not in
<foreach collection="conditionParamRef.eventIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventType')">
<if test="conditionParamRef.eventType != null and conditionParamRef.eventType != ''">
${_conditionType_} a.eventType like #{${_conditionParam_}.eventType}
</if>
<if test="conditionParamRef.eventType == null">
${_conditionType_} a.eventType is null
</if>
<if test="conditionParamRef.containsKey('eventType')">
<if test="conditionParamRef.eventType != null and conditionParamRef.eventType != ''">
${_conditionType_} a.eventType like #{${_conditionParam_}.eventType}
</if>
<if test="conditionParamRef.containsKey('eventTypeList') and conditionParamRef.eventTypeList.size() > 0">
${_conditionType_} a.eventType in
<foreach collection="conditionParamRef.eventTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventTypeNotList') and conditionParamRef.eventTypeNotList.size() > 0">
${_conditionType_} a.eventType not in
<foreach collection="conditionParamRef.eventTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.eventType == null">
${_conditionType_} a.eventType is null
</if>
</if>
<if test="conditionParamRef.containsKey('eventTypeList') and conditionParamRef.eventTypeList.size() > 0">
${_conditionType_} a.eventType in
<foreach collection="conditionParamRef.eventTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventTypeNotList') and conditionParamRef.eventTypeNotList.size() > 0">
${_conditionType_} a.eventType not in
<foreach collection="conditionParamRef.eventTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('implementCoding')">
<if test="conditionParamRef.implementCoding != null and conditionParamRef.implementCoding != ''">
${_conditionType_} a.implementCoding like #{${_conditionParam_}.implementCoding}
</if>
<if test="conditionParamRef.implementCoding == null">
${_conditionType_} a.implementCoding is null
</if>
</if>
<if test="conditionParamRef.containsKey('implementCodingList') and conditionParamRef.implementCodingList.size() > 0">
${_conditionType_} a.implementCoding in
<foreach collection="conditionParamRef.implementCodingList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.containsKey('implementCoding')">
<if test="conditionParamRef.implementCoding != null and conditionParamRef.implementCoding != ''">
${_conditionType_} a.implementCoding like #{${_conditionParam_}.implementCoding}
</if>
<if test="conditionParamRef.containsKey('implementCodingNotList') and conditionParamRef.implementCodingNotList.size() > 0">
${_conditionType_} a.implementCoding not in
<foreach collection="conditionParamRef.implementCodingNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.implementCoding == null">
${_conditionType_} a.implementCoding is null
</if>
</if>
<if test="conditionParamRef.containsKey('implementCodingList') and conditionParamRef.implementCodingList.size() > 0">
${_conditionType_} a.implementCoding in
<foreach collection="conditionParamRef.implementCodingList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('implementCodingNotList') and conditionParamRef.implementCodingNotList.size() > 0">
${_conditionType_} a.implementCoding not in
<foreach collection="conditionParamRef.implementCodingNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('handlingItemCode')">
<if test="conditionParamRef.handlingItemCode != null and conditionParamRef.handlingItemCode != ''">
${_conditionType_} a.handlingItemCode like #{${_conditionParam_}.handlingItemCode}
</if>
<if test="conditionParamRef.handlingItemCode == null">
${_conditionType_} a.handlingItemCode is null
</if>
<if test="conditionParamRef.containsKey('handlingItemCode')">
<if test="conditionParamRef.handlingItemCode != null and conditionParamRef.handlingItemCode != ''">
${_conditionType_} a.handlingItemCode like #{${_conditionParam_}.handlingItemCode}
</if>
<if test="conditionParamRef.containsKey('handlingItemCodeList') and conditionParamRef.handlingItemCodeList.size() > 0">
${_conditionType_} a.handlingItemCode in
<foreach collection="conditionParamRef.handlingItemCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('handlingItemCodeNotList') and conditionParamRef.handlingItemCodeNotList.size() > 0">
${_conditionType_} a.handlingItemCode not in
<foreach collection="conditionParamRef.handlingItemCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.handlingItemCode == null">
${_conditionType_} a.handlingItemCode is null
</if>
</if>
<if test="conditionParamRef.containsKey('handlingItemCodeList') and conditionParamRef.handlingItemCodeList.size() > 0">
${_conditionType_} a.handlingItemCode in
<foreach collection="conditionParamRef.handlingItemCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('handlingItemCodeNotList') and conditionParamRef.handlingItemCodeNotList.size() > 0">
${_conditionType_} a.handlingItemCode not in
<foreach collection="conditionParamRef.handlingItemCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('implementName')">
<if test="conditionParamRef.implementName != null and conditionParamRef.implementName != ''">
${_conditionType_} a.implementName like #{${_conditionParam_}.implementName}
</if>
<if test="conditionParamRef.implementName == null">
${_conditionType_} a.implementName is null
</if>
<if test="conditionParamRef.containsKey('implementName')">
<if test="conditionParamRef.implementName != null and conditionParamRef.implementName != ''">
${_conditionType_} a.implementName like #{${_conditionParam_}.implementName}
</if>
<if test="conditionParamRef.containsKey('implementNameList') and conditionParamRef.implementNameList.size() > 0">
${_conditionType_} a.implementName in
<foreach collection="conditionParamRef.implementNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('implementNameNotList') and conditionParamRef.implementNameNotList.size() > 0">
${_conditionType_} a.implementName not in
<foreach collection="conditionParamRef.implementNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.implementName == null">
${_conditionType_} a.implementName is null
</if>
</if>
<if test="conditionParamRef.containsKey('implementNameList') and conditionParamRef.implementNameList.size() > 0">
${_conditionType_} a.implementName in
<foreach collection="conditionParamRef.implementNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('implementNameNotList') and conditionParamRef.implementNameNotList.size() > 0">
${_conditionType_} a.implementName not in
<foreach collection="conditionParamRef.implementNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventObjectType')">
<if test="conditionParamRef.eventObjectType != null and conditionParamRef.eventObjectType != ''">
${_conditionType_} a.eventObjectType like #{${_conditionParam_}.eventObjectType}
</if>
<if test="conditionParamRef.eventObjectType == null">
${_conditionType_} a.eventObjectType is null
</if>
<if test="conditionParamRef.containsKey('eventObjectType')">
<if test="conditionParamRef.eventObjectType != null and conditionParamRef.eventObjectType != ''">
${_conditionType_} a.eventObjectType like #{${_conditionParam_}.eventObjectType}
</if>
<if test="conditionParamRef.containsKey('eventObjectTypeList') and conditionParamRef.eventObjectTypeList.size() > 0">
${_conditionType_} a.eventObjectType in
<foreach collection="conditionParamRef.eventObjectTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.eventObjectType == null">
${_conditionType_} a.eventObjectType is null
</if>
<if test="conditionParamRef.containsKey('eventObjectTypeNotList') and conditionParamRef.eventObjectTypeNotList.size() > 0">
${_conditionType_} a.eventObjectType not in
<foreach collection="conditionParamRef.eventObjectTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventObjectTypeList') and conditionParamRef.eventObjectTypeList.size() > 0">
${_conditionType_} a.eventObjectType in
<foreach collection="conditionParamRef.eventObjectTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventObjectTypeNotList') and conditionParamRef.eventObjectTypeNotList.size() > 0">
${_conditionType_} a.eventObjectType not in
<foreach collection="conditionParamRef.eventObjectTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</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('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
<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('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
<if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</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 test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime 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 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('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('crossFlag')">
<if test="conditionParamRef.crossFlag != null and conditionParamRef.crossFlag != ''">
${_conditionType_} a.crossFlag like #{${_conditionParam_}.crossFlag}
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
<if test="conditionParamRef.crossFlag == null">
${_conditionType_} a.crossFlag is null
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('crossFlagList') and conditionParamRef.crossFlagList.size() > 0">
${_conditionType_} a.crossFlag in
<foreach collection="conditionParamRef.crossFlagList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('crossFlagNotList') and conditionParamRef.crossFlagNotList.size() > 0">
${_conditionType_} a.crossFlag not in
<foreach collection="conditionParamRef.crossFlagNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptId')">
<if test="conditionParamRef.deptId != null ">
${_conditionType_} a.deptId = #{${_conditionParam_}.deptId}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
<if test="conditionParamRef.deptId == null">
${_conditionType_} a.deptId is null
</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('updateTime')">
<if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
<if test="conditionParamRef.containsKey('deptName')">
<if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''">
${_conditionType_} a.deptName like #{${_conditionParam_}.deptName}
</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 test="conditionParamRef.deptName == null">
${_conditionType_} a.deptName is null
</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>
</sql>
<sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()">
order by
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
field(a.id,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
field(a.createUserId,
<foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
field(a.updateUserId,
<foreach collection="conditionParamRef.updateUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
field(a.id,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
field(a.createUserId,
<foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
field(a.updateUserId,
<foreach collection="conditionParamRef.updateUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
field(a.deptId,
<foreach collection="conditionParamRef.deptIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
a.${item.colName} ${item.sortKind}
a.${item.colName} ${item.sortKind}
</foreach>
</trim>
</if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
field(a.id,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
field(a.createUserId,
<foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
field(a.updateUserId,
<foreach collection="conditionParamRef.updateUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
field(a.id,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
field(a.createUserId,
<foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
field(a.updateUserId,
<foreach collection="conditionParamRef.updateUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
field(a.deptId,
<foreach collection="conditionParamRef.deptIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<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('eventId')">
a.eventId
<if test='orderCol.eventId != null and "DESC".equalsIgnoreCase(orderCol.eventId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('eventType')">
a.eventType
<if test='orderCol.eventType != null and "DESC".equalsIgnoreCase(orderCol.eventType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('implementCoding')">
a.implementCoding
<if test='orderCol.implementCoding != null and "DESC".equalsIgnoreCase(orderCol.implementCoding)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('handlingItemCode')">
a.handlingItemCode
<if test='orderCol.handlingItemCode != null and "DESC".equalsIgnoreCase(orderCol.handlingItemCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('implementName')">
a.implementName
<if test='orderCol.implementName != null and "DESC".equalsIgnoreCase(orderCol.implementName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('eventObjectType')">
a.eventObjectType
<if test='orderCol.eventObjectType != null and "DESC".equalsIgnoreCase(orderCol.eventObjectType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateUserId')">
a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('id')">
a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('eventId')">
a.eventId
<if test='orderCol.eventId != null and "DESC".equalsIgnoreCase(orderCol.eventId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('eventType')">
a.eventType
<if test='orderCol.eventType != null and "DESC".equalsIgnoreCase(orderCol.eventType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('implementCoding')">
a.implementCoding
<if test='orderCol.implementCoding != null and "DESC".equalsIgnoreCase(orderCol.implementCoding)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('handlingItemCode')">
a.handlingItemCode
<if test='orderCol.handlingItemCode != null and "DESC".equalsIgnoreCase(orderCol.handlingItemCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('implementName')">
a.implementName
<if test='orderCol.implementName != null and "DESC".equalsIgnoreCase(orderCol.implementName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('eventObjectType')">
a.eventObjectType
<if test='orderCol.eventObjectType != null and "DESC".equalsIgnoreCase(orderCol.eventObjectType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateUserId')">
a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('crossFlag')">
a.crossFlag
<if test='orderCol.crossFlag != null and "DESC".equalsIgnoreCase(orderCol.crossFlag)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptId')">
a.deptId
<if test='orderCol.deptId != null and "DESC".equalsIgnoreCase(orderCol.deptId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptName')">
a.deptName
<if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if>
,
</if>
</trim>
</if>
......
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