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

修改综窗事项列表接口

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