Commit 51eff08b authored by 赵啸非's avatar 赵啸非

删除无用的部门和站点

parent a0f1fc1b
Pipeline #2954 canceled with stages
package com.mortals.xhx.common.utils;
import com.google.zxing.*;
import com.google.zxing.client.j2se.BufferedImageLuminanceSource;
import com.google.zxing.common.BitMatrix;
import com.google.zxing.common.HybridBinarizer;
import com.google.zxing.qrcode.decoder.ErrorCorrectionLevel;
import com.mortals.framework.util.Base64;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.geom.RoundRectangle2D;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Hashtable;
import java.util.Random;
/**
* 二维码工具类
*
*/
public class QRCodeUtil {
@SuppressWarnings("unused")
private static Log logger = LogFactory.getLog(QRCodeUtil.class);
private static final String CHARSET = "utf-8";
private static final String FORMAT = "JPG";
// 二维码尺寸
private static final int QRCODE_SIZE = 300;
// LOGO宽度
private static final int LOGO_WIDTH = 60;
// LOGO高度
private static final int LOGO_HEIGHT = 60;
private static BufferedImage createImage(String content, String logoPath, boolean needCompress) throws Exception {
Hashtable<EncodeHintType, Object> hints = new Hashtable<EncodeHintType, Object>();
hints.put(EncodeHintType.ERROR_CORRECTION, ErrorCorrectionLevel.H);
hints.put(EncodeHintType.CHARACTER_SET, CHARSET);
hints.put(EncodeHintType.MARGIN, 1);
BitMatrix bitMatrix = new MultiFormatWriter().encode(content, BarcodeFormat.QR_CODE, QRCODE_SIZE, QRCODE_SIZE, hints);
int width = bitMatrix.getWidth();
int height = bitMatrix.getHeight();
BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
for (int x = 0; x < width; x++) {
for (int y = 0; y < height; y++) {
image.setRGB(x, y, bitMatrix.get(x, y) ? 0xFF000000 : 0xFFFFFFFF);
}
}
if (logoPath == null || "".equals(logoPath)) {
return image;
}
// 插入图片
QRCodeUtil.insertImage(image, logoPath, needCompress);
return image;
}
/**
* 插入LOGO
*
* @param source
* 二维码图片
* @param logoPath
* LOGO图片地址
* @param needCompress
* 是否压缩
* @throws Exception
*/
private static void insertImage(BufferedImage source, String logoPath, boolean needCompress) throws Exception {
File file = new File(logoPath);
if (!file.exists()) {
throw new Exception("logo file not found.");
}
Image src = ImageIO.read(new File(logoPath));
int width = src.getWidth(null);
int height = src.getHeight(null);
if (needCompress) { // 压缩LOGO
if (width > LOGO_WIDTH) {
width = LOGO_WIDTH;
}
if (height > LOGO_HEIGHT) {
height = LOGO_HEIGHT;
}
Image image = src.getScaledInstance(width, height, Image.SCALE_SMOOTH);
BufferedImage tag = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
Graphics g = tag.getGraphics();
g.drawImage(image, 0, 0, null); // 绘制缩小后的图
g.dispose();
src = image;
}
// 插入LOGO
Graphics2D graph = source.createGraphics();
int x = (QRCODE_SIZE - width) / 2;
int y = (QRCODE_SIZE - height) / 2;
graph.drawImage(src, x, y, width, height, null);
Shape shape = new RoundRectangle2D.Float(x, y, width, width, 6, 6);
graph.setStroke(new BasicStroke(3f));
graph.draw(shape);
graph.dispose();
}
/**
* 生成二维码(内嵌LOGO) 二维码文件名随机,文件名可能会有重复
*
* @param content
* 内容
* @param logoPath
* LOGO地址
* @param destPath
* 存放目录
* @param needCompress
* 是否压缩LOGO
* @throws Exception
*/
public static String encode(String content, String logoPath, String destPath, boolean needCompress) throws Exception {
BufferedImage image = QRCodeUtil.createImage(content, logoPath, needCompress);
mkdirs(destPath);
String fileName = new Random().nextInt(99999999) + "." + FORMAT.toLowerCase();
ImageIO.write(image, FORMAT, new File(destPath + "/" + fileName));
return fileName;
}
/**
* 生成二维码(内嵌LOGO) 调用者指定二维码文件名
*
* @param content
* 内容
* @param logoPath
* LOGO地址
* @param destPath
* 存放目录
* @param fileName
* 二维码文件名
* @param needCompress
* 是否压缩LOGO
* @throws Exception
*/
public static String encode(String content, String logoPath, String destPath, String fileName, boolean needCompress) throws Exception {
BufferedImage image = QRCodeUtil.createImage(content, logoPath, needCompress);
mkdirs(destPath);
fileName = fileName.substring(0, fileName.indexOf(".") > 0 ? fileName.indexOf(".") : fileName.length()) + "." + FORMAT.toLowerCase();
ImageIO.write(image, FORMAT, new File(destPath + "/" + fileName));
return fileName;
}
/**
* 当文件夹不存在时,mkdirs会自动创建多层目录,区别于mkdir. (mkdir如果父目录不存在则会抛出异常)
*
* @param destPath
* 存放目录
*/
public static void mkdirs(String destPath) {
File file = new File(destPath);
if (!file.exists() && !file.isDirectory()) {
file.mkdirs();
}
}
/**
* 生成二维码
*
* @param content
* 内容
* @param destPath
* 存储地址
* @throws Exception
*/
public static String encode(String content, String destPath) throws Exception {
return QRCodeUtil.encode(content, null, destPath, false);
}
/**
* 生成二维码(内嵌LOGO)
*
* @param content
* 内容
* @param logoPath
* LOGO地址
* @param output
* 输出流
* @param needCompress
* 是否压缩LOGO
* @throws Exception
*/
public static void encode(String content, String logoPath, OutputStream output, boolean needCompress) throws Exception {
BufferedImage image = QRCodeUtil.createImage(content, logoPath, needCompress);
ImageIO.write(image, FORMAT, output);
}
/**
* 生成二维码
*
* @param content
* 内容
* @param output
* 输出流
* @throws Exception
*/
public static void encode(String content, OutputStream output) throws Exception {
QRCodeUtil.encode(content, null, output, false);
}
/**
* 将二维码转换成base64字符串
*
* @param content
* @param logoPath
* @param needCompress
* @return
* @throws Exception
*/
public static String encode(String content, String logoPath, boolean needCompress) throws Exception {
BufferedImage image = QRCodeUtil.createImage(content, logoPath, needCompress);
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
ImageIO.write(image, FORMAT, outputStream);
return Base64.encode(outputStream.toByteArray());
}
public static byte[] encodeToBytes(String content, String logoPath, boolean needCompress) throws Exception {
BufferedImage image = QRCodeUtil.createImage(content, logoPath, needCompress);
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
ImageIO.write(image, FORMAT, outputStream);
return outputStream.toByteArray();
}
/**
* 解析二维码
*
* @param file
* 二维码图片
* @return
* @throws Exception
*/
public static String decode(File file) throws Exception {
BufferedImage image;
image = ImageIO.read(file);
if (image == null) {
return null;
}
BufferedImageLuminanceSource source = new BufferedImageLuminanceSource(image);
BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source));
Result result;
Hashtable<DecodeHintType, Object> hints = new Hashtable<DecodeHintType, Object>();
hints.put(DecodeHintType.CHARACTER_SET, CHARSET);
result = new MultiFormatReader().decode(bitmap, hints);
String resultStr = result.getText();
return resultStr;
}
/**
* 解析二维码
*
* @param path
* 二维码图片地址
* @return
* @throws Exception
*/
public static String decode(String path) throws Exception {
return QRCodeUtil.decode(new File(path));
}
/**
* 解析二维码
*
* @param file
* 二维码图片
* @return
* @throws Exception
*/
public static String decode(InputStream inputStream) throws Exception {
BufferedImage image = ImageIO.read(inputStream);
if (image == null) {
return null;
}
BufferedImageLuminanceSource source = new BufferedImageLuminanceSource(image);
BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source));
Result result;
Hashtable<DecodeHintType, Object> hints = new Hashtable<DecodeHintType, Object>();
hints.put(DecodeHintType.CHARACTER_SET, CHARSET);
result = new MultiFormatReader().decode(bitmap, hints);
String resultStr = result.getText();
return resultStr;
}
public static void main(String[] args) throws Exception {
// String text =
// "https://mp.weixin.qq.com/a/~~qgbFJlgjTPg~wAWUfsCV6ni-VdasDWFqJg~~";
// QRCodeUtil.encode(text, "", "e:\\", "qrcodeTest", true);
// System.out.println(QRCodeUtil.decode("d:\\777.png"));
System.out.println(QRCodeUtil.decode("e:\\4.png"));
// https://mp.weixin.qq.com/a/~~7e4OEtdDP-A~N-WJjuAzvca5sdEzbkQ9hA~~
// https://mp.weixin.qq.com/a/~~hopFMAkydTI~RWT6ZsVRPo0jIZzPgXGVlg~~ 2
// https://mp.weixin.qq.com/a/~~GwiYx6fLcTQ~gglQBO3FfzX6SuWe2z65rg~~ 3
// https://mp.weixin.qq.com/a/~~UjQMf5HyHLM~8SjrWsLXuc-3XtoAgFPEIw~~ 4
// System.out.println(QRCodeUtil.encode(text,null, true).length());
}
}
//package com.mortals.xhx.daemon.task;
//
//import com.mortals.framework.common.Rest;
//import com.mortals.framework.exception.AppException;
//import com.mortals.framework.service.ITask;
//import com.mortals.framework.service.ITaskExcuteService;
//import com.mortals.xhx.common.code.YesNoEnum;
//import com.mortals.xhx.common.pdu.RespData;
//import com.mortals.xhx.common.pdu.site.SiteMatterPdu;
//import com.mortals.xhx.common.pdu.site.SitePdu;
//import com.mortals.xhx.feign.site.ISiteFeign;
//import com.mortals.xhx.feign.site.ISiteMatterFeign;
//import com.mortals.xhx.module.sheet.model.SheetMatterEntity;
//import com.mortals.xhx.module.sheet.model.SheetMatterQuery;
//import com.mortals.xhx.module.sheet.service.SheetMatterService;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import org.springframework.util.ObjectUtils;
//
//import java.util.List;
//import java.util.stream.Collectors;
//
///**
// * 同步事项列表
// */
//@Slf4j
//@Service("SyncSiteMatterTask")
//public class SyncSiteMatterTaskImpl implements ITaskExcuteService {
//
// @Autowired
// private ISiteFeign siteFeign;
// @Autowired
// private ISiteMatterFeign siteMatterFeign;
// @Autowired
// private SheetMatterService sheetMatterService;
//
// @Override
// public void excuteTask(ITask task) throws AppException {
// log.info("开始同步事项列表!");
// SitePdu sitePdu = new SitePdu();
// sitePdu.setId(1L);
// Rest<List<SitePdu>> siteRest = siteFeign.getFlatSitesBySiteId(sitePdu);
// if (siteRest.getCode() == YesNoEnum.YES.getValue()) {
// log.info("站点总数量:{}",siteRest.getData().size());
// siteRest.getData().forEach(site -> {
// sheetMatterService.getDao().delete(new SheetMatterQuery().siteId(site.getId()));
// log.info("删除事项:{}",siteRest.getData().size());
// int page=100;
// int pageNum=100;
// for(int i=1;i<=page;i++){
// SiteMatterPdu siteMatterPdu = new SiteMatterPdu();
// siteMatterPdu.setSiteId(site.getId());
// siteMatterPdu.setPage(i);
// siteMatterPdu.setSize(pageNum);
// log.info("请求页数列表:"+i);
// Rest<RespData<List<SiteMatterPdu>>> siteMatterRest = siteMatterFeign.list(siteMatterPdu);
// if (siteMatterRest.getCode() == YesNoEnum.YES.getValue()) {
// if(siteMatterRest.getData().getData().size()==0){
// log.info("数据没有!跳出循环");
// break;
// }
// //删除后新增
// log.info("返回事项总数量:{}",siteMatterRest.getData().getData().size());
// List<SheetMatterEntity> sheetMatterEntities = siteMatterRest.getData().getData().stream().map(siteMatter -> {
// SheetMatterEntity sheetMatterEntity = new SheetMatterEntity();
// sheetMatterEntity.initAttrValue();
// sheetMatterEntity.setId(siteMatter.getMatterId());
// sheetMatterEntity.setSiteId(siteMatter.getSiteId());
// sheetMatterEntity.setMatterName(siteMatter.getMatterName());
// sheetMatterEntity.setMatterNo(siteMatter.getMatterCode());
// sheetMatterEntity.setDeptCode(siteMatter.getDeptCode());
// sheetMatterEntity.setDeptName(siteMatter.getDeptName());
// sheetMatterEntity.setAreaCode(siteMatter.getAreaCode());
// sheetMatterEntity.setSource(siteMatter.getSource());
// return sheetMatterEntity;
// }).collect(Collectors.toList());
//
// if (!ObjectUtils.isEmpty(sheetMatterEntities)) {
// // sheetMatterService.getDao().delete(new SheetMatterQuery().siteId(site.getId()));
// log.info("新增事项数量:{}",sheetMatterEntities.size());
// sheetMatterService.save(sheetMatterEntities);
// }
// }else{
// log.info("请求错误,code:{} msg:{}",siteMatterRest.getCode(),siteMatterRest.getMsg());
// }
// }
//
// });
// }
// }
// @Override
// public void stopTask(ITask task) throws AppException {
//
// }
//}
package com.mortals.xhx.daemon.task;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.service.ITask;
import com.mortals.framework.service.ITaskExcuteService;
import com.mortals.xhx.base.system.user.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.stereotype.Service;
/**
* 同步政务服务3.0用户
*/
@Slf4j
@Service("SyncUserTask")
public class SyncUserTaskImpl implements ITaskExcuteService {
@Autowired
private UserService userService;
@Override
public void excuteTask(ITask task) throws AppException {
log.info("同步用户");
//todo 用户来源 php政务系统 密码默认123
// userService.refreshUser();
}
@Override
public void stopTask(ITask task) throws AppException {
}
}
package com.mortals.xhx.module.category.service.impl;
import com.mortals.framework.model.PageInfo;
import org.springframework.beans.BeanUtils;
import java.util.Map;
import java.util.function.Function;
import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
......@@ -17,6 +19,8 @@ import org.springframework.util.ObjectUtils;
import java.util.Date;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import lombok.extern.slf4j.Slf4j;
/**
* CategoryService
......
package com.mortals.xhx.module.declare.web;
import com.alibaba.fastjson.JSONObject;
import com.mortals.framework.annotation.UnAuth;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.code.DeclareStatusEnum;
import com.mortals.xhx.module.declare.model.*;
import com.mortals.xhx.module.declare.service.DeclareFinImagesService;
import com.mortals.xhx.module.declare.service.DeclareImagesService;
import com.mortals.xhx.module.site.model.SiteQuery;
import com.mortals.xhx.module.declare.service.DeclareService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ObjectUtils;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import com.mortals.framework.model.Context;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.module.declare.service.DeclareService;
import org.apache.commons.lang3.ArrayUtils;
import com.mortals.framework.util.StringUtils;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import com.alibaba.fastjson.JSONObject;
import java.util.Arrays;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import static com.mortals.framework.ap.SysConstains.*;
import com.mortals.xhx.common.code.*;
/**
* 企业代办申报
......
package com.mortals.xhx.module.dept.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.model.DeptQuery;
import com.mortals.xhx.module.dept.model.vo.DeptVo;
import java.util.List;
/**
* 部门Dao
* 部门 DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface DeptDao extends ICRUDDao<DeptEntity,Long>{
String GET_DEPT_LIST_BY_BUSINESS = "getDeptListByBusiness";
String GET_BUSINESS_BY_DEPT = "getBusinessByDept";
String GET_DEPTLIST_BY_EXISTBUSINESS = "getDeptListByExistBusiness";
List<DeptVo> getDeptListByBusiness(DeptQuery deptQuery);
List<DeptVo> getBusinessByDept(DeptQuery deptQuery);
List<DeptEntity> getDeptListByExistBusiness(DeptQuery deptQuery);
}
package com.mortals.xhx.module.dept.dao.ibatis;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import com.mortals.framework.model.ParamDto;
import com.mortals.xhx.module.dept.dao.DeptDao;
import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.model.DeptQuery;
import com.mortals.xhx.module.dept.model.vo.DeptVo;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* 部门DaoImpl DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
@Repository("deptDao")
public class DeptDaoImpl extends BaseCRUDDaoMybatis<DeptEntity, Long> implements DeptDao {
/**
* @param deptQuery
* @return
*/
@Override
public List<DeptVo> getDeptListByBusiness(DeptQuery deptQuery) {
ParamDto paramDto = this.getQueryParam(deptQuery);
List list = this.getSqlSession().selectList(this.getSqlId(GET_DEPT_LIST_BY_BUSINESS), paramDto);
return list;
}
/**
* @param deptQuery
* @return
*/
@Override
public List<DeptVo> getBusinessByDept(DeptQuery deptQuery) {
ParamDto paramDto = this.getQueryParam(deptQuery);
List list = this.getSqlSession().selectList(this.getSqlId(GET_BUSINESS_BY_DEPT), paramDto);
return list;
}
/**
* @return
*/
@Override
public List<DeptEntity> getDeptListByExistBusiness(DeptQuery deptQuery) {
ParamDto paramDto = this.getQueryParam(deptQuery);
return this.getSqlSession().selectList(this.getSqlId(GET_DEPTLIST_BY_EXISTBUSINESS),paramDto);
}
}
package com.mortals.xhx.module.dept.model;
import com.mortals.xhx.module.dept.model.vo.DeptVo;
import lombok.Data;
/**
* 部门实体对象
*
* @author zxfei
* @date 2024-04-24
*/
@Data
public class DeptEntity extends DeptVo {
private static final long serialVersionUID = 1L;
/**
* 从政务系统来的部门id
*/
private String tid;
/**
* 从政务系统来的部门name
*/
private String tname;
/**
* 部门名称
*/
private String name;
/**
* 从政务系统来的别名
*/
private String simpleName;
/**
* 站点ID
*/
private Long siteId;
/**
* 部门简称
*/
private String deptAbb;
/**
* 部门电话
*/
private String deptTelphone;
/**
* 部门编号
*/
private String deptNumber;
/**
* 填单机展示 (0.否,1.是)
*/
private Integer isAutotable;
/**
* 预约展示 (0.否,1.是)
*/
private Integer isOrder;
/**
* 背靠背展示 (0.否,1.是)
*/
private Integer isBkb;
/**
* 办事指南展示 (0.否,1.是)
*/
private Integer isWorkGuide;
/**
* 是否使用 (0.否,1.是)
*/
private Integer usValid;
/**
* 部门电话是否展示 (0.否,1.是)
*/
private Integer isSecphone;
/**
* 是否展示英文 (0.否,1.是)
*/
private Integer isEnglish;
/**
* 排序
*/
private Integer sort;
/**
* 部门来源
*/
private Integer source;
/**
* 关联事项数量
*/
private Integer total;
/**
* 入驻事项数量
*/
private Integer inNum;
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof DeptEntity) {
DeptEntity tmp = (DeptEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public void initAttrValue(){
this.tid = "";
this.tname = "";
this.name = "";
this.simpleName = "";
this.siteId = null;
this.deptAbb = "";
this.deptTelphone = "";
this.deptNumber = "";
this.isAutotable = 1;
this.isOrder = 1;
this.isBkb = 1;
this.isWorkGuide = 1;
this.usValid = 1;
this.isSecphone = 1;
this.isEnglish = 1;
this.sort = 0;
this.source = 0;
this.total = 0;
this.inNum = 0;
}
}
\ No newline at end of file
package com.mortals.xhx.module.dept.model;
import java.util.List;
/**
* 部门查询对象
*
* @author zxfei
* @date 2024-04-24
*/
public class DeptQuery extends DeptEntity {
/** 开始 序号,主键,自增长 */
private Long idStart;
/** 结束 序号,主键,自增长 */
private Long idEnd;
/** 增加 序号,主键,自增长 */
private Long idIncrement;
/** 序号,主键,自增长列表 */
private List <Long> idList;
/** 序号,主键,自增长排除列表 */
private List <Long> idNotList;
/** 从政务系统来的部门id */
private List<String> tidList;
/** 从政务系统来的部门id排除列表 */
private List <String> tidNotList;
/** 从政务系统来的部门name */
private List<String> tnameList;
/** 从政务系统来的部门name排除列表 */
private List <String> tnameNotList;
/** 部门名称 */
private List<String> nameList;
/** 部门名称排除列表 */
private List <String> nameNotList;
/** 从政务系统来的别名 */
private List<String> simpleNameList;
/** 从政务系统来的别名排除列表 */
private List <String> simpleNameNotList;
/** 开始 站点ID */
private Long siteIdStart;
/** 结束 站点ID */
private Long siteIdEnd;
/** 增加 站点ID */
private Long siteIdIncrement;
/** 站点ID列表 */
private List <Long> siteIdList;
/** 站点ID排除列表 */
private List <Long> siteIdNotList;
/** 部门简称 */
private List<String> deptAbbList;
/** 部门简称排除列表 */
private List <String> deptAbbNotList;
/** 部门电话 */
private List<String> deptTelphoneList;
/** 部门电话排除列表 */
private List <String> deptTelphoneNotList;
/** 部门编号 */
private List<String> deptNumberList;
/** 部门编号排除列表 */
private List <String> deptNumberNotList;
/** 开始 填单机展示 (0.否,1.是) */
private Integer isAutotableStart;
/** 结束 填单机展示 (0.否,1.是) */
private Integer isAutotableEnd;
/** 增加 填单机展示 (0.否,1.是) */
private Integer isAutotableIncrement;
/** 填单机展示 (0.否,1.是) 列表 */
private List <Integer> isAutotableList;
/** 填单机展示 (0.否,1.是) 排除列表 */
private List <Integer> isAutotableNotList;
/** 开始 预约展示 (0.否,1.是) */
private Integer isOrderStart;
/** 结束 预约展示 (0.否,1.是) */
private Integer isOrderEnd;
/** 增加 预约展示 (0.否,1.是) */
private Integer isOrderIncrement;
/** 预约展示 (0.否,1.是) 列表 */
private List <Integer> isOrderList;
/** 预约展示 (0.否,1.是) 排除列表 */
private List <Integer> isOrderNotList;
/** 开始 背靠背展示 (0.否,1.是) */
private Integer isBkbStart;
/** 结束 背靠背展示 (0.否,1.是) */
private Integer isBkbEnd;
/** 增加 背靠背展示 (0.否,1.是) */
private Integer isBkbIncrement;
/** 背靠背展示 (0.否,1.是) 列表 */
private List <Integer> isBkbList;
/** 背靠背展示 (0.否,1.是) 排除列表 */
private List <Integer> isBkbNotList;
/** 开始 办事指南展示 (0.否,1.是) */
private Integer isWorkGuideStart;
/** 结束 办事指南展示 (0.否,1.是) */
private Integer isWorkGuideEnd;
/** 增加 办事指南展示 (0.否,1.是) */
private Integer isWorkGuideIncrement;
/** 办事指南展示 (0.否,1.是) 列表 */
private List <Integer> isWorkGuideList;
/** 办事指南展示 (0.否,1.是) 排除列表 */
private List <Integer> isWorkGuideNotList;
/** 开始 是否使用 (0.否,1.是) */
private Integer usValidStart;
/** 结束 是否使用 (0.否,1.是) */
private Integer usValidEnd;
/** 增加 是否使用 (0.否,1.是) */
private Integer usValidIncrement;
/** 是否使用 (0.否,1.是) 列表 */
private List <Integer> usValidList;
/** 是否使用 (0.否,1.是) 排除列表 */
private List <Integer> usValidNotList;
/** 开始 部门电话是否展示 (0.否,1.是) */
private Integer isSecphoneStart;
/** 结束 部门电话是否展示 (0.否,1.是) */
private Integer isSecphoneEnd;
/** 增加 部门电话是否展示 (0.否,1.是) */
private Integer isSecphoneIncrement;
/** 部门电话是否展示 (0.否,1.是) 列表 */
private List <Integer> isSecphoneList;
/** 部门电话是否展示 (0.否,1.是) 排除列表 */
private List <Integer> isSecphoneNotList;
/** 开始 是否展示英文 (0.否,1.是) */
private Integer isEnglishStart;
/** 结束 是否展示英文 (0.否,1.是) */
private Integer isEnglishEnd;
/** 增加 是否展示英文 (0.否,1.是) */
private Integer isEnglishIncrement;
/** 是否展示英文 (0.否,1.是) 列表 */
private List <Integer> isEnglishList;
/** 是否展示英文 (0.否,1.是) 排除列表 */
private List <Integer> isEnglishNotList;
/** 开始 排序 */
private Integer sortStart;
/** 结束 排序 */
private Integer sortEnd;
/** 增加 排序 */
private Integer sortIncrement;
/** 排序列表 */
private List <Integer> sortList;
/** 排序排除列表 */
private List <Integer> sortNotList;
/** 开始 部门来源 */
private Integer sourceStart;
/** 结束 部门来源 */
private Integer sourceEnd;
/** 增加 部门来源 */
private Integer sourceIncrement;
/** 部门来源列表 */
private List <Integer> sourceList;
/** 部门来源排除列表 */
private List <Integer> sourceNotList;
/** 开始 关联事项数量 */
private Integer totalStart;
/** 结束 关联事项数量 */
private Integer totalEnd;
/** 增加 关联事项数量 */
private Integer totalIncrement;
/** 关联事项数量列表 */
private List <Integer> totalList;
/** 关联事项数量排除列表 */
private List <Integer> totalNotList;
/** 开始 入驻事项数量 */
private Integer inNumStart;
/** 结束 入驻事项数量 */
private Integer inNumEnd;
/** 增加 入驻事项数量 */
private Integer inNumIncrement;
/** 入驻事项数量列表 */
private List <Integer> inNumList;
/** 入驻事项数量排除列表 */
private List <Integer> inNumNotList;
/** 开始 创建时间 */
private String createTimeStart;
/** 结束 创建时间 */
private String createTimeEnd;
/** 开始 创建用户 */
private Long createUserIdStart;
/** 结束 创建用户 */
private Long createUserIdEnd;
/** 增加 创建用户 */
private Long createUserIdIncrement;
/** 创建用户列表 */
private List <Long> createUserIdList;
/** 创建用户排除列表 */
private List <Long> createUserIdNotList;
/** 开始 修改时间 */
private String updateTimeStart;
/** 结束 修改时间 */
private String updateTimeEnd;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<DeptQuery> orConditionList;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private List<DeptQuery> andConditionList;
public DeptQuery(){}
/**
* 获取 开始 序号,主键,自增长
* @return idStart
*/
public Long getIdStart(){
return this.idStart;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public void setIdStart(Long idStart){
this.idStart = idStart;
}
/**
* 获取 结束 序号,主键,自增长
* @return $idEnd
*/
public Long getIdEnd(){
return this.idEnd;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public void setIdEnd(Long idEnd){
this.idEnd = idEnd;
}
/**
* 获取 增加 序号,主键,自增长
* @return idIncrement
*/
public Long getIdIncrement(){
return this.idIncrement;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement;
}
/**
* 获取 序号,主键,自增长
* @return idList
*/
public List<Long> getIdList(){
return this.idList;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
public void setIdList(List<Long> idList){
this.idList = idList;
}
/**
* 获取 序号,主键,自增长
* @return idNotList
*/
public List<Long> getIdNotList(){
return this.idNotList;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList;
}
/**
* 获取 从政务系统来的部门id
* @return tidList
*/
public List<String> getTidList(){
return this.tidList;
}
/**
* 设置 从政务系统来的部门id
* @param tidList
*/
public void setTidList(List<String> tidList){
this.tidList = tidList;
}
/**
* 获取 从政务系统来的部门id
* @return tidNotList
*/
public List<String> getTidNotList(){
return this.tidNotList;
}
/**
* 设置 从政务系统来的部门id
* @param tidNotList
*/
public void setTidNotList(List<String> tidNotList){
this.tidNotList = tidNotList;
}
/**
* 获取 从政务系统来的部门name
* @return tnameList
*/
public List<String> getTnameList(){
return this.tnameList;
}
/**
* 设置 从政务系统来的部门name
* @param tnameList
*/
public void setTnameList(List<String> tnameList){
this.tnameList = tnameList;
}
/**
* 获取 从政务系统来的部门name
* @return tnameNotList
*/
public List<String> getTnameNotList(){
return this.tnameNotList;
}
/**
* 设置 从政务系统来的部门name
* @param tnameNotList
*/
public void setTnameNotList(List<String> tnameNotList){
this.tnameNotList = tnameNotList;
}
/**
* 获取 部门名称
* @return nameList
*/
public List<String> getNameList(){
return this.nameList;
}
/**
* 设置 部门名称
* @param nameList
*/
public void setNameList(List<String> nameList){
this.nameList = nameList;
}
/**
* 获取 部门名称
* @return nameNotList
*/
public List<String> getNameNotList(){
return this.nameNotList;
}
/**
* 设置 部门名称
* @param nameNotList
*/
public void setNameNotList(List<String> nameNotList){
this.nameNotList = nameNotList;
}
/**
* 获取 从政务系统来的别名
* @return simpleNameList
*/
public List<String> getSimpleNameList(){
return this.simpleNameList;
}
/**
* 设置 从政务系统来的别名
* @param simpleNameList
*/
public void setSimpleNameList(List<String> simpleNameList){
this.simpleNameList = simpleNameList;
}
/**
* 获取 从政务系统来的别名
* @return simpleNameNotList
*/
public List<String> getSimpleNameNotList(){
return this.simpleNameNotList;
}
/**
* 设置 从政务系统来的别名
* @param simpleNameNotList
*/
public void setSimpleNameNotList(List<String> simpleNameNotList){
this.simpleNameNotList = simpleNameNotList;
}
/**
* 获取 开始 站点ID
* @return siteIdStart
*/
public Long getSiteIdStart(){
return this.siteIdStart;
}
/**
* 设置 开始 站点ID
* @param siteIdStart
*/
public void setSiteIdStart(Long siteIdStart){
this.siteIdStart = siteIdStart;
}
/**
* 获取 结束 站点ID
* @return $siteIdEnd
*/
public Long getSiteIdEnd(){
return this.siteIdEnd;
}
/**
* 设置 结束 站点ID
* @param siteIdEnd
*/
public void setSiteIdEnd(Long siteIdEnd){
this.siteIdEnd = siteIdEnd;
}
/**
* 获取 增加 站点ID
* @return siteIdIncrement
*/
public Long getSiteIdIncrement(){
return this.siteIdIncrement;
}
/**
* 设置 增加 站点ID
* @param siteIdIncrement
*/
public void setSiteIdIncrement(Long siteIdIncrement){
this.siteIdIncrement = siteIdIncrement;
}
/**
* 获取 站点ID
* @return siteIdList
*/
public List<Long> getSiteIdList(){
return this.siteIdList;
}
/**
* 设置 站点ID
* @param siteIdList
*/
public void setSiteIdList(List<Long> siteIdList){
this.siteIdList = siteIdList;
}
/**
* 获取 站点ID
* @return siteIdNotList
*/
public List<Long> getSiteIdNotList(){
return this.siteIdNotList;
}
/**
* 设置 站点ID
* @param siteIdNotList
*/
public void setSiteIdNotList(List<Long> siteIdNotList){
this.siteIdNotList = siteIdNotList;
}
/**
* 获取 部门简称
* @return deptAbbList
*/
public List<String> getDeptAbbList(){
return this.deptAbbList;
}
/**
* 设置 部门简称
* @param deptAbbList
*/
public void setDeptAbbList(List<String> deptAbbList){
this.deptAbbList = deptAbbList;
}
/**
* 获取 部门简称
* @return deptAbbNotList
*/
public List<String> getDeptAbbNotList(){
return this.deptAbbNotList;
}
/**
* 设置 部门简称
* @param deptAbbNotList
*/
public void setDeptAbbNotList(List<String> deptAbbNotList){
this.deptAbbNotList = deptAbbNotList;
}
/**
* 获取 部门电话
* @return deptTelphoneList
*/
public List<String> getDeptTelphoneList(){
return this.deptTelphoneList;
}
/**
* 设置 部门电话
* @param deptTelphoneList
*/
public void setDeptTelphoneList(List<String> deptTelphoneList){
this.deptTelphoneList = deptTelphoneList;
}
/**
* 获取 部门电话
* @return deptTelphoneNotList
*/
public List<String> getDeptTelphoneNotList(){
return this.deptTelphoneNotList;
}
/**
* 设置 部门电话
* @param deptTelphoneNotList
*/
public void setDeptTelphoneNotList(List<String> deptTelphoneNotList){
this.deptTelphoneNotList = deptTelphoneNotList;
}
/**
* 获取 部门编号
* @return deptNumberList
*/
public List<String> getDeptNumberList(){
return this.deptNumberList;
}
/**
* 设置 部门编号
* @param deptNumberList
*/
public void setDeptNumberList(List<String> deptNumberList){
this.deptNumberList = deptNumberList;
}
/**
* 获取 部门编号
* @return deptNumberNotList
*/
public List<String> getDeptNumberNotList(){
return this.deptNumberNotList;
}
/**
* 设置 部门编号
* @param deptNumberNotList
*/
public void setDeptNumberNotList(List<String> deptNumberNotList){
this.deptNumberNotList = deptNumberNotList;
}
/**
* 获取 开始 填单机展示 (0.否,1.是)
* @return isAutotableStart
*/
public Integer getIsAutotableStart(){
return this.isAutotableStart;
}
/**
* 设置 开始 填单机展示 (0.否,1.是)
* @param isAutotableStart
*/
public void setIsAutotableStart(Integer isAutotableStart){
this.isAutotableStart = isAutotableStart;
}
/**
* 获取 结束 填单机展示 (0.否,1.是)
* @return $isAutotableEnd
*/
public Integer getIsAutotableEnd(){
return this.isAutotableEnd;
}
/**
* 设置 结束 填单机展示 (0.否,1.是)
* @param isAutotableEnd
*/
public void setIsAutotableEnd(Integer isAutotableEnd){
this.isAutotableEnd = isAutotableEnd;
}
/**
* 获取 增加 填单机展示 (0.否,1.是)
* @return isAutotableIncrement
*/
public Integer getIsAutotableIncrement(){
return this.isAutotableIncrement;
}
/**
* 设置 增加 填单机展示 (0.否,1.是)
* @param isAutotableIncrement
*/
public void setIsAutotableIncrement(Integer isAutotableIncrement){
this.isAutotableIncrement = isAutotableIncrement;
}
/**
* 获取 填单机展示 (0.否,1.是)
* @return isAutotableList
*/
public List<Integer> getIsAutotableList(){
return this.isAutotableList;
}
/**
* 设置 填单机展示 (0.否,1.是)
* @param isAutotableList
*/
public void setIsAutotableList(List<Integer> isAutotableList){
this.isAutotableList = isAutotableList;
}
/**
* 获取 填单机展示 (0.否,1.是)
* @return isAutotableNotList
*/
public List<Integer> getIsAutotableNotList(){
return this.isAutotableNotList;
}
/**
* 设置 填单机展示 (0.否,1.是)
* @param isAutotableNotList
*/
public void setIsAutotableNotList(List<Integer> isAutotableNotList){
this.isAutotableNotList = isAutotableNotList;
}
/**
* 获取 开始 预约展示 (0.否,1.是)
* @return isOrderStart
*/
public Integer getIsOrderStart(){
return this.isOrderStart;
}
/**
* 设置 开始 预约展示 (0.否,1.是)
* @param isOrderStart
*/
public void setIsOrderStart(Integer isOrderStart){
this.isOrderStart = isOrderStart;
}
/**
* 获取 结束 预约展示 (0.否,1.是)
* @return $isOrderEnd
*/
public Integer getIsOrderEnd(){
return this.isOrderEnd;
}
/**
* 设置 结束 预约展示 (0.否,1.是)
* @param isOrderEnd
*/
public void setIsOrderEnd(Integer isOrderEnd){
this.isOrderEnd = isOrderEnd;
}
/**
* 获取 增加 预约展示 (0.否,1.是)
* @return isOrderIncrement
*/
public Integer getIsOrderIncrement(){
return this.isOrderIncrement;
}
/**
* 设置 增加 预约展示 (0.否,1.是)
* @param isOrderIncrement
*/
public void setIsOrderIncrement(Integer isOrderIncrement){
this.isOrderIncrement = isOrderIncrement;
}
/**
* 获取 预约展示 (0.否,1.是)
* @return isOrderList
*/
public List<Integer> getIsOrderList(){
return this.isOrderList;
}
/**
* 设置 预约展示 (0.否,1.是)
* @param isOrderList
*/
public void setIsOrderList(List<Integer> isOrderList){
this.isOrderList = isOrderList;
}
/**
* 获取 预约展示 (0.否,1.是)
* @return isOrderNotList
*/
public List<Integer> getIsOrderNotList(){
return this.isOrderNotList;
}
/**
* 设置 预约展示 (0.否,1.是)
* @param isOrderNotList
*/
public void setIsOrderNotList(List<Integer> isOrderNotList){
this.isOrderNotList = isOrderNotList;
}
/**
* 获取 开始 背靠背展示 (0.否,1.是)
* @return isBkbStart
*/
public Integer getIsBkbStart(){
return this.isBkbStart;
}
/**
* 设置 开始 背靠背展示 (0.否,1.是)
* @param isBkbStart
*/
public void setIsBkbStart(Integer isBkbStart){
this.isBkbStart = isBkbStart;
}
/**
* 获取 结束 背靠背展示 (0.否,1.是)
* @return $isBkbEnd
*/
public Integer getIsBkbEnd(){
return this.isBkbEnd;
}
/**
* 设置 结束 背靠背展示 (0.否,1.是)
* @param isBkbEnd
*/
public void setIsBkbEnd(Integer isBkbEnd){
this.isBkbEnd = isBkbEnd;
}
/**
* 获取 增加 背靠背展示 (0.否,1.是)
* @return isBkbIncrement
*/
public Integer getIsBkbIncrement(){
return this.isBkbIncrement;
}
/**
* 设置 增加 背靠背展示 (0.否,1.是)
* @param isBkbIncrement
*/
public void setIsBkbIncrement(Integer isBkbIncrement){
this.isBkbIncrement = isBkbIncrement;
}
/**
* 获取 背靠背展示 (0.否,1.是)
* @return isBkbList
*/
public List<Integer> getIsBkbList(){
return this.isBkbList;
}
/**
* 设置 背靠背展示 (0.否,1.是)
* @param isBkbList
*/
public void setIsBkbList(List<Integer> isBkbList){
this.isBkbList = isBkbList;
}
/**
* 获取 背靠背展示 (0.否,1.是)
* @return isBkbNotList
*/
public List<Integer> getIsBkbNotList(){
return this.isBkbNotList;
}
/**
* 设置 背靠背展示 (0.否,1.是)
* @param isBkbNotList
*/
public void setIsBkbNotList(List<Integer> isBkbNotList){
this.isBkbNotList = isBkbNotList;
}
/**
* 获取 开始 办事指南展示 (0.否,1.是)
* @return isWorkGuideStart
*/
public Integer getIsWorkGuideStart(){
return this.isWorkGuideStart;
}
/**
* 设置 开始 办事指南展示 (0.否,1.是)
* @param isWorkGuideStart
*/
public void setIsWorkGuideStart(Integer isWorkGuideStart){
this.isWorkGuideStart = isWorkGuideStart;
}
/**
* 获取 结束 办事指南展示 (0.否,1.是)
* @return $isWorkGuideEnd
*/
public Integer getIsWorkGuideEnd(){
return this.isWorkGuideEnd;
}
/**
* 设置 结束 办事指南展示 (0.否,1.是)
* @param isWorkGuideEnd
*/
public void setIsWorkGuideEnd(Integer isWorkGuideEnd){
this.isWorkGuideEnd = isWorkGuideEnd;
}
/**
* 获取 增加 办事指南展示 (0.否,1.是)
* @return isWorkGuideIncrement
*/
public Integer getIsWorkGuideIncrement(){
return this.isWorkGuideIncrement;
}
/**
* 设置 增加 办事指南展示 (0.否,1.是)
* @param isWorkGuideIncrement
*/
public void setIsWorkGuideIncrement(Integer isWorkGuideIncrement){
this.isWorkGuideIncrement = isWorkGuideIncrement;
}
/**
* 获取 办事指南展示 (0.否,1.是)
* @return isWorkGuideList
*/
public List<Integer> getIsWorkGuideList(){
return this.isWorkGuideList;
}
/**
* 设置 办事指南展示 (0.否,1.是)
* @param isWorkGuideList
*/
public void setIsWorkGuideList(List<Integer> isWorkGuideList){
this.isWorkGuideList = isWorkGuideList;
}
/**
* 获取 办事指南展示 (0.否,1.是)
* @return isWorkGuideNotList
*/
public List<Integer> getIsWorkGuideNotList(){
return this.isWorkGuideNotList;
}
/**
* 设置 办事指南展示 (0.否,1.是)
* @param isWorkGuideNotList
*/
public void setIsWorkGuideNotList(List<Integer> isWorkGuideNotList){
this.isWorkGuideNotList = isWorkGuideNotList;
}
/**
* 获取 开始 是否使用 (0.否,1.是)
* @return usValidStart
*/
public Integer getUsValidStart(){
return this.usValidStart;
}
/**
* 设置 开始 是否使用 (0.否,1.是)
* @param usValidStart
*/
public void setUsValidStart(Integer usValidStart){
this.usValidStart = usValidStart;
}
/**
* 获取 结束 是否使用 (0.否,1.是)
* @return $usValidEnd
*/
public Integer getUsValidEnd(){
return this.usValidEnd;
}
/**
* 设置 结束 是否使用 (0.否,1.是)
* @param usValidEnd
*/
public void setUsValidEnd(Integer usValidEnd){
this.usValidEnd = usValidEnd;
}
/**
* 获取 增加 是否使用 (0.否,1.是)
* @return usValidIncrement
*/
public Integer getUsValidIncrement(){
return this.usValidIncrement;
}
/**
* 设置 增加 是否使用 (0.否,1.是)
* @param usValidIncrement
*/
public void setUsValidIncrement(Integer usValidIncrement){
this.usValidIncrement = usValidIncrement;
}
/**
* 获取 是否使用 (0.否,1.是)
* @return usValidList
*/
public List<Integer> getUsValidList(){
return this.usValidList;
}
/**
* 设置 是否使用 (0.否,1.是)
* @param usValidList
*/
public void setUsValidList(List<Integer> usValidList){
this.usValidList = usValidList;
}
/**
* 获取 是否使用 (0.否,1.是)
* @return usValidNotList
*/
public List<Integer> getUsValidNotList(){
return this.usValidNotList;
}
/**
* 设置 是否使用 (0.否,1.是)
* @param usValidNotList
*/
public void setUsValidNotList(List<Integer> usValidNotList){
this.usValidNotList = usValidNotList;
}
/**
* 获取 开始 部门电话是否展示 (0.否,1.是)
* @return isSecphoneStart
*/
public Integer getIsSecphoneStart(){
return this.isSecphoneStart;
}
/**
* 设置 开始 部门电话是否展示 (0.否,1.是)
* @param isSecphoneStart
*/
public void setIsSecphoneStart(Integer isSecphoneStart){
this.isSecphoneStart = isSecphoneStart;
}
/**
* 获取 结束 部门电话是否展示 (0.否,1.是)
* @return $isSecphoneEnd
*/
public Integer getIsSecphoneEnd(){
return this.isSecphoneEnd;
}
/**
* 设置 结束 部门电话是否展示 (0.否,1.是)
* @param isSecphoneEnd
*/
public void setIsSecphoneEnd(Integer isSecphoneEnd){
this.isSecphoneEnd = isSecphoneEnd;
}
/**
* 获取 增加 部门电话是否展示 (0.否,1.是)
* @return isSecphoneIncrement
*/
public Integer getIsSecphoneIncrement(){
return this.isSecphoneIncrement;
}
/**
* 设置 增加 部门电话是否展示 (0.否,1.是)
* @param isSecphoneIncrement
*/
public void setIsSecphoneIncrement(Integer isSecphoneIncrement){
this.isSecphoneIncrement = isSecphoneIncrement;
}
/**
* 获取 部门电话是否展示 (0.否,1.是)
* @return isSecphoneList
*/
public List<Integer> getIsSecphoneList(){
return this.isSecphoneList;
}
/**
* 设置 部门电话是否展示 (0.否,1.是)
* @param isSecphoneList
*/
public void setIsSecphoneList(List<Integer> isSecphoneList){
this.isSecphoneList = isSecphoneList;
}
/**
* 获取 部门电话是否展示 (0.否,1.是)
* @return isSecphoneNotList
*/
public List<Integer> getIsSecphoneNotList(){
return this.isSecphoneNotList;
}
/**
* 设置 部门电话是否展示 (0.否,1.是)
* @param isSecphoneNotList
*/
public void setIsSecphoneNotList(List<Integer> isSecphoneNotList){
this.isSecphoneNotList = isSecphoneNotList;
}
/**
* 获取 开始 是否展示英文 (0.否,1.是)
* @return isEnglishStart
*/
public Integer getIsEnglishStart(){
return this.isEnglishStart;
}
/**
* 设置 开始 是否展示英文 (0.否,1.是)
* @param isEnglishStart
*/
public void setIsEnglishStart(Integer isEnglishStart){
this.isEnglishStart = isEnglishStart;
}
/**
* 获取 结束 是否展示英文 (0.否,1.是)
* @return $isEnglishEnd
*/
public Integer getIsEnglishEnd(){
return this.isEnglishEnd;
}
/**
* 设置 结束 是否展示英文 (0.否,1.是)
* @param isEnglishEnd
*/
public void setIsEnglishEnd(Integer isEnglishEnd){
this.isEnglishEnd = isEnglishEnd;
}
/**
* 获取 增加 是否展示英文 (0.否,1.是)
* @return isEnglishIncrement
*/
public Integer getIsEnglishIncrement(){
return this.isEnglishIncrement;
}
/**
* 设置 增加 是否展示英文 (0.否,1.是)
* @param isEnglishIncrement
*/
public void setIsEnglishIncrement(Integer isEnglishIncrement){
this.isEnglishIncrement = isEnglishIncrement;
}
/**
* 获取 是否展示英文 (0.否,1.是)
* @return isEnglishList
*/
public List<Integer> getIsEnglishList(){
return this.isEnglishList;
}
/**
* 设置 是否展示英文 (0.否,1.是)
* @param isEnglishList
*/
public void setIsEnglishList(List<Integer> isEnglishList){
this.isEnglishList = isEnglishList;
}
/**
* 获取 是否展示英文 (0.否,1.是)
* @return isEnglishNotList
*/
public List<Integer> getIsEnglishNotList(){
return this.isEnglishNotList;
}
/**
* 设置 是否展示英文 (0.否,1.是)
* @param isEnglishNotList
*/
public void setIsEnglishNotList(List<Integer> isEnglishNotList){
this.isEnglishNotList = isEnglishNotList;
}
/**
* 获取 开始 排序
* @return sortStart
*/
public Integer getSortStart(){
return this.sortStart;
}
/**
* 设置 开始 排序
* @param sortStart
*/
public void setSortStart(Integer sortStart){
this.sortStart = sortStart;
}
/**
* 获取 结束 排序
* @return $sortEnd
*/
public Integer getSortEnd(){
return this.sortEnd;
}
/**
* 设置 结束 排序
* @param sortEnd
*/
public void setSortEnd(Integer sortEnd){
this.sortEnd = sortEnd;
}
/**
* 获取 增加 排序
* @return sortIncrement
*/
public Integer getSortIncrement(){
return this.sortIncrement;
}
/**
* 设置 增加 排序
* @param sortIncrement
*/
public void setSortIncrement(Integer sortIncrement){
this.sortIncrement = sortIncrement;
}
/**
* 获取 排序
* @return sortList
*/
public List<Integer> getSortList(){
return this.sortList;
}
/**
* 设置 排序
* @param sortList
*/
public void setSortList(List<Integer> sortList){
this.sortList = sortList;
}
/**
* 获取 排序
* @return sortNotList
*/
public List<Integer> getSortNotList(){
return this.sortNotList;
}
/**
* 设置 排序
* @param sortNotList
*/
public void setSortNotList(List<Integer> sortNotList){
this.sortNotList = sortNotList;
}
/**
* 获取 开始 部门来源
* @return sourceStart
*/
public Integer getSourceStart(){
return this.sourceStart;
}
/**
* 设置 开始 部门来源
* @param sourceStart
*/
public void setSourceStart(Integer sourceStart){
this.sourceStart = sourceStart;
}
/**
* 获取 结束 部门来源
* @return $sourceEnd
*/
public Integer getSourceEnd(){
return this.sourceEnd;
}
/**
* 设置 结束 部门来源
* @param sourceEnd
*/
public void setSourceEnd(Integer sourceEnd){
this.sourceEnd = sourceEnd;
}
/**
* 获取 增加 部门来源
* @return sourceIncrement
*/
public Integer getSourceIncrement(){
return this.sourceIncrement;
}
/**
* 设置 增加 部门来源
* @param sourceIncrement
*/
public void setSourceIncrement(Integer sourceIncrement){
this.sourceIncrement = sourceIncrement;
}
/**
* 获取 部门来源
* @return sourceList
*/
public List<Integer> getSourceList(){
return this.sourceList;
}
/**
* 设置 部门来源
* @param sourceList
*/
public void setSourceList(List<Integer> sourceList){
this.sourceList = sourceList;
}
/**
* 获取 部门来源
* @return sourceNotList
*/
public List<Integer> getSourceNotList(){
return this.sourceNotList;
}
/**
* 设置 部门来源
* @param sourceNotList
*/
public void setSourceNotList(List<Integer> sourceNotList){
this.sourceNotList = sourceNotList;
}
/**
* 获取 开始 关联事项数量
* @return totalStart
*/
public Integer getTotalStart(){
return this.totalStart;
}
/**
* 设置 开始 关联事项数量
* @param totalStart
*/
public void setTotalStart(Integer totalStart){
this.totalStart = totalStart;
}
/**
* 获取 结束 关联事项数量
* @return $totalEnd
*/
public Integer getTotalEnd(){
return this.totalEnd;
}
/**
* 设置 结束 关联事项数量
* @param totalEnd
*/
public void setTotalEnd(Integer totalEnd){
this.totalEnd = totalEnd;
}
/**
* 获取 增加 关联事项数量
* @return totalIncrement
*/
public Integer getTotalIncrement(){
return this.totalIncrement;
}
/**
* 设置 增加 关联事项数量
* @param totalIncrement
*/
public void setTotalIncrement(Integer totalIncrement){
this.totalIncrement = totalIncrement;
}
/**
* 获取 关联事项数量
* @return totalList
*/
public List<Integer> getTotalList(){
return this.totalList;
}
/**
* 设置 关联事项数量
* @param totalList
*/
public void setTotalList(List<Integer> totalList){
this.totalList = totalList;
}
/**
* 获取 关联事项数量
* @return totalNotList
*/
public List<Integer> getTotalNotList(){
return this.totalNotList;
}
/**
* 设置 关联事项数量
* @param totalNotList
*/
public void setTotalNotList(List<Integer> totalNotList){
this.totalNotList = totalNotList;
}
/**
* 获取 开始 入驻事项数量
* @return inNumStart
*/
public Integer getInNumStart(){
return this.inNumStart;
}
/**
* 设置 开始 入驻事项数量
* @param inNumStart
*/
public void setInNumStart(Integer inNumStart){
this.inNumStart = inNumStart;
}
/**
* 获取 结束 入驻事项数量
* @return $inNumEnd
*/
public Integer getInNumEnd(){
return this.inNumEnd;
}
/**
* 设置 结束 入驻事项数量
* @param inNumEnd
*/
public void setInNumEnd(Integer inNumEnd){
this.inNumEnd = inNumEnd;
}
/**
* 获取 增加 入驻事项数量
* @return inNumIncrement
*/
public Integer getInNumIncrement(){
return this.inNumIncrement;
}
/**
* 设置 增加 入驻事项数量
* @param inNumIncrement
*/
public void setInNumIncrement(Integer inNumIncrement){
this.inNumIncrement = inNumIncrement;
}
/**
* 获取 入驻事项数量
* @return inNumList
*/
public List<Integer> getInNumList(){
return this.inNumList;
}
/**
* 设置 入驻事项数量
* @param inNumList
*/
public void setInNumList(List<Integer> inNumList){
this.inNumList = inNumList;
}
/**
* 获取 入驻事项数量
* @return inNumNotList
*/
public List<Integer> getInNumNotList(){
return this.inNumNotList;
}
/**
* 设置 入驻事项数量
* @param inNumNotList
*/
public void setInNumNotList(List<Integer> inNumNotList){
this.inNumNotList = inNumNotList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 创建用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 创建用户
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 创建用户
* @return createUserIdNotList
*/
public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
}
/**
* 获取 开始 修改时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 修改时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 修改时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 修改时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 设置 序号,主键,自增长
* @param id
*/
public DeptQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public DeptQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public DeptQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public DeptQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
public DeptQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public DeptQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
/**
* 设置 从政务系统来的部门id
* @param tid
*/
public DeptQuery tid(String tid){
setTid(tid);
return this;
}
/**
* 设置 从政务系统来的部门id
* @param tidList
*/
public DeptQuery tidList(List<String> tidList){
this.tidList = tidList;
return this;
}
/**
* 设置 从政务系统来的部门name
* @param tname
*/
public DeptQuery tname(String tname){
setTname(tname);
return this;
}
/**
* 设置 从政务系统来的部门name
* @param tnameList
*/
public DeptQuery tnameList(List<String> tnameList){
this.tnameList = tnameList;
return this;
}
/**
* 设置 部门名称
* @param name
*/
public DeptQuery name(String name){
setName(name);
return this;
}
/**
* 设置 部门名称
* @param nameList
*/
public DeptQuery nameList(List<String> nameList){
this.nameList = nameList;
return this;
}
/**
* 设置 从政务系统来的别名
* @param simpleName
*/
public DeptQuery simpleName(String simpleName){
setSimpleName(simpleName);
return this;
}
/**
* 设置 从政务系统来的别名
* @param simpleNameList
*/
public DeptQuery simpleNameList(List<String> simpleNameList){
this.simpleNameList = simpleNameList;
return this;
}
/**
* 设置 站点ID
* @param siteId
*/
public DeptQuery siteId(Long siteId){
setSiteId(siteId);
return this;
}
/**
* 设置 开始 站点ID
* @param siteIdStart
*/
public DeptQuery siteIdStart(Long siteIdStart){
this.siteIdStart = siteIdStart;
return this;
}
/**
* 设置 结束 站点ID
* @param siteIdEnd
*/
public DeptQuery siteIdEnd(Long siteIdEnd){
this.siteIdEnd = siteIdEnd;
return this;
}
/**
* 设置 增加 站点ID
* @param siteIdIncrement
*/
public DeptQuery siteIdIncrement(Long siteIdIncrement){
this.siteIdIncrement = siteIdIncrement;
return this;
}
/**
* 设置 站点ID
* @param siteIdList
*/
public DeptQuery siteIdList(List<Long> siteIdList){
this.siteIdList = siteIdList;
return this;
}
/**
* 设置 站点ID
* @param siteIdNotList
*/
public DeptQuery siteIdNotList(List<Long> siteIdNotList){
this.siteIdNotList = siteIdNotList;
return this;
}
/**
* 设置 部门简称
* @param deptAbb
*/
public DeptQuery deptAbb(String deptAbb){
setDeptAbb(deptAbb);
return this;
}
/**
* 设置 部门简称
* @param deptAbbList
*/
public DeptQuery deptAbbList(List<String> deptAbbList){
this.deptAbbList = deptAbbList;
return this;
}
/**
* 设置 部门电话
* @param deptTelphone
*/
public DeptQuery deptTelphone(String deptTelphone){
setDeptTelphone(deptTelphone);
return this;
}
/**
* 设置 部门电话
* @param deptTelphoneList
*/
public DeptQuery deptTelphoneList(List<String> deptTelphoneList){
this.deptTelphoneList = deptTelphoneList;
return this;
}
/**
* 设置 部门编号
* @param deptNumber
*/
public DeptQuery deptNumber(String deptNumber){
setDeptNumber(deptNumber);
return this;
}
/**
* 设置 部门编号
* @param deptNumberList
*/
public DeptQuery deptNumberList(List<String> deptNumberList){
this.deptNumberList = deptNumberList;
return this;
}
/**
* 设置 填单机展示 (0.否,1.是)
* @param isAutotable
*/
public DeptQuery isAutotable(Integer isAutotable){
setIsAutotable(isAutotable);
return this;
}
/**
* 设置 开始 填单机展示 (0.否,1.是)
* @param isAutotableStart
*/
public DeptQuery isAutotableStart(Integer isAutotableStart){
this.isAutotableStart = isAutotableStart;
return this;
}
/**
* 设置 结束 填单机展示 (0.否,1.是)
* @param isAutotableEnd
*/
public DeptQuery isAutotableEnd(Integer isAutotableEnd){
this.isAutotableEnd = isAutotableEnd;
return this;
}
/**
* 设置 增加 填单机展示 (0.否,1.是)
* @param isAutotableIncrement
*/
public DeptQuery isAutotableIncrement(Integer isAutotableIncrement){
this.isAutotableIncrement = isAutotableIncrement;
return this;
}
/**
* 设置 填单机展示 (0.否,1.是)
* @param isAutotableList
*/
public DeptQuery isAutotableList(List<Integer> isAutotableList){
this.isAutotableList = isAutotableList;
return this;
}
/**
* 设置 填单机展示 (0.否,1.是)
* @param isAutotableNotList
*/
public DeptQuery isAutotableNotList(List<Integer> isAutotableNotList){
this.isAutotableNotList = isAutotableNotList;
return this;
}
/**
* 设置 预约展示 (0.否,1.是)
* @param isOrder
*/
public DeptQuery isOrder(Integer isOrder){
setIsOrder(isOrder);
return this;
}
/**
* 设置 开始 预约展示 (0.否,1.是)
* @param isOrderStart
*/
public DeptQuery isOrderStart(Integer isOrderStart){
this.isOrderStart = isOrderStart;
return this;
}
/**
* 设置 结束 预约展示 (0.否,1.是)
* @param isOrderEnd
*/
public DeptQuery isOrderEnd(Integer isOrderEnd){
this.isOrderEnd = isOrderEnd;
return this;
}
/**
* 设置 增加 预约展示 (0.否,1.是)
* @param isOrderIncrement
*/
public DeptQuery isOrderIncrement(Integer isOrderIncrement){
this.isOrderIncrement = isOrderIncrement;
return this;
}
/**
* 设置 预约展示 (0.否,1.是)
* @param isOrderList
*/
public DeptQuery isOrderList(List<Integer> isOrderList){
this.isOrderList = isOrderList;
return this;
}
/**
* 设置 预约展示 (0.否,1.是)
* @param isOrderNotList
*/
public DeptQuery isOrderNotList(List<Integer> isOrderNotList){
this.isOrderNotList = isOrderNotList;
return this;
}
/**
* 设置 背靠背展示 (0.否,1.是)
* @param isBkb
*/
public DeptQuery isBkb(Integer isBkb){
setIsBkb(isBkb);
return this;
}
/**
* 设置 开始 背靠背展示 (0.否,1.是)
* @param isBkbStart
*/
public DeptQuery isBkbStart(Integer isBkbStart){
this.isBkbStart = isBkbStart;
return this;
}
/**
* 设置 结束 背靠背展示 (0.否,1.是)
* @param isBkbEnd
*/
public DeptQuery isBkbEnd(Integer isBkbEnd){
this.isBkbEnd = isBkbEnd;
return this;
}
/**
* 设置 增加 背靠背展示 (0.否,1.是)
* @param isBkbIncrement
*/
public DeptQuery isBkbIncrement(Integer isBkbIncrement){
this.isBkbIncrement = isBkbIncrement;
return this;
}
/**
* 设置 背靠背展示 (0.否,1.是)
* @param isBkbList
*/
public DeptQuery isBkbList(List<Integer> isBkbList){
this.isBkbList = isBkbList;
return this;
}
/**
* 设置 背靠背展示 (0.否,1.是)
* @param isBkbNotList
*/
public DeptQuery isBkbNotList(List<Integer> isBkbNotList){
this.isBkbNotList = isBkbNotList;
return this;
}
/**
* 设置 办事指南展示 (0.否,1.是)
* @param isWorkGuide
*/
public DeptQuery isWorkGuide(Integer isWorkGuide){
setIsWorkGuide(isWorkGuide);
return this;
}
/**
* 设置 开始 办事指南展示 (0.否,1.是)
* @param isWorkGuideStart
*/
public DeptQuery isWorkGuideStart(Integer isWorkGuideStart){
this.isWorkGuideStart = isWorkGuideStart;
return this;
}
/**
* 设置 结束 办事指南展示 (0.否,1.是)
* @param isWorkGuideEnd
*/
public DeptQuery isWorkGuideEnd(Integer isWorkGuideEnd){
this.isWorkGuideEnd = isWorkGuideEnd;
return this;
}
/**
* 设置 增加 办事指南展示 (0.否,1.是)
* @param isWorkGuideIncrement
*/
public DeptQuery isWorkGuideIncrement(Integer isWorkGuideIncrement){
this.isWorkGuideIncrement = isWorkGuideIncrement;
return this;
}
/**
* 设置 办事指南展示 (0.否,1.是)
* @param isWorkGuideList
*/
public DeptQuery isWorkGuideList(List<Integer> isWorkGuideList){
this.isWorkGuideList = isWorkGuideList;
return this;
}
/**
* 设置 办事指南展示 (0.否,1.是)
* @param isWorkGuideNotList
*/
public DeptQuery isWorkGuideNotList(List<Integer> isWorkGuideNotList){
this.isWorkGuideNotList = isWorkGuideNotList;
return this;
}
/**
* 设置 是否使用 (0.否,1.是)
* @param usValid
*/
public DeptQuery usValid(Integer usValid){
setUsValid(usValid);
return this;
}
/**
* 设置 开始 是否使用 (0.否,1.是)
* @param usValidStart
*/
public DeptQuery usValidStart(Integer usValidStart){
this.usValidStart = usValidStart;
return this;
}
/**
* 设置 结束 是否使用 (0.否,1.是)
* @param usValidEnd
*/
public DeptQuery usValidEnd(Integer usValidEnd){
this.usValidEnd = usValidEnd;
return this;
}
/**
* 设置 增加 是否使用 (0.否,1.是)
* @param usValidIncrement
*/
public DeptQuery usValidIncrement(Integer usValidIncrement){
this.usValidIncrement = usValidIncrement;
return this;
}
/**
* 设置 是否使用 (0.否,1.是)
* @param usValidList
*/
public DeptQuery usValidList(List<Integer> usValidList){
this.usValidList = usValidList;
return this;
}
/**
* 设置 是否使用 (0.否,1.是)
* @param usValidNotList
*/
public DeptQuery usValidNotList(List<Integer> usValidNotList){
this.usValidNotList = usValidNotList;
return this;
}
/**
* 设置 部门电话是否展示 (0.否,1.是)
* @param isSecphone
*/
public DeptQuery isSecphone(Integer isSecphone){
setIsSecphone(isSecphone);
return this;
}
/**
* 设置 开始 部门电话是否展示 (0.否,1.是)
* @param isSecphoneStart
*/
public DeptQuery isSecphoneStart(Integer isSecphoneStart){
this.isSecphoneStart = isSecphoneStart;
return this;
}
/**
* 设置 结束 部门电话是否展示 (0.否,1.是)
* @param isSecphoneEnd
*/
public DeptQuery isSecphoneEnd(Integer isSecphoneEnd){
this.isSecphoneEnd = isSecphoneEnd;
return this;
}
/**
* 设置 增加 部门电话是否展示 (0.否,1.是)
* @param isSecphoneIncrement
*/
public DeptQuery isSecphoneIncrement(Integer isSecphoneIncrement){
this.isSecphoneIncrement = isSecphoneIncrement;
return this;
}
/**
* 设置 部门电话是否展示 (0.否,1.是)
* @param isSecphoneList
*/
public DeptQuery isSecphoneList(List<Integer> isSecphoneList){
this.isSecphoneList = isSecphoneList;
return this;
}
/**
* 设置 部门电话是否展示 (0.否,1.是)
* @param isSecphoneNotList
*/
public DeptQuery isSecphoneNotList(List<Integer> isSecphoneNotList){
this.isSecphoneNotList = isSecphoneNotList;
return this;
}
/**
* 设置 是否展示英文 (0.否,1.是)
* @param isEnglish
*/
public DeptQuery isEnglish(Integer isEnglish){
setIsEnglish(isEnglish);
return this;
}
/**
* 设置 开始 是否展示英文 (0.否,1.是)
* @param isEnglishStart
*/
public DeptQuery isEnglishStart(Integer isEnglishStart){
this.isEnglishStart = isEnglishStart;
return this;
}
/**
* 设置 结束 是否展示英文 (0.否,1.是)
* @param isEnglishEnd
*/
public DeptQuery isEnglishEnd(Integer isEnglishEnd){
this.isEnglishEnd = isEnglishEnd;
return this;
}
/**
* 设置 增加 是否展示英文 (0.否,1.是)
* @param isEnglishIncrement
*/
public DeptQuery isEnglishIncrement(Integer isEnglishIncrement){
this.isEnglishIncrement = isEnglishIncrement;
return this;
}
/**
* 设置 是否展示英文 (0.否,1.是)
* @param isEnglishList
*/
public DeptQuery isEnglishList(List<Integer> isEnglishList){
this.isEnglishList = isEnglishList;
return this;
}
/**
* 设置 是否展示英文 (0.否,1.是)
* @param isEnglishNotList
*/
public DeptQuery isEnglishNotList(List<Integer> isEnglishNotList){
this.isEnglishNotList = isEnglishNotList;
return this;
}
/**
* 设置 排序
* @param sort
*/
public DeptQuery sort(Integer sort){
setSort(sort);
return this;
}
/**
* 设置 开始 排序
* @param sortStart
*/
public DeptQuery sortStart(Integer sortStart){
this.sortStart = sortStart;
return this;
}
/**
* 设置 结束 排序
* @param sortEnd
*/
public DeptQuery sortEnd(Integer sortEnd){
this.sortEnd = sortEnd;
return this;
}
/**
* 设置 增加 排序
* @param sortIncrement
*/
public DeptQuery sortIncrement(Integer sortIncrement){
this.sortIncrement = sortIncrement;
return this;
}
/**
* 设置 排序
* @param sortList
*/
public DeptQuery sortList(List<Integer> sortList){
this.sortList = sortList;
return this;
}
/**
* 设置 排序
* @param sortNotList
*/
public DeptQuery sortNotList(List<Integer> sortNotList){
this.sortNotList = sortNotList;
return this;
}
/**
* 设置 部门来源
* @param source
*/
public DeptQuery source(Integer source){
setSource(source);
return this;
}
/**
* 设置 开始 部门来源
* @param sourceStart
*/
public DeptQuery sourceStart(Integer sourceStart){
this.sourceStart = sourceStart;
return this;
}
/**
* 设置 结束 部门来源
* @param sourceEnd
*/
public DeptQuery sourceEnd(Integer sourceEnd){
this.sourceEnd = sourceEnd;
return this;
}
/**
* 设置 增加 部门来源
* @param sourceIncrement
*/
public DeptQuery sourceIncrement(Integer sourceIncrement){
this.sourceIncrement = sourceIncrement;
return this;
}
/**
* 设置 部门来源
* @param sourceList
*/
public DeptQuery sourceList(List<Integer> sourceList){
this.sourceList = sourceList;
return this;
}
/**
* 设置 部门来源
* @param sourceNotList
*/
public DeptQuery sourceNotList(List<Integer> sourceNotList){
this.sourceNotList = sourceNotList;
return this;
}
/**
* 设置 关联事项数量
* @param total
*/
public DeptQuery total(Integer total){
setTotal(total);
return this;
}
/**
* 设置 开始 关联事项数量
* @param totalStart
*/
public DeptQuery totalStart(Integer totalStart){
this.totalStart = totalStart;
return this;
}
/**
* 设置 结束 关联事项数量
* @param totalEnd
*/
public DeptQuery totalEnd(Integer totalEnd){
this.totalEnd = totalEnd;
return this;
}
/**
* 设置 增加 关联事项数量
* @param totalIncrement
*/
public DeptQuery totalIncrement(Integer totalIncrement){
this.totalIncrement = totalIncrement;
return this;
}
/**
* 设置 关联事项数量
* @param totalList
*/
public DeptQuery totalList(List<Integer> totalList){
this.totalList = totalList;
return this;
}
/**
* 设置 关联事项数量
* @param totalNotList
*/
public DeptQuery totalNotList(List<Integer> totalNotList){
this.totalNotList = totalNotList;
return this;
}
/**
* 设置 入驻事项数量
* @param inNum
*/
public DeptQuery inNum(Integer inNum){
setInNum(inNum);
return this;
}
/**
* 设置 开始 入驻事项数量
* @param inNumStart
*/
public DeptQuery inNumStart(Integer inNumStart){
this.inNumStart = inNumStart;
return this;
}
/**
* 设置 结束 入驻事项数量
* @param inNumEnd
*/
public DeptQuery inNumEnd(Integer inNumEnd){
this.inNumEnd = inNumEnd;
return this;
}
/**
* 设置 增加 入驻事项数量
* @param inNumIncrement
*/
public DeptQuery inNumIncrement(Integer inNumIncrement){
this.inNumIncrement = inNumIncrement;
return this;
}
/**
* 设置 入驻事项数量
* @param inNumList
*/
public DeptQuery inNumList(List<Integer> inNumList){
this.inNumList = inNumList;
return this;
}
/**
* 设置 入驻事项数量
* @param inNumNotList
*/
public DeptQuery inNumNotList(List<Integer> inNumNotList){
this.inNumNotList = inNumNotList;
return this;
}
/**
* 设置 创建用户
* @param createUserId
*/
public DeptQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public DeptQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public DeptQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public DeptQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public DeptQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public DeptQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<DeptQuery> getOrConditionList(){
return this.orConditionList;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public void setOrConditionList(List<DeptQuery> orConditionList){
this.orConditionList = orConditionList;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public List<DeptQuery> getAndConditionList(){
return this.andConditionList;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public void setAndConditionList(List<DeptQuery> andConditionList){
this.andConditionList = andConditionList;
}
}
\ No newline at end of file
package com.mortals.xhx.module.dept.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import lombok.Data;
import java.util.List;
/**
* 部门视图对象
*
* @author zxfei
* @date 2022-01-12
*/
@Data
public class DeptVo extends BaseEntityLong {
/**
* 部门名称
*/
private String name;
/**
* 部门编号
*/
private String deptNumber;
/**
* 站点业务ID
*/
private Long siteBusinessId;
private Long windowId;
private String windowName;
/**
* 业务名称
*/
private String businessName;
/** 站点业务ID列表 */
private List <Long> siteBusinessIdList;
/** 部门ID列表 */
private List <Long> idList;
/**
* 是否过滤不存在事项的部门(0.不过滤,1.过滤,默认不过滤)
*/
private Integer filter;
/** 开始 关联事项数量 */
private Integer totalStart;
/**
* 大厅事项入驻(0.否,1.是)
*/
private Integer hallCheckIn;
/** 开始 入驻事项数量 */
private Integer inNumStart;
}
\ No newline at end of file
package com.mortals.xhx.module.dept.service;
import com.mortals.framework.common.Rest;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICRUDCacheService;
import com.mortals.xhx.module.dept.dao.DeptDao;
import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.model.DeptQuery;
import com.mortals.xhx.module.dept.model.vo.DeptVo;
import com.mortals.xhx.module.site.model.SiteEntity;
import java.util.List;
import java.util.Map;
/**
* DeptService
* <p>
* 部门 service接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface DeptService extends ICRUDCacheService<DeptEntity, Long> {
DeptDao getDao();
}
\ No newline at end of file
package com.mortals.xhx.module.dept.service.impl;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.impl.AbstractCRUDCacheServiceImpl;
import com.mortals.xhx.module.dept.dao.DeptDao;
import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.service.DeptService;
import com.mortals.xhx.module.site.service.SiteMatterService;
import com.mortals.xhx.module.site.service.SiteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils;
/**
* DeptService
* 部门 service实现
*
* @author zxfei
* @date 2022-01-12
*/
@Service("deptService")
public class DeptServiceImpl extends AbstractCRUDCacheServiceImpl<DeptDao, DeptEntity, Long> implements DeptService {
@Autowired
private SiteService siteService;
@Autowired
private SiteMatterService siteMatterService;
@Override
protected String getExtKey(DeptEntity data) {
return data.getDeptNumber();
}
/**
* @param entity
* @param context
* @throws AppException
*/
@Override
protected void saveBefore(DeptEntity entity, Context context) throws AppException {
super.saveBefore(entity, context);
//新增校验部门编码是否重复
DeptEntity extCache = this.getExtCache(entity.getDeptNumber());
if (!ObjectUtils.isEmpty(extCache)) {
throw new AppException("部门编码重复!deptCode:" + extCache.getDeptNumber());
}
}
/**
* @param entity
* @param context
* @throws AppException
*/
@Override
protected void updateBefore(DeptEntity entity, Context context) throws AppException {
super.updateBefore(entity, context);
DeptEntity beforeEntity = this.get(entity.getId(), context);
if (!beforeEntity.getDeptNumber().equals(entity.getDeptNumber())) {
DeptEntity extCache = this.getExtCache(entity.getDeptNumber());
if (!ObjectUtils.isEmpty(extCache)) {
throw new AppException("部门编码重复!deptCode:" + extCache.getDeptNumber());
}
}
}
}
\ No newline at end of file
package com.mortals.xhx.module.dept.web;
import com.alibaba.fastjson.JSONObject;
import com.mortals.framework.annotation.UnAuth;
import com.mortals.framework.common.Rest;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.model.OrderCol;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.code.SourceEnum;
import com.mortals.xhx.common.code.YesNoEnum;
import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.model.DeptQuery;
import com.mortals.xhx.module.dept.model.vo.DeptVo;
import com.mortals.xhx.module.dept.service.DeptService;
import com.mortals.xhx.module.site.model.SiteEntity;
import com.mortals.xhx.module.site.service.SiteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ObjectUtils;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* 部门
*
* @author zxfei
* @date 2022-01-20
*/
@RestController
@RequestMapping("dept")
public class DeptController extends BaseCRUDJsonBodyMappingController<DeptService, DeptEntity, Long> {
@Autowired
private ParamService paramService;
@Autowired
private SiteService siteService;
public DeptController() {
super.setModuleDesc("部门");
}
@Override
protected void doListBefore(DeptEntity query, Map<String, Object> model, Context context) throws AppException {
if (ObjectUtils.isEmpty(query.getIdList())) {
if (ObjectUtils.isEmpty(query.getOrderColList())) {
query.setOrderColList(new ArrayList<OrderCol>() {
{
add(new OrderCol("sort", OrderCol.ASCENDING));
add(new OrderCol("createTime", OrderCol.DESCENDING));
}
});
} else {
query.getOrderColList().add(new OrderCol("createTime", OrderCol.DESCENDING));
}
} else {
}
if (!ObjectUtils.isEmpty(query.getFilter()) && YesNoEnum.YES.getValue() == query.getFilter()) {
//过滤部门事项数据为0的部门
query.setTotalStart(1);
}
if (!ObjectUtils.isEmpty(query.getHallCheckIn()) && YesNoEnum.YES.getValue() == query.getHallCheckIn()) {
//过滤部门事项数据为0的部门
query.setInNumStart(1);
}
super.doListBefore(query, model, context);
}
@Override
protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "isAutotable", paramService.getParamBySecondOrganize("Dept", "isAutotable"));
this.addDict(model, "isOrder", paramService.getParamBySecondOrganize("Dept", "isOrder"));
this.addDict(model, "isBkb", paramService.getParamBySecondOrganize("Dept", "isBkb"));
this.addDict(model, "isWorkGuide", paramService.getParamBySecondOrganize("Dept", "isWorkGuide"));
this.addDict(model, "usValid", paramService.getParamBySecondOrganize("Dept", "usValid"));
this.addDict(model, "isSecphone", paramService.getParamBySecondOrganize("Dept", "isSecphone"));
this.addDict(model, "isEnglish", paramService.getParamBySecondOrganize("Dept", "isEnglish"));
super.init(model, context);
}
/**
* @param entity
* @param model
* @param context
* @throws AppException
*/
@Override
protected void saveBefore(DeptEntity entity, Map<String, Object> model, Context context) throws AppException {
if (entity.newEntity()) {
entity.setSource(SourceEnum.自定义.getValue());
}
super.saveBefore(entity, model, context);
}
}
\ No newline at end of file
package com.mortals.xhx.module.evaluation.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -6,45 +7,53 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import com.mortals.framework.model.Context;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.module.evaluation.model.EvaluationInfoEntity;
import com.mortals.xhx.module.evaluation.service.EvaluationInfoService;
import org.apache.commons.lang3.ArrayUtils;
import com.mortals.framework.util.StringUtils;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import com.alibaba.fastjson.JSONObject;
import java.util.Arrays;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import static com.mortals.framework.ap.SysConstains.*;
import com.mortals.xhx.common.code.*;
/**
*
* 用户代办帮办评价
*
* @author zxfei
* @date 2025-04-27
*/
* 用户代办帮办评价
*
* @author zxfei
* @date 2025-04-27
*/
@RestController
@RequestMapping("evaluation/info")
public class EvaluationInfoController extends BaseCRUDJsonBodyMappingController<EvaluationInfoService,EvaluationInfoEntity,Long> {
public class EvaluationInfoController extends BaseCRUDJsonBodyMappingController<EvaluationInfoService, EvaluationInfoEntity, Long> {
@Autowired
private ParamService paramService;
public EvaluationInfoController(){
super.setModuleDesc( "用户代办帮办评价");
public EvaluationInfoController() {
super.setModuleDesc("用户代办帮办评价");
}
@Override
protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "score", ScoreEnum.getEnumMap());
this.addDict(model, "evalStatus", EvalStatusEnum.getEnumMap());
this.addDict(model, "evalStatus", EvalStatusEnum.getEnumMap());
super.init(model, context);
}
......
package com.mortals.xhx.module.site.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.site.model.SiteEntity;
/**
* 站点Dao
* 站点 DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface SiteDao extends ICRUDDao<SiteEntity,Long>{
}
package com.mortals.xhx.module.site.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.site.model.SiteMatterEntity;
/**
* 站点事项Dao
* 站点事项 DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface SiteMatterDao extends ICRUDDao<SiteMatterEntity,Long>{
}
package com.mortals.xhx.module.site.dao.ibatis;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import com.mortals.xhx.module.site.dao.SiteDao;
import com.mortals.xhx.module.site.model.SiteEntity;
import org.springframework.stereotype.Repository;
/**
* 站点DaoImpl DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
@Repository("siteDao")
public class SiteDaoImpl extends BaseCRUDDaoMybatis<SiteEntity,Long> implements SiteDao {
}
package com.mortals.xhx.module.site.dao.ibatis;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import com.mortals.xhx.module.site.dao.SiteMatterDao;
import com.mortals.xhx.module.site.model.SiteMatterEntity;
import org.springframework.stereotype.Repository;
/**
* 站点事项DaoImpl DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
@Repository("siteMatterDao")
public class SiteMatterDaoImpl extends BaseCRUDDaoMybatis<SiteMatterEntity,Long> implements SiteMatterDao {
}
package com.mortals.xhx.module.site.model;
import com.mortals.xhx.module.site.model.vo.SiteVo;
import lombok.Data;
import java.util.Date;
/**
* 站点实体对象
*
* @author zxfei
* @date 2024-12-11
*/
@Data
public class SiteEntity extends SiteVo {
private static final long serialVersionUID = 1L;
/**
* 站点名称
*/
private String siteName;
/**
* 站点编号
*/
private String siteCode;
/**
* 区域Id
*/
private String areaID;
/**
* 区域编号
*/
private String areaCode;
/**
* 区域名称
*/
private String areaName;
/**
* 省编码
*/
private String proCode;
/**
* 市编码
*/
private String cityCode;
/**
* 区编码
*/
private String districtCode;
/**
* 站点服务器ip
*/
private String siteIp;
/**
* 站点服务器端口
*/
private String sitePort;
/**
* 经度
*/
private String longitude;
/**
* 纬度
*/
private String latitude;
/**
* 中心联系电话
*/
private String siteTel;
/**
* 中心详细地址
*/
private String detailAddress;
/**
* 中心介绍
*/
private String siteRemark;
/**
* 上午上班开始时间
*/
private Date amWorkStartTime;
/**
* 上午上班结束时间
*/
private Date amWorkEndTime;
/**
* 下午上班开始时间
*/
private Date pmWorkStartTime;
/**
* 下午上班结束时间
*/
private Date pmWorkEndTime;
/**
* 周一 (1.上班,0.不上)
*/
private Integer workday1;
/**
* 周二 (1.上班,0.不上)
*/
private Integer workday2;
/**
* 周三 (1.上班,0.不上)
*/
private Integer workday3;
/**
* 周四 (1.上班,0.不上)
*/
private Integer workday4;
/**
* 周五 (1.上班,0.不上)
*/
private Integer workday5;
/**
* 周六 (1.上班,0.不上)
*/
private Integer workday6;
/**
* 周日 (1.上班,0.不上)
*/
private Integer workday7;
/**
* 在线取号(0.否,1.是)
*/
private Integer onlineTake;
/**
* 在线取号(0.否,1.是)
*/
private Integer appointment;
/**
* 在线取号(0.否,1.是)
*/
private Integer gowMap;
/**
* 楼层
*/
private Integer level;
/**
* 楼栋
*/
private Integer building;
/**
* logo图片地址
*/
private String logoPath;
/**
* 英文名称
*/
private String englishName;
/**
* 负责人
*/
private String leadingOfficial;
/**
* 联系电话
*/
private String leadingOfficialTelephone;
/**
* 部署模块,逗号分隔
*/
private String modelIds;
/**
* 政务风貌,多个逗号分割
*/
private String govAffairStyle;
/**
* 投诉电话
*/
private String complaintHotline;
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof SiteEntity) {
SiteEntity tmp = (SiteEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public void initAttrValue(){
this.siteName = "";
this.siteCode = "";
this.areaID = "";
this.areaCode = "";
this.areaName = "";
this.proCode = "";
this.cityCode = "";
this.districtCode = "";
this.siteIp = "127.0.0.1";
this.sitePort = "80";
this.longitude = "";
this.latitude = "";
this.siteTel = "13808095770";
this.detailAddress = "";
this.siteRemark = "";
this.amWorkStartTime = null;
this.amWorkEndTime = null;
this.pmWorkStartTime = null;
this.pmWorkEndTime = null;
this.workday1 = 1;
this.workday2 = 1;
this.workday3 = 1;
this.workday4 = 1;
this.workday5 = 1;
this.workday6 = 0;
this.workday7 = 0;
this.onlineTake = 1;
this.appointment = 1;
this.gowMap = 1;
this.level = 1;
this.building = 1;
this.logoPath = "";
this.englishName = "";
this.leadingOfficial = "张三";
this.leadingOfficialTelephone = "13808095770";
this.modelIds = "";
this.govAffairStyle = "";
this.complaintHotline = "";
}
}
\ No newline at end of file
package com.mortals.xhx.module.site.model;
import com.mortals.xhx.module.site.model.vo.SiteMatterVo;
import lombok.Data;
/**
* 站点事项实体对象
*
* @author zxfei
* @date 2024-03-09
*/
@Data
public class SiteMatterEntity extends SiteMatterVo {
private static final long serialVersionUID = 1L;
/**
* 站点ID
*/
private Long siteId;
/**
* 站点名称
*/
private String siteName;
/**
* 事项ID
*/
private Long matterId;
/**
* 事项名称
*/
private String matterName;
/**
* 事项编码
*/
private String matterCode;
/**
* 部门ID
*/
private Long deptId;
/**
* 部门名称
*/
private String deptName;
/**
* 事项类型
*/
private String eventTypeShow;
/**
* 事项来源
*/
private Integer source;
/**
* 热门(0.否,1.是)
*/
private Integer hot;
/**
* 显示(0.否,1.是)
*/
private Integer display;
/**
* 部门编号
*/
private String deptCode;
/**
* 代办帮办(0.否,1.是)
*/
private Integer agent;
/**
* 代办姓名
*/
private String agentName;
/**
* 代办电话
*/
private String agentPhone;
/**
* 职务
*/
private String agentPost;
/**
* 大厅事项入驻(0.否,1.是)
*/
private Integer hallCheckIn;
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof SiteMatterEntity) {
SiteMatterEntity tmp = (SiteMatterEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public void initAttrValue(){
this.siteId = null;
this.siteName = "";
this.matterId = null;
this.matterName = "";
this.matterCode = "";
this.deptId = null;
this.deptName = "";
this.eventTypeShow = "";
this.source = 0;
this.hot = 0;
this.display = 1;
this.deptCode = "";
this.agent = 0;
this.agentName = "";
this.agentPhone = "";
this.agentPost = "";
this.hallCheckIn = 0;
}
}
\ No newline at end of file
package com.mortals.xhx.module.site.model;
import java.util.List;
/**
* 站点事项查询对象
*
* @author zxfei
* @date 2024-03-09
*/
public class SiteMatterQuery extends SiteMatterEntity {
/** 开始 序号,主键,自增长 */
private Long idStart;
/** 结束 序号,主键,自增长 */
private Long idEnd;
/** 增加 序号,主键,自增长 */
private Long idIncrement;
/** 序号,主键,自增长列表 */
private List <Long> idList;
/** 序号,主键,自增长排除列表 */
private List <Long> idNotList;
/** 开始 站点ID */
private Long siteIdStart;
/** 结束 站点ID */
private Long siteIdEnd;
/** 增加 站点ID */
private Long siteIdIncrement;
/** 站点ID列表 */
private List <Long> siteIdList;
/** 站点ID排除列表 */
private List <Long> siteIdNotList;
/** 站点名称 */
private List<String> siteNameList;
/** 站点名称排除列表 */
private List <String> siteNameNotList;
/** 开始 事项ID */
private Long matterIdStart;
/** 结束 事项ID */
private Long matterIdEnd;
/** 增加 事项ID */
private Long matterIdIncrement;
/** 事项ID列表 */
private List <Long> matterIdList;
/** 事项ID排除列表 */
private List <Long> matterIdNotList;
/** 事项名称 */
private List<String> matterNameList;
/** 事项名称排除列表 */
private List <String> matterNameNotList;
/** 事项编码 */
private List<String> matterCodeList;
/** 事项编码排除列表 */
private List <String> matterCodeNotList;
/** 开始 部门ID */
private Long deptIdStart;
/** 结束 部门ID */
private Long deptIdEnd;
/** 增加 部门ID */
private Long deptIdIncrement;
/** 部门ID列表 */
private List <Long> deptIdList;
/** 部门ID排除列表 */
private List <Long> deptIdNotList;
/** 部门名称 */
private List<String> deptNameList;
/** 部门名称排除列表 */
private List <String> deptNameNotList;
/** 事项类型 */
private List<String> eventTypeShowList;
/** 事项类型排除列表 */
private List <String> eventTypeShowNotList;
/** 开始 事项来源 */
private Integer sourceStart;
/** 结束 事项来源 */
private Integer sourceEnd;
/** 增加 事项来源 */
private Integer sourceIncrement;
/** 事项来源列表 */
private List <Integer> sourceList;
/** 事项来源排除列表 */
private List <Integer> sourceNotList;
/** 开始 热门(0.否,1.是) */
private Integer hotStart;
/** 结束 热门(0.否,1.是) */
private Integer hotEnd;
/** 增加 热门(0.否,1.是) */
private Integer hotIncrement;
/** 热门(0.否,1.是)列表 */
private List <Integer> hotList;
/** 热门(0.否,1.是)排除列表 */
private List <Integer> hotNotList;
/** 开始 显示(0.否,1.是) */
private Integer displayStart;
/** 结束 显示(0.否,1.是) */
private Integer displayEnd;
/** 增加 显示(0.否,1.是) */
private Integer displayIncrement;
/** 显示(0.否,1.是)列表 */
private List <Integer> displayList;
/** 显示(0.否,1.是)排除列表 */
private List <Integer> displayNotList;
/** 部门编号 */
private List<String> deptCodeList;
/** 部门编号排除列表 */
private List <String> deptCodeNotList;
/** 开始 代办帮办(0.否,1.是) */
private Integer agentStart;
/** 结束 代办帮办(0.否,1.是) */
private Integer agentEnd;
/** 增加 代办帮办(0.否,1.是) */
private Integer agentIncrement;
/** 代办帮办(0.否,1.是)列表 */
private List <Integer> agentList;
/** 代办帮办(0.否,1.是)排除列表 */
private List <Integer> agentNotList;
/** 代办姓名 */
private List<String> agentNameList;
/** 代办姓名排除列表 */
private List <String> agentNameNotList;
/** 代办电话 */
private List<String> agentPhoneList;
/** 代办电话排除列表 */
private List <String> agentPhoneNotList;
/** 职务 */
private List<String> agentPostList;
/** 职务排除列表 */
private List <String> agentPostNotList;
/** 开始 大厅事项入驻(0.否,1.是) */
private Integer hallCheckInStart;
/** 结束 大厅事项入驻(0.否,1.是) */
private Integer hallCheckInEnd;
/** 增加 大厅事项入驻(0.否,1.是) */
private Integer hallCheckInIncrement;
/** 大厅事项入驻(0.否,1.是)列表 */
private List <Integer> hallCheckInList;
/** 大厅事项入驻(0.否,1.是)排除列表 */
private List <Integer> hallCheckInNotList;
/** 开始 创建时间 */
private String createTimeStart;
/** 结束 创建时间 */
private String createTimeEnd;
/** 开始 创建用户 */
private Long createUserIdStart;
/** 结束 创建用户 */
private Long createUserIdEnd;
/** 增加 创建用户 */
private Long createUserIdIncrement;
/** 创建用户列表 */
private List <Long> createUserIdList;
/** 创建用户排除列表 */
private List <Long> createUserIdNotList;
/** 开始 修改时间 */
private String updateTimeStart;
/** 结束 修改时间 */
private String updateTimeEnd;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<SiteMatterQuery> orConditionList;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private List<SiteMatterQuery> andConditionList;
public SiteMatterQuery(){}
/**
* 获取 开始 序号,主键,自增长
* @return idStart
*/
public Long getIdStart(){
return this.idStart;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public void setIdStart(Long idStart){
this.idStart = idStart;
}
/**
* 获取 结束 序号,主键,自增长
* @return $idEnd
*/
public Long getIdEnd(){
return this.idEnd;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public void setIdEnd(Long idEnd){
this.idEnd = idEnd;
}
/**
* 获取 增加 序号,主键,自增长
* @return idIncrement
*/
public Long getIdIncrement(){
return this.idIncrement;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement;
}
/**
* 获取 序号,主键,自增长
* @return idList
*/
public List<Long> getIdList(){
return this.idList;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
public void setIdList(List<Long> idList){
this.idList = idList;
}
/**
* 获取 序号,主键,自增长
* @return idNotList
*/
public List<Long> getIdNotList(){
return this.idNotList;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList;
}
/**
* 获取 开始 站点ID
* @return siteIdStart
*/
public Long getSiteIdStart(){
return this.siteIdStart;
}
/**
* 设置 开始 站点ID
* @param siteIdStart
*/
public void setSiteIdStart(Long siteIdStart){
this.siteIdStart = siteIdStart;
}
/**
* 获取 结束 站点ID
* @return $siteIdEnd
*/
public Long getSiteIdEnd(){
return this.siteIdEnd;
}
/**
* 设置 结束 站点ID
* @param siteIdEnd
*/
public void setSiteIdEnd(Long siteIdEnd){
this.siteIdEnd = siteIdEnd;
}
/**
* 获取 增加 站点ID
* @return siteIdIncrement
*/
public Long getSiteIdIncrement(){
return this.siteIdIncrement;
}
/**
* 设置 增加 站点ID
* @param siteIdIncrement
*/
public void setSiteIdIncrement(Long siteIdIncrement){
this.siteIdIncrement = siteIdIncrement;
}
/**
* 获取 站点ID
* @return siteIdList
*/
public List<Long> getSiteIdList(){
return this.siteIdList;
}
/**
* 设置 站点ID
* @param siteIdList
*/
public void setSiteIdList(List<Long> siteIdList){
this.siteIdList = siteIdList;
}
/**
* 获取 站点ID
* @return siteIdNotList
*/
public List<Long> getSiteIdNotList(){
return this.siteIdNotList;
}
/**
* 设置 站点ID
* @param siteIdNotList
*/
public void setSiteIdNotList(List<Long> siteIdNotList){
this.siteIdNotList = siteIdNotList;
}
/**
* 获取 站点名称
* @return siteNameList
*/
public List<String> getSiteNameList(){
return this.siteNameList;
}
/**
* 设置 站点名称
* @param siteNameList
*/
public void setSiteNameList(List<String> siteNameList){
this.siteNameList = siteNameList;
}
/**
* 获取 站点名称
* @return siteNameNotList
*/
public List<String> getSiteNameNotList(){
return this.siteNameNotList;
}
/**
* 设置 站点名称
* @param siteNameNotList
*/
public void setSiteNameNotList(List<String> siteNameNotList){
this.siteNameNotList = siteNameNotList;
}
/**
* 获取 开始 事项ID
* @return matterIdStart
*/
public Long getMatterIdStart(){
return this.matterIdStart;
}
/**
* 设置 开始 事项ID
* @param matterIdStart
*/
public void setMatterIdStart(Long matterIdStart){
this.matterIdStart = matterIdStart;
}
/**
* 获取 结束 事项ID
* @return $matterIdEnd
*/
public Long getMatterIdEnd(){
return this.matterIdEnd;
}
/**
* 设置 结束 事项ID
* @param matterIdEnd
*/
public void setMatterIdEnd(Long matterIdEnd){
this.matterIdEnd = matterIdEnd;
}
/**
* 获取 增加 事项ID
* @return matterIdIncrement
*/
public Long getMatterIdIncrement(){
return this.matterIdIncrement;
}
/**
* 设置 增加 事项ID
* @param matterIdIncrement
*/
public void setMatterIdIncrement(Long matterIdIncrement){
this.matterIdIncrement = matterIdIncrement;
}
/**
* 获取 事项ID
* @return matterIdList
*/
public List<Long> getMatterIdList(){
return this.matterIdList;
}
/**
* 设置 事项ID
* @param matterIdList
*/
public void setMatterIdList(List<Long> matterIdList){
this.matterIdList = matterIdList;
}
/**
* 获取 事项ID
* @return matterIdNotList
*/
public List<Long> getMatterIdNotList(){
return this.matterIdNotList;
}
/**
* 设置 事项ID
* @param matterIdNotList
*/
public void setMatterIdNotList(List<Long> matterIdNotList){
this.matterIdNotList = matterIdNotList;
}
/**
* 获取 事项名称
* @return matterNameList
*/
public List<String> getMatterNameList(){
return this.matterNameList;
}
/**
* 设置 事项名称
* @param matterNameList
*/
public void setMatterNameList(List<String> matterNameList){
this.matterNameList = matterNameList;
}
/**
* 获取 事项名称
* @return matterNameNotList
*/
public List<String> getMatterNameNotList(){
return this.matterNameNotList;
}
/**
* 设置 事项名称
* @param matterNameNotList
*/
public void setMatterNameNotList(List<String> matterNameNotList){
this.matterNameNotList = matterNameNotList;
}
/**
* 获取 事项编码
* @return matterCodeList
*/
public List<String> getMatterCodeList(){
return this.matterCodeList;
}
/**
* 设置 事项编码
* @param matterCodeList
*/
public void setMatterCodeList(List<String> matterCodeList){
this.matterCodeList = matterCodeList;
}
/**
* 获取 事项编码
* @return matterCodeNotList
*/
public List<String> getMatterCodeNotList(){
return this.matterCodeNotList;
}
/**
* 设置 事项编码
* @param matterCodeNotList
*/
public void setMatterCodeNotList(List<String> matterCodeNotList){
this.matterCodeNotList = matterCodeNotList;
}
/**
* 获取 开始 部门ID
* @return deptIdStart
*/
public Long getDeptIdStart(){
return this.deptIdStart;
}
/**
* 设置 开始 部门ID
* @param deptIdStart
*/
public void setDeptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart;
}
/**
* 获取 结束 部门ID
* @return $deptIdEnd
*/
public Long getDeptIdEnd(){
return this.deptIdEnd;
}
/**
* 设置 结束 部门ID
* @param deptIdEnd
*/
public void setDeptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd;
}
/**
* 获取 增加 部门ID
* @return deptIdIncrement
*/
public Long getDeptIdIncrement(){
return this.deptIdIncrement;
}
/**
* 设置 增加 部门ID
* @param deptIdIncrement
*/
public void setDeptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
}
/**
* 获取 部门ID
* @return deptIdList
*/
public List<Long> getDeptIdList(){
return this.deptIdList;
}
/**
* 设置 部门ID
* @param deptIdList
*/
public void setDeptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList;
}
/**
* 获取 部门ID
* @return deptIdNotList
*/
public List<Long> getDeptIdNotList(){
return this.deptIdNotList;
}
/**
* 设置 部门ID
* @param deptIdNotList
*/
public void setDeptIdNotList(List<Long> 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;
}
/**
* 获取 事项类型
* @return eventTypeShowList
*/
public List<String> getEventTypeShowList(){
return this.eventTypeShowList;
}
/**
* 设置 事项类型
* @param eventTypeShowList
*/
public void setEventTypeShowList(List<String> eventTypeShowList){
this.eventTypeShowList = eventTypeShowList;
}
/**
* 获取 事项类型
* @return eventTypeShowNotList
*/
public List<String> getEventTypeShowNotList(){
return this.eventTypeShowNotList;
}
/**
* 设置 事项类型
* @param eventTypeShowNotList
*/
public void setEventTypeShowNotList(List<String> eventTypeShowNotList){
this.eventTypeShowNotList = eventTypeShowNotList;
}
/**
* 获取 开始 事项来源
* @return sourceStart
*/
public Integer getSourceStart(){
return this.sourceStart;
}
/**
* 设置 开始 事项来源
* @param sourceStart
*/
public void setSourceStart(Integer sourceStart){
this.sourceStart = sourceStart;
}
/**
* 获取 结束 事项来源
* @return $sourceEnd
*/
public Integer getSourceEnd(){
return this.sourceEnd;
}
/**
* 设置 结束 事项来源
* @param sourceEnd
*/
public void setSourceEnd(Integer sourceEnd){
this.sourceEnd = sourceEnd;
}
/**
* 获取 增加 事项来源
* @return sourceIncrement
*/
public Integer getSourceIncrement(){
return this.sourceIncrement;
}
/**
* 设置 增加 事项来源
* @param sourceIncrement
*/
public void setSourceIncrement(Integer sourceIncrement){
this.sourceIncrement = sourceIncrement;
}
/**
* 获取 事项来源
* @return sourceList
*/
public List<Integer> getSourceList(){
return this.sourceList;
}
/**
* 设置 事项来源
* @param sourceList
*/
public void setSourceList(List<Integer> sourceList){
this.sourceList = sourceList;
}
/**
* 获取 事项来源
* @return sourceNotList
*/
public List<Integer> getSourceNotList(){
return this.sourceNotList;
}
/**
* 设置 事项来源
* @param sourceNotList
*/
public void setSourceNotList(List<Integer> sourceNotList){
this.sourceNotList = sourceNotList;
}
/**
* 获取 开始 热门(0.否,1.是)
* @return hotStart
*/
public Integer getHotStart(){
return this.hotStart;
}
/**
* 设置 开始 热门(0.否,1.是)
* @param hotStart
*/
public void setHotStart(Integer hotStart){
this.hotStart = hotStart;
}
/**
* 获取 结束 热门(0.否,1.是)
* @return $hotEnd
*/
public Integer getHotEnd(){
return this.hotEnd;
}
/**
* 设置 结束 热门(0.否,1.是)
* @param hotEnd
*/
public void setHotEnd(Integer hotEnd){
this.hotEnd = hotEnd;
}
/**
* 获取 增加 热门(0.否,1.是)
* @return hotIncrement
*/
public Integer getHotIncrement(){
return this.hotIncrement;
}
/**
* 设置 增加 热门(0.否,1.是)
* @param hotIncrement
*/
public void setHotIncrement(Integer hotIncrement){
this.hotIncrement = hotIncrement;
}
/**
* 获取 热门(0.否,1.是)
* @return hotList
*/
public List<Integer> getHotList(){
return this.hotList;
}
/**
* 设置 热门(0.否,1.是)
* @param hotList
*/
public void setHotList(List<Integer> hotList){
this.hotList = hotList;
}
/**
* 获取 热门(0.否,1.是)
* @return hotNotList
*/
public List<Integer> getHotNotList(){
return this.hotNotList;
}
/**
* 设置 热门(0.否,1.是)
* @param hotNotList
*/
public void setHotNotList(List<Integer> hotNotList){
this.hotNotList = hotNotList;
}
/**
* 获取 开始 显示(0.否,1.是)
* @return displayStart
*/
public Integer getDisplayStart(){
return this.displayStart;
}
/**
* 设置 开始 显示(0.否,1.是)
* @param displayStart
*/
public void setDisplayStart(Integer displayStart){
this.displayStart = displayStart;
}
/**
* 获取 结束 显示(0.否,1.是)
* @return $displayEnd
*/
public Integer getDisplayEnd(){
return this.displayEnd;
}
/**
* 设置 结束 显示(0.否,1.是)
* @param displayEnd
*/
public void setDisplayEnd(Integer displayEnd){
this.displayEnd = displayEnd;
}
/**
* 获取 增加 显示(0.否,1.是)
* @return displayIncrement
*/
public Integer getDisplayIncrement(){
return this.displayIncrement;
}
/**
* 设置 增加 显示(0.否,1.是)
* @param displayIncrement
*/
public void setDisplayIncrement(Integer displayIncrement){
this.displayIncrement = displayIncrement;
}
/**
* 获取 显示(0.否,1.是)
* @return displayList
*/
public List<Integer> getDisplayList(){
return this.displayList;
}
/**
* 设置 显示(0.否,1.是)
* @param displayList
*/
public void setDisplayList(List<Integer> displayList){
this.displayList = displayList;
}
/**
* 获取 显示(0.否,1.是)
* @return displayNotList
*/
public List<Integer> getDisplayNotList(){
return this.displayNotList;
}
/**
* 设置 显示(0.否,1.是)
* @param displayNotList
*/
public void setDisplayNotList(List<Integer> displayNotList){
this.displayNotList = displayNotList;
}
/**
* 获取 部门编号
* @return deptCodeList
*/
public List<String> getDeptCodeList(){
return this.deptCodeList;
}
/**
* 设置 部门编号
* @param deptCodeList
*/
public void setDeptCodeList(List<String> deptCodeList){
this.deptCodeList = deptCodeList;
}
/**
* 获取 部门编号
* @return deptCodeNotList
*/
public List<String> getDeptCodeNotList(){
return this.deptCodeNotList;
}
/**
* 设置 部门编号
* @param deptCodeNotList
*/
public void setDeptCodeNotList(List<String> deptCodeNotList){
this.deptCodeNotList = deptCodeNotList;
}
/**
* 获取 开始 代办帮办(0.否,1.是)
* @return agentStart
*/
public Integer getAgentStart(){
return this.agentStart;
}
/**
* 设置 开始 代办帮办(0.否,1.是)
* @param agentStart
*/
public void setAgentStart(Integer agentStart){
this.agentStart = agentStart;
}
/**
* 获取 结束 代办帮办(0.否,1.是)
* @return $agentEnd
*/
public Integer getAgentEnd(){
return this.agentEnd;
}
/**
* 设置 结束 代办帮办(0.否,1.是)
* @param agentEnd
*/
public void setAgentEnd(Integer agentEnd){
this.agentEnd = agentEnd;
}
/**
* 获取 增加 代办帮办(0.否,1.是)
* @return agentIncrement
*/
public Integer getAgentIncrement(){
return this.agentIncrement;
}
/**
* 设置 增加 代办帮办(0.否,1.是)
* @param agentIncrement
*/
public void setAgentIncrement(Integer agentIncrement){
this.agentIncrement = agentIncrement;
}
/**
* 获取 代办帮办(0.否,1.是)
* @return agentList
*/
public List<Integer> getAgentList(){
return this.agentList;
}
/**
* 设置 代办帮办(0.否,1.是)
* @param agentList
*/
public void setAgentList(List<Integer> agentList){
this.agentList = agentList;
}
/**
* 获取 代办帮办(0.否,1.是)
* @return agentNotList
*/
public List<Integer> getAgentNotList(){
return this.agentNotList;
}
/**
* 设置 代办帮办(0.否,1.是)
* @param agentNotList
*/
public void setAgentNotList(List<Integer> agentNotList){
this.agentNotList = agentNotList;
}
/**
* 获取 代办姓名
* @return agentNameList
*/
public List<String> getAgentNameList(){
return this.agentNameList;
}
/**
* 设置 代办姓名
* @param agentNameList
*/
public void setAgentNameList(List<String> agentNameList){
this.agentNameList = agentNameList;
}
/**
* 获取 代办姓名
* @return agentNameNotList
*/
public List<String> getAgentNameNotList(){
return this.agentNameNotList;
}
/**
* 设置 代办姓名
* @param agentNameNotList
*/
public void setAgentNameNotList(List<String> agentNameNotList){
this.agentNameNotList = agentNameNotList;
}
/**
* 获取 代办电话
* @return agentPhoneList
*/
public List<String> getAgentPhoneList(){
return this.agentPhoneList;
}
/**
* 设置 代办电话
* @param agentPhoneList
*/
public void setAgentPhoneList(List<String> agentPhoneList){
this.agentPhoneList = agentPhoneList;
}
/**
* 获取 代办电话
* @return agentPhoneNotList
*/
public List<String> getAgentPhoneNotList(){
return this.agentPhoneNotList;
}
/**
* 设置 代办电话
* @param agentPhoneNotList
*/
public void setAgentPhoneNotList(List<String> agentPhoneNotList){
this.agentPhoneNotList = agentPhoneNotList;
}
/**
* 获取 职务
* @return agentPostList
*/
public List<String> getAgentPostList(){
return this.agentPostList;
}
/**
* 设置 职务
* @param agentPostList
*/
public void setAgentPostList(List<String> agentPostList){
this.agentPostList = agentPostList;
}
/**
* 获取 职务
* @return agentPostNotList
*/
public List<String> getAgentPostNotList(){
return this.agentPostNotList;
}
/**
* 设置 职务
* @param agentPostNotList
*/
public void setAgentPostNotList(List<String> agentPostNotList){
this.agentPostNotList = agentPostNotList;
}
/**
* 获取 开始 大厅事项入驻(0.否,1.是)
* @return hallCheckInStart
*/
public Integer getHallCheckInStart(){
return this.hallCheckInStart;
}
/**
* 设置 开始 大厅事项入驻(0.否,1.是)
* @param hallCheckInStart
*/
public void setHallCheckInStart(Integer hallCheckInStart){
this.hallCheckInStart = hallCheckInStart;
}
/**
* 获取 结束 大厅事项入驻(0.否,1.是)
* @return $hallCheckInEnd
*/
public Integer getHallCheckInEnd(){
return this.hallCheckInEnd;
}
/**
* 设置 结束 大厅事项入驻(0.否,1.是)
* @param hallCheckInEnd
*/
public void setHallCheckInEnd(Integer hallCheckInEnd){
this.hallCheckInEnd = hallCheckInEnd;
}
/**
* 获取 增加 大厅事项入驻(0.否,1.是)
* @return hallCheckInIncrement
*/
public Integer getHallCheckInIncrement(){
return this.hallCheckInIncrement;
}
/**
* 设置 增加 大厅事项入驻(0.否,1.是)
* @param hallCheckInIncrement
*/
public void setHallCheckInIncrement(Integer hallCheckInIncrement){
this.hallCheckInIncrement = hallCheckInIncrement;
}
/**
* 获取 大厅事项入驻(0.否,1.是)
* @return hallCheckInList
*/
public List<Integer> getHallCheckInList(){
return this.hallCheckInList;
}
/**
* 设置 大厅事项入驻(0.否,1.是)
* @param hallCheckInList
*/
public void setHallCheckInList(List<Integer> hallCheckInList){
this.hallCheckInList = hallCheckInList;
}
/**
* 获取 大厅事项入驻(0.否,1.是)
* @return hallCheckInNotList
*/
public List<Integer> getHallCheckInNotList(){
return this.hallCheckInNotList;
}
/**
* 设置 大厅事项入驻(0.否,1.是)
* @param hallCheckInNotList
*/
public void setHallCheckInNotList(List<Integer> hallCheckInNotList){
this.hallCheckInNotList = hallCheckInNotList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 创建用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 创建用户
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 创建用户
* @return createUserIdNotList
*/
public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
}
/**
* 获取 开始 修改时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 修改时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 修改时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 修改时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 设置 序号,主键,自增长
* @param id
*/
public SiteMatterQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public SiteMatterQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public SiteMatterQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public SiteMatterQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
public SiteMatterQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public SiteMatterQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
/**
* 设置 站点ID
* @param siteId
*/
public SiteMatterQuery siteId(Long siteId){
setSiteId(siteId);
return this;
}
/**
* 设置 开始 站点ID
* @param siteIdStart
*/
public SiteMatterQuery siteIdStart(Long siteIdStart){
this.siteIdStart = siteIdStart;
return this;
}
/**
* 设置 结束 站点ID
* @param siteIdEnd
*/
public SiteMatterQuery siteIdEnd(Long siteIdEnd){
this.siteIdEnd = siteIdEnd;
return this;
}
/**
* 设置 增加 站点ID
* @param siteIdIncrement
*/
public SiteMatterQuery siteIdIncrement(Long siteIdIncrement){
this.siteIdIncrement = siteIdIncrement;
return this;
}
/**
* 设置 站点ID
* @param siteIdList
*/
public SiteMatterQuery siteIdList(List<Long> siteIdList){
this.siteIdList = siteIdList;
return this;
}
/**
* 设置 站点ID
* @param siteIdNotList
*/
public SiteMatterQuery siteIdNotList(List<Long> siteIdNotList){
this.siteIdNotList = siteIdNotList;
return this;
}
/**
* 设置 站点名称
* @param siteName
*/
public SiteMatterQuery siteName(String siteName){
setSiteName(siteName);
return this;
}
/**
* 设置 站点名称
* @param siteNameList
*/
public SiteMatterQuery siteNameList(List<String> siteNameList){
this.siteNameList = siteNameList;
return this;
}
/**
* 设置 事项ID
* @param matterId
*/
public SiteMatterQuery matterId(Long matterId){
setMatterId(matterId);
return this;
}
/**
* 设置 开始 事项ID
* @param matterIdStart
*/
public SiteMatterQuery matterIdStart(Long matterIdStart){
this.matterIdStart = matterIdStart;
return this;
}
/**
* 设置 结束 事项ID
* @param matterIdEnd
*/
public SiteMatterQuery matterIdEnd(Long matterIdEnd){
this.matterIdEnd = matterIdEnd;
return this;
}
/**
* 设置 增加 事项ID
* @param matterIdIncrement
*/
public SiteMatterQuery matterIdIncrement(Long matterIdIncrement){
this.matterIdIncrement = matterIdIncrement;
return this;
}
/**
* 设置 事项ID
* @param matterIdList
*/
public SiteMatterQuery matterIdList(List<Long> matterIdList){
this.matterIdList = matterIdList;
return this;
}
/**
* 设置 事项ID
* @param matterIdNotList
*/
public SiteMatterQuery matterIdNotList(List<Long> matterIdNotList){
this.matterIdNotList = matterIdNotList;
return this;
}
/**
* 设置 事项名称
* @param matterName
*/
public SiteMatterQuery matterName(String matterName){
setMatterName(matterName);
return this;
}
/**
* 设置 事项名称
* @param matterNameList
*/
public SiteMatterQuery matterNameList(List<String> matterNameList){
this.matterNameList = matterNameList;
return this;
}
/**
* 设置 事项编码
* @param matterCode
*/
public SiteMatterQuery matterCode(String matterCode){
setMatterCode(matterCode);
return this;
}
/**
* 设置 事项编码
* @param matterCodeList
*/
public SiteMatterQuery matterCodeList(List<String> matterCodeList){
this.matterCodeList = matterCodeList;
return this;
}
/**
* 设置 部门ID
* @param deptId
*/
public SiteMatterQuery deptId(Long deptId){
setDeptId(deptId);
return this;
}
/**
* 设置 开始 部门ID
* @param deptIdStart
*/
public SiteMatterQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart;
return this;
}
/**
* 设置 结束 部门ID
* @param deptIdEnd
*/
public SiteMatterQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd;
return this;
}
/**
* 设置 增加 部门ID
* @param deptIdIncrement
*/
public SiteMatterQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
return this;
}
/**
* 设置 部门ID
* @param deptIdList
*/
public SiteMatterQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList;
return this;
}
/**
* 设置 部门ID
* @param deptIdNotList
*/
public SiteMatterQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList;
return this;
}
/**
* 设置 部门名称
* @param deptName
*/
public SiteMatterQuery deptName(String deptName){
setDeptName(deptName);
return this;
}
/**
* 设置 部门名称
* @param deptNameList
*/
public SiteMatterQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
return this;
}
/**
* 设置 事项类型
* @param eventTypeShow
*/
public SiteMatterQuery eventTypeShow(String eventTypeShow){
setEventTypeShow(eventTypeShow);
return this;
}
/**
* 设置 事项类型
* @param eventTypeShowList
*/
public SiteMatterQuery eventTypeShowList(List<String> eventTypeShowList){
this.eventTypeShowList = eventTypeShowList;
return this;
}
/**
* 设置 事项来源
* @param source
*/
public SiteMatterQuery source(Integer source){
setSource(source);
return this;
}
/**
* 设置 开始 事项来源
* @param sourceStart
*/
public SiteMatterQuery sourceStart(Integer sourceStart){
this.sourceStart = sourceStart;
return this;
}
/**
* 设置 结束 事项来源
* @param sourceEnd
*/
public SiteMatterQuery sourceEnd(Integer sourceEnd){
this.sourceEnd = sourceEnd;
return this;
}
/**
* 设置 增加 事项来源
* @param sourceIncrement
*/
public SiteMatterQuery sourceIncrement(Integer sourceIncrement){
this.sourceIncrement = sourceIncrement;
return this;
}
/**
* 设置 事项来源
* @param sourceList
*/
public SiteMatterQuery sourceList(List<Integer> sourceList){
this.sourceList = sourceList;
return this;
}
/**
* 设置 事项来源
* @param sourceNotList
*/
public SiteMatterQuery sourceNotList(List<Integer> sourceNotList){
this.sourceNotList = sourceNotList;
return this;
}
/**
* 设置 热门(0.否,1.是)
* @param hot
*/
public SiteMatterQuery hot(Integer hot){
setHot(hot);
return this;
}
/**
* 设置 开始 热门(0.否,1.是)
* @param hotStart
*/
public SiteMatterQuery hotStart(Integer hotStart){
this.hotStart = hotStart;
return this;
}
/**
* 设置 结束 热门(0.否,1.是)
* @param hotEnd
*/
public SiteMatterQuery hotEnd(Integer hotEnd){
this.hotEnd = hotEnd;
return this;
}
/**
* 设置 增加 热门(0.否,1.是)
* @param hotIncrement
*/
public SiteMatterQuery hotIncrement(Integer hotIncrement){
this.hotIncrement = hotIncrement;
return this;
}
/**
* 设置 热门(0.否,1.是)
* @param hotList
*/
public SiteMatterQuery hotList(List<Integer> hotList){
this.hotList = hotList;
return this;
}
/**
* 设置 热门(0.否,1.是)
* @param hotNotList
*/
public SiteMatterQuery hotNotList(List<Integer> hotNotList){
this.hotNotList = hotNotList;
return this;
}
/**
* 设置 显示(0.否,1.是)
* @param display
*/
public SiteMatterQuery display(Integer display){
setDisplay(display);
return this;
}
/**
* 设置 开始 显示(0.否,1.是)
* @param displayStart
*/
public SiteMatterQuery displayStart(Integer displayStart){
this.displayStart = displayStart;
return this;
}
/**
* 设置 结束 显示(0.否,1.是)
* @param displayEnd
*/
public SiteMatterQuery displayEnd(Integer displayEnd){
this.displayEnd = displayEnd;
return this;
}
/**
* 设置 增加 显示(0.否,1.是)
* @param displayIncrement
*/
public SiteMatterQuery displayIncrement(Integer displayIncrement){
this.displayIncrement = displayIncrement;
return this;
}
/**
* 设置 显示(0.否,1.是)
* @param displayList
*/
public SiteMatterQuery displayList(List<Integer> displayList){
this.displayList = displayList;
return this;
}
/**
* 设置 显示(0.否,1.是)
* @param displayNotList
*/
public SiteMatterQuery displayNotList(List<Integer> displayNotList){
this.displayNotList = displayNotList;
return this;
}
/**
* 设置 部门编号
* @param deptCode
*/
public SiteMatterQuery deptCode(String deptCode){
setDeptCode(deptCode);
return this;
}
/**
* 设置 部门编号
* @param deptCodeList
*/
public SiteMatterQuery deptCodeList(List<String> deptCodeList){
this.deptCodeList = deptCodeList;
return this;
}
/**
* 设置 代办帮办(0.否,1.是)
* @param agent
*/
public SiteMatterQuery agent(Integer agent){
setAgent(agent);
return this;
}
/**
* 设置 开始 代办帮办(0.否,1.是)
* @param agentStart
*/
public SiteMatterQuery agentStart(Integer agentStart){
this.agentStart = agentStart;
return this;
}
/**
* 设置 结束 代办帮办(0.否,1.是)
* @param agentEnd
*/
public SiteMatterQuery agentEnd(Integer agentEnd){
this.agentEnd = agentEnd;
return this;
}
/**
* 设置 增加 代办帮办(0.否,1.是)
* @param agentIncrement
*/
public SiteMatterQuery agentIncrement(Integer agentIncrement){
this.agentIncrement = agentIncrement;
return this;
}
/**
* 设置 代办帮办(0.否,1.是)
* @param agentList
*/
public SiteMatterQuery agentList(List<Integer> agentList){
this.agentList = agentList;
return this;
}
/**
* 设置 代办帮办(0.否,1.是)
* @param agentNotList
*/
public SiteMatterQuery agentNotList(List<Integer> agentNotList){
this.agentNotList = agentNotList;
return this;
}
/**
* 设置 代办姓名
* @param agentName
*/
public SiteMatterQuery agentName(String agentName){
setAgentName(agentName);
return this;
}
/**
* 设置 代办姓名
* @param agentNameList
*/
public SiteMatterQuery agentNameList(List<String> agentNameList){
this.agentNameList = agentNameList;
return this;
}
/**
* 设置 代办电话
* @param agentPhone
*/
public SiteMatterQuery agentPhone(String agentPhone){
setAgentPhone(agentPhone);
return this;
}
/**
* 设置 代办电话
* @param agentPhoneList
*/
public SiteMatterQuery agentPhoneList(List<String> agentPhoneList){
this.agentPhoneList = agentPhoneList;
return this;
}
/**
* 设置 职务
* @param agentPost
*/
public SiteMatterQuery agentPost(String agentPost){
setAgentPost(agentPost);
return this;
}
/**
* 设置 职务
* @param agentPostList
*/
public SiteMatterQuery agentPostList(List<String> agentPostList){
this.agentPostList = agentPostList;
return this;
}
/**
* 设置 大厅事项入驻(0.否,1.是)
* @param hallCheckIn
*/
public SiteMatterQuery hallCheckIn(Integer hallCheckIn){
setHallCheckIn(hallCheckIn);
return this;
}
/**
* 设置 开始 大厅事项入驻(0.否,1.是)
* @param hallCheckInStart
*/
public SiteMatterQuery hallCheckInStart(Integer hallCheckInStart){
this.hallCheckInStart = hallCheckInStart;
return this;
}
/**
* 设置 结束 大厅事项入驻(0.否,1.是)
* @param hallCheckInEnd
*/
public SiteMatterQuery hallCheckInEnd(Integer hallCheckInEnd){
this.hallCheckInEnd = hallCheckInEnd;
return this;
}
/**
* 设置 增加 大厅事项入驻(0.否,1.是)
* @param hallCheckInIncrement
*/
public SiteMatterQuery hallCheckInIncrement(Integer hallCheckInIncrement){
this.hallCheckInIncrement = hallCheckInIncrement;
return this;
}
/**
* 设置 大厅事项入驻(0.否,1.是)
* @param hallCheckInList
*/
public SiteMatterQuery hallCheckInList(List<Integer> hallCheckInList){
this.hallCheckInList = hallCheckInList;
return this;
}
/**
* 设置 大厅事项入驻(0.否,1.是)
* @param hallCheckInNotList
*/
public SiteMatterQuery hallCheckInNotList(List<Integer> hallCheckInNotList){
this.hallCheckInNotList = hallCheckInNotList;
return this;
}
/**
* 设置 创建用户
* @param createUserId
*/
public SiteMatterQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public SiteMatterQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public SiteMatterQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public SiteMatterQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public SiteMatterQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public SiteMatterQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<SiteMatterQuery> getOrConditionList(){
return this.orConditionList;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public void setOrConditionList(List<SiteMatterQuery> orConditionList){
this.orConditionList = orConditionList;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public List<SiteMatterQuery> getAndConditionList(){
return this.andConditionList;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public void setAndConditionList(List<SiteMatterQuery> andConditionList){
this.andConditionList = andConditionList;
}
}
\ No newline at end of file
package com.mortals.xhx.module.site.model;
import java.util.List;
/**
* 站点查询对象
*
* @author zxfei
* @date 2024-12-11
*/
public class SiteQuery extends SiteEntity {
/** 开始 序号,主键,自增长 */
private Long idStart;
/** 结束 序号,主键,自增长 */
private Long idEnd;
/** 增加 序号,主键,自增长 */
private Long idIncrement;
/** 序号,主键,自增长列表 */
private List <Long> idList;
/** 序号,主键,自增长排除列表 */
private List <Long> idNotList;
/** 站点名称 */
private List<String> siteNameList;
/** 站点名称排除列表 */
private List <String> siteNameNotList;
/** 站点编号 */
private List<String> siteCodeList;
/** 站点编号排除列表 */
private List <String> siteCodeNotList;
/** 区域Id */
private List<String> areaIDList;
/** 区域Id排除列表 */
private List <String> areaIDNotList;
/** 区域编号 */
private List<String> areaCodeList;
/** 区域编号排除列表 */
private List <String> areaCodeNotList;
/** 区域名称 */
private List<String> areaNameList;
/** 区域名称排除列表 */
private List <String> areaNameNotList;
/** 省编码 */
private List<String> proCodeList;
/** 省编码排除列表 */
private List <String> proCodeNotList;
/** 市编码 */
private List<String> cityCodeList;
/** 市编码排除列表 */
private List <String> cityCodeNotList;
/** 区编码 */
private List<String> districtCodeList;
/** 区编码排除列表 */
private List <String> districtCodeNotList;
/** 站点服务器ip */
private List<String> siteIpList;
/** 站点服务器ip排除列表 */
private List <String> siteIpNotList;
/** 站点服务器端口 */
private List<String> sitePortList;
/** 站点服务器端口排除列表 */
private List <String> sitePortNotList;
/** 经度 */
private List<String> longitudeList;
/** 经度排除列表 */
private List <String> longitudeNotList;
/** 纬度 */
private List<String> latitudeList;
/** 纬度排除列表 */
private List <String> latitudeNotList;
/** 中心联系电话 */
private List<String> siteTelList;
/** 中心联系电话排除列表 */
private List <String> siteTelNotList;
/** 中心详细地址 */
private List<String> detailAddressList;
/** 中心详细地址排除列表 */
private List <String> detailAddressNotList;
/** 中心介绍 */
private List<String> siteRemarkList;
/** 中心介绍排除列表 */
private List <String> siteRemarkNotList;
/** 开始 上午上班开始时间 */
private String amWorkStartTimeStart;
/** 结束 上午上班开始时间 */
private String amWorkStartTimeEnd;
/** 开始 上午上班结束时间 */
private String amWorkEndTimeStart;
/** 结束 上午上班结束时间 */
private String amWorkEndTimeEnd;
/** 开始 下午上班开始时间 */
private String pmWorkStartTimeStart;
/** 结束 下午上班开始时间 */
private String pmWorkStartTimeEnd;
/** 开始 下午上班结束时间 */
private String pmWorkEndTimeStart;
/** 结束 下午上班结束时间 */
private String pmWorkEndTimeEnd;
/** 开始 周一 (1.上班,0.不上) */
private Integer workday1Start;
/** 结束 周一 (1.上班,0.不上) */
private Integer workday1End;
/** 增加 周一 (1.上班,0.不上) */
private Integer workday1Increment;
/** 周一 (1.上班,0.不上)列表 */
private List <Integer> workday1List;
/** 周一 (1.上班,0.不上)排除列表 */
private List <Integer> workday1NotList;
/** 开始 周二 (1.上班,0.不上) */
private Integer workday2Start;
/** 结束 周二 (1.上班,0.不上) */
private Integer workday2End;
/** 增加 周二 (1.上班,0.不上) */
private Integer workday2Increment;
/** 周二 (1.上班,0.不上)列表 */
private List <Integer> workday2List;
/** 周二 (1.上班,0.不上)排除列表 */
private List <Integer> workday2NotList;
/** 开始 周三 (1.上班,0.不上) */
private Integer workday3Start;
/** 结束 周三 (1.上班,0.不上) */
private Integer workday3End;
/** 增加 周三 (1.上班,0.不上) */
private Integer workday3Increment;
/** 周三 (1.上班,0.不上)列表 */
private List <Integer> workday3List;
/** 周三 (1.上班,0.不上)排除列表 */
private List <Integer> workday3NotList;
/** 开始 周四 (1.上班,0.不上) */
private Integer workday4Start;
/** 结束 周四 (1.上班,0.不上) */
private Integer workday4End;
/** 增加 周四 (1.上班,0.不上) */
private Integer workday4Increment;
/** 周四 (1.上班,0.不上)列表 */
private List <Integer> workday4List;
/** 周四 (1.上班,0.不上)排除列表 */
private List <Integer> workday4NotList;
/** 开始 周五 (1.上班,0.不上) */
private Integer workday5Start;
/** 结束 周五 (1.上班,0.不上) */
private Integer workday5End;
/** 增加 周五 (1.上班,0.不上) */
private Integer workday5Increment;
/** 周五 (1.上班,0.不上)列表 */
private List <Integer> workday5List;
/** 周五 (1.上班,0.不上)排除列表 */
private List <Integer> workday5NotList;
/** 开始 周六 (1.上班,0.不上) */
private Integer workday6Start;
/** 结束 周六 (1.上班,0.不上) */
private Integer workday6End;
/** 增加 周六 (1.上班,0.不上) */
private Integer workday6Increment;
/** 周六 (1.上班,0.不上)列表 */
private List <Integer> workday6List;
/** 周六 (1.上班,0.不上)排除列表 */
private List <Integer> workday6NotList;
/** 开始 周日 (1.上班,0.不上) */
private Integer workday7Start;
/** 结束 周日 (1.上班,0.不上) */
private Integer workday7End;
/** 增加 周日 (1.上班,0.不上) */
private Integer workday7Increment;
/** 周日 (1.上班,0.不上)列表 */
private List <Integer> workday7List;
/** 周日 (1.上班,0.不上)排除列表 */
private List <Integer> workday7NotList;
/** 开始 在线取号(0.否,1.是) */
private Integer onlineTakeStart;
/** 结束 在线取号(0.否,1.是) */
private Integer onlineTakeEnd;
/** 增加 在线取号(0.否,1.是) */
private Integer onlineTakeIncrement;
/** 在线取号(0.否,1.是)列表 */
private List <Integer> onlineTakeList;
/** 在线取号(0.否,1.是)排除列表 */
private List <Integer> onlineTakeNotList;
/** 开始 在线取号(0.否,1.是) */
private Integer appointmentStart;
/** 结束 在线取号(0.否,1.是) */
private Integer appointmentEnd;
/** 增加 在线取号(0.否,1.是) */
private Integer appointmentIncrement;
/** 在线取号(0.否,1.是)列表 */
private List <Integer> appointmentList;
/** 在线取号(0.否,1.是)排除列表 */
private List <Integer> appointmentNotList;
/** 开始 在线取号(0.否,1.是) */
private Integer gowMapStart;
/** 结束 在线取号(0.否,1.是) */
private Integer gowMapEnd;
/** 增加 在线取号(0.否,1.是) */
private Integer gowMapIncrement;
/** 在线取号(0.否,1.是)列表 */
private List <Integer> gowMapList;
/** 在线取号(0.否,1.是)排除列表 */
private List <Integer> gowMapNotList;
/** 开始 楼层 */
private Integer levelStart;
/** 结束 楼层 */
private Integer levelEnd;
/** 增加 楼层 */
private Integer levelIncrement;
/** 楼层列表 */
private List <Integer> levelList;
/** 楼层排除列表 */
private List <Integer> levelNotList;
/** 开始 楼栋 */
private Integer buildingStart;
/** 结束 楼栋 */
private Integer buildingEnd;
/** 增加 楼栋 */
private Integer buildingIncrement;
/** 楼栋列表 */
private List <Integer> buildingList;
/** 楼栋排除列表 */
private List <Integer> buildingNotList;
/** logo图片地址 */
private List<String> logoPathList;
/** logo图片地址排除列表 */
private List <String> logoPathNotList;
/** 英文名称 */
private List<String> englishNameList;
/** 英文名称排除列表 */
private List <String> englishNameNotList;
/** 负责人 */
private List<String> leadingOfficialList;
/** 负责人排除列表 */
private List <String> leadingOfficialNotList;
/** 联系电话 */
private List<String> leadingOfficialTelephoneList;
/** 联系电话排除列表 */
private List <String> leadingOfficialTelephoneNotList;
/** 部署模块,逗号分隔 */
private List<String> modelIdsList;
/** 部署模块,逗号分隔排除列表 */
private List <String> modelIdsNotList;
/** 政务风貌,多个逗号分割 */
private List<String> govAffairStyleList;
/** 政务风貌,多个逗号分割排除列表 */
private List <String> govAffairStyleNotList;
/** 开始 创建时间 */
private String createTimeStart;
/** 结束 创建时间 */
private String createTimeEnd;
/** 开始 创建用户 */
private Long createUserIdStart;
/** 结束 创建用户 */
private Long createUserIdEnd;
/** 增加 创建用户 */
private Long createUserIdIncrement;
/** 创建用户列表 */
private List <Long> createUserIdList;
/** 创建用户排除列表 */
private List <Long> createUserIdNotList;
/** 开始 修改时间 */
private String updateTimeStart;
/** 结束 修改时间 */
private String updateTimeEnd;
/** 投诉电话 */
private List<String> complaintHotlineList;
/** 投诉电话排除列表 */
private List <String> complaintHotlineNotList;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<SiteQuery> orConditionList;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private List<SiteQuery> andConditionList;
public SiteQuery(){}
/**
* 获取 开始 序号,主键,自增长
* @return idStart
*/
public Long getIdStart(){
return this.idStart;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public void setIdStart(Long idStart){
this.idStart = idStart;
}
/**
* 获取 结束 序号,主键,自增长
* @return $idEnd
*/
public Long getIdEnd(){
return this.idEnd;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public void setIdEnd(Long idEnd){
this.idEnd = idEnd;
}
/**
* 获取 增加 序号,主键,自增长
* @return idIncrement
*/
public Long getIdIncrement(){
return this.idIncrement;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement;
}
/**
* 获取 序号,主键,自增长
* @return idList
*/
public List<Long> getIdList(){
return this.idList;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
public void setIdList(List<Long> idList){
this.idList = idList;
}
/**
* 获取 序号,主键,自增长
* @return idNotList
*/
public List<Long> getIdNotList(){
return this.idNotList;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList;
}
/**
* 获取 站点名称
* @return siteNameList
*/
public List<String> getSiteNameList(){
return this.siteNameList;
}
/**
* 设置 站点名称
* @param siteNameList
*/
public void setSiteNameList(List<String> siteNameList){
this.siteNameList = siteNameList;
}
/**
* 获取 站点名称
* @return siteNameNotList
*/
public List<String> getSiteNameNotList(){
return this.siteNameNotList;
}
/**
* 设置 站点名称
* @param siteNameNotList
*/
public void setSiteNameNotList(List<String> siteNameNotList){
this.siteNameNotList = siteNameNotList;
}
/**
* 获取 站点编号
* @return siteCodeList
*/
public List<String> getSiteCodeList(){
return this.siteCodeList;
}
/**
* 设置 站点编号
* @param siteCodeList
*/
public void setSiteCodeList(List<String> siteCodeList){
this.siteCodeList = siteCodeList;
}
/**
* 获取 站点编号
* @return siteCodeNotList
*/
public List<String> getSiteCodeNotList(){
return this.siteCodeNotList;
}
/**
* 设置 站点编号
* @param siteCodeNotList
*/
public void setSiteCodeNotList(List<String> siteCodeNotList){
this.siteCodeNotList = siteCodeNotList;
}
/**
* 获取 区域Id
* @return areaIDList
*/
public List<String> getAreaIDList(){
return this.areaIDList;
}
/**
* 设置 区域Id
* @param areaIDList
*/
public void setAreaIDList(List<String> areaIDList){
this.areaIDList = areaIDList;
}
/**
* 获取 区域Id
* @return areaIDNotList
*/
public List<String> getAreaIDNotList(){
return this.areaIDNotList;
}
/**
* 设置 区域Id
* @param areaIDNotList
*/
public void setAreaIDNotList(List<String> areaIDNotList){
this.areaIDNotList = areaIDNotList;
}
/**
* 获取 区域编号
* @return areaCodeList
*/
public List<String> getAreaCodeList(){
return this.areaCodeList;
}
/**
* 设置 区域编号
* @param areaCodeList
*/
public void setAreaCodeList(List<String> areaCodeList){
this.areaCodeList = areaCodeList;
}
/**
* 获取 区域编号
* @return areaCodeNotList
*/
public List<String> getAreaCodeNotList(){
return this.areaCodeNotList;
}
/**
* 设置 区域编号
* @param areaCodeNotList
*/
public void setAreaCodeNotList(List<String> areaCodeNotList){
this.areaCodeNotList = areaCodeNotList;
}
/**
* 获取 区域名称
* @return areaNameList
*/
public List<String> getAreaNameList(){
return this.areaNameList;
}
/**
* 设置 区域名称
* @param areaNameList
*/
public void setAreaNameList(List<String> areaNameList){
this.areaNameList = areaNameList;
}
/**
* 获取 区域名称
* @return areaNameNotList
*/
public List<String> getAreaNameNotList(){
return this.areaNameNotList;
}
/**
* 设置 区域名称
* @param areaNameNotList
*/
public void setAreaNameNotList(List<String> areaNameNotList){
this.areaNameNotList = areaNameNotList;
}
/**
* 获取 省编码
* @return proCodeList
*/
public List<String> getProCodeList(){
return this.proCodeList;
}
/**
* 设置 省编码
* @param proCodeList
*/
public void setProCodeList(List<String> proCodeList){
this.proCodeList = proCodeList;
}
/**
* 获取 省编码
* @return proCodeNotList
*/
public List<String> getProCodeNotList(){
return this.proCodeNotList;
}
/**
* 设置 省编码
* @param proCodeNotList
*/
public void setProCodeNotList(List<String> proCodeNotList){
this.proCodeNotList = proCodeNotList;
}
/**
* 获取 市编码
* @return cityCodeList
*/
public List<String> getCityCodeList(){
return this.cityCodeList;
}
/**
* 设置 市编码
* @param cityCodeList
*/
public void setCityCodeList(List<String> cityCodeList){
this.cityCodeList = cityCodeList;
}
/**
* 获取 市编码
* @return cityCodeNotList
*/
public List<String> getCityCodeNotList(){
return this.cityCodeNotList;
}
/**
* 设置 市编码
* @param cityCodeNotList
*/
public void setCityCodeNotList(List<String> cityCodeNotList){
this.cityCodeNotList = cityCodeNotList;
}
/**
* 获取 区编码
* @return districtCodeList
*/
public List<String> getDistrictCodeList(){
return this.districtCodeList;
}
/**
* 设置 区编码
* @param districtCodeList
*/
public void setDistrictCodeList(List<String> districtCodeList){
this.districtCodeList = districtCodeList;
}
/**
* 获取 区编码
* @return districtCodeNotList
*/
public List<String> getDistrictCodeNotList(){
return this.districtCodeNotList;
}
/**
* 设置 区编码
* @param districtCodeNotList
*/
public void setDistrictCodeNotList(List<String> districtCodeNotList){
this.districtCodeNotList = districtCodeNotList;
}
/**
* 获取 站点服务器ip
* @return siteIpList
*/
public List<String> getSiteIpList(){
return this.siteIpList;
}
/**
* 设置 站点服务器ip
* @param siteIpList
*/
public void setSiteIpList(List<String> siteIpList){
this.siteIpList = siteIpList;
}
/**
* 获取 站点服务器ip
* @return siteIpNotList
*/
public List<String> getSiteIpNotList(){
return this.siteIpNotList;
}
/**
* 设置 站点服务器ip
* @param siteIpNotList
*/
public void setSiteIpNotList(List<String> siteIpNotList){
this.siteIpNotList = siteIpNotList;
}
/**
* 获取 站点服务器端口
* @return sitePortList
*/
public List<String> getSitePortList(){
return this.sitePortList;
}
/**
* 设置 站点服务器端口
* @param sitePortList
*/
public void setSitePortList(List<String> sitePortList){
this.sitePortList = sitePortList;
}
/**
* 获取 站点服务器端口
* @return sitePortNotList
*/
public List<String> getSitePortNotList(){
return this.sitePortNotList;
}
/**
* 设置 站点服务器端口
* @param sitePortNotList
*/
public void setSitePortNotList(List<String> sitePortNotList){
this.sitePortNotList = sitePortNotList;
}
/**
* 获取 经度
* @return longitudeList
*/
public List<String> getLongitudeList(){
return this.longitudeList;
}
/**
* 设置 经度
* @param longitudeList
*/
public void setLongitudeList(List<String> longitudeList){
this.longitudeList = longitudeList;
}
/**
* 获取 经度
* @return longitudeNotList
*/
public List<String> getLongitudeNotList(){
return this.longitudeNotList;
}
/**
* 设置 经度
* @param longitudeNotList
*/
public void setLongitudeNotList(List<String> longitudeNotList){
this.longitudeNotList = longitudeNotList;
}
/**
* 获取 纬度
* @return latitudeList
*/
public List<String> getLatitudeList(){
return this.latitudeList;
}
/**
* 设置 纬度
* @param latitudeList
*/
public void setLatitudeList(List<String> latitudeList){
this.latitudeList = latitudeList;
}
/**
* 获取 纬度
* @return latitudeNotList
*/
public List<String> getLatitudeNotList(){
return this.latitudeNotList;
}
/**
* 设置 纬度
* @param latitudeNotList
*/
public void setLatitudeNotList(List<String> latitudeNotList){
this.latitudeNotList = latitudeNotList;
}
/**
* 获取 中心联系电话
* @return siteTelList
*/
public List<String> getSiteTelList(){
return this.siteTelList;
}
/**
* 设置 中心联系电话
* @param siteTelList
*/
public void setSiteTelList(List<String> siteTelList){
this.siteTelList = siteTelList;
}
/**
* 获取 中心联系电话
* @return siteTelNotList
*/
public List<String> getSiteTelNotList(){
return this.siteTelNotList;
}
/**
* 设置 中心联系电话
* @param siteTelNotList
*/
public void setSiteTelNotList(List<String> siteTelNotList){
this.siteTelNotList = siteTelNotList;
}
/**
* 获取 中心详细地址
* @return detailAddressList
*/
public List<String> getDetailAddressList(){
return this.detailAddressList;
}
/**
* 设置 中心详细地址
* @param detailAddressList
*/
public void setDetailAddressList(List<String> detailAddressList){
this.detailAddressList = detailAddressList;
}
/**
* 获取 中心详细地址
* @return detailAddressNotList
*/
public List<String> getDetailAddressNotList(){
return this.detailAddressNotList;
}
/**
* 设置 中心详细地址
* @param detailAddressNotList
*/
public void setDetailAddressNotList(List<String> detailAddressNotList){
this.detailAddressNotList = detailAddressNotList;
}
/**
* 获取 中心介绍
* @return siteRemarkList
*/
public List<String> getSiteRemarkList(){
return this.siteRemarkList;
}
/**
* 设置 中心介绍
* @param siteRemarkList
*/
public void setSiteRemarkList(List<String> siteRemarkList){
this.siteRemarkList = siteRemarkList;
}
/**
* 获取 中心介绍
* @return siteRemarkNotList
*/
public List<String> getSiteRemarkNotList(){
return this.siteRemarkNotList;
}
/**
* 设置 中心介绍
* @param siteRemarkNotList
*/
public void setSiteRemarkNotList(List<String> siteRemarkNotList){
this.siteRemarkNotList = siteRemarkNotList;
}
/**
* 获取 开始 上午上班开始时间
* @return amWorkStartTimeStart
*/
public String getAmWorkStartTimeStart(){
return this.amWorkStartTimeStart;
}
/**
* 设置 开始 上午上班开始时间
* @param amWorkStartTimeStart
*/
public void setAmWorkStartTimeStart(String amWorkStartTimeStart){
this.amWorkStartTimeStart = amWorkStartTimeStart;
}
/**
* 获取 结束 上午上班开始时间
* @return amWorkStartTimeEnd
*/
public String getAmWorkStartTimeEnd(){
return this.amWorkStartTimeEnd;
}
/**
* 设置 结束 上午上班开始时间
* @param amWorkStartTimeEnd
*/
public void setAmWorkStartTimeEnd(String amWorkStartTimeEnd){
this.amWorkStartTimeEnd = amWorkStartTimeEnd;
}
/**
* 获取 开始 上午上班结束时间
* @return amWorkEndTimeStart
*/
public String getAmWorkEndTimeStart(){
return this.amWorkEndTimeStart;
}
/**
* 设置 开始 上午上班结束时间
* @param amWorkEndTimeStart
*/
public void setAmWorkEndTimeStart(String amWorkEndTimeStart){
this.amWorkEndTimeStart = amWorkEndTimeStart;
}
/**
* 获取 结束 上午上班结束时间
* @return amWorkEndTimeEnd
*/
public String getAmWorkEndTimeEnd(){
return this.amWorkEndTimeEnd;
}
/**
* 设置 结束 上午上班结束时间
* @param amWorkEndTimeEnd
*/
public void setAmWorkEndTimeEnd(String amWorkEndTimeEnd){
this.amWorkEndTimeEnd = amWorkEndTimeEnd;
}
/**
* 获取 开始 下午上班开始时间
* @return pmWorkStartTimeStart
*/
public String getPmWorkStartTimeStart(){
return this.pmWorkStartTimeStart;
}
/**
* 设置 开始 下午上班开始时间
* @param pmWorkStartTimeStart
*/
public void setPmWorkStartTimeStart(String pmWorkStartTimeStart){
this.pmWorkStartTimeStart = pmWorkStartTimeStart;
}
/**
* 获取 结束 下午上班开始时间
* @return pmWorkStartTimeEnd
*/
public String getPmWorkStartTimeEnd(){
return this.pmWorkStartTimeEnd;
}
/**
* 设置 结束 下午上班开始时间
* @param pmWorkStartTimeEnd
*/
public void setPmWorkStartTimeEnd(String pmWorkStartTimeEnd){
this.pmWorkStartTimeEnd = pmWorkStartTimeEnd;
}
/**
* 获取 开始 下午上班结束时间
* @return pmWorkEndTimeStart
*/
public String getPmWorkEndTimeStart(){
return this.pmWorkEndTimeStart;
}
/**
* 设置 开始 下午上班结束时间
* @param pmWorkEndTimeStart
*/
public void setPmWorkEndTimeStart(String pmWorkEndTimeStart){
this.pmWorkEndTimeStart = pmWorkEndTimeStart;
}
/**
* 获取 结束 下午上班结束时间
* @return pmWorkEndTimeEnd
*/
public String getPmWorkEndTimeEnd(){
return this.pmWorkEndTimeEnd;
}
/**
* 设置 结束 下午上班结束时间
* @param pmWorkEndTimeEnd
*/
public void setPmWorkEndTimeEnd(String pmWorkEndTimeEnd){
this.pmWorkEndTimeEnd = pmWorkEndTimeEnd;
}
/**
* 获取 开始 周一 (1.上班,0.不上)
* @return workday1Start
*/
public Integer getWorkday1Start(){
return this.workday1Start;
}
/**
* 设置 开始 周一 (1.上班,0.不上)
* @param workday1Start
*/
public void setWorkday1Start(Integer workday1Start){
this.workday1Start = workday1Start;
}
/**
* 获取 结束 周一 (1.上班,0.不上)
* @return $workday1End
*/
public Integer getWorkday1End(){
return this.workday1End;
}
/**
* 设置 结束 周一 (1.上班,0.不上)
* @param workday1End
*/
public void setWorkday1End(Integer workday1End){
this.workday1End = workday1End;
}
/**
* 获取 增加 周一 (1.上班,0.不上)
* @return workday1Increment
*/
public Integer getWorkday1Increment(){
return this.workday1Increment;
}
/**
* 设置 增加 周一 (1.上班,0.不上)
* @param workday1Increment
*/
public void setWorkday1Increment(Integer workday1Increment){
this.workday1Increment = workday1Increment;
}
/**
* 获取 周一 (1.上班,0.不上)
* @return workday1List
*/
public List<Integer> getWorkday1List(){
return this.workday1List;
}
/**
* 设置 周一 (1.上班,0.不上)
* @param workday1List
*/
public void setWorkday1List(List<Integer> workday1List){
this.workday1List = workday1List;
}
/**
* 获取 周一 (1.上班,0.不上)
* @return workday1NotList
*/
public List<Integer> getWorkday1NotList(){
return this.workday1NotList;
}
/**
* 设置 周一 (1.上班,0.不上)
* @param workday1NotList
*/
public void setWorkday1NotList(List<Integer> workday1NotList){
this.workday1NotList = workday1NotList;
}
/**
* 获取 开始 周二 (1.上班,0.不上)
* @return workday2Start
*/
public Integer getWorkday2Start(){
return this.workday2Start;
}
/**
* 设置 开始 周二 (1.上班,0.不上)
* @param workday2Start
*/
public void setWorkday2Start(Integer workday2Start){
this.workday2Start = workday2Start;
}
/**
* 获取 结束 周二 (1.上班,0.不上)
* @return $workday2End
*/
public Integer getWorkday2End(){
return this.workday2End;
}
/**
* 设置 结束 周二 (1.上班,0.不上)
* @param workday2End
*/
public void setWorkday2End(Integer workday2End){
this.workday2End = workday2End;
}
/**
* 获取 增加 周二 (1.上班,0.不上)
* @return workday2Increment
*/
public Integer getWorkday2Increment(){
return this.workday2Increment;
}
/**
* 设置 增加 周二 (1.上班,0.不上)
* @param workday2Increment
*/
public void setWorkday2Increment(Integer workday2Increment){
this.workday2Increment = workday2Increment;
}
/**
* 获取 周二 (1.上班,0.不上)
* @return workday2List
*/
public List<Integer> getWorkday2List(){
return this.workday2List;
}
/**
* 设置 周二 (1.上班,0.不上)
* @param workday2List
*/
public void setWorkday2List(List<Integer> workday2List){
this.workday2List = workday2List;
}
/**
* 获取 周二 (1.上班,0.不上)
* @return workday2NotList
*/
public List<Integer> getWorkday2NotList(){
return this.workday2NotList;
}
/**
* 设置 周二 (1.上班,0.不上)
* @param workday2NotList
*/
public void setWorkday2NotList(List<Integer> workday2NotList){
this.workday2NotList = workday2NotList;
}
/**
* 获取 开始 周三 (1.上班,0.不上)
* @return workday3Start
*/
public Integer getWorkday3Start(){
return this.workday3Start;
}
/**
* 设置 开始 周三 (1.上班,0.不上)
* @param workday3Start
*/
public void setWorkday3Start(Integer workday3Start){
this.workday3Start = workday3Start;
}
/**
* 获取 结束 周三 (1.上班,0.不上)
* @return $workday3End
*/
public Integer getWorkday3End(){
return this.workday3End;
}
/**
* 设置 结束 周三 (1.上班,0.不上)
* @param workday3End
*/
public void setWorkday3End(Integer workday3End){
this.workday3End = workday3End;
}
/**
* 获取 增加 周三 (1.上班,0.不上)
* @return workday3Increment
*/
public Integer getWorkday3Increment(){
return this.workday3Increment;
}
/**
* 设置 增加 周三 (1.上班,0.不上)
* @param workday3Increment
*/
public void setWorkday3Increment(Integer workday3Increment){
this.workday3Increment = workday3Increment;
}
/**
* 获取 周三 (1.上班,0.不上)
* @return workday3List
*/
public List<Integer> getWorkday3List(){
return this.workday3List;
}
/**
* 设置 周三 (1.上班,0.不上)
* @param workday3List
*/
public void setWorkday3List(List<Integer> workday3List){
this.workday3List = workday3List;
}
/**
* 获取 周三 (1.上班,0.不上)
* @return workday3NotList
*/
public List<Integer> getWorkday3NotList(){
return this.workday3NotList;
}
/**
* 设置 周三 (1.上班,0.不上)
* @param workday3NotList
*/
public void setWorkday3NotList(List<Integer> workday3NotList){
this.workday3NotList = workday3NotList;
}
/**
* 获取 开始 周四 (1.上班,0.不上)
* @return workday4Start
*/
public Integer getWorkday4Start(){
return this.workday4Start;
}
/**
* 设置 开始 周四 (1.上班,0.不上)
* @param workday4Start
*/
public void setWorkday4Start(Integer workday4Start){
this.workday4Start = workday4Start;
}
/**
* 获取 结束 周四 (1.上班,0.不上)
* @return $workday4End
*/
public Integer getWorkday4End(){
return this.workday4End;
}
/**
* 设置 结束 周四 (1.上班,0.不上)
* @param workday4End
*/
public void setWorkday4End(Integer workday4End){
this.workday4End = workday4End;
}
/**
* 获取 增加 周四 (1.上班,0.不上)
* @return workday4Increment
*/
public Integer getWorkday4Increment(){
return this.workday4Increment;
}
/**
* 设置 增加 周四 (1.上班,0.不上)
* @param workday4Increment
*/
public void setWorkday4Increment(Integer workday4Increment){
this.workday4Increment = workday4Increment;
}
/**
* 获取 周四 (1.上班,0.不上)
* @return workday4List
*/
public List<Integer> getWorkday4List(){
return this.workday4List;
}
/**
* 设置 周四 (1.上班,0.不上)
* @param workday4List
*/
public void setWorkday4List(List<Integer> workday4List){
this.workday4List = workday4List;
}
/**
* 获取 周四 (1.上班,0.不上)
* @return workday4NotList
*/
public List<Integer> getWorkday4NotList(){
return this.workday4NotList;
}
/**
* 设置 周四 (1.上班,0.不上)
* @param workday4NotList
*/
public void setWorkday4NotList(List<Integer> workday4NotList){
this.workday4NotList = workday4NotList;
}
/**
* 获取 开始 周五 (1.上班,0.不上)
* @return workday5Start
*/
public Integer getWorkday5Start(){
return this.workday5Start;
}
/**
* 设置 开始 周五 (1.上班,0.不上)
* @param workday5Start
*/
public void setWorkday5Start(Integer workday5Start){
this.workday5Start = workday5Start;
}
/**
* 获取 结束 周五 (1.上班,0.不上)
* @return $workday5End
*/
public Integer getWorkday5End(){
return this.workday5End;
}
/**
* 设置 结束 周五 (1.上班,0.不上)
* @param workday5End
*/
public void setWorkday5End(Integer workday5End){
this.workday5End = workday5End;
}
/**
* 获取 增加 周五 (1.上班,0.不上)
* @return workday5Increment
*/
public Integer getWorkday5Increment(){
return this.workday5Increment;
}
/**
* 设置 增加 周五 (1.上班,0.不上)
* @param workday5Increment
*/
public void setWorkday5Increment(Integer workday5Increment){
this.workday5Increment = workday5Increment;
}
/**
* 获取 周五 (1.上班,0.不上)
* @return workday5List
*/
public List<Integer> getWorkday5List(){
return this.workday5List;
}
/**
* 设置 周五 (1.上班,0.不上)
* @param workday5List
*/
public void setWorkday5List(List<Integer> workday5List){
this.workday5List = workday5List;
}
/**
* 获取 周五 (1.上班,0.不上)
* @return workday5NotList
*/
public List<Integer> getWorkday5NotList(){
return this.workday5NotList;
}
/**
* 设置 周五 (1.上班,0.不上)
* @param workday5NotList
*/
public void setWorkday5NotList(List<Integer> workday5NotList){
this.workday5NotList = workday5NotList;
}
/**
* 获取 开始 周六 (1.上班,0.不上)
* @return workday6Start
*/
public Integer getWorkday6Start(){
return this.workday6Start;
}
/**
* 设置 开始 周六 (1.上班,0.不上)
* @param workday6Start
*/
public void setWorkday6Start(Integer workday6Start){
this.workday6Start = workday6Start;
}
/**
* 获取 结束 周六 (1.上班,0.不上)
* @return $workday6End
*/
public Integer getWorkday6End(){
return this.workday6End;
}
/**
* 设置 结束 周六 (1.上班,0.不上)
* @param workday6End
*/
public void setWorkday6End(Integer workday6End){
this.workday6End = workday6End;
}
/**
* 获取 增加 周六 (1.上班,0.不上)
* @return workday6Increment
*/
public Integer getWorkday6Increment(){
return this.workday6Increment;
}
/**
* 设置 增加 周六 (1.上班,0.不上)
* @param workday6Increment
*/
public void setWorkday6Increment(Integer workday6Increment){
this.workday6Increment = workday6Increment;
}
/**
* 获取 周六 (1.上班,0.不上)
* @return workday6List
*/
public List<Integer> getWorkday6List(){
return this.workday6List;
}
/**
* 设置 周六 (1.上班,0.不上)
* @param workday6List
*/
public void setWorkday6List(List<Integer> workday6List){
this.workday6List = workday6List;
}
/**
* 获取 周六 (1.上班,0.不上)
* @return workday6NotList
*/
public List<Integer> getWorkday6NotList(){
return this.workday6NotList;
}
/**
* 设置 周六 (1.上班,0.不上)
* @param workday6NotList
*/
public void setWorkday6NotList(List<Integer> workday6NotList){
this.workday6NotList = workday6NotList;
}
/**
* 获取 开始 周日 (1.上班,0.不上)
* @return workday7Start
*/
public Integer getWorkday7Start(){
return this.workday7Start;
}
/**
* 设置 开始 周日 (1.上班,0.不上)
* @param workday7Start
*/
public void setWorkday7Start(Integer workday7Start){
this.workday7Start = workday7Start;
}
/**
* 获取 结束 周日 (1.上班,0.不上)
* @return $workday7End
*/
public Integer getWorkday7End(){
return this.workday7End;
}
/**
* 设置 结束 周日 (1.上班,0.不上)
* @param workday7End
*/
public void setWorkday7End(Integer workday7End){
this.workday7End = workday7End;
}
/**
* 获取 增加 周日 (1.上班,0.不上)
* @return workday7Increment
*/
public Integer getWorkday7Increment(){
return this.workday7Increment;
}
/**
* 设置 增加 周日 (1.上班,0.不上)
* @param workday7Increment
*/
public void setWorkday7Increment(Integer workday7Increment){
this.workday7Increment = workday7Increment;
}
/**
* 获取 周日 (1.上班,0.不上)
* @return workday7List
*/
public List<Integer> getWorkday7List(){
return this.workday7List;
}
/**
* 设置 周日 (1.上班,0.不上)
* @param workday7List
*/
public void setWorkday7List(List<Integer> workday7List){
this.workday7List = workday7List;
}
/**
* 获取 周日 (1.上班,0.不上)
* @return workday7NotList
*/
public List<Integer> getWorkday7NotList(){
return this.workday7NotList;
}
/**
* 设置 周日 (1.上班,0.不上)
* @param workday7NotList
*/
public void setWorkday7NotList(List<Integer> workday7NotList){
this.workday7NotList = workday7NotList;
}
/**
* 获取 开始 在线取号(0.否,1.是)
* @return onlineTakeStart
*/
public Integer getOnlineTakeStart(){
return this.onlineTakeStart;
}
/**
* 设置 开始 在线取号(0.否,1.是)
* @param onlineTakeStart
*/
public void setOnlineTakeStart(Integer onlineTakeStart){
this.onlineTakeStart = onlineTakeStart;
}
/**
* 获取 结束 在线取号(0.否,1.是)
* @return $onlineTakeEnd
*/
public Integer getOnlineTakeEnd(){
return this.onlineTakeEnd;
}
/**
* 设置 结束 在线取号(0.否,1.是)
* @param onlineTakeEnd
*/
public void setOnlineTakeEnd(Integer onlineTakeEnd){
this.onlineTakeEnd = onlineTakeEnd;
}
/**
* 获取 增加 在线取号(0.否,1.是)
* @return onlineTakeIncrement
*/
public Integer getOnlineTakeIncrement(){
return this.onlineTakeIncrement;
}
/**
* 设置 增加 在线取号(0.否,1.是)
* @param onlineTakeIncrement
*/
public void setOnlineTakeIncrement(Integer onlineTakeIncrement){
this.onlineTakeIncrement = onlineTakeIncrement;
}
/**
* 获取 在线取号(0.否,1.是)
* @return onlineTakeList
*/
public List<Integer> getOnlineTakeList(){
return this.onlineTakeList;
}
/**
* 设置 在线取号(0.否,1.是)
* @param onlineTakeList
*/
public void setOnlineTakeList(List<Integer> onlineTakeList){
this.onlineTakeList = onlineTakeList;
}
/**
* 获取 在线取号(0.否,1.是)
* @return onlineTakeNotList
*/
public List<Integer> getOnlineTakeNotList(){
return this.onlineTakeNotList;
}
/**
* 设置 在线取号(0.否,1.是)
* @param onlineTakeNotList
*/
public void setOnlineTakeNotList(List<Integer> onlineTakeNotList){
this.onlineTakeNotList = onlineTakeNotList;
}
/**
* 获取 开始 在线取号(0.否,1.是)
* @return appointmentStart
*/
public Integer getAppointmentStart(){
return this.appointmentStart;
}
/**
* 设置 开始 在线取号(0.否,1.是)
* @param appointmentStart
*/
public void setAppointmentStart(Integer appointmentStart){
this.appointmentStart = appointmentStart;
}
/**
* 获取 结束 在线取号(0.否,1.是)
* @return $appointmentEnd
*/
public Integer getAppointmentEnd(){
return this.appointmentEnd;
}
/**
* 设置 结束 在线取号(0.否,1.是)
* @param appointmentEnd
*/
public void setAppointmentEnd(Integer appointmentEnd){
this.appointmentEnd = appointmentEnd;
}
/**
* 获取 增加 在线取号(0.否,1.是)
* @return appointmentIncrement
*/
public Integer getAppointmentIncrement(){
return this.appointmentIncrement;
}
/**
* 设置 增加 在线取号(0.否,1.是)
* @param appointmentIncrement
*/
public void setAppointmentIncrement(Integer appointmentIncrement){
this.appointmentIncrement = appointmentIncrement;
}
/**
* 获取 在线取号(0.否,1.是)
* @return appointmentList
*/
public List<Integer> getAppointmentList(){
return this.appointmentList;
}
/**
* 设置 在线取号(0.否,1.是)
* @param appointmentList
*/
public void setAppointmentList(List<Integer> appointmentList){
this.appointmentList = appointmentList;
}
/**
* 获取 在线取号(0.否,1.是)
* @return appointmentNotList
*/
public List<Integer> getAppointmentNotList(){
return this.appointmentNotList;
}
/**
* 设置 在线取号(0.否,1.是)
* @param appointmentNotList
*/
public void setAppointmentNotList(List<Integer> appointmentNotList){
this.appointmentNotList = appointmentNotList;
}
/**
* 获取 开始 在线取号(0.否,1.是)
* @return gowMapStart
*/
public Integer getGowMapStart(){
return this.gowMapStart;
}
/**
* 设置 开始 在线取号(0.否,1.是)
* @param gowMapStart
*/
public void setGowMapStart(Integer gowMapStart){
this.gowMapStart = gowMapStart;
}
/**
* 获取 结束 在线取号(0.否,1.是)
* @return $gowMapEnd
*/
public Integer getGowMapEnd(){
return this.gowMapEnd;
}
/**
* 设置 结束 在线取号(0.否,1.是)
* @param gowMapEnd
*/
public void setGowMapEnd(Integer gowMapEnd){
this.gowMapEnd = gowMapEnd;
}
/**
* 获取 增加 在线取号(0.否,1.是)
* @return gowMapIncrement
*/
public Integer getGowMapIncrement(){
return this.gowMapIncrement;
}
/**
* 设置 增加 在线取号(0.否,1.是)
* @param gowMapIncrement
*/
public void setGowMapIncrement(Integer gowMapIncrement){
this.gowMapIncrement = gowMapIncrement;
}
/**
* 获取 在线取号(0.否,1.是)
* @return gowMapList
*/
public List<Integer> getGowMapList(){
return this.gowMapList;
}
/**
* 设置 在线取号(0.否,1.是)
* @param gowMapList
*/
public void setGowMapList(List<Integer> gowMapList){
this.gowMapList = gowMapList;
}
/**
* 获取 在线取号(0.否,1.是)
* @return gowMapNotList
*/
public List<Integer> getGowMapNotList(){
return this.gowMapNotList;
}
/**
* 设置 在线取号(0.否,1.是)
* @param gowMapNotList
*/
public void setGowMapNotList(List<Integer> gowMapNotList){
this.gowMapNotList = gowMapNotList;
}
/**
* 获取 开始 楼层
* @return levelStart
*/
public Integer getLevelStart(){
return this.levelStart;
}
/**
* 设置 开始 楼层
* @param levelStart
*/
public void setLevelStart(Integer levelStart){
this.levelStart = levelStart;
}
/**
* 获取 结束 楼层
* @return $levelEnd
*/
public Integer getLevelEnd(){
return this.levelEnd;
}
/**
* 设置 结束 楼层
* @param levelEnd
*/
public void setLevelEnd(Integer levelEnd){
this.levelEnd = levelEnd;
}
/**
* 获取 增加 楼层
* @return levelIncrement
*/
public Integer getLevelIncrement(){
return this.levelIncrement;
}
/**
* 设置 增加 楼层
* @param levelIncrement
*/
public void setLevelIncrement(Integer levelIncrement){
this.levelIncrement = levelIncrement;
}
/**
* 获取 楼层
* @return levelList
*/
public List<Integer> getLevelList(){
return this.levelList;
}
/**
* 设置 楼层
* @param levelList
*/
public void setLevelList(List<Integer> levelList){
this.levelList = levelList;
}
/**
* 获取 楼层
* @return levelNotList
*/
public List<Integer> getLevelNotList(){
return this.levelNotList;
}
/**
* 设置 楼层
* @param levelNotList
*/
public void setLevelNotList(List<Integer> levelNotList){
this.levelNotList = levelNotList;
}
/**
* 获取 开始 楼栋
* @return buildingStart
*/
public Integer getBuildingStart(){
return this.buildingStart;
}
/**
* 设置 开始 楼栋
* @param buildingStart
*/
public void setBuildingStart(Integer buildingStart){
this.buildingStart = buildingStart;
}
/**
* 获取 结束 楼栋
* @return $buildingEnd
*/
public Integer getBuildingEnd(){
return this.buildingEnd;
}
/**
* 设置 结束 楼栋
* @param buildingEnd
*/
public void setBuildingEnd(Integer buildingEnd){
this.buildingEnd = buildingEnd;
}
/**
* 获取 增加 楼栋
* @return buildingIncrement
*/
public Integer getBuildingIncrement(){
return this.buildingIncrement;
}
/**
* 设置 增加 楼栋
* @param buildingIncrement
*/
public void setBuildingIncrement(Integer buildingIncrement){
this.buildingIncrement = buildingIncrement;
}
/**
* 获取 楼栋
* @return buildingList
*/
public List<Integer> getBuildingList(){
return this.buildingList;
}
/**
* 设置 楼栋
* @param buildingList
*/
public void setBuildingList(List<Integer> buildingList){
this.buildingList = buildingList;
}
/**
* 获取 楼栋
* @return buildingNotList
*/
public List<Integer> getBuildingNotList(){
return this.buildingNotList;
}
/**
* 设置 楼栋
* @param buildingNotList
*/
public void setBuildingNotList(List<Integer> buildingNotList){
this.buildingNotList = buildingNotList;
}
/**
* 获取 logo图片地址
* @return logoPathList
*/
public List<String> getLogoPathList(){
return this.logoPathList;
}
/**
* 设置 logo图片地址
* @param logoPathList
*/
public void setLogoPathList(List<String> logoPathList){
this.logoPathList = logoPathList;
}
/**
* 获取 logo图片地址
* @return logoPathNotList
*/
public List<String> getLogoPathNotList(){
return this.logoPathNotList;
}
/**
* 设置 logo图片地址
* @param logoPathNotList
*/
public void setLogoPathNotList(List<String> logoPathNotList){
this.logoPathNotList = logoPathNotList;
}
/**
* 获取 英文名称
* @return englishNameList
*/
public List<String> getEnglishNameList(){
return this.englishNameList;
}
/**
* 设置 英文名称
* @param englishNameList
*/
public void setEnglishNameList(List<String> englishNameList){
this.englishNameList = englishNameList;
}
/**
* 获取 英文名称
* @return englishNameNotList
*/
public List<String> getEnglishNameNotList(){
return this.englishNameNotList;
}
/**
* 设置 英文名称
* @param englishNameNotList
*/
public void setEnglishNameNotList(List<String> englishNameNotList){
this.englishNameNotList = englishNameNotList;
}
/**
* 获取 负责人
* @return leadingOfficialList
*/
public List<String> getLeadingOfficialList(){
return this.leadingOfficialList;
}
/**
* 设置 负责人
* @param leadingOfficialList
*/
public void setLeadingOfficialList(List<String> leadingOfficialList){
this.leadingOfficialList = leadingOfficialList;
}
/**
* 获取 负责人
* @return leadingOfficialNotList
*/
public List<String> getLeadingOfficialNotList(){
return this.leadingOfficialNotList;
}
/**
* 设置 负责人
* @param leadingOfficialNotList
*/
public void setLeadingOfficialNotList(List<String> leadingOfficialNotList){
this.leadingOfficialNotList = leadingOfficialNotList;
}
/**
* 获取 联系电话
* @return leadingOfficialTelephoneList
*/
public List<String> getLeadingOfficialTelephoneList(){
return this.leadingOfficialTelephoneList;
}
/**
* 设置 联系电话
* @param leadingOfficialTelephoneList
*/
public void setLeadingOfficialTelephoneList(List<String> leadingOfficialTelephoneList){
this.leadingOfficialTelephoneList = leadingOfficialTelephoneList;
}
/**
* 获取 联系电话
* @return leadingOfficialTelephoneNotList
*/
public List<String> getLeadingOfficialTelephoneNotList(){
return this.leadingOfficialTelephoneNotList;
}
/**
* 设置 联系电话
* @param leadingOfficialTelephoneNotList
*/
public void setLeadingOfficialTelephoneNotList(List<String> leadingOfficialTelephoneNotList){
this.leadingOfficialTelephoneNotList = leadingOfficialTelephoneNotList;
}
/**
* 获取 部署模块,逗号分隔
* @return modelIdsList
*/
public List<String> getModelIdsList(){
return this.modelIdsList;
}
/**
* 设置 部署模块,逗号分隔
* @param modelIdsList
*/
public void setModelIdsList(List<String> modelIdsList){
this.modelIdsList = modelIdsList;
}
/**
* 获取 部署模块,逗号分隔
* @return modelIdsNotList
*/
public List<String> getModelIdsNotList(){
return this.modelIdsNotList;
}
/**
* 设置 部署模块,逗号分隔
* @param modelIdsNotList
*/
public void setModelIdsNotList(List<String> modelIdsNotList){
this.modelIdsNotList = modelIdsNotList;
}
/**
* 获取 政务风貌,多个逗号分割
* @return govAffairStyleList
*/
public List<String> getGovAffairStyleList(){
return this.govAffairStyleList;
}
/**
* 设置 政务风貌,多个逗号分割
* @param govAffairStyleList
*/
public void setGovAffairStyleList(List<String> govAffairStyleList){
this.govAffairStyleList = govAffairStyleList;
}
/**
* 获取 政务风貌,多个逗号分割
* @return govAffairStyleNotList
*/
public List<String> getGovAffairStyleNotList(){
return this.govAffairStyleNotList;
}
/**
* 设置 政务风貌,多个逗号分割
* @param govAffairStyleNotList
*/
public void setGovAffairStyleNotList(List<String> govAffairStyleNotList){
this.govAffairStyleNotList = govAffairStyleNotList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 创建用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 创建用户
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 创建用户
* @return createUserIdNotList
*/
public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
}
/**
* 获取 开始 修改时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 修改时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 修改时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 修改时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 获取 投诉电话
* @return complaintHotlineList
*/
public List<String> getComplaintHotlineList(){
return this.complaintHotlineList;
}
/**
* 设置 投诉电话
* @param complaintHotlineList
*/
public void setComplaintHotlineList(List<String> complaintHotlineList){
this.complaintHotlineList = complaintHotlineList;
}
/**
* 获取 投诉电话
* @return complaintHotlineNotList
*/
public List<String> getComplaintHotlineNotList(){
return this.complaintHotlineNotList;
}
/**
* 设置 投诉电话
* @param complaintHotlineNotList
*/
public void setComplaintHotlineNotList(List<String> complaintHotlineNotList){
this.complaintHotlineNotList = complaintHotlineNotList;
}
/**
* 设置 序号,主键,自增长
* @param id
*/
public SiteQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public SiteQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public SiteQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public SiteQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
public SiteQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public SiteQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
/**
* 设置 站点名称
* @param siteName
*/
public SiteQuery siteName(String siteName){
setSiteName(siteName);
return this;
}
/**
* 设置 站点名称
* @param siteNameList
*/
public SiteQuery siteNameList(List<String> siteNameList){
this.siteNameList = siteNameList;
return this;
}
/**
* 设置 站点编号
* @param siteCode
*/
public SiteQuery siteCode(String siteCode){
setSiteCode(siteCode);
return this;
}
/**
* 设置 站点编号
* @param siteCodeList
*/
public SiteQuery siteCodeList(List<String> siteCodeList){
this.siteCodeList = siteCodeList;
return this;
}
/**
* 设置 区域Id
* @param areaID
*/
public SiteQuery areaID(String areaID){
setAreaID(areaID);
return this;
}
/**
* 设置 区域Id
* @param areaIDList
*/
public SiteQuery areaIDList(List<String> areaIDList){
this.areaIDList = areaIDList;
return this;
}
/**
* 设置 区域编号
* @param areaCode
*/
public SiteQuery areaCode(String areaCode){
setAreaCode(areaCode);
return this;
}
/**
* 设置 区域编号
* @param areaCodeList
*/
public SiteQuery areaCodeList(List<String> areaCodeList){
this.areaCodeList = areaCodeList;
return this;
}
/**
* 设置 区域名称
* @param areaName
*/
public SiteQuery areaName(String areaName){
setAreaName(areaName);
return this;
}
/**
* 设置 区域名称
* @param areaNameList
*/
public SiteQuery areaNameList(List<String> areaNameList){
this.areaNameList = areaNameList;
return this;
}
/**
* 设置 省编码
* @param proCode
*/
public SiteQuery proCode(String proCode){
setProCode(proCode);
return this;
}
/**
* 设置 省编码
* @param proCodeList
*/
public SiteQuery proCodeList(List<String> proCodeList){
this.proCodeList = proCodeList;
return this;
}
/**
* 设置 市编码
* @param cityCode
*/
public SiteQuery cityCode(String cityCode){
setCityCode(cityCode);
return this;
}
/**
* 设置 市编码
* @param cityCodeList
*/
public SiteQuery cityCodeList(List<String> cityCodeList){
this.cityCodeList = cityCodeList;
return this;
}
/**
* 设置 区编码
* @param districtCode
*/
public SiteQuery districtCode(String districtCode){
setDistrictCode(districtCode);
return this;
}
/**
* 设置 区编码
* @param districtCodeList
*/
public SiteQuery districtCodeList(List<String> districtCodeList){
this.districtCodeList = districtCodeList;
return this;
}
/**
* 设置 站点服务器ip
* @param siteIp
*/
public SiteQuery siteIp(String siteIp){
setSiteIp(siteIp);
return this;
}
/**
* 设置 站点服务器ip
* @param siteIpList
*/
public SiteQuery siteIpList(List<String> siteIpList){
this.siteIpList = siteIpList;
return this;
}
/**
* 设置 站点服务器端口
* @param sitePort
*/
public SiteQuery sitePort(String sitePort){
setSitePort(sitePort);
return this;
}
/**
* 设置 站点服务器端口
* @param sitePortList
*/
public SiteQuery sitePortList(List<String> sitePortList){
this.sitePortList = sitePortList;
return this;
}
/**
* 设置 经度
* @param longitude
*/
public SiteQuery longitude(String longitude){
setLongitude(longitude);
return this;
}
/**
* 设置 经度
* @param longitudeList
*/
public SiteQuery longitudeList(List<String> longitudeList){
this.longitudeList = longitudeList;
return this;
}
/**
* 设置 纬度
* @param latitude
*/
public SiteQuery latitude(String latitude){
setLatitude(latitude);
return this;
}
/**
* 设置 纬度
* @param latitudeList
*/
public SiteQuery latitudeList(List<String> latitudeList){
this.latitudeList = latitudeList;
return this;
}
/**
* 设置 中心联系电话
* @param siteTel
*/
public SiteQuery siteTel(String siteTel){
setSiteTel(siteTel);
return this;
}
/**
* 设置 中心联系电话
* @param siteTelList
*/
public SiteQuery siteTelList(List<String> siteTelList){
this.siteTelList = siteTelList;
return this;
}
/**
* 设置 中心详细地址
* @param detailAddress
*/
public SiteQuery detailAddress(String detailAddress){
setDetailAddress(detailAddress);
return this;
}
/**
* 设置 中心详细地址
* @param detailAddressList
*/
public SiteQuery detailAddressList(List<String> detailAddressList){
this.detailAddressList = detailAddressList;
return this;
}
/**
* 设置 中心介绍
* @param siteRemark
*/
public SiteQuery siteRemark(String siteRemark){
setSiteRemark(siteRemark);
return this;
}
/**
* 设置 中心介绍
* @param siteRemarkList
*/
public SiteQuery siteRemarkList(List<String> siteRemarkList){
this.siteRemarkList = siteRemarkList;
return this;
}
/**
* 设置 周一 (1.上班,0.不上)
* @param workday1
*/
public SiteQuery workday1(Integer workday1){
setWorkday1(workday1);
return this;
}
/**
* 设置 开始 周一 (1.上班,0.不上)
* @param workday1Start
*/
public SiteQuery workday1Start(Integer workday1Start){
this.workday1Start = workday1Start;
return this;
}
/**
* 设置 结束 周一 (1.上班,0.不上)
* @param workday1End
*/
public SiteQuery workday1End(Integer workday1End){
this.workday1End = workday1End;
return this;
}
/**
* 设置 增加 周一 (1.上班,0.不上)
* @param workday1Increment
*/
public SiteQuery workday1Increment(Integer workday1Increment){
this.workday1Increment = workday1Increment;
return this;
}
/**
* 设置 周一 (1.上班,0.不上)
* @param workday1List
*/
public SiteQuery workday1List(List<Integer> workday1List){
this.workday1List = workday1List;
return this;
}
/**
* 设置 周一 (1.上班,0.不上)
* @param workday1NotList
*/
public SiteQuery workday1NotList(List<Integer> workday1NotList){
this.workday1NotList = workday1NotList;
return this;
}
/**
* 设置 周二 (1.上班,0.不上)
* @param workday2
*/
public SiteQuery workday2(Integer workday2){
setWorkday2(workday2);
return this;
}
/**
* 设置 开始 周二 (1.上班,0.不上)
* @param workday2Start
*/
public SiteQuery workday2Start(Integer workday2Start){
this.workday2Start = workday2Start;
return this;
}
/**
* 设置 结束 周二 (1.上班,0.不上)
* @param workday2End
*/
public SiteQuery workday2End(Integer workday2End){
this.workday2End = workday2End;
return this;
}
/**
* 设置 增加 周二 (1.上班,0.不上)
* @param workday2Increment
*/
public SiteQuery workday2Increment(Integer workday2Increment){
this.workday2Increment = workday2Increment;
return this;
}
/**
* 设置 周二 (1.上班,0.不上)
* @param workday2List
*/
public SiteQuery workday2List(List<Integer> workday2List){
this.workday2List = workday2List;
return this;
}
/**
* 设置 周二 (1.上班,0.不上)
* @param workday2NotList
*/
public SiteQuery workday2NotList(List<Integer> workday2NotList){
this.workday2NotList = workday2NotList;
return this;
}
/**
* 设置 周三 (1.上班,0.不上)
* @param workday3
*/
public SiteQuery workday3(Integer workday3){
setWorkday3(workday3);
return this;
}
/**
* 设置 开始 周三 (1.上班,0.不上)
* @param workday3Start
*/
public SiteQuery workday3Start(Integer workday3Start){
this.workday3Start = workday3Start;
return this;
}
/**
* 设置 结束 周三 (1.上班,0.不上)
* @param workday3End
*/
public SiteQuery workday3End(Integer workday3End){
this.workday3End = workday3End;
return this;
}
/**
* 设置 增加 周三 (1.上班,0.不上)
* @param workday3Increment
*/
public SiteQuery workday3Increment(Integer workday3Increment){
this.workday3Increment = workday3Increment;
return this;
}
/**
* 设置 周三 (1.上班,0.不上)
* @param workday3List
*/
public SiteQuery workday3List(List<Integer> workday3List){
this.workday3List = workday3List;
return this;
}
/**
* 设置 周三 (1.上班,0.不上)
* @param workday3NotList
*/
public SiteQuery workday3NotList(List<Integer> workday3NotList){
this.workday3NotList = workday3NotList;
return this;
}
/**
* 设置 周四 (1.上班,0.不上)
* @param workday4
*/
public SiteQuery workday4(Integer workday4){
setWorkday4(workday4);
return this;
}
/**
* 设置 开始 周四 (1.上班,0.不上)
* @param workday4Start
*/
public SiteQuery workday4Start(Integer workday4Start){
this.workday4Start = workday4Start;
return this;
}
/**
* 设置 结束 周四 (1.上班,0.不上)
* @param workday4End
*/
public SiteQuery workday4End(Integer workday4End){
this.workday4End = workday4End;
return this;
}
/**
* 设置 增加 周四 (1.上班,0.不上)
* @param workday4Increment
*/
public SiteQuery workday4Increment(Integer workday4Increment){
this.workday4Increment = workday4Increment;
return this;
}
/**
* 设置 周四 (1.上班,0.不上)
* @param workday4List
*/
public SiteQuery workday4List(List<Integer> workday4List){
this.workday4List = workday4List;
return this;
}
/**
* 设置 周四 (1.上班,0.不上)
* @param workday4NotList
*/
public SiteQuery workday4NotList(List<Integer> workday4NotList){
this.workday4NotList = workday4NotList;
return this;
}
/**
* 设置 周五 (1.上班,0.不上)
* @param workday5
*/
public SiteQuery workday5(Integer workday5){
setWorkday5(workday5);
return this;
}
/**
* 设置 开始 周五 (1.上班,0.不上)
* @param workday5Start
*/
public SiteQuery workday5Start(Integer workday5Start){
this.workday5Start = workday5Start;
return this;
}
/**
* 设置 结束 周五 (1.上班,0.不上)
* @param workday5End
*/
public SiteQuery workday5End(Integer workday5End){
this.workday5End = workday5End;
return this;
}
/**
* 设置 增加 周五 (1.上班,0.不上)
* @param workday5Increment
*/
public SiteQuery workday5Increment(Integer workday5Increment){
this.workday5Increment = workday5Increment;
return this;
}
/**
* 设置 周五 (1.上班,0.不上)
* @param workday5List
*/
public SiteQuery workday5List(List<Integer> workday5List){
this.workday5List = workday5List;
return this;
}
/**
* 设置 周五 (1.上班,0.不上)
* @param workday5NotList
*/
public SiteQuery workday5NotList(List<Integer> workday5NotList){
this.workday5NotList = workday5NotList;
return this;
}
/**
* 设置 周六 (1.上班,0.不上)
* @param workday6
*/
public SiteQuery workday6(Integer workday6){
setWorkday6(workday6);
return this;
}
/**
* 设置 开始 周六 (1.上班,0.不上)
* @param workday6Start
*/
public SiteQuery workday6Start(Integer workday6Start){
this.workday6Start = workday6Start;
return this;
}
/**
* 设置 结束 周六 (1.上班,0.不上)
* @param workday6End
*/
public SiteQuery workday6End(Integer workday6End){
this.workday6End = workday6End;
return this;
}
/**
* 设置 增加 周六 (1.上班,0.不上)
* @param workday6Increment
*/
public SiteQuery workday6Increment(Integer workday6Increment){
this.workday6Increment = workday6Increment;
return this;
}
/**
* 设置 周六 (1.上班,0.不上)
* @param workday6List
*/
public SiteQuery workday6List(List<Integer> workday6List){
this.workday6List = workday6List;
return this;
}
/**
* 设置 周六 (1.上班,0.不上)
* @param workday6NotList
*/
public SiteQuery workday6NotList(List<Integer> workday6NotList){
this.workday6NotList = workday6NotList;
return this;
}
/**
* 设置 周日 (1.上班,0.不上)
* @param workday7
*/
public SiteQuery workday7(Integer workday7){
setWorkday7(workday7);
return this;
}
/**
* 设置 开始 周日 (1.上班,0.不上)
* @param workday7Start
*/
public SiteQuery workday7Start(Integer workday7Start){
this.workday7Start = workday7Start;
return this;
}
/**
* 设置 结束 周日 (1.上班,0.不上)
* @param workday7End
*/
public SiteQuery workday7End(Integer workday7End){
this.workday7End = workday7End;
return this;
}
/**
* 设置 增加 周日 (1.上班,0.不上)
* @param workday7Increment
*/
public SiteQuery workday7Increment(Integer workday7Increment){
this.workday7Increment = workday7Increment;
return this;
}
/**
* 设置 周日 (1.上班,0.不上)
* @param workday7List
*/
public SiteQuery workday7List(List<Integer> workday7List){
this.workday7List = workday7List;
return this;
}
/**
* 设置 周日 (1.上班,0.不上)
* @param workday7NotList
*/
public SiteQuery workday7NotList(List<Integer> workday7NotList){
this.workday7NotList = workday7NotList;
return this;
}
/**
* 设置 在线取号(0.否,1.是)
* @param onlineTake
*/
public SiteQuery onlineTake(Integer onlineTake){
setOnlineTake(onlineTake);
return this;
}
/**
* 设置 开始 在线取号(0.否,1.是)
* @param onlineTakeStart
*/
public SiteQuery onlineTakeStart(Integer onlineTakeStart){
this.onlineTakeStart = onlineTakeStart;
return this;
}
/**
* 设置 结束 在线取号(0.否,1.是)
* @param onlineTakeEnd
*/
public SiteQuery onlineTakeEnd(Integer onlineTakeEnd){
this.onlineTakeEnd = onlineTakeEnd;
return this;
}
/**
* 设置 增加 在线取号(0.否,1.是)
* @param onlineTakeIncrement
*/
public SiteQuery onlineTakeIncrement(Integer onlineTakeIncrement){
this.onlineTakeIncrement = onlineTakeIncrement;
return this;
}
/**
* 设置 在线取号(0.否,1.是)
* @param onlineTakeList
*/
public SiteQuery onlineTakeList(List<Integer> onlineTakeList){
this.onlineTakeList = onlineTakeList;
return this;
}
/**
* 设置 在线取号(0.否,1.是)
* @param onlineTakeNotList
*/
public SiteQuery onlineTakeNotList(List<Integer> onlineTakeNotList){
this.onlineTakeNotList = onlineTakeNotList;
return this;
}
/**
* 设置 在线取号(0.否,1.是)
* @param appointment
*/
public SiteQuery appointment(Integer appointment){
setAppointment(appointment);
return this;
}
/**
* 设置 开始 在线取号(0.否,1.是)
* @param appointmentStart
*/
public SiteQuery appointmentStart(Integer appointmentStart){
this.appointmentStart = appointmentStart;
return this;
}
/**
* 设置 结束 在线取号(0.否,1.是)
* @param appointmentEnd
*/
public SiteQuery appointmentEnd(Integer appointmentEnd){
this.appointmentEnd = appointmentEnd;
return this;
}
/**
* 设置 增加 在线取号(0.否,1.是)
* @param appointmentIncrement
*/
public SiteQuery appointmentIncrement(Integer appointmentIncrement){
this.appointmentIncrement = appointmentIncrement;
return this;
}
/**
* 设置 在线取号(0.否,1.是)
* @param appointmentList
*/
public SiteQuery appointmentList(List<Integer> appointmentList){
this.appointmentList = appointmentList;
return this;
}
/**
* 设置 在线取号(0.否,1.是)
* @param appointmentNotList
*/
public SiteQuery appointmentNotList(List<Integer> appointmentNotList){
this.appointmentNotList = appointmentNotList;
return this;
}
/**
* 设置 在线取号(0.否,1.是)
* @param gowMap
*/
public SiteQuery gowMap(Integer gowMap){
setGowMap(gowMap);
return this;
}
/**
* 设置 开始 在线取号(0.否,1.是)
* @param gowMapStart
*/
public SiteQuery gowMapStart(Integer gowMapStart){
this.gowMapStart = gowMapStart;
return this;
}
/**
* 设置 结束 在线取号(0.否,1.是)
* @param gowMapEnd
*/
public SiteQuery gowMapEnd(Integer gowMapEnd){
this.gowMapEnd = gowMapEnd;
return this;
}
/**
* 设置 增加 在线取号(0.否,1.是)
* @param gowMapIncrement
*/
public SiteQuery gowMapIncrement(Integer gowMapIncrement){
this.gowMapIncrement = gowMapIncrement;
return this;
}
/**
* 设置 在线取号(0.否,1.是)
* @param gowMapList
*/
public SiteQuery gowMapList(List<Integer> gowMapList){
this.gowMapList = gowMapList;
return this;
}
/**
* 设置 在线取号(0.否,1.是)
* @param gowMapNotList
*/
public SiteQuery gowMapNotList(List<Integer> gowMapNotList){
this.gowMapNotList = gowMapNotList;
return this;
}
/**
* 设置 楼层
* @param level
*/
public SiteQuery level(Integer level){
setLevel(level);
return this;
}
/**
* 设置 开始 楼层
* @param levelStart
*/
public SiteQuery levelStart(Integer levelStart){
this.levelStart = levelStart;
return this;
}
/**
* 设置 结束 楼层
* @param levelEnd
*/
public SiteQuery levelEnd(Integer levelEnd){
this.levelEnd = levelEnd;
return this;
}
/**
* 设置 增加 楼层
* @param levelIncrement
*/
public SiteQuery levelIncrement(Integer levelIncrement){
this.levelIncrement = levelIncrement;
return this;
}
/**
* 设置 楼层
* @param levelList
*/
public SiteQuery levelList(List<Integer> levelList){
this.levelList = levelList;
return this;
}
/**
* 设置 楼层
* @param levelNotList
*/
public SiteQuery levelNotList(List<Integer> levelNotList){
this.levelNotList = levelNotList;
return this;
}
/**
* 设置 楼栋
* @param building
*/
public SiteQuery building(Integer building){
setBuilding(building);
return this;
}
/**
* 设置 开始 楼栋
* @param buildingStart
*/
public SiteQuery buildingStart(Integer buildingStart){
this.buildingStart = buildingStart;
return this;
}
/**
* 设置 结束 楼栋
* @param buildingEnd
*/
public SiteQuery buildingEnd(Integer buildingEnd){
this.buildingEnd = buildingEnd;
return this;
}
/**
* 设置 增加 楼栋
* @param buildingIncrement
*/
public SiteQuery buildingIncrement(Integer buildingIncrement){
this.buildingIncrement = buildingIncrement;
return this;
}
/**
* 设置 楼栋
* @param buildingList
*/
public SiteQuery buildingList(List<Integer> buildingList){
this.buildingList = buildingList;
return this;
}
/**
* 设置 楼栋
* @param buildingNotList
*/
public SiteQuery buildingNotList(List<Integer> buildingNotList){
this.buildingNotList = buildingNotList;
return this;
}
/**
* 设置 logo图片地址
* @param logoPath
*/
public SiteQuery logoPath(String logoPath){
setLogoPath(logoPath);
return this;
}
/**
* 设置 logo图片地址
* @param logoPathList
*/
public SiteQuery logoPathList(List<String> logoPathList){
this.logoPathList = logoPathList;
return this;
}
/**
* 设置 英文名称
* @param englishName
*/
public SiteQuery englishName(String englishName){
setEnglishName(englishName);
return this;
}
/**
* 设置 英文名称
* @param englishNameList
*/
public SiteQuery englishNameList(List<String> englishNameList){
this.englishNameList = englishNameList;
return this;
}
/**
* 设置 负责人
* @param leadingOfficial
*/
public SiteQuery leadingOfficial(String leadingOfficial){
setLeadingOfficial(leadingOfficial);
return this;
}
/**
* 设置 负责人
* @param leadingOfficialList
*/
public SiteQuery leadingOfficialList(List<String> leadingOfficialList){
this.leadingOfficialList = leadingOfficialList;
return this;
}
/**
* 设置 联系电话
* @param leadingOfficialTelephone
*/
public SiteQuery leadingOfficialTelephone(String leadingOfficialTelephone){
setLeadingOfficialTelephone(leadingOfficialTelephone);
return this;
}
/**
* 设置 联系电话
* @param leadingOfficialTelephoneList
*/
public SiteQuery leadingOfficialTelephoneList(List<String> leadingOfficialTelephoneList){
this.leadingOfficialTelephoneList = leadingOfficialTelephoneList;
return this;
}
/**
* 设置 部署模块,逗号分隔
* @param modelIds
*/
public SiteQuery modelIds(String modelIds){
setModelIds(modelIds);
return this;
}
/**
* 设置 部署模块,逗号分隔
* @param modelIdsList
*/
public SiteQuery modelIdsList(List<String> modelIdsList){
this.modelIdsList = modelIdsList;
return this;
}
/**
* 设置 政务风貌,多个逗号分割
* @param govAffairStyle
*/
public SiteQuery govAffairStyle(String govAffairStyle){
setGovAffairStyle(govAffairStyle);
return this;
}
/**
* 设置 政务风貌,多个逗号分割
* @param govAffairStyleList
*/
public SiteQuery govAffairStyleList(List<String> govAffairStyleList){
this.govAffairStyleList = govAffairStyleList;
return this;
}
/**
* 设置 创建用户
* @param createUserId
*/
public SiteQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public SiteQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public SiteQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public SiteQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public SiteQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public SiteQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
/**
* 设置 投诉电话
* @param complaintHotline
*/
public SiteQuery complaintHotline(String complaintHotline){
setComplaintHotline(complaintHotline);
return this;
}
/**
* 设置 投诉电话
* @param complaintHotlineList
*/
public SiteQuery complaintHotlineList(List<String> complaintHotlineList){
this.complaintHotlineList = complaintHotlineList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<SiteQuery> getOrConditionList(){
return this.orConditionList;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public void setOrConditionList(List<SiteQuery> orConditionList){
this.orConditionList = orConditionList;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public List<SiteQuery> getAndConditionList(){
return this.andConditionList;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public void setAndConditionList(List<SiteQuery> andConditionList){
this.andConditionList = andConditionList;
}
}
\ No newline at end of file
package com.mortals.xhx.module.site.model;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.parser.DefaultJSONParser;
import com.alibaba.fastjson.parser.JSONToken;
import com.alibaba.fastjson.parser.deserializer.ObjectDeserializer;
import com.mortals.xhx.module.area.model.AreaEntity;
import lombok.Data;
import org.springframework.util.ObjectUtils;
import java.io.Serializable;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
* 区域前端映射树结构实体类
*
* @author zxfei
* @date 2022-01-12
*/
@Data
public class SiteTreeSelect implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 节点ID
*/
private String id;
/**
* 站点编码
*/
private String siteCode;
/**
* 站点详细地址
*/
private String detailAddress;
/**
* 节点名称
*/
private String label;
/**
* 区域编码
*/
private String areaCode;
/**
* 区域名称
*
*/
private String areaName;
/**
* 为区域时 层级
*/
private Integer level;
/**
* 是否叶子节点
*/
private Boolean isLeaf;
/**
* 经度
*/
private String longitude;
/**
* 纬度
*/
private String latitude;
/**
* 节点类型
*/
private String type;
/**
* 图标
*/
private String icon;
/**
* 子节点
*/
private List<SiteTreeSelect> children;
public SiteTreeSelect() {
}
public SiteTreeSelect(AreaEntity entity) {
//如果是站点,则替换名称和id
this.id = entity.getIid();
this.label = entity.getName();
if ("False".equalsIgnoreCase(entity.getHaveSonArea())) {
this.isLeaf = true;
this.children = new ArrayList();
} else {
this.isLeaf = false;
}
this.areaCode = entity.getAreaCode();
this.type = "area";
this.icon = "el-icon-folder";
}
public SiteTreeSelect(AreaEntity entity, Map<String, SiteEntity> siteMap) {
List<SiteEntity> collect = siteMap.entrySet().stream().filter(f -> f.getKey().startsWith(entity.getAreaCode()))
.map(m -> m.getValue())
.collect(Collectors.toList());
if (!ObjectUtils.isEmpty(collect)) {
this.id = collect.stream().map(item -> item.getId().toString()).collect(Collectors.joining(","));
this.label = collect.stream().map(item -> item.getSiteName()).collect(Collectors.joining(","));
this.siteCode = collect.stream().map(item -> item.getSiteCode()).collect(Collectors.joining(","));
this.type = "site";
this.icon = "el-icon-wind-power";
this.detailAddress=collect.stream().map(item -> item.getDetailAddress()).collect(Collectors.joining(","));
this.areaCode=collect.stream().map(item -> item.getAreaCode()).collect(Collectors.joining(","));
this.areaName=collect.stream().map(item -> item.getAreaName()).collect(Collectors.joining(","));
this.longitude = collect.stream().map(item -> item.getLongitude()).collect(Collectors.joining(","));
this.latitude = collect.stream().map(item -> item.getLatitude()).collect(Collectors.joining(","));
} else {
this.id = entity.getIid();
this.label = entity.getName();
this.type = "area";
this.icon = "el-icon-place";
this.areaCode=entity.getAreaCode();
}
this.level=entity.getAreaLevel();
if ("False".equalsIgnoreCase(entity.getHaveSonArea())) {
this.isLeaf = true;
//this.children = new ArrayList();
} else {
this.isLeaf = false;
this.children = entity.getChildren().stream().map(item -> new SiteTreeSelect(item, siteMap)).collect(Collectors.toList());
}
this.areaCode = entity.getAreaCode();
}
// 反序列化器
public static class Deserializer implements ObjectDeserializer {
@Override
public SiteTreeSelect deserialze(DefaultJSONParser parser, Type type, Object fieldName) {
SiteTreeSelect node = new SiteTreeSelect();
JSONObject jsonObject = parser.parseObject();
node.setId(jsonObject.getString("id"));
node.setSiteCode(jsonObject.getString("siteCode"));
node.setLabel(jsonObject.getString("label"));
node.setAreaCode(jsonObject.getString("areaCode"));
node.setAreaName(jsonObject.getString("areaName"));
node.setIsLeaf(jsonObject.getBoolean("isLeaf"));
node.setLongitude(jsonObject.getString("longitude"));
node.setLatitude(jsonObject.getString("latitude"));
node.setType(jsonObject.getString("type"));
node.setIcon(jsonObject.getString("icon"));
JSONArray jsonArray = jsonObject.getJSONArray("children");
List<SiteTreeSelect> children = new ArrayList<>();
if(!ObjectUtils.isEmpty(jsonArray)){
for (int i = 0; i < jsonArray.size(); i++) {
SiteTreeSelect child = JSON.parseObject(jsonArray.getJSONObject(i).toJSONString(), SiteTreeSelect.class);
children.add(child);
}
}
node.setChildren(children);
return node;
}
@Override
public int getFastMatchToken() {
return JSONToken.LBRACE;
}
}
}
\ No newline at end of file
package com.mortals.xhx.module.site.model.vo;
import com.mortals.xhx.module.site.model.SiteEntity;
import lombok.Data;
/**
* 站点完整信息
*/
@Data
public class SitAllInfoVO extends SiteEntity {
}
package com.mortals.xhx.module.site.model.vo;
import com.mortals.xhx.module.site.model.SiteEntity;
import lombok.Data;
import java.util.List;
/**
* 站点区域视图对象
*
* @author zxfei
* @date 2022-01-12
*/
@Data
public class SiteAreaVo {
private String areaName;
private String areaCode;
private List<SiteEntity> siteList;
}
\ No newline at end of file
package com.mortals.xhx.module.site.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import lombok.Data;
import java.util.List;
/**
* 站点事项视图对象
*
* @author zxfei
* @date 2022-01-12
*/
@Data
public class SiteMatterVo extends BaseEntityLong {
/**
* 所属部门
*/
private String belongDept;
/**
* 窗口到现场次数
*/
private Integer windowToTheSceneNum;
/**
* 网办到现场次数
*/
private Integer onlineToTheSceneNum;
/**
* 区域编码
*/
private String areaCode;
/** 事项类型排除列表 */
private List <String> eventTypeShowNotList;
/** 序号,主键,自增长列表 */
private List <Long> idList;
}
\ No newline at end of file
package com.mortals.xhx.module.site.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.site.model.SiteEntity;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
/**
* 站点视图对象
*
* @author zxfei
* @date 2022-01-12
*/
@Data
public class SiteVo extends BaseEntityLong {
private List<Long> idList;
private String logoFullPath;
private Integer areaLevel;
private List<Integer> areaLevelList;
private Integer total = 0;
private List<SiteEntity> subList = new ArrayList<>();
private List<String> modelData;
private Long copySiteId;
private Long targetSiteId;
}
\ No newline at end of file
package com.mortals.xhx.module.site.service;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.site.dao.SiteMatterDao;
import com.mortals.xhx.module.site.model.SiteMatterEntity;
/**
* SiteMatterService
* <p>
* 站点事项 service接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface SiteMatterService extends ICRUDService<SiteMatterEntity, Long> {
SiteMatterDao getDao();
}
\ No newline at end of file
package com.mortals.xhx.module.site.service;
import com.mortals.framework.common.Rest;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICRUDCacheService;
import com.mortals.xhx.module.matter.model.MatterEntity;
import com.mortals.xhx.module.site.dao.SiteDao;
import com.mortals.xhx.module.site.model.SiteEntity;
import com.mortals.xhx.module.site.model.SiteQuery;
import com.mortals.xhx.module.site.model.SiteTreeSelect;
import com.mortals.xhx.module.site.model.vo.SiteAreaVo;
import java.util.List;
import java.util.Map;
/**
* SiteService
* <p>
* 站点 service接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface SiteService extends ICRUDCacheService<SiteEntity, Long> {
SiteDao getDao();
}
\ No newline at end of file
package com.mortals.xhx.module.site.service.impl;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.model.PageInfo;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.xhx.module.matter.model.MatterEntity;
import com.mortals.xhx.module.matter.model.MatterQuery;
import com.mortals.xhx.module.matter.service.MatterService;
import com.mortals.xhx.module.site.dao.SiteMatterDao;
import com.mortals.xhx.module.site.model.SiteMatterEntity;
import com.mortals.xhx.module.site.service.SiteMatterService;
import com.mortals.xhx.module.site.service.SiteService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
* SiteMatterService
* 站点事项 service实现
*
* @author zxfei
* @date 2022-01-12
*/
@Service("siteMatterService")
@Slf4j
public class SiteMatterServiceImpl extends AbstractCRUDServiceImpl<SiteMatterDao, SiteMatterEntity, Long> implements SiteMatterService {
@Autowired
private MatterService matterService;
@Autowired
private SiteService siteService;
@Override
protected void findAfter(SiteMatterEntity params, PageInfo pageInfo, Context context, List<SiteMatterEntity> list) throws AppException {
if (!ObjectUtils.isEmpty(list)) {
List<Long> matterIdlist = list.stream().map(item -> item.getMatterId()).collect(Collectors.toList());
Map<Long, MatterEntity> matterEntityMap = matterService.find(new MatterQuery().idList(matterIdlist)).parallelStream().collect(Collectors.toMap(x -> x.getId(), y -> y, (o, n) -> n));
list.forEach(item -> {
if (!ObjectUtils.isEmpty(item.getMatterId())) {
MatterEntity matterEntity = matterEntityMap.get(item.getMatterId());
if (!ObjectUtils.isEmpty(matterEntity)) {
item.setBelongDept(matterEntity.getBelongDept());
item.setWindowToTheSceneNum(matterEntity.getWindowToTheSceneNum());
item.setOnlineToTheSceneNum(matterEntity.getOnlineToTheSceneNum());
item.setDeptCode(matterEntity.getDeptCode());
item.setAreaCode(matterEntity.getAreaCode());
}
}
});
}
super.findAfter(params, pageInfo, context, list);
}
/**
* @param entity
* @param context
* @throws AppException
*/
@Override
protected void updateBefore(SiteMatterEntity entity, Context context) throws AppException {
}
/**
* @param entity
* @param context
* @throws AppException
*/
@Override
protected void saveBefore(SiteMatterEntity entity, Context context) throws AppException {
super.saveBefore(entity, context);
}
}
\ No newline at end of file
package com.mortals.xhx.module.site.service.impl;
import cn.hutool.core.util.StrUtil;
import cn.hutool.core.util.URLUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.mortals.framework.ap.GlobalSysInfo;
import com.mortals.framework.common.Rest;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.model.PageInfo;
import com.mortals.framework.service.impl.AbstractCRUDCacheServiceImpl;
import com.mortals.framework.util.StringUtils;
import com.mortals.xhx.base.system.user.service.UserService;
import com.mortals.xhx.common.code.AreaLevelEnum;
import com.mortals.xhx.common.key.Constant;
import com.mortals.xhx.common.utils.AreaMatchCodeUtil;
import com.mortals.xhx.feign.user.IUserFeign;
import com.mortals.xhx.module.area.model.AreaEntity;
import com.mortals.xhx.module.area.model.AreaQuery;
import com.mortals.xhx.module.area.service.AreaService;
import com.mortals.xhx.module.dept.service.DeptService;
import com.mortals.xhx.module.matter.service.MatterService;
import com.mortals.xhx.module.site.dao.SiteDao;
import com.mortals.xhx.module.site.model.SiteEntity;
import com.mortals.xhx.module.site.model.SiteQuery;
import com.mortals.xhx.module.site.model.SiteTreeSelect;
import com.mortals.xhx.module.site.model.vo.SiteAreaVo;
import com.mortals.xhx.module.site.service.SiteMatterService;
import com.mortals.xhx.module.site.service.SiteService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils;
import java.util.*;
import java.util.stream.Collectors;
import static com.mortals.xhx.common.key.Constant.PARAM_SERVER_HTTP_URL;
import static com.mortals.xhx.common.key.Constant.USER_SITE_TREE;
/**
* SiteService
* 站点 service实现
*
* @author zxfei
* @date 2022-01-12
*/
@Service("siteService")
@Slf4j
public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteEntity, Long> implements SiteService {
// private List<SiteTreeSelect> siteTreeList;
/**
* 根据用户id 暂存对应站点树 默认0为全站点树
*/
private Map<Long, List<SiteTreeSelect>> siteTreeMap = new HashMap<>();
@Autowired
@Lazy
private AreaService areaService;
@Autowired
@Lazy
private IUserFeign userFeign;
@Autowired
@Lazy
private UserService userService;
@Autowired
private DeptService deptService;
@Autowired
private MatterService matterService;
@Autowired
private SiteMatterService siteMatterService;
private volatile Boolean refresh = false;
@Override
protected String getExtKey(SiteEntity data) {
return data.getSiteCode();
}
@Override
protected void updateBefore(SiteEntity entity, Context context) throws AppException {
super.updateBefore(entity, context);
}
@Override
protected void saveBefore(SiteEntity entity, Context context) throws AppException {
super.saveBefore(entity, context);
}
@Override
protected void saveAfter(SiteEntity entity, Context context) throws AppException {
super.saveAfter(entity, context);
}
@Override
protected void updateAfter(SiteEntity entity, Context context) throws AppException {
}
public static void main(String[] args) {
String matchCode = "511530000000".replaceAll("(0)+$", "");
System.out.println(matchCode);
matchCode = StrUtil.padAfter(matchCode, 7, "0");
System.out.println(matchCode);
}
}
\ No newline at end of file
package com.mortals.xhx.module.site.web;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICacheService;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.feign.user.IUserFeign;
import com.mortals.xhx.module.area.service.AreaService;
import com.mortals.xhx.module.site.model.SiteEntity;
import com.mortals.xhx.module.site.service.SiteService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
/**
* 站点
*
* @author zxfei
* @date 2022-01-20
*/
@RestController
@RequestMapping("site")
@Slf4j
public class SiteController extends BaseCRUDJsonBodyMappingController<SiteService, SiteEntity, Long> {
@Autowired
private ParamService paramService;
@Autowired
private ICacheService cacheService;
@Autowired
private SiteService siteService;
@Autowired
private AreaService areaService;
@Autowired
@Lazy
private IUserFeign userFeign;
public SiteController() {
super.setModuleDesc("站点");
}
@Override
protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "haveSonArea", paramService.getParamBySecondOrganize("Site", "haveSonArea"));
this.addDict(model, "workday1", paramService.getParamBySecondOrganize("Site", "workday1"));
this.addDict(model, "workday2", paramService.getParamBySecondOrganize("Site", "workday2"));
this.addDict(model, "workday3", paramService.getParamBySecondOrganize("Site", "workday3"));
this.addDict(model, "workday4", paramService.getParamBySecondOrganize("Site", "workday4"));
this.addDict(model, "workday5", paramService.getParamBySecondOrganize("Site", "workday5"));
this.addDict(model, "workday6", paramService.getParamBySecondOrganize("Site", "workday6"));
this.addDict(model, "workday7", paramService.getParamBySecondOrganize("Site", "workday7"));
this.addDict(model, "level", paramService.getParamBySecondOrganize("Site", "level"));
this.addDict(model, "building", paramService.getParamBySecondOrganize("Site", "building"));
this.addDict(model, "isSite", paramService.getParamBySecondOrganize("Site", "isSite"));
this.addDict(model, "status", paramService.getParamBySecondOrganize("Site", "status"));
super.init(model, context);
}
}
\ No newline at end of file
package com.mortals.xhx.module.site.web;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.model.OrderCol;
import com.mortals.framework.util.ThreadPool;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.code.SourceEnum;
import com.mortals.xhx.common.code.YesNoEnum;
import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.model.DeptQuery;
import com.mortals.xhx.module.dept.service.DeptService;
import com.mortals.xhx.module.site.model.SiteEntity;
import com.mortals.xhx.module.site.model.SiteMatterEntity;
import com.mortals.xhx.module.site.model.SiteMatterQuery;
import com.mortals.xhx.module.site.model.SiteQuery;
import com.mortals.xhx.module.site.service.SiteMatterService;
import com.mortals.xhx.module.site.service.SiteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ObjectUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* 站点事项
*
* @author zxfei
* @date 2022-01-20
*/
@RestController
@RequestMapping("site/matter")
public class SiteMatterController extends BaseCRUDJsonBodyMappingController<SiteMatterService, SiteMatterEntity, Long> {
@Autowired
private ParamService paramService;
@Autowired
private DeptService deptService;
@Autowired
private SiteService siteService;
@Autowired
private SiteMatterService siteMatterService;
public SiteMatterController() {
super.setModuleDesc("站点事项");
}
/**
* @param query
* @param model
* @param context
* @throws AppException
*/
@Override
protected void doListBefore(SiteMatterEntity query, Map<String, Object> model, Context context) throws AppException {
super.doListBefore(query, model, context);
query.setOrderColList(Arrays.asList(new OrderCol("hot", OrderCol.DESCENDING)));
if (ObjectUtils.isEmpty(query.getEventTypeShowNotList())) {
query.setEventTypeShowNotList(Arrays.asList("行政处罚"));
}
}
/**
* @param list
* @param model
* @param context
* @return
* @throws AppException
*/
@Override
protected int batchSaveAfter(List<SiteMatterEntity> list, Map<String, Object> model, Context context) throws AppException {
//统计部门入驻数量
Runnable runnable = new Runnable() {
/**
*
*/
@Override
public void run() {
List<SiteEntity> siteEntities = siteService.find(new SiteQuery());
for (SiteEntity siteEntity : siteEntities) {
DeptQuery query = new DeptQuery();
query.setSiteId(siteEntity.getId());
List<DeptEntity> deptEntities = deptService.find(query);
for (DeptEntity deptEntity : deptEntities) {
DeptEntity deptQuery = new DeptEntity();
deptQuery.setUpdateTime(new Date());
//统计入驻事项
SiteMatterQuery siteMatterQuery = new SiteMatterQuery();
siteMatterQuery.setDeptCode(deptEntity.getDeptNumber());
siteMatterQuery.setSource(SourceEnum.政务网.getValue());
siteMatterQuery.setHallCheckIn(YesNoEnum.YES.getValue());
int incount = siteMatterService.count(siteMatterQuery, null);
deptQuery.setInNum(incount);
DeptEntity condition = new DeptEntity();
condition.setId(deptEntity.getId());
deptService.getDao().update(deptQuery, condition);
}
}
}
};
ThreadPool.getInstance().execute(runnable);
return super.batchSaveAfter(list, model, context);
}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.dept.dao.ibatis.DeptDaoImpl">
<!-- 字段和属性映射 -->
<resultMap type="DeptEntity" id="DeptEntity-Map">
<id property="id" column="id" />
<result property="tid" column="tid" />
<result property="tname" column="tname" />
<result property="name" column="name" />
<result property="simpleName" column="simpleName" />
<result property="siteId" column="siteId" />
<result property="deptAbb" column="deptAbb" />
<result property="deptTelphone" column="deptTelphone" />
<result property="deptNumber" column="deptNumber" />
<result property="isAutotable" column="isAutotable" />
<result property="isOrder" column="isOrder" />
<result property="isBkb" column="isBkb" />
<result property="isWorkGuide" column="isWorkGuide" />
<result property="usValid" column="usValid" />
<result property="isSecphone" column="isSecphone" />
<result property="isEnglish" column="isEnglish" />
<result property="sort" column="sort" />
<result property="source" column="source" />
<result property="total" column="total" />
<result property="inNum" column="inNum" />
<result property="createTime" column="createTime" />
<result property="createUserId" column="createUserId" />
<result property="updateTime" column="updateTime" />
</resultMap>
<!-- 表所有列 -->
<sql id="_columns">
<trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('tid') or colPickMode == 1 and data.containsKey('tid')))">
a.tid,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('tname') or colPickMode == 1 and data.containsKey('tname')))">
a.tname,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('name') or colPickMode == 1 and data.containsKey('name')))">
a.name,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('simpleName') or colPickMode == 1 and data.containsKey('simpleName')))">
a.simpleName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteId') or colPickMode == 1 and data.containsKey('siteId')))">
a.siteId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptAbb') or colPickMode == 1 and data.containsKey('deptAbb')))">
a.deptAbb,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptTelphone') or colPickMode == 1 and data.containsKey('deptTelphone')))">
a.deptTelphone,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptNumber') or colPickMode == 1 and data.containsKey('deptNumber')))">
a.deptNumber,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isAutotable') or colPickMode == 1 and data.containsKey('isAutotable')))">
a.isAutotable,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isOrder') or colPickMode == 1 and data.containsKey('isOrder')))">
a.isOrder,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isBkb') or colPickMode == 1 and data.containsKey('isBkb')))">
a.isBkb,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isWorkGuide') or colPickMode == 1 and data.containsKey('isWorkGuide')))">
a.isWorkGuide,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('usValid') or colPickMode == 1 and data.containsKey('usValid')))">
a.usValid,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isSecphone') or colPickMode == 1 and data.containsKey('isSecphone')))">
a.isSecphone,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isEnglish') or colPickMode == 1 and data.containsKey('isEnglish')))">
a.isEnglish,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('sort') or colPickMode == 1 and data.containsKey('sort')))">
a.sort,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('source') or colPickMode == 1 and data.containsKey('source')))">
a.source,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('total') or colPickMode == 1 and data.containsKey('total')))">
a.total,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('inNum') or colPickMode == 1 and data.containsKey('inNum')))">
a.inNum,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
</trim>
</sql>
<!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="DeptEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_sys_dept
(tid,tname,name,simpleName,siteId,deptAbb,deptTelphone,deptNumber,isAutotable,isOrder,isBkb,isWorkGuide,usValid,isSecphone,isEnglish,sort,source,total,inNum,createTime,createUserId,updateTime)
VALUES
(#{tid},#{tname},#{name},#{simpleName},#{siteId},#{deptAbb},#{deptTelphone},#{deptNumber},#{isAutotable},#{isOrder},#{isBkb},#{isWorkGuide},#{usValid},#{isSecphone},#{isEnglish},#{sort},#{source},#{total},#{inNum},#{createTime},#{createUserId},#{updateTime})
</insert>
<!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto">
insert into mortals_sys_dept
(tid,tname,name,simpleName,siteId,deptAbb,deptTelphone,deptNumber,isAutotable,isOrder,isBkb,isWorkGuide,usValid,isSecphone,isEnglish,sort,source,total,inNum,createTime,createUserId,updateTime)
VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.tid},#{item.tname},#{item.name},#{item.simpleName},#{item.siteId},#{item.deptAbb},#{item.deptTelphone},#{item.deptNumber},#{item.isAutotable},#{item.isOrder},#{item.isBkb},#{item.isWorkGuide},#{item.usValid},#{item.isSecphone},#{item.isEnglish},#{item.sort},#{item.source},#{item.total},#{item.inNum},#{item.createTime},#{item.createUserId},#{item.updateTime})
</foreach>
</insert>
<!-- 根据ParamDto更新 -->
<update id="update" parameterType="paramDto">
update mortals_sys_dept as a
set
<trim suffixOverrides="," suffix="">
<if test="(colPickMode==0 and data.containsKey('tid')) or (colPickMode==1 and !data.containsKey('tid'))">
a.tid=#{data.tid},
</if>
<if test="(colPickMode==0 and data.containsKey('tname')) or (colPickMode==1 and !data.containsKey('tname'))">
a.tname=#{data.tname},
</if>
<if test="(colPickMode==0 and data.containsKey('name')) or (colPickMode==1 and !data.containsKey('name'))">
a.name=#{data.name},
</if>
<if test="(colPickMode==0 and data.containsKey('simpleName')) or (colPickMode==1 and !data.containsKey('simpleName'))">
a.simpleName=#{data.simpleName},
</if>
<if test="(colPickMode==0 and data.containsKey('siteId')) or (colPickMode==1 and !data.containsKey('siteId'))">
a.siteId=#{data.siteId},
</if>
<if test="(colPickMode==0 and data.containsKey('siteIdIncrement')) or (colPickMode==1 and !data.containsKey('siteIdIncrement'))">
a.siteId=ifnull(a.siteId,0) + #{data.siteIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('deptAbb')) or (colPickMode==1 and !data.containsKey('deptAbb'))">
a.deptAbb=#{data.deptAbb},
</if>
<if test="(colPickMode==0 and data.containsKey('deptTelphone')) or (colPickMode==1 and !data.containsKey('deptTelphone'))">
a.deptTelphone=#{data.deptTelphone},
</if>
<if test="(colPickMode==0 and data.containsKey('deptNumber')) or (colPickMode==1 and !data.containsKey('deptNumber'))">
a.deptNumber=#{data.deptNumber},
</if>
<if test="(colPickMode==0 and data.containsKey('isAutotable')) or (colPickMode==1 and !data.containsKey('isAutotable'))">
a.isAutotable=#{data.isAutotable},
</if>
<if test="(colPickMode==0 and data.containsKey('isAutotableIncrement')) or (colPickMode==1 and !data.containsKey('isAutotableIncrement'))">
a.isAutotable=ifnull(a.isAutotable,0) + #{data.isAutotableIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('isOrder')) or (colPickMode==1 and !data.containsKey('isOrder'))">
a.isOrder=#{data.isOrder},
</if>
<if test="(colPickMode==0 and data.containsKey('isOrderIncrement')) or (colPickMode==1 and !data.containsKey('isOrderIncrement'))">
a.isOrder=ifnull(a.isOrder,0) + #{data.isOrderIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('isBkb')) or (colPickMode==1 and !data.containsKey('isBkb'))">
a.isBkb=#{data.isBkb},
</if>
<if test="(colPickMode==0 and data.containsKey('isBkbIncrement')) or (colPickMode==1 and !data.containsKey('isBkbIncrement'))">
a.isBkb=ifnull(a.isBkb,0) + #{data.isBkbIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('isWorkGuide')) or (colPickMode==1 and !data.containsKey('isWorkGuide'))">
a.isWorkGuide=#{data.isWorkGuide},
</if>
<if test="(colPickMode==0 and data.containsKey('isWorkGuideIncrement')) or (colPickMode==1 and !data.containsKey('isWorkGuideIncrement'))">
a.isWorkGuide=ifnull(a.isWorkGuide,0) + #{data.isWorkGuideIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('usValid')) or (colPickMode==1 and !data.containsKey('usValid'))">
a.usValid=#{data.usValid},
</if>
<if test="(colPickMode==0 and data.containsKey('usValidIncrement')) or (colPickMode==1 and !data.containsKey('usValidIncrement'))">
a.usValid=ifnull(a.usValid,0) + #{data.usValidIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('isSecphone')) or (colPickMode==1 and !data.containsKey('isSecphone'))">
a.isSecphone=#{data.isSecphone},
</if>
<if test="(colPickMode==0 and data.containsKey('isSecphoneIncrement')) or (colPickMode==1 and !data.containsKey('isSecphoneIncrement'))">
a.isSecphone=ifnull(a.isSecphone,0) + #{data.isSecphoneIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('isEnglish')) or (colPickMode==1 and !data.containsKey('isEnglish'))">
a.isEnglish=#{data.isEnglish},
</if>
<if test="(colPickMode==0 and data.containsKey('isEnglishIncrement')) or (colPickMode==1 and !data.containsKey('isEnglishIncrement'))">
a.isEnglish=ifnull(a.isEnglish,0) + #{data.isEnglishIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('sort')) or (colPickMode==1 and !data.containsKey('sort'))">
a.sort=#{data.sort},
</if>
<if test="(colPickMode==0 and data.containsKey('sortIncrement')) or (colPickMode==1 and !data.containsKey('sortIncrement'))">
a.sort=ifnull(a.sort,0) + #{data.sortIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('source')) or (colPickMode==1 and !data.containsKey('source'))">
a.source=#{data.source},
</if>
<if test="(colPickMode==0 and data.containsKey('sourceIncrement')) or (colPickMode==1 and !data.containsKey('sourceIncrement'))">
a.source=ifnull(a.source,0) + #{data.sourceIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('total')) or (colPickMode==1 and !data.containsKey('total'))">
a.total=#{data.total},
</if>
<if test="(colPickMode==0 and data.containsKey('totalIncrement')) or (colPickMode==1 and !data.containsKey('totalIncrement'))">
a.total=ifnull(a.total,0) + #{data.totalIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('inNum')) or (colPickMode==1 and !data.containsKey('inNum'))">
a.inNum=#{data.inNum},
</if>
<if test="(colPickMode==0 and data.containsKey('inNumIncrement')) or (colPickMode==1 and !data.containsKey('inNumIncrement'))">
a.inNum=ifnull(a.inNum,0) + #{data.inNumIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('createTime')) or (colPickMode==1 and !data.containsKey('createTime'))">
a.createTime=#{data.createTime},
</if>
<if test="(colPickMode==0 and data.containsKey('createUserId')) or (colPickMode==1 and !data.containsKey('createUserId'))">
a.createUserId=#{data.createUserId},
</if>
<if test="(colPickMode==0 and data.containsKey('createUserIdIncrement')) or (colPickMode==1 and !data.containsKey('createUserIdIncrement'))">
a.createUserId=ifnull(a.createUserId,0) + #{data.createUserIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime},
</if>
</trim>
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</update>
<!-- 批量更新 -->
<update id="updateBatch" parameterType="paramDto">
update mortals_sys_dept as a
<trim prefix="set" suffixOverrides=",">
<trim prefix="tid=(case" suffix="ELSE tid end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('tid')) or (colPickMode==1 and !item.containsKey('tid'))">
when a.id=#{item.id} then #{item.tid}
</if>
</foreach>
</trim>
<trim prefix="tname=(case" suffix="ELSE tname end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('tname')) or (colPickMode==1 and !item.containsKey('tname'))">
when a.id=#{item.id} then #{item.tname}
</if>
</foreach>
</trim>
<trim prefix="name=(case" suffix="ELSE name end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('name')) or (colPickMode==1 and !item.containsKey('name'))">
when a.id=#{item.id} then #{item.name}
</if>
</foreach>
</trim>
<trim prefix="simpleName=(case" suffix="ELSE simpleName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('simpleName')) or (colPickMode==1 and !item.containsKey('simpleName'))">
when a.id=#{item.id} then #{item.simpleName}
</if>
</foreach>
</trim>
<trim prefix="siteId=(case" suffix="ELSE siteId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('siteId')) or (colPickMode==1 and !item.containsKey('siteId'))">
when a.id=#{item.id} then #{item.siteId}
</when>
<when test="(colPickMode==0 and item.containsKey('siteIdIncrement')) or (colPickMode==1 and !item.containsKey('siteIdIncrement'))">
when a.id=#{item.id} then ifnull(a.siteId,0) + #{item.siteIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="deptAbb=(case" suffix="ELSE deptAbb end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deptAbb')) or (colPickMode==1 and !item.containsKey('deptAbb'))">
when a.id=#{item.id} then #{item.deptAbb}
</if>
</foreach>
</trim>
<trim prefix="deptTelphone=(case" suffix="ELSE deptTelphone end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deptTelphone')) or (colPickMode==1 and !item.containsKey('deptTelphone'))">
when a.id=#{item.id} then #{item.deptTelphone}
</if>
</foreach>
</trim>
<trim prefix="deptNumber=(case" suffix="ELSE deptNumber end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deptNumber')) or (colPickMode==1 and !item.containsKey('deptNumber'))">
when a.id=#{item.id} then #{item.deptNumber}
</if>
</foreach>
</trim>
<trim prefix="isAutotable=(case" suffix="ELSE isAutotable end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('isAutotable')) or (colPickMode==1 and !item.containsKey('isAutotable'))">
when a.id=#{item.id} then #{item.isAutotable}
</when>
<when test="(colPickMode==0 and item.containsKey('isAutotableIncrement')) or (colPickMode==1 and !item.containsKey('isAutotableIncrement'))">
when a.id=#{item.id} then ifnull(a.isAutotable,0) + #{item.isAutotableIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="isOrder=(case" suffix="ELSE isOrder end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('isOrder')) or (colPickMode==1 and !item.containsKey('isOrder'))">
when a.id=#{item.id} then #{item.isOrder}
</when>
<when test="(colPickMode==0 and item.containsKey('isOrderIncrement')) or (colPickMode==1 and !item.containsKey('isOrderIncrement'))">
when a.id=#{item.id} then ifnull(a.isOrder,0) + #{item.isOrderIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="isBkb=(case" suffix="ELSE isBkb end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('isBkb')) or (colPickMode==1 and !item.containsKey('isBkb'))">
when a.id=#{item.id} then #{item.isBkb}
</when>
<when test="(colPickMode==0 and item.containsKey('isBkbIncrement')) or (colPickMode==1 and !item.containsKey('isBkbIncrement'))">
when a.id=#{item.id} then ifnull(a.isBkb,0) + #{item.isBkbIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="isWorkGuide=(case" suffix="ELSE isWorkGuide end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('isWorkGuide')) or (colPickMode==1 and !item.containsKey('isWorkGuide'))">
when a.id=#{item.id} then #{item.isWorkGuide}
</when>
<when test="(colPickMode==0 and item.containsKey('isWorkGuideIncrement')) or (colPickMode==1 and !item.containsKey('isWorkGuideIncrement'))">
when a.id=#{item.id} then ifnull(a.isWorkGuide,0) + #{item.isWorkGuideIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="usValid=(case" suffix="ELSE usValid end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('usValid')) or (colPickMode==1 and !item.containsKey('usValid'))">
when a.id=#{item.id} then #{item.usValid}
</when>
<when test="(colPickMode==0 and item.containsKey('usValidIncrement')) or (colPickMode==1 and !item.containsKey('usValidIncrement'))">
when a.id=#{item.id} then ifnull(a.usValid,0) + #{item.usValidIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="isSecphone=(case" suffix="ELSE isSecphone end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('isSecphone')) or (colPickMode==1 and !item.containsKey('isSecphone'))">
when a.id=#{item.id} then #{item.isSecphone}
</when>
<when test="(colPickMode==0 and item.containsKey('isSecphoneIncrement')) or (colPickMode==1 and !item.containsKey('isSecphoneIncrement'))">
when a.id=#{item.id} then ifnull(a.isSecphone,0) + #{item.isSecphoneIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="isEnglish=(case" suffix="ELSE isEnglish end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('isEnglish')) or (colPickMode==1 and !item.containsKey('isEnglish'))">
when a.id=#{item.id} then #{item.isEnglish}
</when>
<when test="(colPickMode==0 and item.containsKey('isEnglishIncrement')) or (colPickMode==1 and !item.containsKey('isEnglishIncrement'))">
when a.id=#{item.id} then ifnull(a.isEnglish,0) + #{item.isEnglishIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="sort=(case" suffix="ELSE sort end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('sort')) or (colPickMode==1 and !item.containsKey('sort'))">
when a.id=#{item.id} then #{item.sort}
</when>
<when test="(colPickMode==0 and item.containsKey('sortIncrement')) or (colPickMode==1 and !item.containsKey('sortIncrement'))">
when a.id=#{item.id} then ifnull(a.sort,0) + #{item.sortIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="source=(case" suffix="ELSE source end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('source')) or (colPickMode==1 and !item.containsKey('source'))">
when a.id=#{item.id} then #{item.source}
</when>
<when test="(colPickMode==0 and item.containsKey('sourceIncrement')) or (colPickMode==1 and !item.containsKey('sourceIncrement'))">
when a.id=#{item.id} then ifnull(a.source,0) + #{item.sourceIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="total=(case" suffix="ELSE total end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('total')) or (colPickMode==1 and !item.containsKey('total'))">
when a.id=#{item.id} then #{item.total}
</when>
<when test="(colPickMode==0 and item.containsKey('totalIncrement')) or (colPickMode==1 and !item.containsKey('totalIncrement'))">
when a.id=#{item.id} then ifnull(a.total,0) + #{item.totalIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="inNum=(case" suffix="ELSE inNum end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('inNum')) or (colPickMode==1 and !item.containsKey('inNum'))">
when a.id=#{item.id} then #{item.inNum}
</when>
<when test="(colPickMode==0 and item.containsKey('inNumIncrement')) or (colPickMode==1 and !item.containsKey('inNumIncrement'))">
when a.id=#{item.id} then ifnull(a.inNum,0) + #{item.inNumIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime}
</if>
</foreach>
</trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime}
</if>
</foreach>
</trim>
</trim>
where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
#{item.id}
</foreach>
</update>
<!-- 根据主健查询 -->
<select id="getByKey" parameterType="paramDto" resultMap="DeptEntity-Map">
select <include refid="_columns"/>
from mortals_sys_dept as a
where a.id=#{condition.id}
</select>
<!-- 根据主健删除 -->
<delete id="deleteByKey" parameterType="paramDto">
delete a.* from mortals_sys_dept as a where a.id=#{condition.id}
</delete>
<!-- 根据主健删除一批,针对单一主健有效 -->
<delete id="deleteByKeys">
delete from mortals_sys_dept where id in
<foreach collection="array" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据主健列表删除一批,针对单一主健有效 -->
<delete id="deleteByKeyList">
delete from mortals_sys_dept where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据对象列表删除一批,针对单一主健有效 -->
<delete id="deleteByEntityList">
delete from mortals_sys_dept where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item.id}
</foreach>
</delete>
<!-- 根据paramDto删除一批 -->
<delete id="deleteByMap" parameterType="paramDto">
delete a.* from mortals_sys_dept as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</delete>
<!-- 获取列表 -->
<select id="getList" parameterType="paramDto" resultMap="DeptEntity-Map">
select <include refid="_columns"/>
from mortals_sys_dept as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
<include refid="_orderCols_"/>
</select>
<!-- 获取 -->
<select id="getListCount" parameterType="paramDto" resultType="int">
select count(1)
from mortals_sys_dept as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</select>
<!-- 条件映射 -->
<sql id="_condition_">
<if test="condition != null and !condition.isEmpty()">
<!-- 条件映射-普通条件 -->
<include refid="_condition_param_">
<property name="_conditionParam_" value="condition"/>
<property name="_conditionType_" value="and"/>
</include>
<!-- 条件映射-集合之间使用AND,集合中元素使用OR-(list[0].1 or list[0].2) and (list[1].3 or list[1].4) -->
<if test="condition.containsKey('andConditionList') and !condition.andConditionList.isEmpty()">
and
<foreach collection="condition.andConditionList" open="(" close=")" index="index" item="andCondition" separator=" and ">
<trim prefixOverrides="or" prefix="(" suffix=")">
<include refid="_condition_param_">
<property name="_conditionParam_" value="andCondition"/>
<property name="_conditionType_" value="or"/>
</include>
</trim>
</foreach>
</if>
<!-- 条件映射-集合之间使用OR,集合中元素使用AND-(list[0].1 and list[0].2) or (list[1].3 and list[1].4) -->
<if test="condition.containsKey('orConditionList') and !condition.orConditionList.isEmpty()">
and
<foreach collection="condition.orConditionList" open="(" close=")" index="index" item="orCondition" separator=" or ">
<trim prefixOverrides="and" prefix="(" suffix=")">
<include refid="_condition_param_">
<property name="_conditionParam_" value="orCondition"/>
<property name="_conditionType_" value="and"/>
</include>
</trim>
</foreach>
</if>
</if>
</sql>
<!-- 条件映射-代参数 -->
<sql id="_condition_param_">
<bind name="conditionParamRef" value="${_conditionParam_}"/>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null">
${_conditionType_} a.id=#{${_conditionParam_}.id}
</if>
</if>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('tid')">
<if test="conditionParamRef.tid != null and conditionParamRef.tid != ''">
${_conditionType_} a.tid like #{${_conditionParam_}.tid}
</if>
<if test="conditionParamRef.tid == null">
${_conditionType_} a.tid is null
</if>
</if>
<if test="conditionParamRef.containsKey('tidList') and conditionParamRef.tidList.size() > 0">
${_conditionType_} a.tid in
<foreach collection="conditionParamRef.tidList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('tidNotList') and conditionParamRef.tidNotList.size() > 0">
${_conditionType_} a.tid not in
<foreach collection="conditionParamRef.tidNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('tname')">
<if test="conditionParamRef.tname != null and conditionParamRef.tname != ''">
${_conditionType_} a.tname like #{${_conditionParam_}.tname}
</if>
<if test="conditionParamRef.tname == null">
${_conditionType_} a.tname is null
</if>
</if>
<if test="conditionParamRef.containsKey('tnameList') and conditionParamRef.tnameList.size() > 0">
${_conditionType_} a.tname in
<foreach collection="conditionParamRef.tnameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('tnameNotList') and conditionParamRef.tnameNotList.size() > 0">
${_conditionType_} a.tname not in
<foreach collection="conditionParamRef.tnameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('name')">
<if test="conditionParamRef.name != null and conditionParamRef.name != ''">
${_conditionType_} a.name like #{${_conditionParam_}.name}
</if>
<if test="conditionParamRef.name == null">
${_conditionType_} a.name is null
</if>
</if>
<if test="conditionParamRef.containsKey('nameList') and conditionParamRef.nameList.size() > 0">
${_conditionType_} a.name in
<foreach collection="conditionParamRef.nameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('nameNotList') and conditionParamRef.nameNotList.size() > 0">
${_conditionType_} a.name not in
<foreach collection="conditionParamRef.nameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('simpleName')">
<if test="conditionParamRef.simpleName != null and conditionParamRef.simpleName != ''">
${_conditionType_} a.simpleName like #{${_conditionParam_}.simpleName}
</if>
<if test="conditionParamRef.simpleName == null">
${_conditionType_} a.simpleName is null
</if>
</if>
<if test="conditionParamRef.containsKey('simpleNameList') and conditionParamRef.simpleNameList.size() > 0">
${_conditionType_} a.simpleName in
<foreach collection="conditionParamRef.simpleNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('simpleNameNotList') and conditionParamRef.simpleNameNotList.size() > 0">
${_conditionType_} a.simpleName not in
<foreach collection="conditionParamRef.simpleNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteId')">
<if test="conditionParamRef.siteId != null ">
${_conditionType_} a.siteId = #{${_conditionParam_}.siteId}
</if>
<if test="conditionParamRef.siteId == null">
${_conditionType_} a.siteId is null
</if>
</if>
<if test="conditionParamRef.containsKey('siteIdList') and conditionParamRef.siteIdList.size() > 0">
${_conditionType_} a.siteId in
<foreach collection="conditionParamRef.siteIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteIdNotList') and conditionParamRef.siteIdNotList.size() > 0">
${_conditionType_} a.siteId not in
<foreach collection="conditionParamRef.siteIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteIdStart') and conditionParamRef.siteIdStart != null">
${_conditionType_} a.siteId <![CDATA[ >= ]]> #{${_conditionParam_}.siteIdStart}
</if>
<if test="conditionParamRef.containsKey('siteIdEnd') and conditionParamRef.siteIdEnd != null">
${_conditionType_} a.siteId <![CDATA[ <= ]]> #{${_conditionParam_}.siteIdEnd}
</if>
<if test="conditionParamRef.containsKey('deptAbb')">
<if test="conditionParamRef.deptAbb != null and conditionParamRef.deptAbb != ''">
${_conditionType_} a.deptAbb like #{${_conditionParam_}.deptAbb}
</if>
<if test="conditionParamRef.deptAbb == null">
${_conditionType_} a.deptAbb is null
</if>
</if>
<if test="conditionParamRef.containsKey('deptAbbList') and conditionParamRef.deptAbbList.size() > 0">
${_conditionType_} a.deptAbb in
<foreach collection="conditionParamRef.deptAbbList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptAbbNotList') and conditionParamRef.deptAbbNotList.size() > 0">
${_conditionType_} a.deptAbb not in
<foreach collection="conditionParamRef.deptAbbNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptTelphone')">
<if test="conditionParamRef.deptTelphone != null and conditionParamRef.deptTelphone != ''">
${_conditionType_} a.deptTelphone like #{${_conditionParam_}.deptTelphone}
</if>
<if test="conditionParamRef.deptTelphone == null">
${_conditionType_} a.deptTelphone is null
</if>
</if>
<if test="conditionParamRef.containsKey('deptTelphoneList') and conditionParamRef.deptTelphoneList.size() > 0">
${_conditionType_} a.deptTelphone in
<foreach collection="conditionParamRef.deptTelphoneList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptTelphoneNotList') and conditionParamRef.deptTelphoneNotList.size() > 0">
${_conditionType_} a.deptTelphone not in
<foreach collection="conditionParamRef.deptTelphoneNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptNumber')">
<if test="conditionParamRef.deptNumber != null and conditionParamRef.deptNumber != ''">
${_conditionType_} a.deptNumber like #{${_conditionParam_}.deptNumber}
</if>
<if test="conditionParamRef.deptNumber == null">
${_conditionType_} a.deptNumber is null
</if>
</if>
<if test="conditionParamRef.containsKey('deptNumberList') and conditionParamRef.deptNumberList.size() > 0">
${_conditionType_} a.deptNumber in
<foreach collection="conditionParamRef.deptNumberList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptNumberNotList') and conditionParamRef.deptNumberNotList.size() > 0">
${_conditionType_} a.deptNumber not in
<foreach collection="conditionParamRef.deptNumberNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isAutotable')">
<if test="conditionParamRef.isAutotable != null ">
${_conditionType_} a.isAutotable = #{${_conditionParam_}.isAutotable}
</if>
<if test="conditionParamRef.isAutotable == null">
${_conditionType_} a.isAutotable is null
</if>
</if>
<if test="conditionParamRef.containsKey('isAutotableList') and conditionParamRef.isAutotableList.size() > 0">
${_conditionType_} a.isAutotable in
<foreach collection="conditionParamRef.isAutotableList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isAutotableNotList') and conditionParamRef.isAutotableNotList.size() > 0">
${_conditionType_} a.isAutotable not in
<foreach collection="conditionParamRef.isAutotableNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isAutotableStart') and conditionParamRef.isAutotableStart != null">
${_conditionType_} a.isAutotable <![CDATA[ >= ]]> #{${_conditionParam_}.isAutotableStart}
</if>
<if test="conditionParamRef.containsKey('isAutotableEnd') and conditionParamRef.isAutotableEnd != null">
${_conditionType_} a.isAutotable <![CDATA[ <= ]]> #{${_conditionParam_}.isAutotableEnd}
</if>
<if test="conditionParamRef.containsKey('isOrder')">
<if test="conditionParamRef.isOrder != null ">
${_conditionType_} a.isOrder = #{${_conditionParam_}.isOrder}
</if>
<if test="conditionParamRef.isOrder == null">
${_conditionType_} a.isOrder is null
</if>
</if>
<if test="conditionParamRef.containsKey('isOrderList') and conditionParamRef.isOrderList.size() > 0">
${_conditionType_} a.isOrder in
<foreach collection="conditionParamRef.isOrderList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isOrderNotList') and conditionParamRef.isOrderNotList.size() > 0">
${_conditionType_} a.isOrder not in
<foreach collection="conditionParamRef.isOrderNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isOrderStart') and conditionParamRef.isOrderStart != null">
${_conditionType_} a.isOrder <![CDATA[ >= ]]> #{${_conditionParam_}.isOrderStart}
</if>
<if test="conditionParamRef.containsKey('isOrderEnd') and conditionParamRef.isOrderEnd != null">
${_conditionType_} a.isOrder <![CDATA[ <= ]]> #{${_conditionParam_}.isOrderEnd}
</if>
<if test="conditionParamRef.containsKey('isBkb')">
<if test="conditionParamRef.isBkb != null ">
${_conditionType_} a.isBkb = #{${_conditionParam_}.isBkb}
</if>
<if test="conditionParamRef.isBkb == null">
${_conditionType_} a.isBkb is null
</if>
</if>
<if test="conditionParamRef.containsKey('isBkbList') and conditionParamRef.isBkbList.size() > 0">
${_conditionType_} a.isBkb in
<foreach collection="conditionParamRef.isBkbList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isBkbNotList') and conditionParamRef.isBkbNotList.size() > 0">
${_conditionType_} a.isBkb not in
<foreach collection="conditionParamRef.isBkbNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isBkbStart') and conditionParamRef.isBkbStart != null">
${_conditionType_} a.isBkb <![CDATA[ >= ]]> #{${_conditionParam_}.isBkbStart}
</if>
<if test="conditionParamRef.containsKey('isBkbEnd') and conditionParamRef.isBkbEnd != null">
${_conditionType_} a.isBkb <![CDATA[ <= ]]> #{${_conditionParam_}.isBkbEnd}
</if>
<if test="conditionParamRef.containsKey('isWorkGuide')">
<if test="conditionParamRef.isWorkGuide != null ">
${_conditionType_} a.isWorkGuide = #{${_conditionParam_}.isWorkGuide}
</if>
<if test="conditionParamRef.isWorkGuide == null">
${_conditionType_} a.isWorkGuide is null
</if>
</if>
<if test="conditionParamRef.containsKey('isWorkGuideList') and conditionParamRef.isWorkGuideList.size() > 0">
${_conditionType_} a.isWorkGuide in
<foreach collection="conditionParamRef.isWorkGuideList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isWorkGuideNotList') and conditionParamRef.isWorkGuideNotList.size() > 0">
${_conditionType_} a.isWorkGuide not in
<foreach collection="conditionParamRef.isWorkGuideNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isWorkGuideStart') and conditionParamRef.isWorkGuideStart != null">
${_conditionType_} a.isWorkGuide <![CDATA[ >= ]]> #{${_conditionParam_}.isWorkGuideStart}
</if>
<if test="conditionParamRef.containsKey('isWorkGuideEnd') and conditionParamRef.isWorkGuideEnd != null">
${_conditionType_} a.isWorkGuide <![CDATA[ <= ]]> #{${_conditionParam_}.isWorkGuideEnd}
</if>
<if test="conditionParamRef.containsKey('usValid')">
<if test="conditionParamRef.usValid != null ">
${_conditionType_} a.usValid = #{${_conditionParam_}.usValid}
</if>
<if test="conditionParamRef.usValid == null">
${_conditionType_} a.usValid is null
</if>
</if>
<if test="conditionParamRef.containsKey('usValidList') and conditionParamRef.usValidList.size() > 0">
${_conditionType_} a.usValid in
<foreach collection="conditionParamRef.usValidList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('usValidNotList') and conditionParamRef.usValidNotList.size() > 0">
${_conditionType_} a.usValid not in
<foreach collection="conditionParamRef.usValidNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('usValidStart') and conditionParamRef.usValidStart != null">
${_conditionType_} a.usValid <![CDATA[ >= ]]> #{${_conditionParam_}.usValidStart}
</if>
<if test="conditionParamRef.containsKey('usValidEnd') and conditionParamRef.usValidEnd != null">
${_conditionType_} a.usValid <![CDATA[ <= ]]> #{${_conditionParam_}.usValidEnd}
</if>
<if test="conditionParamRef.containsKey('isSecphone')">
<if test="conditionParamRef.isSecphone != null ">
${_conditionType_} a.isSecphone = #{${_conditionParam_}.isSecphone}
</if>
<if test="conditionParamRef.isSecphone == null">
${_conditionType_} a.isSecphone is null
</if>
</if>
<if test="conditionParamRef.containsKey('isSecphoneList') and conditionParamRef.isSecphoneList.size() > 0">
${_conditionType_} a.isSecphone in
<foreach collection="conditionParamRef.isSecphoneList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isSecphoneNotList') and conditionParamRef.isSecphoneNotList.size() > 0">
${_conditionType_} a.isSecphone not in
<foreach collection="conditionParamRef.isSecphoneNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isSecphoneStart') and conditionParamRef.isSecphoneStart != null">
${_conditionType_} a.isSecphone <![CDATA[ >= ]]> #{${_conditionParam_}.isSecphoneStart}
</if>
<if test="conditionParamRef.containsKey('isSecphoneEnd') and conditionParamRef.isSecphoneEnd != null">
${_conditionType_} a.isSecphone <![CDATA[ <= ]]> #{${_conditionParam_}.isSecphoneEnd}
</if>
<if test="conditionParamRef.containsKey('isEnglish')">
<if test="conditionParamRef.isEnglish != null ">
${_conditionType_} a.isEnglish = #{${_conditionParam_}.isEnglish}
</if>
<if test="conditionParamRef.isEnglish == null">
${_conditionType_} a.isEnglish is null
</if>
</if>
<if test="conditionParamRef.containsKey('isEnglishList') and conditionParamRef.isEnglishList.size() > 0">
${_conditionType_} a.isEnglish in
<foreach collection="conditionParamRef.isEnglishList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isEnglishNotList') and conditionParamRef.isEnglishNotList.size() > 0">
${_conditionType_} a.isEnglish not in
<foreach collection="conditionParamRef.isEnglishNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isEnglishStart') and conditionParamRef.isEnglishStart != null">
${_conditionType_} a.isEnglish <![CDATA[ >= ]]> #{${_conditionParam_}.isEnglishStart}
</if>
<if test="conditionParamRef.containsKey('isEnglishEnd') and conditionParamRef.isEnglishEnd != null">
${_conditionType_} a.isEnglish <![CDATA[ <= ]]> #{${_conditionParam_}.isEnglishEnd}
</if>
<if test="conditionParamRef.containsKey('sort')">
<if test="conditionParamRef.sort != null ">
${_conditionType_} a.sort = #{${_conditionParam_}.sort}
</if>
<if test="conditionParamRef.sort == null">
${_conditionType_} a.sort is null
</if>
</if>
<if test="conditionParamRef.containsKey('sortList') and conditionParamRef.sortList.size() > 0">
${_conditionType_} a.sort in
<foreach collection="conditionParamRef.sortList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sortNotList') and conditionParamRef.sortNotList.size() > 0">
${_conditionType_} a.sort not in
<foreach collection="conditionParamRef.sortNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sortStart') and conditionParamRef.sortStart != null">
${_conditionType_} a.sort <![CDATA[ >= ]]> #{${_conditionParam_}.sortStart}
</if>
<if test="conditionParamRef.containsKey('sortEnd') and conditionParamRef.sortEnd != null">
${_conditionType_} a.sort <![CDATA[ <= ]]> #{${_conditionParam_}.sortEnd}
</if>
<if test="conditionParamRef.containsKey('source')">
<if test="conditionParamRef.source != null ">
${_conditionType_} a.source = #{${_conditionParam_}.source}
</if>
<if test="conditionParamRef.source == null">
${_conditionType_} a.source is null
</if>
</if>
<if test="conditionParamRef.containsKey('sourceList') and conditionParamRef.sourceList.size() > 0">
${_conditionType_} a.source in
<foreach collection="conditionParamRef.sourceList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sourceNotList') and conditionParamRef.sourceNotList.size() > 0">
${_conditionType_} a.source not in
<foreach collection="conditionParamRef.sourceNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sourceStart') and conditionParamRef.sourceStart != null">
${_conditionType_} a.source <![CDATA[ >= ]]> #{${_conditionParam_}.sourceStart}
</if>
<if test="conditionParamRef.containsKey('sourceEnd') and conditionParamRef.sourceEnd != null">
${_conditionType_} a.source <![CDATA[ <= ]]> #{${_conditionParam_}.sourceEnd}
</if>
<if test="conditionParamRef.containsKey('total')">
<if test="conditionParamRef.total != null ">
${_conditionType_} a.total = #{${_conditionParam_}.total}
</if>
<if test="conditionParamRef.total == null">
${_conditionType_} a.total is null
</if>
</if>
<if test="conditionParamRef.containsKey('totalList') and conditionParamRef.totalList.size() > 0">
${_conditionType_} a.total in
<foreach collection="conditionParamRef.totalList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('totalNotList') and conditionParamRef.totalNotList.size() > 0">
${_conditionType_} a.total not in
<foreach collection="conditionParamRef.totalNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('totalStart') and conditionParamRef.totalStart != null">
${_conditionType_} a.total <![CDATA[ >= ]]> #{${_conditionParam_}.totalStart}
</if>
<if test="conditionParamRef.containsKey('totalEnd') and conditionParamRef.totalEnd != null">
${_conditionType_} a.total <![CDATA[ <= ]]> #{${_conditionParam_}.totalEnd}
</if>
<if test="conditionParamRef.containsKey('inNum')">
<if test="conditionParamRef.inNum != null ">
${_conditionType_} a.inNum = #{${_conditionParam_}.inNum}
</if>
<if test="conditionParamRef.inNum == null">
${_conditionType_} a.inNum is null
</if>
</if>
<if test="conditionParamRef.containsKey('inNumList') and conditionParamRef.inNumList.size() > 0">
${_conditionType_} a.inNum in
<foreach collection="conditionParamRef.inNumList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('inNumNotList') and conditionParamRef.inNumNotList.size() > 0">
${_conditionType_} a.inNum not in
<foreach collection="conditionParamRef.inNumNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('inNumStart') and conditionParamRef.inNumStart != null">
${_conditionType_} a.inNum <![CDATA[ >= ]]> #{${_conditionParam_}.inNumStart}
</if>
<if test="conditionParamRef.containsKey('inNumEnd') and conditionParamRef.inNumEnd != null">
${_conditionType_} a.inNum <![CDATA[ <= ]]> #{${_conditionParam_}.inNumEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('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('siteIdList') and conditionParamRef.siteIdList.size() > 0">
field(a.siteId,
<foreach collection="conditionParamRef.siteIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('isAutotableList') and conditionParamRef.isAutotableList.size() > 0">
field(a.isAutotable,
<foreach collection="conditionParamRef.isAutotableList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('isOrderList') and conditionParamRef.isOrderList.size() > 0">
field(a.isOrder,
<foreach collection="conditionParamRef.isOrderList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('isBkbList') and conditionParamRef.isBkbList.size() > 0">
field(a.isBkb,
<foreach collection="conditionParamRef.isBkbList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('isWorkGuideList') and conditionParamRef.isWorkGuideList.size() > 0">
field(a.isWorkGuide,
<foreach collection="conditionParamRef.isWorkGuideList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('usValidList') and conditionParamRef.usValidList.size() > 0">
field(a.usValid,
<foreach collection="conditionParamRef.usValidList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('isSecphoneList') and conditionParamRef.isSecphoneList.size() > 0">
field(a.isSecphone,
<foreach collection="conditionParamRef.isSecphoneList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('isEnglishList') and conditionParamRef.isEnglishList.size() > 0">
field(a.isEnglish,
<foreach collection="conditionParamRef.isEnglishList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('sortList') and conditionParamRef.sortList.size() > 0">
field(a.sort,
<foreach collection="conditionParamRef.sortList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('sourceList') and conditionParamRef.sourceList.size() > 0">
field(a.source,
<foreach collection="conditionParamRef.sourceList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('totalList') and conditionParamRef.totalList.size() > 0">
field(a.total,
<foreach collection="conditionParamRef.totalList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('inNumList') and conditionParamRef.inNumList.size() > 0">
field(a.inNum,
<foreach collection="conditionParamRef.inNumList" 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>
<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('siteIdList') and conditionParamRef.siteIdList.size() > 0">
field(a.siteId,
<foreach collection="conditionParamRef.siteIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('isAutotableList') and conditionParamRef.isAutotableList.size() > 0">
field(a.isAutotable,
<foreach collection="conditionParamRef.isAutotableList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('isOrderList') and conditionParamRef.isOrderList.size() > 0">
field(a.isOrder,
<foreach collection="conditionParamRef.isOrderList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('isBkbList') and conditionParamRef.isBkbList.size() > 0">
field(a.isBkb,
<foreach collection="conditionParamRef.isBkbList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('isWorkGuideList') and conditionParamRef.isWorkGuideList.size() > 0">
field(a.isWorkGuide,
<foreach collection="conditionParamRef.isWorkGuideList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('usValidList') and conditionParamRef.usValidList.size() > 0">
field(a.usValid,
<foreach collection="conditionParamRef.usValidList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('isSecphoneList') and conditionParamRef.isSecphoneList.size() > 0">
field(a.isSecphone,
<foreach collection="conditionParamRef.isSecphoneList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('isEnglishList') and conditionParamRef.isEnglishList.size() > 0">
field(a.isEnglish,
<foreach collection="conditionParamRef.isEnglishList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('sortList') and conditionParamRef.sortList.size() > 0">
field(a.sort,
<foreach collection="conditionParamRef.sortList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('sourceList') and conditionParamRef.sourceList.size() > 0">
field(a.source,
<foreach collection="conditionParamRef.sourceList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('totalList') and conditionParamRef.totalList.size() > 0">
field(a.total,
<foreach collection="conditionParamRef.totalList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('inNumList') and conditionParamRef.inNumList.size() > 0">
field(a.inNum,
<foreach collection="conditionParamRef.inNumList" 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>
<trim suffixOverrides="," suffix="">
<if test="orderCol.containsKey('id')">
a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('tid')">
a.tid
<if test='orderCol.tid != null and "DESC".equalsIgnoreCase(orderCol.tid)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('tname')">
a.tname
<if test='orderCol.tname != null and "DESC".equalsIgnoreCase(orderCol.tname)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('name')">
a.name
<if test='orderCol.name != null and "DESC".equalsIgnoreCase(orderCol.name)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('simpleName')">
a.simpleName
<if test='orderCol.simpleName != null and "DESC".equalsIgnoreCase(orderCol.simpleName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('siteId')">
a.siteId
<if test='orderCol.siteId != null and "DESC".equalsIgnoreCase(orderCol.siteId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptAbb')">
a.deptAbb
<if test='orderCol.deptAbb != null and "DESC".equalsIgnoreCase(orderCol.deptAbb)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptTelphone')">
a.deptTelphone
<if test='orderCol.deptTelphone != null and "DESC".equalsIgnoreCase(orderCol.deptTelphone)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptNumber')">
a.deptNumber
<if test='orderCol.deptNumber != null and "DESC".equalsIgnoreCase(orderCol.deptNumber)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('isAutotable')">
a.isAutotable
<if test='orderCol.isAutotable != null and "DESC".equalsIgnoreCase(orderCol.isAutotable)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('isOrder')">
a.isOrder
<if test='orderCol.isOrder != null and "DESC".equalsIgnoreCase(orderCol.isOrder)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('isBkb')">
a.isBkb
<if test='orderCol.isBkb != null and "DESC".equalsIgnoreCase(orderCol.isBkb)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('isWorkGuide')">
a.isWorkGuide
<if test='orderCol.isWorkGuide != null and "DESC".equalsIgnoreCase(orderCol.isWorkGuide)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('usValid')">
a.usValid
<if test='orderCol.usValid != null and "DESC".equalsIgnoreCase(orderCol.usValid)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('isSecphone')">
a.isSecphone
<if test='orderCol.isSecphone != null and "DESC".equalsIgnoreCase(orderCol.isSecphone)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('isEnglish')">
a.isEnglish
<if test='orderCol.isEnglish != null and "DESC".equalsIgnoreCase(orderCol.isEnglish)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('sort')">
a.sort
<if test='orderCol.sort != null and "DESC".equalsIgnoreCase(orderCol.sort)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('source')">
a.source
<if test='orderCol.source != null and "DESC".equalsIgnoreCase(orderCol.source)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('total')">
a.total
<if test='orderCol.total != null and "DESC".equalsIgnoreCase(orderCol.total)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('inNum')">
a.inNum
<if test='orderCol.inNum != null and "DESC".equalsIgnoreCase(orderCol.inNum)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
</trim>
</if>
</sql>
<sql id="_group_by_">
<if test="groupList != null and !groupList.isEmpty()">
GROUP BY
<trim suffixOverrides="," suffix="">
<foreach collection="groupList" open="" close="" index="index" item="item" separator=",">
${item}
</foreach>
</trim>
</if>
</sql>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.dept.dao.ibatis.DeptDaoImpl">
<!-- 字段和属性映射 -->
<resultMap type="com.mortals.xhx.module.dept.model.vo.DeptVo" id="DeptVo-Map">
<id property="id" column="id"/>
<result property="name" column="name"/>
<result property="deptNumber" column="deptNumber"/>
<result property="windowId" column="windowId"/>
<result property="windowName" column="windowName"/>
<result property="siteBusinessId" column="siteBusinessId"/>
<result property="businessName" column="businessName"/>
</resultMap>
<!-- 根据业务ids获取部门列表 -->
<select id="getDeptListByBusiness" parameterType="paramDto" resultMap="DeptVo-Map">
SELECT
d.id,d.`name`,d.deptNumber,wb.siteBusinessId,wb.businessName,w.id as windowId,w.`name` as windowName
FROM
mortals_sys_dept d
LEFT JOIN mortals_sys_window w ON d.id = w.deptId
LEFT JOIN mortals_sys_window_business wb ON w.id = wb.windowId
<trim suffixOverrides="where" suffix="">
where wb.windowId is NOT null and
<trim prefixOverrides="and" prefix="">
<if test="condition.containsKey('siteBusinessIdList')">
siteBusinessId in
<foreach collection="condition.siteBusinessIdList" open="(" close=")" index="index"
item="item" separator=",">
#{item}
</foreach>
</if>
</trim>
</trim>
</select>
<!-- 根据部门ids获取业务部门列表 -->
<select id="getBusinessByDept" parameterType="paramDto" resultMap="DeptVo-Map">
SELECT
d.id,d.`name`,d.deptNumber,wb.siteBusinessId,wb.businessName,w.id as windowId,w.`name` as windowName
FROM
mortals_sys_dept d
LEFT JOIN mortals_sys_window w ON d.id = w.deptId
LEFT JOIN mortals_sys_window_business wb ON w.id = wb.windowId
<trim suffixOverrides="where" suffix="">
where wb.windowId is NOT null and
<trim prefixOverrides="and" prefix="">
<if test="condition.containsKey('idList')">
d.id in
<foreach collection="condition.idList" open="(" close=")" index="index"
item="item" separator=",">
#{item}
</foreach>
</if>
</trim>
</trim>
</select>
<!-- 获取所有存在业务的部门列表 -->
<select id="getDeptListByExistBusiness" parameterType="paramDto" resultMap="DeptEntity-Map">
SELECT DISTINCT
<include refid="_columns"/>
FROM
mortals_sys_dept a,
mortals_sys_window t1,
mortals_sys_window_business t2
WHERE
a.id = t1.deptId
AND t1.id = t2.windowId and
<trim prefixOverrides="and" prefix="">
<if test="condition.siteId!=null">
a.siteId = #{condition.siteId}
</if>
</trim>
</select>
</mapper>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.site.dao.ibatis.SiteMatterDaoImpl">
<!-- 字段和属性映射 -->
<resultMap type="SiteMatterEntity" id="SiteMatterEntity-Map">
<id property="id" column="id" />
<result property="siteId" column="siteId" />
<result property="siteName" column="siteName" />
<result property="matterId" column="matterId" />
<result property="matterName" column="matterName" />
<result property="matterCode" column="matterCode" />
<result property="deptId" column="deptId" />
<result property="deptName" column="deptName" />
<result property="eventTypeShow" column="eventTypeShow" />
<result property="source" column="source" />
<result property="hot" column="hot" />
<result property="display" column="display" />
<result property="deptCode" column="deptCode" />
<result property="agent" column="agent" />
<result property="agentName" column="agentName" />
<result property="agentPhone" column="agentPhone" />
<result property="agentPost" column="agentPost" />
<result property="hallCheckIn" column="hallCheckIn" />
<result property="createTime" column="createTime" />
<result property="createUserId" column="createUserId" />
<result property="updateTime" column="updateTime" />
</resultMap>
<!-- 表所有列 -->
<sql id="_columns">
<trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteId') or colPickMode == 1 and data.containsKey('siteId')))">
a.siteId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteName') or colPickMode == 1 and data.containsKey('siteName')))">
a.siteName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterId') or colPickMode == 1 and data.containsKey('matterId')))">
a.matterId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterName') or colPickMode == 1 and data.containsKey('matterName')))">
a.matterName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterCode') or colPickMode == 1 and data.containsKey('matterCode')))">
a.matterCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))">
a.deptId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))">
a.deptName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('eventTypeShow') or colPickMode == 1 and data.containsKey('eventTypeShow')))">
a.eventTypeShow,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('source') or colPickMode == 1 and data.containsKey('source')))">
a.source,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('hot') or colPickMode == 1 and data.containsKey('hot')))">
a.hot,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('display') or colPickMode == 1 and data.containsKey('display')))">
a.display,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptCode') or colPickMode == 1 and data.containsKey('deptCode')))">
a.deptCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('agent') or colPickMode == 1 and data.containsKey('agent')))">
a.agent,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('agentName') or colPickMode == 1 and data.containsKey('agentName')))">
a.agentName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('agentPhone') or colPickMode == 1 and data.containsKey('agentPhone')))">
a.agentPhone,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('agentPost') or colPickMode == 1 and data.containsKey('agentPost')))">
a.agentPost,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('hallCheckIn') or colPickMode == 1 and data.containsKey('hallCheckIn')))">
a.hallCheckIn,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
</trim>
</sql>
<!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="SiteMatterEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_sys_site_matter
(siteId,siteName,matterId,matterName,matterCode,deptId,deptName,eventTypeShow,source,hot,display,deptCode,agent,agentName,agentPhone,agentPost,hallCheckIn,createTime,createUserId,updateTime)
VALUES
(#{siteId},#{siteName},#{matterId},#{matterName},#{matterCode},#{deptId},#{deptName},#{eventTypeShow},#{source},#{hot},#{display},#{deptCode},#{agent},#{agentName},#{agentPhone},#{agentPost},#{hallCheckIn},#{createTime},#{createUserId},#{updateTime})
</insert>
<!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto">
insert into mortals_sys_site_matter
(siteId,siteName,matterId,matterName,matterCode,deptId,deptName,eventTypeShow,source,hot,display,deptCode,agent,agentName,agentPhone,agentPost,hallCheckIn,createTime,createUserId,updateTime)
VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.siteId},#{item.siteName},#{item.matterId},#{item.matterName},#{item.matterCode},#{item.deptId},#{item.deptName},#{item.eventTypeShow},#{item.source},#{item.hot},#{item.display},#{item.deptCode},#{item.agent},#{item.agentName},#{item.agentPhone},#{item.agentPost},#{item.hallCheckIn},#{item.createTime},#{item.createUserId},#{item.updateTime})
</foreach>
</insert>
<!-- 根据ParamDto更新 -->
<update id="update" parameterType="paramDto">
update mortals_sys_site_matter as a
set
<trim suffixOverrides="," suffix="">
<if test="(colPickMode==0 and data.containsKey('siteId')) or (colPickMode==1 and !data.containsKey('siteId'))">
a.siteId=#{data.siteId},
</if>
<if test="(colPickMode==0 and data.containsKey('siteIdIncrement')) or (colPickMode==1 and !data.containsKey('siteIdIncrement'))">
a.siteId=ifnull(a.siteId,0) + #{data.siteIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('siteName')) or (colPickMode==1 and !data.containsKey('siteName'))">
a.siteName=#{data.siteName},
</if>
<if test="(colPickMode==0 and data.containsKey('matterId')) or (colPickMode==1 and !data.containsKey('matterId'))">
a.matterId=#{data.matterId},
</if>
<if test="(colPickMode==0 and data.containsKey('matterIdIncrement')) or (colPickMode==1 and !data.containsKey('matterIdIncrement'))">
a.matterId=ifnull(a.matterId,0) + #{data.matterIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('matterName')) or (colPickMode==1 and !data.containsKey('matterName'))">
a.matterName=#{data.matterName},
</if>
<if test="(colPickMode==0 and data.containsKey('matterCode')) or (colPickMode==1 and !data.containsKey('matterCode'))">
a.matterCode=#{data.matterCode},
</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>
<if test="(colPickMode==0 and data.containsKey('eventTypeShow')) or (colPickMode==1 and !data.containsKey('eventTypeShow'))">
a.eventTypeShow=#{data.eventTypeShow},
</if>
<if test="(colPickMode==0 and data.containsKey('source')) or (colPickMode==1 and !data.containsKey('source'))">
a.source=#{data.source},
</if>
<if test="(colPickMode==0 and data.containsKey('sourceIncrement')) or (colPickMode==1 and !data.containsKey('sourceIncrement'))">
a.source=ifnull(a.source,0) + #{data.sourceIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('hot')) or (colPickMode==1 and !data.containsKey('hot'))">
a.hot=#{data.hot},
</if>
<if test="(colPickMode==0 and data.containsKey('hotIncrement')) or (colPickMode==1 and !data.containsKey('hotIncrement'))">
a.hot=ifnull(a.hot,0) + #{data.hotIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('display')) or (colPickMode==1 and !data.containsKey('display'))">
a.display=#{data.display},
</if>
<if test="(colPickMode==0 and data.containsKey('displayIncrement')) or (colPickMode==1 and !data.containsKey('displayIncrement'))">
a.display=ifnull(a.display,0) + #{data.displayIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('deptCode')) or (colPickMode==1 and !data.containsKey('deptCode'))">
a.deptCode=#{data.deptCode},
</if>
<if test="(colPickMode==0 and data.containsKey('agent')) or (colPickMode==1 and !data.containsKey('agent'))">
a.agent=#{data.agent},
</if>
<if test="(colPickMode==0 and data.containsKey('agentIncrement')) or (colPickMode==1 and !data.containsKey('agentIncrement'))">
a.agent=ifnull(a.agent,0) + #{data.agentIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('agentName')) or (colPickMode==1 and !data.containsKey('agentName'))">
a.agentName=#{data.agentName},
</if>
<if test="(colPickMode==0 and data.containsKey('agentPhone')) or (colPickMode==1 and !data.containsKey('agentPhone'))">
a.agentPhone=#{data.agentPhone},
</if>
<if test="(colPickMode==0 and data.containsKey('agentPost')) or (colPickMode==1 and !data.containsKey('agentPost'))">
a.agentPost=#{data.agentPost},
</if>
<if test="(colPickMode==0 and data.containsKey('hallCheckIn')) or (colPickMode==1 and !data.containsKey('hallCheckIn'))">
a.hallCheckIn=#{data.hallCheckIn},
</if>
<if test="(colPickMode==0 and data.containsKey('hallCheckInIncrement')) or (colPickMode==1 and !data.containsKey('hallCheckInIncrement'))">
a.hallCheckIn=ifnull(a.hallCheckIn,0) + #{data.hallCheckInIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('createTime')) or (colPickMode==1 and !data.containsKey('createTime'))">
a.createTime=#{data.createTime},
</if>
<if test="(colPickMode==0 and data.containsKey('createUserId')) or (colPickMode==1 and !data.containsKey('createUserId'))">
a.createUserId=#{data.createUserId},
</if>
<if test="(colPickMode==0 and data.containsKey('createUserIdIncrement')) or (colPickMode==1 and !data.containsKey('createUserIdIncrement'))">
a.createUserId=ifnull(a.createUserId,0) + #{data.createUserIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime},
</if>
</trim>
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</update>
<!-- 批量更新 -->
<update id="updateBatch" parameterType="paramDto">
update mortals_sys_site_matter as a
<trim prefix="set" suffixOverrides=",">
<trim prefix="siteId=(case" suffix="ELSE siteId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('siteId')) or (colPickMode==1 and !item.containsKey('siteId'))">
when a.id=#{item.id} then #{item.siteId}
</when>
<when test="(colPickMode==0 and item.containsKey('siteIdIncrement')) or (colPickMode==1 and !item.containsKey('siteIdIncrement'))">
when a.id=#{item.id} then ifnull(a.siteId,0) + #{item.siteIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="siteName=(case" suffix="ELSE siteName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('siteName')) or (colPickMode==1 and !item.containsKey('siteName'))">
when a.id=#{item.id} then #{item.siteName}
</if>
</foreach>
</trim>
<trim prefix="matterId=(case" suffix="ELSE matterId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('matterId')) or (colPickMode==1 and !item.containsKey('matterId'))">
when a.id=#{item.id} then #{item.matterId}
</when>
<when test="(colPickMode==0 and item.containsKey('matterIdIncrement')) or (colPickMode==1 and !item.containsKey('matterIdIncrement'))">
when a.id=#{item.id} then ifnull(a.matterId,0) + #{item.matterIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="matterName=(case" suffix="ELSE matterName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('matterName')) or (colPickMode==1 and !item.containsKey('matterName'))">
when a.id=#{item.id} then #{item.matterName}
</if>
</foreach>
</trim>
<trim prefix="matterCode=(case" suffix="ELSE matterCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('matterCode')) or (colPickMode==1 and !item.containsKey('matterCode'))">
when a.id=#{item.id} then #{item.matterCode}
</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 prefix="eventTypeShow=(case" suffix="ELSE eventTypeShow end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('eventTypeShow')) or (colPickMode==1 and !item.containsKey('eventTypeShow'))">
when a.id=#{item.id} then #{item.eventTypeShow}
</if>
</foreach>
</trim>
<trim prefix="source=(case" suffix="ELSE source end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('source')) or (colPickMode==1 and !item.containsKey('source'))">
when a.id=#{item.id} then #{item.source}
</when>
<when test="(colPickMode==0 and item.containsKey('sourceIncrement')) or (colPickMode==1 and !item.containsKey('sourceIncrement'))">
when a.id=#{item.id} then ifnull(a.source,0) + #{item.sourceIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="hot=(case" suffix="ELSE hot end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('hot')) or (colPickMode==1 and !item.containsKey('hot'))">
when a.id=#{item.id} then #{item.hot}
</when>
<when test="(colPickMode==0 and item.containsKey('hotIncrement')) or (colPickMode==1 and !item.containsKey('hotIncrement'))">
when a.id=#{item.id} then ifnull(a.hot,0) + #{item.hotIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="display=(case" suffix="ELSE display end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('display')) or (colPickMode==1 and !item.containsKey('display'))">
when a.id=#{item.id} then #{item.display}
</when>
<when test="(colPickMode==0 and item.containsKey('displayIncrement')) or (colPickMode==1 and !item.containsKey('displayIncrement'))">
when a.id=#{item.id} then ifnull(a.display,0) + #{item.displayIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="deptCode=(case" suffix="ELSE deptCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deptCode')) or (colPickMode==1 and !item.containsKey('deptCode'))">
when a.id=#{item.id} then #{item.deptCode}
</if>
</foreach>
</trim>
<trim prefix="agent=(case" suffix="ELSE agent end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('agent')) or (colPickMode==1 and !item.containsKey('agent'))">
when a.id=#{item.id} then #{item.agent}
</when>
<when test="(colPickMode==0 and item.containsKey('agentIncrement')) or (colPickMode==1 and !item.containsKey('agentIncrement'))">
when a.id=#{item.id} then ifnull(a.agent,0) + #{item.agentIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="agentName=(case" suffix="ELSE agentName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('agentName')) or (colPickMode==1 and !item.containsKey('agentName'))">
when a.id=#{item.id} then #{item.agentName}
</if>
</foreach>
</trim>
<trim prefix="agentPhone=(case" suffix="ELSE agentPhone end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('agentPhone')) or (colPickMode==1 and !item.containsKey('agentPhone'))">
when a.id=#{item.id} then #{item.agentPhone}
</if>
</foreach>
</trim>
<trim prefix="agentPost=(case" suffix="ELSE agentPost end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('agentPost')) or (colPickMode==1 and !item.containsKey('agentPost'))">
when a.id=#{item.id} then #{item.agentPost}
</if>
</foreach>
</trim>
<trim prefix="hallCheckIn=(case" suffix="ELSE hallCheckIn end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('hallCheckIn')) or (colPickMode==1 and !item.containsKey('hallCheckIn'))">
when a.id=#{item.id} then #{item.hallCheckIn}
</when>
<when test="(colPickMode==0 and item.containsKey('hallCheckInIncrement')) or (colPickMode==1 and !item.containsKey('hallCheckInIncrement'))">
when a.id=#{item.id} then ifnull(a.hallCheckIn,0) + #{item.hallCheckInIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime}
</if>
</foreach>
</trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime}
</if>
</foreach>
</trim>
</trim>
where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
#{item.id}
</foreach>
</update>
<!-- 根据主健查询 -->
<select id="getByKey" parameterType="paramDto" resultMap="SiteMatterEntity-Map">
select <include refid="_columns"/>
from mortals_sys_site_matter as a
where a.id=#{condition.id}
</select>
<!-- 根据主健删除 -->
<delete id="deleteByKey" parameterType="paramDto">
delete a.* from mortals_sys_site_matter as a where a.id=#{condition.id}
</delete>
<!-- 根据主健删除一批,针对单一主健有效 -->
<delete id="deleteByKeys">
delete from mortals_sys_site_matter where id in
<foreach collection="array" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据主健列表删除一批,针对单一主健有效 -->
<delete id="deleteByKeyList">
delete from mortals_sys_site_matter where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据对象列表删除一批,针对单一主健有效 -->
<delete id="deleteByEntityList">
delete from mortals_sys_site_matter where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item.id}
</foreach>
</delete>
<!-- 根据paramDto删除一批 -->
<delete id="deleteByMap" parameterType="paramDto">
delete a.* from mortals_sys_site_matter as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</delete>
<!-- 获取列表 -->
<select id="getList" parameterType="paramDto" resultMap="SiteMatterEntity-Map">
select <include refid="_columns"/>
from mortals_sys_site_matter as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
<include refid="_orderCols_"/>
</select>
<!-- 获取 -->
<select id="getListCount" parameterType="paramDto" resultType="int">
select count(1)
from mortals_sys_site_matter as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</select>
<!-- 条件映射 -->
<sql id="_condition_">
<if test="condition != null and !condition.isEmpty()">
<!-- 条件映射-普通条件 -->
<include refid="_condition_param_">
<property name="_conditionParam_" value="condition"/>
<property name="_conditionType_" value="and"/>
</include>
<!-- 条件映射-集合之间使用AND,集合中元素使用OR-(list[0].1 or list[0].2) and (list[1].3 or list[1].4) -->
<if test="condition.containsKey('andConditionList') and !condition.andConditionList.isEmpty()">
and
<foreach collection="condition.andConditionList" open="(" close=")" index="index" item="andCondition" separator=" and ">
<trim prefixOverrides="or" prefix="(" suffix=")">
<include refid="_condition_param_">
<property name="_conditionParam_" value="andCondition"/>
<property name="_conditionType_" value="or"/>
</include>
</trim>
</foreach>
</if>
<!-- 条件映射-集合之间使用OR,集合中元素使用AND-(list[0].1 and list[0].2) or (list[1].3 and list[1].4) -->
<if test="condition.containsKey('orConditionList') and !condition.orConditionList.isEmpty()">
and
<foreach collection="condition.orConditionList" open="(" close=")" index="index" item="orCondition" separator=" or ">
<trim prefixOverrides="and" prefix="(" suffix=")">
<include refid="_condition_param_">
<property name="_conditionParam_" value="orCondition"/>
<property name="_conditionType_" value="and"/>
</include>
</trim>
</foreach>
</if>
</if>
</sql>
<!-- 条件映射-代参数 -->
<sql id="_condition_param_">
<bind name="conditionParamRef" value="${_conditionParam_}"/>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null">
${_conditionType_} a.id=#{${_conditionParam_}.id}
</if>
</if>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('siteId')">
<if test="conditionParamRef.siteId != null ">
${_conditionType_} a.siteId = #{${_conditionParam_}.siteId}
</if>
<if test="conditionParamRef.siteId == null">
${_conditionType_} a.siteId is null
</if>
</if>
<if test="conditionParamRef.containsKey('siteIdList') and conditionParamRef.siteIdList.size() > 0">
${_conditionType_} a.siteId in
<foreach collection="conditionParamRef.siteIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteIdNotList') and conditionParamRef.siteIdNotList.size() > 0">
${_conditionType_} a.siteId not in
<foreach collection="conditionParamRef.siteIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteIdStart') and conditionParamRef.siteIdStart != null">
${_conditionType_} a.siteId <![CDATA[ >= ]]> #{${_conditionParam_}.siteIdStart}
</if>
<if test="conditionParamRef.containsKey('siteIdEnd') and conditionParamRef.siteIdEnd != null">
${_conditionType_} a.siteId <![CDATA[ <= ]]> #{${_conditionParam_}.siteIdEnd}
</if>
<if test="conditionParamRef.containsKey('siteName')">
<if test="conditionParamRef.siteName != null and conditionParamRef.siteName != ''">
${_conditionType_} a.siteName like #{${_conditionParam_}.siteName}
</if>
<if test="conditionParamRef.siteName == null">
${_conditionType_} a.siteName is null
</if>
</if>
<if test="conditionParamRef.containsKey('siteNameList') and conditionParamRef.siteNameList.size() > 0">
${_conditionType_} a.siteName in
<foreach collection="conditionParamRef.siteNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteNameNotList') and conditionParamRef.siteNameNotList.size() > 0">
${_conditionType_} a.siteName not in
<foreach collection="conditionParamRef.siteNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterId')">
<if test="conditionParamRef.matterId != null ">
${_conditionType_} a.matterId = #{${_conditionParam_}.matterId}
</if>
<if test="conditionParamRef.matterId == null">
${_conditionType_} a.matterId is null
</if>
</if>
<if test="conditionParamRef.containsKey('matterIdList') and conditionParamRef.matterIdList.size() > 0">
${_conditionType_} a.matterId in
<foreach collection="conditionParamRef.matterIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterIdNotList') and conditionParamRef.matterIdNotList.size() > 0">
${_conditionType_} a.matterId not in
<foreach collection="conditionParamRef.matterIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterIdStart') and conditionParamRef.matterIdStart != null">
${_conditionType_} a.matterId <![CDATA[ >= ]]> #{${_conditionParam_}.matterIdStart}
</if>
<if test="conditionParamRef.containsKey('matterIdEnd') and conditionParamRef.matterIdEnd != null">
${_conditionType_} a.matterId <![CDATA[ <= ]]> #{${_conditionParam_}.matterIdEnd}
</if>
<if test="conditionParamRef.containsKey('matterName')">
<if test="conditionParamRef.matterName != null and conditionParamRef.matterName != ''">
${_conditionType_} a.matterName like #{${_conditionParam_}.matterName}
</if>
<if test="conditionParamRef.matterName == null">
${_conditionType_} a.matterName is null
</if>
</if>
<if test="conditionParamRef.containsKey('matterNameList') and conditionParamRef.matterNameList.size() > 0">
${_conditionType_} a.matterName in
<foreach collection="conditionParamRef.matterNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterNameNotList') and conditionParamRef.matterNameNotList.size() > 0">
${_conditionType_} a.matterName not in
<foreach collection="conditionParamRef.matterNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterCode')">
<if test="conditionParamRef.matterCode != null and conditionParamRef.matterCode != ''">
${_conditionType_} a.matterCode like #{${_conditionParam_}.matterCode}
</if>
<if test="conditionParamRef.matterCode == null">
${_conditionType_} a.matterCode is null
</if>
</if>
<if test="conditionParamRef.containsKey('matterCodeList') and conditionParamRef.matterCodeList.size() > 0">
${_conditionType_} a.matterCode in
<foreach collection="conditionParamRef.matterCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterCodeNotList') and conditionParamRef.matterCodeNotList.size() > 0">
${_conditionType_} a.matterCode not in
<foreach collection="conditionParamRef.matterCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptId')">
<if test="conditionParamRef.deptId != null ">
${_conditionType_} a.deptId = #{${_conditionParam_}.deptId}
</if>
<if test="conditionParamRef.deptId == null">
${_conditionType_} a.deptId is null
</if>
</if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
${_conditionType_} a.deptId in
<foreach collection="conditionParamRef.deptIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdNotList') and conditionParamRef.deptIdNotList.size() > 0">
${_conditionType_} a.deptId not in
<foreach collection="conditionParamRef.deptIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdStart') and conditionParamRef.deptIdStart != null">
${_conditionType_} a.deptId <![CDATA[ >= ]]> #{${_conditionParam_}.deptIdStart}
</if>
<if test="conditionParamRef.containsKey('deptIdEnd') and conditionParamRef.deptIdEnd != null">
${_conditionType_} a.deptId <![CDATA[ <= ]]> #{${_conditionParam_}.deptIdEnd}
</if>
<if test="conditionParamRef.containsKey('deptName')">
<if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''">
${_conditionType_} a.deptName like #{${_conditionParam_}.deptName}
</if>
<if test="conditionParamRef.deptName == null">
${_conditionType_} a.deptName is null
</if>
</if>
<if test="conditionParamRef.containsKey('deptNameList') and conditionParamRef.deptNameList.size() > 0">
${_conditionType_} a.deptName in
<foreach collection="conditionParamRef.deptNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptNameNotList') and conditionParamRef.deptNameNotList.size() > 0">
${_conditionType_} a.deptName not in
<foreach collection="conditionParamRef.deptNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventTypeShow')">
<if test="conditionParamRef.eventTypeShow != null and conditionParamRef.eventTypeShow != ''">
${_conditionType_} a.eventTypeShow like #{${_conditionParam_}.eventTypeShow}
</if>
<if test="conditionParamRef.eventTypeShow == null">
${_conditionType_} a.eventTypeShow is null
</if>
</if>
<if test="conditionParamRef.containsKey('eventTypeShowList') and conditionParamRef.eventTypeShowList.size() > 0">
${_conditionType_} a.eventTypeShow in
<foreach collection="conditionParamRef.eventTypeShowList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('eventTypeShowNotList') and conditionParamRef.eventTypeShowNotList.size() > 0">
${_conditionType_} a.eventTypeShow not in
<foreach collection="conditionParamRef.eventTypeShowNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('source')">
<if test="conditionParamRef.source != null ">
${_conditionType_} a.source = #{${_conditionParam_}.source}
</if>
<if test="conditionParamRef.source == null">
${_conditionType_} a.source is null
</if>
</if>
<if test="conditionParamRef.containsKey('sourceList') and conditionParamRef.sourceList.size() > 0">
${_conditionType_} a.source in
<foreach collection="conditionParamRef.sourceList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sourceNotList') and conditionParamRef.sourceNotList.size() > 0">
${_conditionType_} a.source not in
<foreach collection="conditionParamRef.sourceNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sourceStart') and conditionParamRef.sourceStart != null">
${_conditionType_} a.source <![CDATA[ >= ]]> #{${_conditionParam_}.sourceStart}
</if>
<if test="conditionParamRef.containsKey('sourceEnd') and conditionParamRef.sourceEnd != null">
${_conditionType_} a.source <![CDATA[ <= ]]> #{${_conditionParam_}.sourceEnd}
</if>
<if test="conditionParamRef.containsKey('hot')">
<if test="conditionParamRef.hot != null ">
${_conditionType_} a.hot = #{${_conditionParam_}.hot}
</if>
<if test="conditionParamRef.hot == null">
${_conditionType_} a.hot is null
</if>
</if>
<if test="conditionParamRef.containsKey('hotList') and conditionParamRef.hotList.size() > 0">
${_conditionType_} a.hot in
<foreach collection="conditionParamRef.hotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('hotNotList') and conditionParamRef.hotNotList.size() > 0">
${_conditionType_} a.hot not in
<foreach collection="conditionParamRef.hotNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('hotStart') and conditionParamRef.hotStart != null">
${_conditionType_} a.hot <![CDATA[ >= ]]> #{${_conditionParam_}.hotStart}
</if>
<if test="conditionParamRef.containsKey('hotEnd') and conditionParamRef.hotEnd != null">
${_conditionType_} a.hot <![CDATA[ <= ]]> #{${_conditionParam_}.hotEnd}
</if>
<if test="conditionParamRef.containsKey('display')">
<if test="conditionParamRef.display != null ">
${_conditionType_} a.display = #{${_conditionParam_}.display}
</if>
<if test="conditionParamRef.display == null">
${_conditionType_} a.display is null
</if>
</if>
<if test="conditionParamRef.containsKey('displayList') and conditionParamRef.displayList.size() > 0">
${_conditionType_} a.display in
<foreach collection="conditionParamRef.displayList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('displayNotList') and conditionParamRef.displayNotList.size() > 0">
${_conditionType_} a.display not in
<foreach collection="conditionParamRef.displayNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('displayStart') and conditionParamRef.displayStart != null">
${_conditionType_} a.display <![CDATA[ >= ]]> #{${_conditionParam_}.displayStart}
</if>
<if test="conditionParamRef.containsKey('displayEnd') and conditionParamRef.displayEnd != null">
${_conditionType_} a.display <![CDATA[ <= ]]> #{${_conditionParam_}.displayEnd}
</if>
<if test="conditionParamRef.containsKey('deptCode')">
<if test="conditionParamRef.deptCode != null and conditionParamRef.deptCode != ''">
${_conditionType_} a.deptCode like #{${_conditionParam_}.deptCode}
</if>
<if test="conditionParamRef.deptCode == null">
${_conditionType_} a.deptCode is null
</if>
</if>
<if test="conditionParamRef.containsKey('deptCodeList') and conditionParamRef.deptCodeList.size() > 0">
${_conditionType_} a.deptCode in
<foreach collection="conditionParamRef.deptCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptCodeNotList') and conditionParamRef.deptCodeNotList.size() > 0">
${_conditionType_} a.deptCode not in
<foreach collection="conditionParamRef.deptCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('agent')">
<if test="conditionParamRef.agent != null ">
${_conditionType_} a.agent = #{${_conditionParam_}.agent}
</if>
<if test="conditionParamRef.agent == null">
${_conditionType_} a.agent is null
</if>
</if>
<if test="conditionParamRef.containsKey('agentList') and conditionParamRef.agentList.size() > 0">
${_conditionType_} a.agent in
<foreach collection="conditionParamRef.agentList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('agentNotList') and conditionParamRef.agentNotList.size() > 0">
${_conditionType_} a.agent not in
<foreach collection="conditionParamRef.agentNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('agentStart') and conditionParamRef.agentStart != null">
${_conditionType_} a.agent <![CDATA[ >= ]]> #{${_conditionParam_}.agentStart}
</if>
<if test="conditionParamRef.containsKey('agentEnd') and conditionParamRef.agentEnd != null">
${_conditionType_} a.agent <![CDATA[ <= ]]> #{${_conditionParam_}.agentEnd}
</if>
<if test="conditionParamRef.containsKey('agentName')">
<if test="conditionParamRef.agentName != null and conditionParamRef.agentName != ''">
${_conditionType_} a.agentName like #{${_conditionParam_}.agentName}
</if>
<if test="conditionParamRef.agentName == null">
${_conditionType_} a.agentName is null
</if>
</if>
<if test="conditionParamRef.containsKey('agentNameList') and conditionParamRef.agentNameList.size() > 0">
${_conditionType_} a.agentName in
<foreach collection="conditionParamRef.agentNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('agentNameNotList') and conditionParamRef.agentNameNotList.size() > 0">
${_conditionType_} a.agentName not in
<foreach collection="conditionParamRef.agentNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('agentPhone')">
<if test="conditionParamRef.agentPhone != null and conditionParamRef.agentPhone != ''">
${_conditionType_} a.agentPhone like #{${_conditionParam_}.agentPhone}
</if>
<if test="conditionParamRef.agentPhone == null">
${_conditionType_} a.agentPhone is null
</if>
</if>
<if test="conditionParamRef.containsKey('agentPhoneList') and conditionParamRef.agentPhoneList.size() > 0">
${_conditionType_} a.agentPhone in
<foreach collection="conditionParamRef.agentPhoneList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('agentPhoneNotList') and conditionParamRef.agentPhoneNotList.size() > 0">
${_conditionType_} a.agentPhone not in
<foreach collection="conditionParamRef.agentPhoneNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('agentPost')">
<if test="conditionParamRef.agentPost != null and conditionParamRef.agentPost != ''">
${_conditionType_} a.agentPost like #{${_conditionParam_}.agentPost}
</if>
<if test="conditionParamRef.agentPost == null">
${_conditionType_} a.agentPost is null
</if>
</if>
<if test="conditionParamRef.containsKey('agentPostList') and conditionParamRef.agentPostList.size() > 0">
${_conditionType_} a.agentPost in
<foreach collection="conditionParamRef.agentPostList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('agentPostNotList') and conditionParamRef.agentPostNotList.size() > 0">
${_conditionType_} a.agentPost not in
<foreach collection="conditionParamRef.agentPostNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('hallCheckIn')">
<if test="conditionParamRef.hallCheckIn != null ">
${_conditionType_} a.hallCheckIn = #{${_conditionParam_}.hallCheckIn}
</if>
<if test="conditionParamRef.hallCheckIn == null">
${_conditionType_} a.hallCheckIn is null
</if>
</if>
<if test="conditionParamRef.containsKey('hallCheckInList') and conditionParamRef.hallCheckInList.size() > 0">
${_conditionType_} a.hallCheckIn in
<foreach collection="conditionParamRef.hallCheckInList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('hallCheckInNotList') and conditionParamRef.hallCheckInNotList.size() > 0">
${_conditionType_} a.hallCheckIn not in
<foreach collection="conditionParamRef.hallCheckInNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('hallCheckInStart') and conditionParamRef.hallCheckInStart != null">
${_conditionType_} a.hallCheckIn <![CDATA[ >= ]]> #{${_conditionParam_}.hallCheckInStart}
</if>
<if test="conditionParamRef.containsKey('hallCheckInEnd') and conditionParamRef.hallCheckInEnd != null">
${_conditionType_} a.hallCheckIn <![CDATA[ <= ]]> #{${_conditionParam_}.hallCheckInEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('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('siteIdList') and conditionParamRef.siteIdList.size() > 0">
field(a.siteId,
<foreach collection="conditionParamRef.siteIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('matterIdList') and conditionParamRef.matterIdList.size() > 0">
field(a.matterId,
<foreach collection="conditionParamRef.matterIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
field(a.deptId,
<foreach collection="conditionParamRef.deptIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('sourceList') and conditionParamRef.sourceList.size() > 0">
field(a.source,
<foreach collection="conditionParamRef.sourceList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('hotList') and conditionParamRef.hotList.size() > 0">
field(a.hot,
<foreach collection="conditionParamRef.hotList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('displayList') and conditionParamRef.displayList.size() > 0">
field(a.display,
<foreach collection="conditionParamRef.displayList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('agentList') and conditionParamRef.agentList.size() > 0">
field(a.agent,
<foreach collection="conditionParamRef.agentList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('hallCheckInList') and conditionParamRef.hallCheckInList.size() > 0">
field(a.hallCheckIn,
<foreach collection="conditionParamRef.hallCheckInList" 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>
<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('siteIdList') and conditionParamRef.siteIdList.size() > 0">
field(a.siteId,
<foreach collection="conditionParamRef.siteIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('matterIdList') and conditionParamRef.matterIdList.size() > 0">
field(a.matterId,
<foreach collection="conditionParamRef.matterIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
field(a.deptId,
<foreach collection="conditionParamRef.deptIdList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('sourceList') and conditionParamRef.sourceList.size() > 0">
field(a.source,
<foreach collection="conditionParamRef.sourceList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('hotList') and conditionParamRef.hotList.size() > 0">
field(a.hot,
<foreach collection="conditionParamRef.hotList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('displayList') and conditionParamRef.displayList.size() > 0">
field(a.display,
<foreach collection="conditionParamRef.displayList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('agentList') and conditionParamRef.agentList.size() > 0">
field(a.agent,
<foreach collection="conditionParamRef.agentList" open="" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
,
</if>
<if test="conditionParamRef.containsKey('hallCheckInList') and conditionParamRef.hallCheckInList.size() > 0">
field(a.hallCheckIn,
<foreach collection="conditionParamRef.hallCheckInList" 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>
<trim suffixOverrides="," suffix="">
<if test="orderCol.containsKey('id')">
a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('siteId')">
a.siteId
<if test='orderCol.siteId != null and "DESC".equalsIgnoreCase(orderCol.siteId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('siteName')">
a.siteName
<if test='orderCol.siteName != null and "DESC".equalsIgnoreCase(orderCol.siteName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('matterId')">
a.matterId
<if test='orderCol.matterId != null and "DESC".equalsIgnoreCase(orderCol.matterId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('matterName')">
a.matterName
<if test='orderCol.matterName != null and "DESC".equalsIgnoreCase(orderCol.matterName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('matterCode')">
a.matterCode
<if test='orderCol.matterCode != null and "DESC".equalsIgnoreCase(orderCol.matterCode)'>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>
<if test="orderCol.containsKey('eventTypeShow')">
a.eventTypeShow
<if test='orderCol.eventTypeShow != null and "DESC".equalsIgnoreCase(orderCol.eventTypeShow)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('source')">
a.source
<if test='orderCol.source != null and "DESC".equalsIgnoreCase(orderCol.source)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('hot')">
a.hot
<if test='orderCol.hot != null and "DESC".equalsIgnoreCase(orderCol.hot)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('display')">
a.display
<if test='orderCol.display != null and "DESC".equalsIgnoreCase(orderCol.display)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptCode')">
a.deptCode
<if test='orderCol.deptCode != null and "DESC".equalsIgnoreCase(orderCol.deptCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('agent')">
a.agent
<if test='orderCol.agent != null and "DESC".equalsIgnoreCase(orderCol.agent)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('agentName')">
a.agentName
<if test='orderCol.agentName != null and "DESC".equalsIgnoreCase(orderCol.agentName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('agentPhone')">
a.agentPhone
<if test='orderCol.agentPhone != null and "DESC".equalsIgnoreCase(orderCol.agentPhone)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('agentPost')">
a.agentPost
<if test='orderCol.agentPost != null and "DESC".equalsIgnoreCase(orderCol.agentPost)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('hallCheckIn')">
a.hallCheckIn
<if test='orderCol.hallCheckIn != null and "DESC".equalsIgnoreCase(orderCol.hallCheckIn)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
</trim>
</if>
</sql>
<sql id="_group_by_">
<if test="groupList != null and !groupList.isEmpty()">
GROUP BY
<trim suffixOverrides="," suffix="">
<foreach collection="groupList" open="" close="" index="index" item="item" separator=",">
${item}
</foreach>
</trim>
</if>
</sql>
</mapper>
\ No newline at end of file
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