Commit df11e6ea authored by 赵啸非's avatar 赵啸非

修改配置文件

parent 65e67146
...@@ -28,14 +28,8 @@ CREATE TABLE `mortals_ent_life_matter` ...@@ -28,14 +28,8 @@ CREATE TABLE `mortals_ent_life_matter`
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID,主键,自增长', `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID,主键,自增长',
`life_cycle_id` bigint(20) DEFAULT NULL COMMENT '企业生命周期id', `life_cycle_id` bigint(20) DEFAULT NULL COMMENT '企业生命周期id',
`life_cycle_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '生命周期名称', `life_cycle_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '生命周期名称',
`matter_id` bigint(20) DEFAULT NULL COMMENT '事项id', `matter_group_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '事项组名称',
`matter_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '事项名称', `dept_id` bigint(20) NULL DEFAULT NULL COMMENT '办理单位数量',
`matter_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '事项编码',
`area_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区域编码',
`area_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区域名称',
`area_level` tinyint(2) NULL DEFAULT 1 COMMENT '区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)',
`dept_id` bigint(20) NULL DEFAULT NULL COMMENT '办理单位ID',
`dept_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '办理单位名称',
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注', `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注',
`create_user_id` bigint(20) DEFAULT NULL COMMENT '创建用户', `create_user_id` bigint(20) DEFAULT NULL COMMENT '创建用户',
`create_user_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建用户名称', `create_user_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建用户名称',
...@@ -63,6 +57,7 @@ CREATE TABLE `mortals_ent_life_matter_sub` ...@@ -63,6 +57,7 @@ CREATE TABLE `mortals_ent_life_matter_sub`
`area_level` tinyint(2) NULL DEFAULT 1 COMMENT '区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)', `area_level` tinyint(2) NULL DEFAULT 1 COMMENT '区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)',
`dept_id` bigint(20) NULL DEFAULT NULL COMMENT '办理单位ID', `dept_id` bigint(20) NULL DEFAULT NULL COMMENT '办理单位ID',
`dept_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '办理单位名称', `dept_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '办理单位名称',
`sort` int(4) NULL DEFAULT 0 COMMENT '排序字段',
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注', `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注',
`create_user_id` bigint(20) DEFAULT NULL COMMENT '创建用户', `create_user_id` bigint(20) DEFAULT NULL COMMENT '创建用户',
`create_user_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建用户名称', `create_user_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建用户名称',
......
...@@ -105,18 +105,17 @@ public class AuthTokenServiceImpl implements IAuthTokenService { ...@@ -105,18 +105,17 @@ public class AuthTokenServiceImpl implements IAuthTokenService {
Claims claims = parseToken(token); Claims claims = parseToken(token);
String uuid = (String) claims.get(SysConstains.LOGIN_USER_KEY); String uuid = (String) claims.get(SysConstains.LOGIN_USER_KEY);
String userKey = getTokenKey(uuid); String userKey = getTokenKey(uuid);
String userStr = cacheService.get(userKey);
//cacheService.select(portalDb); //cacheService.select(portalDb);
// String userStr = cacheService.get(userKey); // String userStr = cacheService.get(userKey);
/* RedisTemplate<String, String> redisTemplate = cacheService.selectDbRedisTemplate(portalDb); RedisTemplate<String, String> redisTemplate = cacheService.selectDbRedisTemplate(portalDb);
String userStr =redisTemplate.opsForValue().get(userKey);*/ String userStr =redisTemplate.opsForValue().get(userKey);
//刷新token时间 //刷新token时间
UserEntity userEntity = JSONObject.parseObject(userStr, UserEntity.class); UserEntity userEntity = JSONObject.parseObject(userStr, UserEntity.class);
if (!ObjectUtils.isEmpty(userEntity)) { if (!ObjectUtils.isEmpty(userEntity)) {
verifyToken(userEntity); verifyToken(userEntity);
} }
// cacheService.select(db); // cacheService.select(db);
if (!ObjectUtils.isEmpty(userEntity)) { if (!ObjectUtils.isEmpty(userEntity)) {
UserEntity temp = userService.getExtCache(userEntity.getLoginName()); UserEntity temp = userService.getExtCache(userEntity.getLoginName());
if (!ObjectUtils.isEmpty(temp)) { if (!ObjectUtils.isEmpty(temp)) {
......
...@@ -75,7 +75,7 @@ public class AuthUserInterceptor extends BaseInterceptor { ...@@ -75,7 +75,7 @@ public class AuthUserInterceptor extends BaseInterceptor {
if (ObjectUtils.isEmpty(loginUser)) { if (ObjectUtils.isEmpty(loginUser)) {
ServletUtils.renderString(response, JSONObject.toJSONString(Rest.fail(ERROR_TOKEN_EXPIRED, ERROR_TOKEN_EXPIRED_CONTENT))); ServletUtils.renderString(response, JSONObject.toJSONString(Rest.fail(ERROR_TOKEN_EXPIRED, ERROR_TOKEN_EXPIRED_CONTENT)));
return false; return false;
// } else if (loginUser.isAdmin() || loginUser.getUserType() == 1) { // } else if (loginUser.isAdmin() || loginUser.getUserType() == 1) {
} else if (loginUser.isAdmin()) { } else if (loginUser.isAdmin()) {
return super.preHandle(request, response, handler); return super.preHandle(request, response, handler);
} else { } else {
......
package com.mortals.xhx.base.login;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.mortals.framework.common.Rest;
import com.mortals.framework.service.IAuthTokenService;
import com.mortals.framework.service.ICacheService;
import com.mortals.framework.service.IUser;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.login.web.LoginForm;
import com.mortals.xhx.base.system.menu.model.MenuEntity;
import com.mortals.xhx.base.system.menu.service.MenuService;
import com.mortals.xhx.base.system.resource.service.ResourceService;
import com.mortals.xhx.base.system.user.model.UserEntity;
import com.mortals.xhx.base.system.user.service.UserService;
import com.mortals.xhx.common.key.RedisKey;
import com.mortals.xhx.common.pdu.user.LoginPdu;
import com.mortals.xhx.common.utils.MenuEncodeUtil;
import com.mortals.xhx.feign.site.ISiteFeign;
import com.mortals.xhx.feign.user.IUserFeign;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Set;
import static com.mortals.xhx.common.key.ErrorCode.ERROR_TOKEN_EXPIRED;
import static com.mortals.xhx.common.key.ErrorCode.ERROR_TOKEN_EXPIRED_CONTENT;
@RestController
@Slf4j
@RequestMapping("login")
public class LoginController extends BaseCRUDJsonBodyMappingController<UserService, UserEntity, Long> implements InitializingBean {
@Autowired
private ResourceService resourceService;
@Autowired
private MenuService menuService;
@Autowired
private ICacheService cacheService;
@Autowired
private IAuthTokenService authTokenService;
@Autowired
private IUserFeign userFeign;
@Autowired
private ISiteFeign siteFeign;
@RequestMapping("login")
public String login(@RequestBody LoginForm loginForm) throws Exception {
String loginName = loginForm.getLoginName();
String password = loginForm.getPassword();
LoginPdu loginPdu = new LoginPdu();
loginPdu.setLoginName(loginName);
loginPdu.setPassword(password);
loginPdu.setSecurityCode("admin");
String resp = userFeign.portalLogin(loginPdu);
return resp;
}
@RequestMapping("logout")
public void logout(HttpServletRequest request, HttpServletResponse response) throws Exception {
recordSysLog(request, "退出登录");
super.removeCurrUser(request);
}
@RequestMapping("index")
public String index() throws Exception {
JSONObject ret = new JSONObject();
IUser user = this.getCurUser();
if (user == null) {
return JSONObject.toJSONString(Rest.fail(ERROR_TOKEN_EXPIRED, ERROR_TOKEN_EXPIRED_CONTENT));
}
Set<String> urls = resourceService.findUrlSetByUserId(user.getId());
log.info("userId:{},urls:{}", user.getId(), JSON.toJSONString(urls));
// List<MenuEntity> outlookBarList = menuService.findTreeMenu(user, urls);
List<MenuEntity> treeMenuList = menuService.findTreeMenu(user);
String currUserName = user.getRealName();
if (currUserName == null || currUserName.trim().length() == 0) {
currUserName = "管理员";
}
JSONObject data = new JSONObject();
String token = authTokenService.getToken(request);
data.put("token", token);
data.put("currUserName", currUserName);
data.put("menuList", treeMenuList);
data.put("id", user.getId());
data.put("userType", user.getUserType());
ret.put(KEY_RESULT_DATA, data);
cacheService.hset(RedisKey.KEY_USER_MENU_CACHE, user.getId().toString(), MenuEncodeUtil.generateMenuUrlCode(urls));
ret.put(KEY_RESULT_CODE, VALUE_RESULT_SUCCESS);
ret.put(KEY_RESULT_MSG, "用户登录系统成功!");
ret.put("resources", urls);
return ret.toJSONString();
}
@Override
public void afterPropertiesSet() throws Exception {
log.info("初始化加载登录。。。");
}
}
package com.mortals.xhx.base.login.interceptor;
import com.mortals.framework.annotation.UnAuth;
import com.mortals.xhx.base.framework.config.InterceptorConfig;
import com.mortals.framework.ap.CookieService;
import com.mortals.framework.ap.SysConstains;
import com.mortals.framework.model.CookieInfo;
import com.mortals.framework.service.ICacheService;
import com.mortals.framework.util.AESUtil;
import com.mortals.framework.util.HttpUtil;
import com.mortals.framework.util.StringUtils;
import com.mortals.framework.web.interceptor.BaseInterceptor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import org.springframework.web.method.HandlerMethod;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.Method;
@Order(1)
//@Component
public class AuthJsonInterceptor extends BaseInterceptor {
@Autowired
private InterceptorConfig config;
@Autowired
private ICacheService cacheService;
@Override
public int getOrder() {
return Integer.MAX_VALUE - 9;
}
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
throws Exception {
try {
HandlerMethod handlerMethod = (HandlerMethod) handler;
Method method = handlerMethod.getMethod();
UnAuth annotation = method.getAnnotation(UnAuth.class);
if (annotation != null) {
//取消校验
return true;
}
String uri = request.getServletPath();
if (config.needCheckAuth(uri)) {
boolean auth = this.checkAuth(request, uri, config.getSecurityKey());
if (!auth) {
CookieInfo cookie = CookieService.getLoginCookie(request, config.getSecurityKey());
if (cookie == null || cookie.getUser() == null) {
writeJsonResponse(response, HttpServletResponse.SC_FORBIDDEN, "用户未登录或登录失效,请重新登录");
return false;
} else if (cookie.getUser().isAdmin()) {
return super.preHandle(request, response, handler);
} else {
writeJsonResponse(response, HttpServletResponse.SC_UNAUTHORIZED, "用户无该操作权限");
return false;
}
}
}
} catch (Exception e) {
logger.error("权限校验拦截请求处理异常-->" + e.getMessage());
writeJsonResponse(response, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, "用户权限校验异常");
return false;
}
return super.preHandle(request, response, handler);
}
private boolean checkAuth(HttpServletRequest request, String requestUrl, String securityKey) throws Exception {
int code = requestUrl.hashCode() & (Integer.MAX_VALUE - 1);
String cacheKey = HttpUtil.getCookieValue(request, SysConstains.COOKIE_MENU);
if (StringUtils.isEmpty(cacheKey)) {
return false;
}
String menuUrl = cacheService.get(cacheKey);
if (StringUtils.isEmpty(menuUrl)) {
return false;
}
menuUrl = AESUtil.decrypt(menuUrl, securityKey);
String codes = "," + menuUrl + ",";
String codeKey = "," + code + ",";
if (codes.indexOf(codeKey) != -1) {
return true;
}
return false;
}
}
package com.mortals.xhx.base.login.interceptor;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.mortals.xhx.base.framework.config.InterceptorConfig;
import org.springframework.beans.factory.annotation.Autowired;
import com.mortals.framework.ap.CookieService;
import com.mortals.framework.model.CookieInfo;
import com.mortals.framework.service.ITokenService;
import com.mortals.framework.web.interceptor.BaseInterceptor;
//@Component
public class LoginJsonInterceptor extends BaseInterceptor {
@Autowired(required = false)
private ITokenService tokenService;
@Autowired
private InterceptorConfig config;
@Override
public int getOrder() {
return Integer.MAX_VALUE - 10;
}
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
throws Exception {
try {
String uri = request.getServletPath();
if (config.needCheckAuth(uri)) {
CookieInfo cookie = CookieService.getLoginCookie(request, config.getSecurityKey());
boolean expire = true;
try {
if (cookie == null || cookie.getUser() == null
|| (cookie != null && tokenService != null && tokenService.isExpireToken(cookie))) {
expire = true;
} else {
expire = false;
}
} catch (Exception e) {
logger.warn("校验cookie是否过期异常-->原因:" + e.getMessage());
}
// 判断用户是否登录
if (expire) {
CookieService.deleteLoginCookie(request, response);
writeJsonResponse(response, HttpServletResponse.SC_FORBIDDEN, "用户未登录或登录失效,请重新登录111333");
return false;
}
}
} catch (Exception e) {
logger.error("登录校验拦截请求处理异常-->" + e.getMessage());
writeJsonResponse(response, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, "用户登录校验异常");
return false;
}
return super.preHandle(request, response, handler);
}
}
...@@ -12,69 +12,45 @@ import com.mortals.xhx.module.ent.model.vo.EntLifeMatterVo; ...@@ -12,69 +12,45 @@ import com.mortals.xhx.module.ent.model.vo.EntLifeMatterVo;
import com.mortals.xhx.module.ent.model.EntLifeMatterSubEntity; import com.mortals.xhx.module.ent.model.EntLifeMatterSubEntity;
import lombok.Data; import lombok.Data;
/** /**
* 企业周期事项主实体对象 * 企业周期事项主实体对象
* *
* @author zxfei * @author zxfei
* @date 2025-03-15 * @date 2025-03-17
*/ */
@Data @Data
public class EntLifeMatterEntity extends EntLifeMatterVo { public class EntLifeMatterEntity extends EntLifeMatterVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 企业生命周期id * 企业生命周期id
*/ */
private Long lifeCycleId; private Long lifeCycleId;
/** /**
* 生命周期名称 * 生命周期名称
*/ */
private String lifeCycleName; private String lifeCycleName;
/** /**
* 事项id * 办理单位ID
*/ */
private Long matterId;
/**
* 事项名称
*/
private String matterName;
/**
* 事项编码
*/
private String matterCode;
/**
* 区域编码
*/
private String areaCode;
/**
* 区域名称
*/
private String areaName;
/**
* 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
*/
private Integer areaLevel;
/**
* 办理单位ID
*/
private Long deptId; private Long deptId;
/** /**
* 办理单位名称 * 备注
*/ */
private String deptName;
/**
* 备注
*/
private String remark; private String remark;
/** /**
* 创建用户名称 * 创建用户名称
*/ */
private String createUserName; private String createUserName;
/** /**
* 企业周期事项子信息 * 事项组名称
*/ */
private String matterGroupName;
/**
* 企业周期事项子信息
*/
private List<EntLifeMatterSubEntity> entLifeMatterSubList=new ArrayList<>();; private List<EntLifeMatterSubEntity> entLifeMatterSubList=new ArrayList<>();;
public List<EntLifeMatterSubEntity> getEntLifeMatterSubList(){ public List<EntLifeMatterSubEntity> getEntLifeMatterSubList(){
return entLifeMatterSubList; return entLifeMatterSubList;
} }
public void setEntLifeMatterSubList(List<EntLifeMatterSubEntity> entLifeMatterSubList){ public void setEntLifeMatterSubList(List<EntLifeMatterSubEntity> entLifeMatterSubList){
...@@ -82,7 +58,7 @@ public class EntLifeMatterEntity extends EntLifeMatterVo { ...@@ -82,7 +58,7 @@ public class EntLifeMatterEntity extends EntLifeMatterVo {
} }
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -90,24 +66,18 @@ public class EntLifeMatterEntity extends EntLifeMatterVo { ...@@ -90,24 +66,18 @@ public class EntLifeMatterEntity extends EntLifeMatterVo {
if (obj instanceof EntLifeMatterEntity) { if (obj instanceof EntLifeMatterEntity) {
EntLifeMatterEntity tmp = (EntLifeMatterEntity) obj; EntLifeMatterEntity tmp = (EntLifeMatterEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
} }
public void initAttrValue(){ public void initAttrValue(){
this.lifeCycleId = null; this.lifeCycleId = null;
this.lifeCycleName = ""; this.lifeCycleName = "";
this.matterId = null; this.deptId = null;
this.matterName = ""; this.remark = "";
this.matterCode = ""; this.createUserName = "";
this.areaCode = ""; this.matterGroupName = "";
this.areaName = "";
this.areaLevel = 1;
this.deptId = null;
this.deptName = "";
this.remark = "";
this.createUserName = "";
} }
} }
\ No newline at end of file
...@@ -4,11 +4,11 @@ import java.util.List; ...@@ -4,11 +4,11 @@ import java.util.List;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.ent.model.EntLifeMatterEntity; import com.mortals.xhx.module.ent.model.EntLifeMatterEntity;
/** /**
* 企业周期事项主查询对象 * 企业周期事项主查询对象
* *
* @author zxfei * @author zxfei
* @date 2025-03-15 * @date 2025-03-17
*/ */
public class EntLifeMatterQuery extends EntLifeMatterEntity { public class EntLifeMatterQuery extends EntLifeMatterEntity {
/** 开始 主键ID,主键,自增长 */ /** 开始 主键ID,主键,自增长 */
private Long idStart; private Long idStart;
...@@ -45,56 +45,6 @@ public class EntLifeMatterQuery extends EntLifeMatterEntity { ...@@ -45,56 +45,6 @@ public class EntLifeMatterQuery extends EntLifeMatterEntity {
/** 生命周期名称排除列表 */ /** 生命周期名称排除列表 */
private List <String> lifeCycleNameNotList; private List <String> lifeCycleNameNotList;
/** 开始 事项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;
/** 区域编码 */
private List<String> areaCodeList;
/** 区域编码排除列表 */
private List <String> areaCodeNotList;
/** 区域名称 */
private List<String> areaNameList;
/** 区域名称排除列表 */
private List <String> areaNameNotList;
/** 开始 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) */
private Integer areaLevelStart;
/** 结束 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) */
private Integer areaLevelEnd;
/** 增加 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) */
private Integer areaLevelIncrement;
/** 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)列表 */
private List <Integer> areaLevelList;
/** 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)排除列表 */
private List <Integer> areaLevelNotList;
/** 开始 办理单位ID */ /** 开始 办理单位ID */
private Long deptIdStart; private Long deptIdStart;
...@@ -110,11 +60,6 @@ public class EntLifeMatterQuery extends EntLifeMatterEntity { ...@@ -110,11 +60,6 @@ public class EntLifeMatterQuery extends EntLifeMatterEntity {
/** 办理单位ID排除列表 */ /** 办理单位ID排除列表 */
private List <Long> deptIdNotList; private List <Long> deptIdNotList;
/** 办理单位名称 */
private List<String> deptNameList;
/** 办理单位名称排除列表 */
private List <String> deptNameNotList;
/** 备注 */ /** 备注 */
private List<String> remarkList; private List<String> remarkList;
...@@ -152,6 +97,11 @@ public class EntLifeMatterQuery extends EntLifeMatterEntity { ...@@ -152,6 +97,11 @@ public class EntLifeMatterQuery extends EntLifeMatterEntity {
/** 结束 更新时间 */ /** 结束 更新时间 */
private String updateTimeEnd; private String updateTimeEnd;
/** 事项组名称 */
private List<String> matterGroupNameList;
/** 事项组名称排除列表 */
private List <String> matterGroupNameNotList;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */ /** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<EntLifeMatterQuery> orConditionList; private List<EntLifeMatterQuery> orConditionList;
...@@ -161,1317 +111,843 @@ public class EntLifeMatterQuery extends EntLifeMatterEntity { ...@@ -161,1317 +111,843 @@ public class EntLifeMatterQuery extends EntLifeMatterEntity {
public EntLifeMatterQuery(){} public EntLifeMatterQuery(){}
/** /**
* 获取 开始 主键ID,主键,自增长 * 获取 开始 主键ID,主键,自增长
* @return idStart * @return idStart
*/ */
public Long getIdStart(){ public Long getIdStart(){
return this.idStart; return this.idStart;
} }
/** /**
* 设置 开始 主键ID,主键,自增长 * 设置 开始 主键ID,主键,自增长
* @param idStart * @param idStart
*/ */
public void setIdStart(Long idStart){ public void setIdStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
} }
/** /**
* 获取 结束 主键ID,主键,自增长 * 获取 结束 主键ID,主键,自增长
* @return $idEnd * @return $idEnd
*/ */
public Long getIdEnd(){ public Long getIdEnd(){
return this.idEnd; return this.idEnd;
} }
/** /**
* 设置 结束 主键ID,主键,自增长 * 设置 结束 主键ID,主键,自增长
* @param idEnd * @param idEnd
*/ */
public void setIdEnd(Long idEnd){ public void setIdEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
} }
/** /**
* 获取 增加 主键ID,主键,自增长 * 获取 增加 主键ID,主键,自增长
* @return idIncrement * @return idIncrement
*/ */
public Long getIdIncrement(){ public Long getIdIncrement(){
return this.idIncrement; return this.idIncrement;
} }
/** /**
* 设置 增加 主键ID,主键,自增长 * 设置 增加 主键ID,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public void setIdIncrement(Long idIncrement){ public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
} }
/** /**
* 获取 主键ID,主键,自增长 * 获取 主键ID,主键,自增长
* @return idList * @return idList
*/ */
public List<Long> getIdList(){ public List<Long> getIdList(){
return this.idList; return this.idList;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idList * @param idList
*/ */
public void setIdList(List<Long> idList){ public void setIdList(List<Long> idList){
this.idList = idList; this.idList = idList;
} }
/** /**
* 获取 主键ID,主键,自增长 * 获取 主键ID,主键,自增长
* @return idNotList * @return idNotList
*/ */
public List<Long> getIdNotList(){ public List<Long> getIdNotList(){
return this.idNotList; return this.idNotList;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idNotList * @param idNotList
*/ */
public void setIdNotList(List<Long> idNotList){ public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
} }
/** /**
* 获取 开始 企业生命周期id * 获取 开始 企业生命周期id
* @return lifeCycleIdStart * @return lifeCycleIdStart
*/ */
public Long getLifeCycleIdStart(){ public Long getLifeCycleIdStart(){
return this.lifeCycleIdStart; return this.lifeCycleIdStart;
} }
/** /**
* 设置 开始 企业生命周期id * 设置 开始 企业生命周期id
* @param lifeCycleIdStart * @param lifeCycleIdStart
*/ */
public void setLifeCycleIdStart(Long lifeCycleIdStart){ public void setLifeCycleIdStart(Long lifeCycleIdStart){
this.lifeCycleIdStart = lifeCycleIdStart; this.lifeCycleIdStart = lifeCycleIdStart;
} }
/** /**
* 获取 结束 企业生命周期id * 获取 结束 企业生命周期id
* @return $lifeCycleIdEnd * @return $lifeCycleIdEnd
*/ */
public Long getLifeCycleIdEnd(){ public Long getLifeCycleIdEnd(){
return this.lifeCycleIdEnd; return this.lifeCycleIdEnd;
} }
/** /**
* 设置 结束 企业生命周期id * 设置 结束 企业生命周期id
* @param lifeCycleIdEnd * @param lifeCycleIdEnd
*/ */
public void setLifeCycleIdEnd(Long lifeCycleIdEnd){ public void setLifeCycleIdEnd(Long lifeCycleIdEnd){
this.lifeCycleIdEnd = lifeCycleIdEnd; this.lifeCycleIdEnd = lifeCycleIdEnd;
} }
/** /**
* 获取 增加 企业生命周期id * 获取 增加 企业生命周期id
* @return lifeCycleIdIncrement * @return lifeCycleIdIncrement
*/ */
public Long getLifeCycleIdIncrement(){ public Long getLifeCycleIdIncrement(){
return this.lifeCycleIdIncrement; return this.lifeCycleIdIncrement;
} }
/** /**
* 设置 增加 企业生命周期id * 设置 增加 企业生命周期id
* @param lifeCycleIdIncrement * @param lifeCycleIdIncrement
*/ */
public void setLifeCycleIdIncrement(Long lifeCycleIdIncrement){ public void setLifeCycleIdIncrement(Long lifeCycleIdIncrement){
this.lifeCycleIdIncrement = lifeCycleIdIncrement; this.lifeCycleIdIncrement = lifeCycleIdIncrement;
} }
/** /**
* 获取 企业生命周期id * 获取 企业生命周期id
* @return lifeCycleIdList * @return lifeCycleIdList
*/ */
public List<Long> getLifeCycleIdList(){ public List<Long> getLifeCycleIdList(){
return this.lifeCycleIdList; return this.lifeCycleIdList;
} }
/** /**
* 设置 企业生命周期id * 设置 企业生命周期id
* @param lifeCycleIdList * @param lifeCycleIdList
*/ */
public void setLifeCycleIdList(List<Long> lifeCycleIdList){ public void setLifeCycleIdList(List<Long> lifeCycleIdList){
this.lifeCycleIdList = lifeCycleIdList; this.lifeCycleIdList = lifeCycleIdList;
} }
/** /**
* 获取 企业生命周期id * 获取 企业生命周期id
* @return lifeCycleIdNotList * @return lifeCycleIdNotList
*/ */
public List<Long> getLifeCycleIdNotList(){ public List<Long> getLifeCycleIdNotList(){
return this.lifeCycleIdNotList; return this.lifeCycleIdNotList;
} }
/** /**
* 设置 企业生命周期id * 设置 企业生命周期id
* @param lifeCycleIdNotList * @param lifeCycleIdNotList
*/ */
public void setLifeCycleIdNotList(List<Long> lifeCycleIdNotList){ public void setLifeCycleIdNotList(List<Long> lifeCycleIdNotList){
this.lifeCycleIdNotList = lifeCycleIdNotList; this.lifeCycleIdNotList = lifeCycleIdNotList;
} }
/** /**
* 获取 生命周期名称 * 获取 生命周期名称
* @return lifeCycleNameList * @return lifeCycleNameList
*/ */
public List<String> getLifeCycleNameList(){ public List<String> getLifeCycleNameList(){
return this.lifeCycleNameList; return this.lifeCycleNameList;
} }
/** /**
* 设置 生命周期名称 * 设置 生命周期名称
* @param lifeCycleNameList * @param lifeCycleNameList
*/ */
public void setLifeCycleNameList(List<String> lifeCycleNameList){ public void setLifeCycleNameList(List<String> lifeCycleNameList){
this.lifeCycleNameList = lifeCycleNameList; this.lifeCycleNameList = lifeCycleNameList;
} }
/** /**
* 获取 生命周期名称 * 获取 生命周期名称
* @return lifeCycleNameNotList * @return lifeCycleNameNotList
*/ */
public List<String> getLifeCycleNameNotList(){ public List<String> getLifeCycleNameNotList(){
return this.lifeCycleNameNotList; return this.lifeCycleNameNotList;
} }
/** /**
* 设置 生命周期名称 * 设置 生命周期名称
* @param lifeCycleNameNotList * @param lifeCycleNameNotList
*/ */
public void setLifeCycleNameNotList(List<String> lifeCycleNameNotList){ public void setLifeCycleNameNotList(List<String> lifeCycleNameNotList){
this.lifeCycleNameNotList = lifeCycleNameNotList; this.lifeCycleNameNotList = lifeCycleNameNotList;
} }
/** /**
* 获取 开始 事项id * 获取 开始 办理单位ID
* @return matterIdStart * @return deptIdStart
*/ */
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;
}
/**
* 获取 区域编码
* @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;
}
/**
* 获取 开始 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @return areaLevelStart
*/
public Integer getAreaLevelStart(){
return this.areaLevelStart;
}
/**
* 设置 开始 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelStart
*/
public void setAreaLevelStart(Integer areaLevelStart){
this.areaLevelStart = areaLevelStart;
}
/**
* 获取 结束 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @return $areaLevelEnd
*/
public Integer getAreaLevelEnd(){
return this.areaLevelEnd;
}
/**
* 设置 结束 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelEnd
*/
public void setAreaLevelEnd(Integer areaLevelEnd){
this.areaLevelEnd = areaLevelEnd;
}
/**
* 获取 增加 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @return areaLevelIncrement
*/
public Integer getAreaLevelIncrement(){
return this.areaLevelIncrement;
}
/**
* 设置 增加 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelIncrement
*/
public void setAreaLevelIncrement(Integer areaLevelIncrement){
this.areaLevelIncrement = areaLevelIncrement;
}
/**
* 获取 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @return areaLevelList
*/
public List<Integer> getAreaLevelList(){
return this.areaLevelList;
}
/**
* 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelList
*/
public void setAreaLevelList(List<Integer> areaLevelList){
this.areaLevelList = areaLevelList;
}
/**
* 获取 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @return areaLevelNotList
*/
public List<Integer> getAreaLevelNotList(){
return this.areaLevelNotList;
}
/**
* 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelNotList
*/
public void setAreaLevelNotList(List<Integer> areaLevelNotList){
this.areaLevelNotList = areaLevelNotList;
}
/**
* 获取 开始 办理单位ID
* @return deptIdStart
*/
public Long getDeptIdStart(){ public Long getDeptIdStart(){
return this.deptIdStart; return this.deptIdStart;
} }
/** /**
* 设置 开始 办理单位ID * 设置 开始 办理单位ID
* @param deptIdStart * @param deptIdStart
*/ */
public void setDeptIdStart(Long deptIdStart){ public void setDeptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart; this.deptIdStart = deptIdStart;
} }
/** /**
* 获取 结束 办理单位ID * 获取 结束 办理单位ID
* @return $deptIdEnd * @return $deptIdEnd
*/ */
public Long getDeptIdEnd(){ public Long getDeptIdEnd(){
return this.deptIdEnd; return this.deptIdEnd;
} }
/** /**
* 设置 结束 办理单位ID * 设置 结束 办理单位ID
* @param deptIdEnd * @param deptIdEnd
*/ */
public void setDeptIdEnd(Long deptIdEnd){ public void setDeptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd; this.deptIdEnd = deptIdEnd;
} }
/** /**
* 获取 增加 办理单位ID * 获取 增加 办理单位ID
* @return deptIdIncrement * @return deptIdIncrement
*/ */
public Long getDeptIdIncrement(){ public Long getDeptIdIncrement(){
return this.deptIdIncrement; return this.deptIdIncrement;
} }
/** /**
* 设置 增加 办理单位ID * 设置 增加 办理单位ID
* @param deptIdIncrement * @param deptIdIncrement
*/ */
public void setDeptIdIncrement(Long deptIdIncrement){ public void setDeptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement; this.deptIdIncrement = deptIdIncrement;
} }
/** /**
* 获取 办理单位ID * 获取 办理单位ID
* @return deptIdList * @return deptIdList
*/ */
public List<Long> getDeptIdList(){ public List<Long> getDeptIdList(){
return this.deptIdList; return this.deptIdList;
} }
/** /**
* 设置 办理单位ID * 设置 办理单位ID
* @param deptIdList * @param deptIdList
*/ */
public void setDeptIdList(List<Long> deptIdList){ public void setDeptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
} }
/** /**
* 获取 办理单位ID * 获取 办理单位ID
* @return deptIdNotList * @return deptIdNotList
*/ */
public List<Long> getDeptIdNotList(){ public List<Long> getDeptIdNotList(){
return this.deptIdNotList; return this.deptIdNotList;
} }
/** /**
* 设置 办理单位ID * 设置 办理单位ID
* @param deptIdNotList * @param deptIdNotList
*/ */
public void setDeptIdNotList(List<Long> deptIdNotList){ public void setDeptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList; this.deptIdNotList = deptIdNotList;
} }
/** /**
* 获取 办理单位名称 * 获取 备注
* @return deptNameList * @return remarkList
*/ */
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 remarkList
*/
public List<String> getRemarkList(){ public List<String> getRemarkList(){
return this.remarkList; return this.remarkList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public void setRemarkList(List<String> remarkList){ public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkNotList * @return remarkNotList
*/ */
public List<String> getRemarkNotList(){ public List<String> getRemarkNotList(){
return this.remarkNotList; return this.remarkNotList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkNotList * @param remarkNotList
*/ */
public void setRemarkNotList(List<String> remarkNotList){ public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList; this.remarkNotList = remarkNotList;
} }
/** /**
* 获取 开始 创建用户 * 获取 开始 创建用户
* @return createUserIdStart * @return createUserIdStart
*/ */
public Long getCreateUserIdStart(){ public Long getCreateUserIdStart(){
return this.createUserIdStart; return this.createUserIdStart;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public void setCreateUserIdStart(Long createUserIdStart){ public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
} }
/** /**
* 获取 结束 创建用户 * 获取 结束 创建用户
* @return $createUserIdEnd * @return $createUserIdEnd
*/ */
public Long getCreateUserIdEnd(){ public Long getCreateUserIdEnd(){
return this.createUserIdEnd; return this.createUserIdEnd;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public void setCreateUserIdEnd(Long createUserIdEnd){ public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
} }
/** /**
* 获取 增加 创建用户 * 获取 增加 创建用户
* @return createUserIdIncrement * @return createUserIdIncrement
*/ */
public Long getCreateUserIdIncrement(){ public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement; return this.createUserIdIncrement;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public void setCreateUserIdIncrement(Long createUserIdIncrement){ public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdList * @return createUserIdList
*/ */
public List<Long> getCreateUserIdList(){ public List<Long> getCreateUserIdList(){
return this.createUserIdList; return this.createUserIdList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public void setCreateUserIdList(List<Long> createUserIdList){ public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdNotList * @return createUserIdNotList
*/ */
public List<Long> getCreateUserIdNotList(){ public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList; return this.createUserIdNotList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public void setCreateUserIdNotList(List<Long> createUserIdNotList){ public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
} }
/** /**
* 获取 创建用户名称 * 获取 创建用户名称
* @return createUserNameList * @return createUserNameList
*/ */
public List<String> getCreateUserNameList(){ public List<String> getCreateUserNameList(){
return this.createUserNameList; return this.createUserNameList;
} }
/** /**
* 设置 创建用户名称 * 设置 创建用户名称
* @param createUserNameList * @param createUserNameList
*/ */
public void setCreateUserNameList(List<String> createUserNameList){ public void setCreateUserNameList(List<String> createUserNameList){
this.createUserNameList = createUserNameList; this.createUserNameList = createUserNameList;
} }
/** /**
* 获取 创建用户名称 * 获取 创建用户名称
* @return createUserNameNotList * @return createUserNameNotList
*/ */
public List<String> getCreateUserNameNotList(){ public List<String> getCreateUserNameNotList(){
return this.createUserNameNotList; return this.createUserNameNotList;
} }
/** /**
* 设置 创建用户名称 * 设置 创建用户名称
* @param createUserNameNotList * @param createUserNameNotList
*/ */
public void setCreateUserNameNotList(List<String> createUserNameNotList){ public void setCreateUserNameNotList(List<String> createUserNameNotList){
this.createUserNameNotList = createUserNameNotList; this.createUserNameNotList = createUserNameNotList;
} }
/** /**
* 获取 开始 创建时间 * 获取 开始 创建时间
* @return createTimeStart * @return createTimeStart
*/ */
public String getCreateTimeStart(){ public String getCreateTimeStart(){
return this.createTimeStart; return this.createTimeStart;
} }
/** /**
* 设置 开始 创建时间 * 设置 开始 创建时间
* @param createTimeStart * @param createTimeStart
*/ */
public void setCreateTimeStart(String createTimeStart){ public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart; this.createTimeStart = createTimeStart;
} }
/** /**
* 获取 结束 创建时间 * 获取 结束 创建时间
* @return createTimeEnd * @return createTimeEnd
*/ */
public String getCreateTimeEnd(){ public String getCreateTimeEnd(){
return this.createTimeEnd; return this.createTimeEnd;
} }
/** /**
* 设置 结束 创建时间 * 设置 结束 创建时间
* @param createTimeEnd * @param createTimeEnd
*/ */
public void setCreateTimeEnd(String createTimeEnd){ public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd; this.createTimeEnd = createTimeEnd;
} }
/** /**
* 获取 开始 更新时间 * 获取 开始 更新时间
* @return updateTimeStart * @return updateTimeStart
*/ */
public String getUpdateTimeStart(){ public String getUpdateTimeStart(){
return this.updateTimeStart; return this.updateTimeStart;
} }
/** /**
* 设置 开始 更新时间 * 设置 开始 更新时间
* @param updateTimeStart * @param updateTimeStart
*/ */
public void setUpdateTimeStart(String updateTimeStart){ public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart; this.updateTimeStart = updateTimeStart;
} }
/** /**
* 获取 结束 更新时间 * 获取 结束 更新时间
* @return updateTimeEnd * @return updateTimeEnd
*/ */
public String getUpdateTimeEnd(){ public String getUpdateTimeEnd(){
return this.updateTimeEnd; return this.updateTimeEnd;
} }
/** /**
* 设置 结束 更新时间 * 设置 结束 更新时间
* @param updateTimeEnd * @param updateTimeEnd
*/ */
public void setUpdateTimeEnd(String updateTimeEnd){ public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd; this.updateTimeEnd = updateTimeEnd;
} }
/** /**
* 设置 主键ID,主键,自增长 * 获取 事项组名称
* @param id * @return matterGroupNameList
*/ */
public EntLifeMatterQuery id(Long id){ public List<String> getMatterGroupNameList(){
setId(id); return this.matterGroupNameList;
return this;
}
/**
* 设置 开始 主键ID,主键,自增长
* @param idStart
*/
public EntLifeMatterQuery idStart(Long idStart){
this.idStart = idStart;
return this;
} }
/** /**
* 设置 结束 主键ID,主键,自增长 * 设置 事项组名称
* @param idEnd * @param matterGroupNameList
*/ */
public EntLifeMatterQuery idEnd(Long idEnd){ public void setMatterGroupNameList(List<String> matterGroupNameList){
this.idEnd = idEnd; this.matterGroupNameList = matterGroupNameList;
return this;
} }
/** /**
* 设置 增加 主键ID,主键,自增长 * 获取 事项组名称
* @param idIncrement * @return matterGroupNameNotList
*/ */
public EntLifeMatterQuery idIncrement(Long idIncrement){ public List<String> getMatterGroupNameNotList(){
this.idIncrement = idIncrement; return this.matterGroupNameNotList;
return this;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 事项组名称
* @param idList * @param matterGroupNameNotList
*/ */
public EntLifeMatterQuery idList(List<Long> idList){ public void setMatterGroupNameNotList(List<String> matterGroupNameNotList){
this.idList = idList; this.matterGroupNameNotList = matterGroupNameNotList;
return this;
}
/**
* 设置 主键ID,主键,自增长
* @param idNotList
*/
public EntLifeMatterQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
/**
* 设置 企业生命周期id
* @param lifeCycleId
*/
public EntLifeMatterQuery lifeCycleId(Long lifeCycleId){
setLifeCycleId(lifeCycleId);
return this;
}
/**
* 设置 开始 企业生命周期id
* @param lifeCycleIdStart
*/
public EntLifeMatterQuery lifeCycleIdStart(Long lifeCycleIdStart){
this.lifeCycleIdStart = lifeCycleIdStart;
return this;
} }
/** /**
* 设置 结束 企业生命周期id * 设置 主键ID,主键,自增长
* @param lifeCycleIdEnd * @param id
*/ */
public EntLifeMatterQuery lifeCycleIdEnd(Long lifeCycleIdEnd){ public EntLifeMatterQuery id(Long id){
this.lifeCycleIdEnd = lifeCycleIdEnd; setId(id);
return this; return this;
} }
/** /**
* 设置 增加 企业生命周期id * 设置 开始 主键ID,主键,自增长
* @param lifeCycleIdIncrement * @param idStart
*/ */
public EntLifeMatterQuery lifeCycleIdIncrement(Long lifeCycleIdIncrement){ public EntLifeMatterQuery idStart(Long idStart){
this.lifeCycleIdIncrement = lifeCycleIdIncrement; this.idStart = idStart;
return this; return this;
} }
/** /**
* 设置 企业生命周期id * 设置 结束 主键ID,主键,自增长
* @param lifeCycleIdList * @param idEnd
*/ */
public EntLifeMatterQuery lifeCycleIdList(List<Long> lifeCycleIdList){ public EntLifeMatterQuery idEnd(Long idEnd){
this.lifeCycleIdList = lifeCycleIdList; this.idEnd = idEnd;
return this;
}
/**
* 设置 企业生命周期id
* @param lifeCycleIdNotList
*/
public EntLifeMatterQuery lifeCycleIdNotList(List<Long> lifeCycleIdNotList){
this.lifeCycleIdNotList = lifeCycleIdNotList;
return this; return this;
}
/**
* 设置 生命周期名称
* @param lifeCycleName
*/
public EntLifeMatterQuery lifeCycleName(String lifeCycleName){
setLifeCycleName(lifeCycleName);
return this;
} }
/** /**
* 设置 生命周期名称 * 设置 增加 主键ID,主键,自增长
* @param lifeCycleNameList * @param idIncrement
*/ */
public EntLifeMatterQuery lifeCycleNameList(List<String> lifeCycleNameList){ public EntLifeMatterQuery idIncrement(Long idIncrement){
this.lifeCycleNameList = lifeCycleNameList; this.idIncrement = idIncrement;
return this; return this;
} }
/** /**
* 设置 事项id * 设置 主键ID,主键,自增长
* @param matterId * @param idList
*/ */
public EntLifeMatterQuery matterId(Long matterId){ public EntLifeMatterQuery idList(List<Long> idList){
setMatterId(matterId); this.idList = idList;
return this; return this;
}
/**
* 设置 开始 事项id
* @param matterIdStart
*/
public EntLifeMatterQuery matterIdStart(Long matterIdStart){
this.matterIdStart = matterIdStart;
return this;
} }
/** /**
* 设置 结束 事项id * 设置 主键ID,主键,自增长
* @param matterIdEnd * @param idNotList
*/ */
public EntLifeMatterQuery matterIdEnd(Long matterIdEnd){ public EntLifeMatterQuery idNotList(List<Long> idNotList){
this.matterIdEnd = matterIdEnd; this.idNotList = idNotList;
return this; return this;
} }
/** /**
* 设置 增加 事项id * 设置 企业生命周期id
* @param matterIdIncrement * @param lifeCycleId
*/ */
public EntLifeMatterQuery matterIdIncrement(Long matterIdIncrement){ public EntLifeMatterQuery lifeCycleId(Long lifeCycleId){
this.matterIdIncrement = matterIdIncrement; setLifeCycleId(lifeCycleId);
return this; return this;
} }
/** /**
* 设置 事项id * 设置 开始 企业生命周期id
* @param matterIdList * @param lifeCycleIdStart
*/ */
public EntLifeMatterQuery matterIdList(List<Long> matterIdList){ public EntLifeMatterQuery lifeCycleIdStart(Long lifeCycleIdStart){
this.matterIdList = matterIdList; this.lifeCycleIdStart = lifeCycleIdStart;
return this;
}
/**
* 设置 事项id
* @param matterIdNotList
*/
public EntLifeMatterQuery matterIdNotList(List<Long> matterIdNotList){
this.matterIdNotList = matterIdNotList;
return this; return this;
}
/**
* 设置 事项名称
* @param matterName
*/
public EntLifeMatterQuery matterName(String matterName){
setMatterName(matterName);
return this;
} }
/** /**
* 设置 事项名称 * 设置 结束 企业生命周期id
* @param matterNameList * @param lifeCycleIdEnd
*/ */
public EntLifeMatterQuery matterNameList(List<String> matterNameList){ public EntLifeMatterQuery lifeCycleIdEnd(Long lifeCycleIdEnd){
this.matterNameList = matterNameList; this.lifeCycleIdEnd = lifeCycleIdEnd;
return this; return this;
}
/**
* 设置 事项编码
* @param matterCode
*/
public EntLifeMatterQuery matterCode(String matterCode){
setMatterCode(matterCode);
return this;
} }
/** /**
* 设置 事项编码 * 设置 增加 企业生命周期id
* @param matterCodeList * @param lifeCycleIdIncrement
*/ */
public EntLifeMatterQuery matterCodeList(List<String> matterCodeList){ public EntLifeMatterQuery lifeCycleIdIncrement(Long lifeCycleIdIncrement){
this.matterCodeList = matterCodeList; this.lifeCycleIdIncrement = lifeCycleIdIncrement;
return this; return this;
}
/**
* 设置 区域编码
* @param areaCode
*/
public EntLifeMatterQuery areaCode(String areaCode){
setAreaCode(areaCode);
return this;
} }
/** /**
* 设置 区域编码 * 设置 企业生命周期id
* @param areaCodeList * @param lifeCycleIdList
*/ */
public EntLifeMatterQuery areaCodeList(List<String> areaCodeList){ public EntLifeMatterQuery lifeCycleIdList(List<Long> lifeCycleIdList){
this.areaCodeList = areaCodeList; this.lifeCycleIdList = lifeCycleIdList;
return this; return this;
}
/**
* 设置 区域名称
* @param areaName
*/
public EntLifeMatterQuery areaName(String areaName){
setAreaName(areaName);
return this;
} }
/** /**
* 设置 区域名称 * 设置 企业生命周期id
* @param areaNameList * @param lifeCycleIdNotList
*/ */
public EntLifeMatterQuery areaNameList(List<String> areaNameList){ public EntLifeMatterQuery lifeCycleIdNotList(List<Long> lifeCycleIdNotList){
this.areaNameList = areaNameList; this.lifeCycleIdNotList = lifeCycleIdNotList;
return this; return this;
} }
/**
* 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevel
*/
public EntLifeMatterQuery areaLevel(Integer areaLevel){
setAreaLevel(areaLevel);
return this;
}
/**
* 设置 开始 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelStart
*/
public EntLifeMatterQuery areaLevelStart(Integer areaLevelStart){
this.areaLevelStart = areaLevelStart;
return this;
}
/** /**
* 设置 结束 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 生命周期名称
* @param areaLevelEnd * @param lifeCycleName
*/ */
public EntLifeMatterQuery areaLevelEnd(Integer areaLevelEnd){ public EntLifeMatterQuery lifeCycleName(String lifeCycleName){
this.areaLevelEnd = areaLevelEnd; setLifeCycleName(lifeCycleName);
return this; return this;
} }
/** /**
* 设置 增加 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 生命周期名称
* @param areaLevelIncrement * @param lifeCycleNameList
*/ */
public EntLifeMatterQuery areaLevelIncrement(Integer areaLevelIncrement){ public EntLifeMatterQuery lifeCycleNameList(List<String> lifeCycleNameList){
this.areaLevelIncrement = areaLevelIncrement; this.lifeCycleNameList = lifeCycleNameList;
return this; return this;
} }
/** /**
* 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 办理单位ID
* @param areaLevelList * @param deptId
*/ */
public EntLifeMatterQuery areaLevelList(List<Integer> areaLevelList){ public EntLifeMatterQuery deptId(Long deptId){
this.areaLevelList = areaLevelList; setDeptId(deptId);
return this;
}
/**
* 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelNotList
*/
public EntLifeMatterQuery areaLevelNotList(List<Integer> areaLevelNotList){
this.areaLevelNotList = areaLevelNotList;
return this; return this;
} }
/** /**
* 设置 办理单位ID * 设置 开始 办理单位ID
* @param deptId * @param deptIdStart
*/ */
public EntLifeMatterQuery deptId(Long deptId){
setDeptId(deptId);
return this;
}
/**
* 设置 开始 办理单位ID
* @param deptIdStart
*/
public EntLifeMatterQuery deptIdStart(Long deptIdStart){ public EntLifeMatterQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart; this.deptIdStart = deptIdStart;
return this; return this;
} }
/** /**
* 设置 结束 办理单位ID * 设置 结束 办理单位ID
* @param deptIdEnd * @param deptIdEnd
*/ */
public EntLifeMatterQuery deptIdEnd(Long deptIdEnd){ public EntLifeMatterQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd; this.deptIdEnd = deptIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 办理单位ID * 设置 增加 办理单位ID
* @param deptIdIncrement * @param deptIdIncrement
*/ */
public EntLifeMatterQuery deptIdIncrement(Long deptIdIncrement){ public EntLifeMatterQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement; this.deptIdIncrement = deptIdIncrement;
return this; return this;
} }
/** /**
* 设置 办理单位ID * 设置 办理单位ID
* @param deptIdList * @param deptIdList
*/ */
public EntLifeMatterQuery deptIdList(List<Long> deptIdList){ public EntLifeMatterQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
return this;
}
/**
* 设置 办理单位ID
* @param deptIdNotList
*/
public EntLifeMatterQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList;
return this; return this;
}
/**
* 设置 办理单位名称
* @param deptName
*/
public EntLifeMatterQuery deptName(String deptName){
setDeptName(deptName);
return this;
} }
/** /**
* 设置 办理单位名称 * 设置 办理单位ID
* @param deptNameList * @param deptIdNotList
*/ */
public EntLifeMatterQuery deptNameList(List<String> deptNameList){ public EntLifeMatterQuery deptIdNotList(List<Long> deptIdNotList){
this.deptNameList = deptNameList; this.deptIdNotList = deptIdNotList;
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public EntLifeMatterQuery remark(String remark){ public EntLifeMatterQuery remark(String remark){
setRemark(remark); setRemark(remark);
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public EntLifeMatterQuery remarkList(List<String> remarkList){ public EntLifeMatterQuery remarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserId * @param createUserId
*/ */
public EntLifeMatterQuery createUserId(Long createUserId){ public EntLifeMatterQuery createUserId(Long createUserId){
setCreateUserId(createUserId); setCreateUserId(createUserId);
return this; return this;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public EntLifeMatterQuery createUserIdStart(Long createUserIdStart){ public EntLifeMatterQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public EntLifeMatterQuery createUserIdEnd(Long createUserIdEnd){ public EntLifeMatterQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public EntLifeMatterQuery createUserIdIncrement(Long createUserIdIncrement){ public EntLifeMatterQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public EntLifeMatterQuery createUserIdList(List<Long> createUserIdList){ public EntLifeMatterQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public EntLifeMatterQuery createUserIdNotList(List<Long> createUserIdNotList){ public EntLifeMatterQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
return this; return this;
} }
/** /**
* 设置 创建用户名称 * 设置 创建用户名称
* @param createUserName * @param createUserName
*/ */
public EntLifeMatterQuery createUserName(String createUserName){ public EntLifeMatterQuery createUserName(String createUserName){
setCreateUserName(createUserName); setCreateUserName(createUserName);
return this; return this;
} }
/** /**
* 设置 创建用户名称 * 设置 创建用户名称
* @param createUserNameList * @param createUserNameList
*/ */
public EntLifeMatterQuery createUserNameList(List<String> createUserNameList){ public EntLifeMatterQuery createUserNameList(List<String> createUserNameList){
this.createUserNameList = createUserNameList; this.createUserNameList = createUserNameList;
return this; return this;
} }
/**
* 设置 事项组名称
* @param matterGroupName
*/
public EntLifeMatterQuery matterGroupName(String matterGroupName){
setMatterGroupName(matterGroupName);
return this;
}
/**
* 设置 事项组名称
* @param matterGroupNameList
*/
public EntLifeMatterQuery matterGroupNameList(List<String> matterGroupNameList){
this.matterGroupNameList = matterGroupNameList;
return this;
}
/** /**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList * @return orConditionList
*/ */
public List<EntLifeMatterQuery> getOrConditionList(){ public List<EntLifeMatterQuery> getOrConditionList(){
return this.orConditionList; return this.orConditionList;
} }
/** /**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList * @param orConditionList
*/ */
public void setOrConditionList(List<EntLifeMatterQuery> orConditionList){ public void setOrConditionList(List<EntLifeMatterQuery> orConditionList){
this.orConditionList = orConditionList; this.orConditionList = orConditionList;
} }
/** /**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList * @return andConditionList
*/ */
public List<EntLifeMatterQuery> getAndConditionList(){ public List<EntLifeMatterQuery> getAndConditionList(){
return this.andConditionList; return this.andConditionList;
} }
/** /**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList * @param andConditionList
*/ */
public void setAndConditionList(List<EntLifeMatterQuery> andConditionList){ public void setAndConditionList(List<EntLifeMatterQuery> andConditionList){
this.andConditionList = andConditionList; this.andConditionList = andConditionList;
} }
......
...@@ -10,62 +10,66 @@ import com.mortals.framework.model.BaseEntityLong; ...@@ -10,62 +10,66 @@ import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.ent.model.vo.EntLifeMatterSubVo; import com.mortals.xhx.module.ent.model.vo.EntLifeMatterSubVo;
import lombok.Data; import lombok.Data;
/** /**
* 企业周期事项子实体对象 * 企业周期事项子实体对象
* *
* @author zxfei * @author zxfei
* @date 2025-03-15 * @date 2025-03-17
*/ */
@Data @Data
public class EntLifeMatterSubEntity extends EntLifeMatterSubVo { public class EntLifeMatterSubEntity extends EntLifeMatterSubVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 主事项id * 主事项id
*/ */
private Long masterRecordId; private Long masterRecordId;
/** /**
* 事项id * 事项id
*/ */
private Long matterId; private Long matterId;
/** /**
* 事项名称 * 事项名称
*/ */
private String matterName; private String matterName;
/** /**
* 事项编码 * 事项编码
*/ */
private String matterCode; private String matterCode;
/** /**
* 区域编码 * 区域编码
*/ */
private String areaCode; private String areaCode;
/** /**
* 区域名称 * 区域名称
*/ */
private String areaName; private String areaName;
/** /**
* 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
*/ */
private Integer areaLevel; private Integer areaLevel;
/** /**
* 办理单位ID * 办理单位ID
*/ */
private Long deptId; private Long deptId;
/** /**
* 办理单位名称 * 办理单位名称
*/ */
private String deptName; private String deptName;
/** /**
* 备注 * 备注
*/ */
private String remark; private String remark;
/** /**
* 创建用户名称 * 创建用户名称
*/ */
private String createUserName; private String createUserName;
/**
* 排序字段
*/
private Integer sort;
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -73,23 +77,24 @@ public class EntLifeMatterSubEntity extends EntLifeMatterSubVo { ...@@ -73,23 +77,24 @@ public class EntLifeMatterSubEntity extends EntLifeMatterSubVo {
if (obj instanceof EntLifeMatterSubEntity) { if (obj instanceof EntLifeMatterSubEntity) {
EntLifeMatterSubEntity tmp = (EntLifeMatterSubEntity) obj; EntLifeMatterSubEntity tmp = (EntLifeMatterSubEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
} }
public void initAttrValue(){ public void initAttrValue(){
this.masterRecordId = null; this.masterRecordId = null;
this.matterId = null; this.matterId = null;
this.matterName = ""; this.matterName = "";
this.matterCode = ""; this.matterCode = "";
this.areaCode = ""; this.areaCode = "";
this.areaName = ""; this.areaName = "";
this.areaLevel = 1; this.areaLevel = 1;
this.deptId = null; this.deptId = null;
this.deptName = ""; this.deptName = "";
this.remark = ""; this.remark = "";
this.createUserName = ""; this.createUserName = "";
this.sort = 0;
} }
} }
\ No newline at end of file
...@@ -3,11 +3,11 @@ package com.mortals.xhx.module.ent.model; ...@@ -3,11 +3,11 @@ package com.mortals.xhx.module.ent.model;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.ent.model.EntLifeMatterSubEntity; import com.mortals.xhx.module.ent.model.EntLifeMatterSubEntity;
/** /**
* 企业周期事项子查询对象 * 企业周期事项子查询对象
* *
* @author zxfei * @author zxfei
* @date 2025-03-15 * @date 2025-03-17
*/ */
public class EntLifeMatterSubQuery extends EntLifeMatterSubEntity { public class EntLifeMatterSubQuery extends EntLifeMatterSubEntity {
/** 开始 主键ID,主键,自增长 */ /** 开始 主键ID,主键,自增长 */
private Long idStart; private Long idStart;
...@@ -146,6 +146,21 @@ public class EntLifeMatterSubQuery extends EntLifeMatterSubEntity { ...@@ -146,6 +146,21 @@ public class EntLifeMatterSubQuery extends EntLifeMatterSubEntity {
/** 结束 更新时间 */ /** 结束 更新时间 */
private String updateTimeEnd; private String updateTimeEnd;
/** 开始 排序字段 */
private Integer sortStart;
/** 结束 排序字段 */
private Integer sortEnd;
/** 增加 排序字段 */
private Integer sortIncrement;
/** 排序字段列表 */
private List <Integer> sortList;
/** 排序字段排除列表 */
private List <Integer> sortNotList;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */ /** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<EntLifeMatterSubQuery> orConditionList; private List<EntLifeMatterSubQuery> orConditionList;
...@@ -155,1266 +170,1401 @@ public class EntLifeMatterSubQuery extends EntLifeMatterSubEntity { ...@@ -155,1266 +170,1401 @@ public class EntLifeMatterSubQuery extends EntLifeMatterSubEntity {
public EntLifeMatterSubQuery(){} public EntLifeMatterSubQuery(){}
/** /**
* 获取 开始 主键ID,主键,自增长 * 获取 开始 主键ID,主键,自增长
* @return idStart * @return idStart
*/ */
public Long getIdStart(){ public Long getIdStart(){
return this.idStart; return this.idStart;
} }
/** /**
* 设置 开始 主键ID,主键,自增长 * 设置 开始 主键ID,主键,自增长
* @param idStart * @param idStart
*/ */
public void setIdStart(Long idStart){ public void setIdStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
} }
/** /**
* 获取 结束 主键ID,主键,自增长 * 获取 结束 主键ID,主键,自增长
* @return $idEnd * @return $idEnd
*/ */
public Long getIdEnd(){ public Long getIdEnd(){
return this.idEnd; return this.idEnd;
} }
/** /**
* 设置 结束 主键ID,主键,自增长 * 设置 结束 主键ID,主键,自增长
* @param idEnd * @param idEnd
*/ */
public void setIdEnd(Long idEnd){ public void setIdEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
} }
/** /**
* 获取 增加 主键ID,主键,自增长 * 获取 增加 主键ID,主键,自增长
* @return idIncrement * @return idIncrement
*/ */
public Long getIdIncrement(){ public Long getIdIncrement(){
return this.idIncrement; return this.idIncrement;
} }
/** /**
* 设置 增加 主键ID,主键,自增长 * 设置 增加 主键ID,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public void setIdIncrement(Long idIncrement){ public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
} }
/** /**
* 获取 主键ID,主键,自增长 * 获取 主键ID,主键,自增长
* @return idList * @return idList
*/ */
public List<Long> getIdList(){ public List<Long> getIdList(){
return this.idList; return this.idList;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idList * @param idList
*/ */
public void setIdList(List<Long> idList){ public void setIdList(List<Long> idList){
this.idList = idList; this.idList = idList;
} }
/** /**
* 获取 主键ID,主键,自增长 * 获取 主键ID,主键,自增长
* @return idNotList * @return idNotList
*/ */
public List<Long> getIdNotList(){ public List<Long> getIdNotList(){
return this.idNotList; return this.idNotList;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idNotList * @param idNotList
*/ */
public void setIdNotList(List<Long> idNotList){ public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
} }
/** /**
* 获取 开始 主事项id * 获取 开始 主事项id
* @return masterRecordIdStart * @return masterRecordIdStart
*/ */
public Long getMasterRecordIdStart(){ public Long getMasterRecordIdStart(){
return this.masterRecordIdStart; return this.masterRecordIdStart;
} }
/** /**
* 设置 开始 主事项id * 设置 开始 主事项id
* @param masterRecordIdStart * @param masterRecordIdStart
*/ */
public void setMasterRecordIdStart(Long masterRecordIdStart){ public void setMasterRecordIdStart(Long masterRecordIdStart){
this.masterRecordIdStart = masterRecordIdStart; this.masterRecordIdStart = masterRecordIdStart;
} }
/** /**
* 获取 结束 主事项id * 获取 结束 主事项id
* @return $masterRecordIdEnd * @return $masterRecordIdEnd
*/ */
public Long getMasterRecordIdEnd(){ public Long getMasterRecordIdEnd(){
return this.masterRecordIdEnd; return this.masterRecordIdEnd;
} }
/** /**
* 设置 结束 主事项id * 设置 结束 主事项id
* @param masterRecordIdEnd * @param masterRecordIdEnd
*/ */
public void setMasterRecordIdEnd(Long masterRecordIdEnd){ public void setMasterRecordIdEnd(Long masterRecordIdEnd){
this.masterRecordIdEnd = masterRecordIdEnd; this.masterRecordIdEnd = masterRecordIdEnd;
} }
/** /**
* 获取 增加 主事项id * 获取 增加 主事项id
* @return masterRecordIdIncrement * @return masterRecordIdIncrement
*/ */
public Long getMasterRecordIdIncrement(){ public Long getMasterRecordIdIncrement(){
return this.masterRecordIdIncrement; return this.masterRecordIdIncrement;
} }
/** /**
* 设置 增加 主事项id * 设置 增加 主事项id
* @param masterRecordIdIncrement * @param masterRecordIdIncrement
*/ */
public void setMasterRecordIdIncrement(Long masterRecordIdIncrement){ public void setMasterRecordIdIncrement(Long masterRecordIdIncrement){
this.masterRecordIdIncrement = masterRecordIdIncrement; this.masterRecordIdIncrement = masterRecordIdIncrement;
} }
/** /**
* 获取 主事项id * 获取 主事项id
* @return masterRecordIdList * @return masterRecordIdList
*/ */
public List<Long> getMasterRecordIdList(){ public List<Long> getMasterRecordIdList(){
return this.masterRecordIdList; return this.masterRecordIdList;
} }
/** /**
* 设置 主事项id * 设置 主事项id
* @param masterRecordIdList * @param masterRecordIdList
*/ */
public void setMasterRecordIdList(List<Long> masterRecordIdList){ public void setMasterRecordIdList(List<Long> masterRecordIdList){
this.masterRecordIdList = masterRecordIdList; this.masterRecordIdList = masterRecordIdList;
} }
/** /**
* 获取 主事项id * 获取 主事项id
* @return masterRecordIdNotList * @return masterRecordIdNotList
*/ */
public List<Long> getMasterRecordIdNotList(){ public List<Long> getMasterRecordIdNotList(){
return this.masterRecordIdNotList; return this.masterRecordIdNotList;
} }
/** /**
* 设置 主事项id * 设置 主事项id
* @param masterRecordIdNotList * @param masterRecordIdNotList
*/ */
public void setMasterRecordIdNotList(List<Long> masterRecordIdNotList){ public void setMasterRecordIdNotList(List<Long> masterRecordIdNotList){
this.masterRecordIdNotList = masterRecordIdNotList; this.masterRecordIdNotList = masterRecordIdNotList;
} }
/** /**
* 获取 开始 事项id * 获取 开始 事项id
* @return matterIdStart * @return matterIdStart
*/ */
public Long getMatterIdStart(){ public Long getMatterIdStart(){
return this.matterIdStart; return this.matterIdStart;
} }
/** /**
* 设置 开始 事项id * 设置 开始 事项id
* @param matterIdStart * @param matterIdStart
*/ */
public void setMatterIdStart(Long matterIdStart){ public void setMatterIdStart(Long matterIdStart){
this.matterIdStart = matterIdStart; this.matterIdStart = matterIdStart;
} }
/** /**
* 获取 结束 事项id * 获取 结束 事项id
* @return $matterIdEnd * @return $matterIdEnd
*/ */
public Long getMatterIdEnd(){ public Long getMatterIdEnd(){
return this.matterIdEnd; return this.matterIdEnd;
} }
/** /**
* 设置 结束 事项id * 设置 结束 事项id
* @param matterIdEnd * @param matterIdEnd
*/ */
public void setMatterIdEnd(Long matterIdEnd){ public void setMatterIdEnd(Long matterIdEnd){
this.matterIdEnd = matterIdEnd; this.matterIdEnd = matterIdEnd;
} }
/** /**
* 获取 增加 事项id * 获取 增加 事项id
* @return matterIdIncrement * @return matterIdIncrement
*/ */
public Long getMatterIdIncrement(){ public Long getMatterIdIncrement(){
return this.matterIdIncrement; return this.matterIdIncrement;
} }
/** /**
* 设置 增加 事项id * 设置 增加 事项id
* @param matterIdIncrement * @param matterIdIncrement
*/ */
public void setMatterIdIncrement(Long matterIdIncrement){ public void setMatterIdIncrement(Long matterIdIncrement){
this.matterIdIncrement = matterIdIncrement; this.matterIdIncrement = matterIdIncrement;
} }
/** /**
* 获取 事项id * 获取 事项id
* @return matterIdList * @return matterIdList
*/ */
public List<Long> getMatterIdList(){ public List<Long> getMatterIdList(){
return this.matterIdList; return this.matterIdList;
} }
/** /**
* 设置 事项id * 设置 事项id
* @param matterIdList * @param matterIdList
*/ */
public void setMatterIdList(List<Long> matterIdList){ public void setMatterIdList(List<Long> matterIdList){
this.matterIdList = matterIdList; this.matterIdList = matterIdList;
} }
/** /**
* 获取 事项id * 获取 事项id
* @return matterIdNotList * @return matterIdNotList
*/ */
public List<Long> getMatterIdNotList(){ public List<Long> getMatterIdNotList(){
return this.matterIdNotList; return this.matterIdNotList;
} }
/** /**
* 设置 事项id * 设置 事项id
* @param matterIdNotList * @param matterIdNotList
*/ */
public void setMatterIdNotList(List<Long> matterIdNotList){ public void setMatterIdNotList(List<Long> matterIdNotList){
this.matterIdNotList = matterIdNotList; this.matterIdNotList = matterIdNotList;
} }
/** /**
* 获取 事项名称 * 获取 事项名称
* @return matterNameList * @return matterNameList
*/ */
public List<String> getMatterNameList(){ public List<String> getMatterNameList(){
return this.matterNameList; return this.matterNameList;
} }
/** /**
* 设置 事项名称 * 设置 事项名称
* @param matterNameList * @param matterNameList
*/ */
public void setMatterNameList(List<String> matterNameList){ public void setMatterNameList(List<String> matterNameList){
this.matterNameList = matterNameList; this.matterNameList = matterNameList;
} }
/** /**
* 获取 事项名称 * 获取 事项名称
* @return matterNameNotList * @return matterNameNotList
*/ */
public List<String> getMatterNameNotList(){ public List<String> getMatterNameNotList(){
return this.matterNameNotList; return this.matterNameNotList;
} }
/** /**
* 设置 事项名称 * 设置 事项名称
* @param matterNameNotList * @param matterNameNotList
*/ */
public void setMatterNameNotList(List<String> matterNameNotList){ public void setMatterNameNotList(List<String> matterNameNotList){
this.matterNameNotList = matterNameNotList; this.matterNameNotList = matterNameNotList;
} }
/** /**
* 获取 事项编码 * 获取 事项编码
* @return matterCodeList * @return matterCodeList
*/ */
public List<String> getMatterCodeList(){ public List<String> getMatterCodeList(){
return this.matterCodeList; return this.matterCodeList;
} }
/** /**
* 设置 事项编码 * 设置 事项编码
* @param matterCodeList * @param matterCodeList
*/ */
public void setMatterCodeList(List<String> matterCodeList){ public void setMatterCodeList(List<String> matterCodeList){
this.matterCodeList = matterCodeList; this.matterCodeList = matterCodeList;
} }
/** /**
* 获取 事项编码 * 获取 事项编码
* @return matterCodeNotList * @return matterCodeNotList
*/ */
public List<String> getMatterCodeNotList(){ public List<String> getMatterCodeNotList(){
return this.matterCodeNotList; return this.matterCodeNotList;
} }
/** /**
* 设置 事项编码 * 设置 事项编码
* @param matterCodeNotList * @param matterCodeNotList
*/ */
public void setMatterCodeNotList(List<String> matterCodeNotList){ public void setMatterCodeNotList(List<String> matterCodeNotList){
this.matterCodeNotList = matterCodeNotList; this.matterCodeNotList = matterCodeNotList;
} }
/** /**
* 获取 区域编码 * 获取 区域编码
* @return areaCodeList * @return areaCodeList
*/ */
public List<String> getAreaCodeList(){ public List<String> getAreaCodeList(){
return this.areaCodeList; return this.areaCodeList;
} }
/** /**
* 设置 区域编码 * 设置 区域编码
* @param areaCodeList * @param areaCodeList
*/ */
public void setAreaCodeList(List<String> areaCodeList){ public void setAreaCodeList(List<String> areaCodeList){
this.areaCodeList = areaCodeList; this.areaCodeList = areaCodeList;
} }
/** /**
* 获取 区域编码 * 获取 区域编码
* @return areaCodeNotList * @return areaCodeNotList
*/ */
public List<String> getAreaCodeNotList(){ public List<String> getAreaCodeNotList(){
return this.areaCodeNotList; return this.areaCodeNotList;
} }
/** /**
* 设置 区域编码 * 设置 区域编码
* @param areaCodeNotList * @param areaCodeNotList
*/ */
public void setAreaCodeNotList(List<String> areaCodeNotList){ public void setAreaCodeNotList(List<String> areaCodeNotList){
this.areaCodeNotList = areaCodeNotList; this.areaCodeNotList = areaCodeNotList;
} }
/** /**
* 获取 区域名称 * 获取 区域名称
* @return areaNameList * @return areaNameList
*/ */
public List<String> getAreaNameList(){ public List<String> getAreaNameList(){
return this.areaNameList; return this.areaNameList;
} }
/** /**
* 设置 区域名称 * 设置 区域名称
* @param areaNameList * @param areaNameList
*/ */
public void setAreaNameList(List<String> areaNameList){ public void setAreaNameList(List<String> areaNameList){
this.areaNameList = areaNameList; this.areaNameList = areaNameList;
} }
/** /**
* 获取 区域名称 * 获取 区域名称
* @return areaNameNotList * @return areaNameNotList
*/ */
public List<String> getAreaNameNotList(){ public List<String> getAreaNameNotList(){
return this.areaNameNotList; return this.areaNameNotList;
} }
/** /**
* 设置 区域名称 * 设置 区域名称
* @param areaNameNotList * @param areaNameNotList
*/ */
public void setAreaNameNotList(List<String> areaNameNotList){ public void setAreaNameNotList(List<String> areaNameNotList){
this.areaNameNotList = areaNameNotList; this.areaNameNotList = areaNameNotList;
} }
/** /**
* 获取 开始 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 获取 开始 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @return areaLevelStart * @return areaLevelStart
*/ */
public Integer getAreaLevelStart(){ public Integer getAreaLevelStart(){
return this.areaLevelStart; return this.areaLevelStart;
} }
/** /**
* 设置 开始 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 开始 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelStart * @param areaLevelStart
*/ */
public void setAreaLevelStart(Integer areaLevelStart){ public void setAreaLevelStart(Integer areaLevelStart){
this.areaLevelStart = areaLevelStart; this.areaLevelStart = areaLevelStart;
} }
/** /**
* 获取 结束 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 获取 结束 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @return $areaLevelEnd * @return $areaLevelEnd
*/ */
public Integer getAreaLevelEnd(){ public Integer getAreaLevelEnd(){
return this.areaLevelEnd; return this.areaLevelEnd;
} }
/** /**
* 设置 结束 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 结束 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelEnd * @param areaLevelEnd
*/ */
public void setAreaLevelEnd(Integer areaLevelEnd){ public void setAreaLevelEnd(Integer areaLevelEnd){
this.areaLevelEnd = areaLevelEnd; this.areaLevelEnd = areaLevelEnd;
} }
/** /**
* 获取 增加 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 获取 增加 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @return areaLevelIncrement * @return areaLevelIncrement
*/ */
public Integer getAreaLevelIncrement(){ public Integer getAreaLevelIncrement(){
return this.areaLevelIncrement; return this.areaLevelIncrement;
} }
/** /**
* 设置 增加 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 增加 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelIncrement * @param areaLevelIncrement
*/ */
public void setAreaLevelIncrement(Integer areaLevelIncrement){ public void setAreaLevelIncrement(Integer areaLevelIncrement){
this.areaLevelIncrement = areaLevelIncrement; this.areaLevelIncrement = areaLevelIncrement;
} }
/** /**
* 获取 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 获取 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @return areaLevelList * @return areaLevelList
*/ */
public List<Integer> getAreaLevelList(){ public List<Integer> getAreaLevelList(){
return this.areaLevelList; return this.areaLevelList;
} }
/** /**
* 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelList * @param areaLevelList
*/ */
public void setAreaLevelList(List<Integer> areaLevelList){ public void setAreaLevelList(List<Integer> areaLevelList){
this.areaLevelList = areaLevelList; this.areaLevelList = areaLevelList;
} }
/** /**
* 获取 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 获取 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @return areaLevelNotList * @return areaLevelNotList
*/ */
public List<Integer> getAreaLevelNotList(){ public List<Integer> getAreaLevelNotList(){
return this.areaLevelNotList; return this.areaLevelNotList;
} }
/** /**
* 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelNotList * @param areaLevelNotList
*/ */
public void setAreaLevelNotList(List<Integer> areaLevelNotList){ public void setAreaLevelNotList(List<Integer> areaLevelNotList){
this.areaLevelNotList = areaLevelNotList; this.areaLevelNotList = areaLevelNotList;
} }
/** /**
* 获取 开始 办理单位ID * 获取 开始 办理单位ID
* @return deptIdStart * @return deptIdStart
*/ */
public Long getDeptIdStart(){ public Long getDeptIdStart(){
return this.deptIdStart; return this.deptIdStart;
} }
/** /**
* 设置 开始 办理单位ID * 设置 开始 办理单位ID
* @param deptIdStart * @param deptIdStart
*/ */
public void setDeptIdStart(Long deptIdStart){ public void setDeptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart; this.deptIdStart = deptIdStart;
} }
/** /**
* 获取 结束 办理单位ID * 获取 结束 办理单位ID
* @return $deptIdEnd * @return $deptIdEnd
*/ */
public Long getDeptIdEnd(){ public Long getDeptIdEnd(){
return this.deptIdEnd; return this.deptIdEnd;
} }
/** /**
* 设置 结束 办理单位ID * 设置 结束 办理单位ID
* @param deptIdEnd * @param deptIdEnd
*/ */
public void setDeptIdEnd(Long deptIdEnd){ public void setDeptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd; this.deptIdEnd = deptIdEnd;
} }
/** /**
* 获取 增加 办理单位ID * 获取 增加 办理单位ID
* @return deptIdIncrement * @return deptIdIncrement
*/ */
public Long getDeptIdIncrement(){ public Long getDeptIdIncrement(){
return this.deptIdIncrement; return this.deptIdIncrement;
} }
/** /**
* 设置 增加 办理单位ID * 设置 增加 办理单位ID
* @param deptIdIncrement * @param deptIdIncrement
*/ */
public void setDeptIdIncrement(Long deptIdIncrement){ public void setDeptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement; this.deptIdIncrement = deptIdIncrement;
} }
/** /**
* 获取 办理单位ID * 获取 办理单位ID
* @return deptIdList * @return deptIdList
*/ */
public List<Long> getDeptIdList(){ public List<Long> getDeptIdList(){
return this.deptIdList; return this.deptIdList;
} }
/** /**
* 设置 办理单位ID * 设置 办理单位ID
* @param deptIdList * @param deptIdList
*/ */
public void setDeptIdList(List<Long> deptIdList){ public void setDeptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
} }
/** /**
* 获取 办理单位ID * 获取 办理单位ID
* @return deptIdNotList * @return deptIdNotList
*/ */
public List<Long> getDeptIdNotList(){ public List<Long> getDeptIdNotList(){
return this.deptIdNotList; return this.deptIdNotList;
} }
/** /**
* 设置 办理单位ID * 设置 办理单位ID
* @param deptIdNotList * @param deptIdNotList
*/ */
public void setDeptIdNotList(List<Long> deptIdNotList){ public void setDeptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList; this.deptIdNotList = deptIdNotList;
} }
/** /**
* 获取 办理单位名称 * 获取 办理单位名称
* @return deptNameList * @return deptNameList
*/ */
public List<String> getDeptNameList(){ public List<String> getDeptNameList(){
return this.deptNameList; return this.deptNameList;
} }
/** /**
* 设置 办理单位名称 * 设置 办理单位名称
* @param deptNameList * @param deptNameList
*/ */
public void setDeptNameList(List<String> deptNameList){ public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList; this.deptNameList = deptNameList;
} }
/** /**
* 获取 办理单位名称 * 获取 办理单位名称
* @return deptNameNotList * @return deptNameNotList
*/ */
public List<String> getDeptNameNotList(){ public List<String> getDeptNameNotList(){
return this.deptNameNotList; return this.deptNameNotList;
} }
/** /**
* 设置 办理单位名称 * 设置 办理单位名称
* @param deptNameNotList * @param deptNameNotList
*/ */
public void setDeptNameNotList(List<String> deptNameNotList){ public void setDeptNameNotList(List<String> deptNameNotList){
this.deptNameNotList = deptNameNotList; this.deptNameNotList = deptNameNotList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkList * @return remarkList
*/ */
public List<String> getRemarkList(){ public List<String> getRemarkList(){
return this.remarkList; return this.remarkList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public void setRemarkList(List<String> remarkList){ public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkNotList * @return remarkNotList
*/ */
public List<String> getRemarkNotList(){ public List<String> getRemarkNotList(){
return this.remarkNotList; return this.remarkNotList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkNotList * @param remarkNotList
*/ */
public void setRemarkNotList(List<String> remarkNotList){ public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList; this.remarkNotList = remarkNotList;
} }
/** /**
* 获取 开始 创建用户 * 获取 开始 创建用户
* @return createUserIdStart * @return createUserIdStart
*/ */
public Long getCreateUserIdStart(){ public Long getCreateUserIdStart(){
return this.createUserIdStart; return this.createUserIdStart;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public void setCreateUserIdStart(Long createUserIdStart){ public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
} }
/** /**
* 获取 结束 创建用户 * 获取 结束 创建用户
* @return $createUserIdEnd * @return $createUserIdEnd
*/ */
public Long getCreateUserIdEnd(){ public Long getCreateUserIdEnd(){
return this.createUserIdEnd; return this.createUserIdEnd;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public void setCreateUserIdEnd(Long createUserIdEnd){ public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
} }
/** /**
* 获取 增加 创建用户 * 获取 增加 创建用户
* @return createUserIdIncrement * @return createUserIdIncrement
*/ */
public Long getCreateUserIdIncrement(){ public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement; return this.createUserIdIncrement;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public void setCreateUserIdIncrement(Long createUserIdIncrement){ public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdList * @return createUserIdList
*/ */
public List<Long> getCreateUserIdList(){ public List<Long> getCreateUserIdList(){
return this.createUserIdList; return this.createUserIdList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public void setCreateUserIdList(List<Long> createUserIdList){ public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdNotList * @return createUserIdNotList
*/ */
public List<Long> getCreateUserIdNotList(){ public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList; return this.createUserIdNotList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public void setCreateUserIdNotList(List<Long> createUserIdNotList){ public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
} }
/** /**
* 获取 创建用户名称 * 获取 创建用户名称
* @return createUserNameList * @return createUserNameList
*/ */
public List<String> getCreateUserNameList(){ public List<String> getCreateUserNameList(){
return this.createUserNameList; return this.createUserNameList;
} }
/** /**
* 设置 创建用户名称 * 设置 创建用户名称
* @param createUserNameList * @param createUserNameList
*/ */
public void setCreateUserNameList(List<String> createUserNameList){ public void setCreateUserNameList(List<String> createUserNameList){
this.createUserNameList = createUserNameList; this.createUserNameList = createUserNameList;
} }
/** /**
* 获取 创建用户名称 * 获取 创建用户名称
* @return createUserNameNotList * @return createUserNameNotList
*/ */
public List<String> getCreateUserNameNotList(){ public List<String> getCreateUserNameNotList(){
return this.createUserNameNotList; return this.createUserNameNotList;
} }
/** /**
* 设置 创建用户名称 * 设置 创建用户名称
* @param createUserNameNotList * @param createUserNameNotList
*/ */
public void setCreateUserNameNotList(List<String> createUserNameNotList){ public void setCreateUserNameNotList(List<String> createUserNameNotList){
this.createUserNameNotList = createUserNameNotList; this.createUserNameNotList = createUserNameNotList;
} }
/** /**
* 获取 开始 创建时间 * 获取 开始 创建时间
* @return createTimeStart * @return createTimeStart
*/ */
public String getCreateTimeStart(){ public String getCreateTimeStart(){
return this.createTimeStart; return this.createTimeStart;
} }
/** /**
* 设置 开始 创建时间 * 设置 开始 创建时间
* @param createTimeStart * @param createTimeStart
*/ */
public void setCreateTimeStart(String createTimeStart){ public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart; this.createTimeStart = createTimeStart;
} }
/** /**
* 获取 结束 创建时间 * 获取 结束 创建时间
* @return createTimeEnd * @return createTimeEnd
*/ */
public String getCreateTimeEnd(){ public String getCreateTimeEnd(){
return this.createTimeEnd; return this.createTimeEnd;
} }
/** /**
* 设置 结束 创建时间 * 设置 结束 创建时间
* @param createTimeEnd * @param createTimeEnd
*/ */
public void setCreateTimeEnd(String createTimeEnd){ public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd; this.createTimeEnd = createTimeEnd;
} }
/** /**
* 获取 开始 更新时间 * 获取 开始 更新时间
* @return updateTimeStart * @return updateTimeStart
*/ */
public String getUpdateTimeStart(){ public String getUpdateTimeStart(){
return this.updateTimeStart; return this.updateTimeStart;
} }
/** /**
* 设置 开始 更新时间 * 设置 开始 更新时间
* @param updateTimeStart * @param updateTimeStart
*/ */
public void setUpdateTimeStart(String updateTimeStart){ public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart; this.updateTimeStart = updateTimeStart;
} }
/** /**
* 获取 结束 更新时间 * 获取 结束 更新时间
* @return updateTimeEnd * @return updateTimeEnd
*/ */
public String getUpdateTimeEnd(){ public String getUpdateTimeEnd(){
return this.updateTimeEnd; return this.updateTimeEnd;
} }
/** /**
* 设置 结束 更新时间 * 设置 结束 更新时间
* @param updateTimeEnd * @param updateTimeEnd
*/ */
public void setUpdateTimeEnd(String updateTimeEnd){ public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd; this.updateTimeEnd = updateTimeEnd;
} }
/** /**
* 设置 主键ID,主键,自增长 * 获取 开始 排序字段
* @param id * @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;
}
/**
* 设置 主键ID,主键,自增长
* @param id
*/
public EntLifeMatterSubQuery id(Long id){ public EntLifeMatterSubQuery id(Long id){
setId(id); setId(id);
return this; return this;
} }
/** /**
* 设置 开始 主键ID,主键,自增长 * 设置 开始 主键ID,主键,自增长
* @param idStart * @param idStart
*/ */
public EntLifeMatterSubQuery idStart(Long idStart){ public EntLifeMatterSubQuery idStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
return this; return this;
} }
/** /**
* 设置 结束 主键ID,主键,自增长 * 设置 结束 主键ID,主键,自增长
* @param idEnd * @param idEnd
*/ */
public EntLifeMatterSubQuery idEnd(Long idEnd){ public EntLifeMatterSubQuery idEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
return this; return this;
} }
/** /**
* 设置 增加 主键ID,主键,自增长 * 设置 增加 主键ID,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public EntLifeMatterSubQuery idIncrement(Long idIncrement){ public EntLifeMatterSubQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
return this; return this;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idList * @param idList
*/ */
public EntLifeMatterSubQuery idList(List<Long> idList){ public EntLifeMatterSubQuery idList(List<Long> idList){
this.idList = idList; this.idList = idList;
return this; return this;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idNotList * @param idNotList
*/ */
public EntLifeMatterSubQuery idNotList(List<Long> idNotList){ public EntLifeMatterSubQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
return this; return this;
} }
/** /**
* 设置 主事项id * 设置 主事项id
* @param masterRecordId * @param masterRecordId
*/ */
public EntLifeMatterSubQuery masterRecordId(Long masterRecordId){ public EntLifeMatterSubQuery masterRecordId(Long masterRecordId){
setMasterRecordId(masterRecordId); setMasterRecordId(masterRecordId);
return this; return this;
} }
/** /**
* 设置 开始 主事项id * 设置 开始 主事项id
* @param masterRecordIdStart * @param masterRecordIdStart
*/ */
public EntLifeMatterSubQuery masterRecordIdStart(Long masterRecordIdStart){ public EntLifeMatterSubQuery masterRecordIdStart(Long masterRecordIdStart){
this.masterRecordIdStart = masterRecordIdStart; this.masterRecordIdStart = masterRecordIdStart;
return this; return this;
} }
/** /**
* 设置 结束 主事项id * 设置 结束 主事项id
* @param masterRecordIdEnd * @param masterRecordIdEnd
*/ */
public EntLifeMatterSubQuery masterRecordIdEnd(Long masterRecordIdEnd){ public EntLifeMatterSubQuery masterRecordIdEnd(Long masterRecordIdEnd){
this.masterRecordIdEnd = masterRecordIdEnd; this.masterRecordIdEnd = masterRecordIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 主事项id * 设置 增加 主事项id
* @param masterRecordIdIncrement * @param masterRecordIdIncrement
*/ */
public EntLifeMatterSubQuery masterRecordIdIncrement(Long masterRecordIdIncrement){ public EntLifeMatterSubQuery masterRecordIdIncrement(Long masterRecordIdIncrement){
this.masterRecordIdIncrement = masterRecordIdIncrement; this.masterRecordIdIncrement = masterRecordIdIncrement;
return this; return this;
} }
/** /**
* 设置 主事项id * 设置 主事项id
* @param masterRecordIdList * @param masterRecordIdList
*/ */
public EntLifeMatterSubQuery masterRecordIdList(List<Long> masterRecordIdList){ public EntLifeMatterSubQuery masterRecordIdList(List<Long> masterRecordIdList){
this.masterRecordIdList = masterRecordIdList; this.masterRecordIdList = masterRecordIdList;
return this; return this;
} }
/** /**
* 设置 主事项id * 设置 主事项id
* @param masterRecordIdNotList * @param masterRecordIdNotList
*/ */
public EntLifeMatterSubQuery masterRecordIdNotList(List<Long> masterRecordIdNotList){ public EntLifeMatterSubQuery masterRecordIdNotList(List<Long> masterRecordIdNotList){
this.masterRecordIdNotList = masterRecordIdNotList; this.masterRecordIdNotList = masterRecordIdNotList;
return this; return this;
} }
/** /**
* 设置 事项id * 设置 事项id
* @param matterId * @param matterId
*/ */
public EntLifeMatterSubQuery matterId(Long matterId){ public EntLifeMatterSubQuery matterId(Long matterId){
setMatterId(matterId); setMatterId(matterId);
return this; return this;
} }
/** /**
* 设置 开始 事项id * 设置 开始 事项id
* @param matterIdStart * @param matterIdStart
*/ */
public EntLifeMatterSubQuery matterIdStart(Long matterIdStart){ public EntLifeMatterSubQuery matterIdStart(Long matterIdStart){
this.matterIdStart = matterIdStart; this.matterIdStart = matterIdStart;
return this; return this;
} }
/** /**
* 设置 结束 事项id * 设置 结束 事项id
* @param matterIdEnd * @param matterIdEnd
*/ */
public EntLifeMatterSubQuery matterIdEnd(Long matterIdEnd){ public EntLifeMatterSubQuery matterIdEnd(Long matterIdEnd){
this.matterIdEnd = matterIdEnd; this.matterIdEnd = matterIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 事项id * 设置 增加 事项id
* @param matterIdIncrement * @param matterIdIncrement
*/ */
public EntLifeMatterSubQuery matterIdIncrement(Long matterIdIncrement){ public EntLifeMatterSubQuery matterIdIncrement(Long matterIdIncrement){
this.matterIdIncrement = matterIdIncrement; this.matterIdIncrement = matterIdIncrement;
return this; return this;
} }
/** /**
* 设置 事项id * 设置 事项id
* @param matterIdList * @param matterIdList
*/ */
public EntLifeMatterSubQuery matterIdList(List<Long> matterIdList){ public EntLifeMatterSubQuery matterIdList(List<Long> matterIdList){
this.matterIdList = matterIdList; this.matterIdList = matterIdList;
return this; return this;
} }
/** /**
* 设置 事项id * 设置 事项id
* @param matterIdNotList * @param matterIdNotList
*/ */
public EntLifeMatterSubQuery matterIdNotList(List<Long> matterIdNotList){ public EntLifeMatterSubQuery matterIdNotList(List<Long> matterIdNotList){
this.matterIdNotList = matterIdNotList; this.matterIdNotList = matterIdNotList;
return this; return this;
} }
/** /**
* 设置 事项名称 * 设置 事项名称
* @param matterName * @param matterName
*/ */
public EntLifeMatterSubQuery matterName(String matterName){ public EntLifeMatterSubQuery matterName(String matterName){
setMatterName(matterName); setMatterName(matterName);
return this; return this;
} }
/** /**
* 设置 事项名称 * 设置 事项名称
* @param matterNameList * @param matterNameList
*/ */
public EntLifeMatterSubQuery matterNameList(List<String> matterNameList){ public EntLifeMatterSubQuery matterNameList(List<String> matterNameList){
this.matterNameList = matterNameList; this.matterNameList = matterNameList;
return this; return this;
} }
/** /**
* 设置 事项编码 * 设置 事项编码
* @param matterCode * @param matterCode
*/ */
public EntLifeMatterSubQuery matterCode(String matterCode){ public EntLifeMatterSubQuery matterCode(String matterCode){
setMatterCode(matterCode); setMatterCode(matterCode);
return this; return this;
} }
/** /**
* 设置 事项编码 * 设置 事项编码
* @param matterCodeList * @param matterCodeList
*/ */
public EntLifeMatterSubQuery matterCodeList(List<String> matterCodeList){ public EntLifeMatterSubQuery matterCodeList(List<String> matterCodeList){
this.matterCodeList = matterCodeList; this.matterCodeList = matterCodeList;
return this; return this;
} }
/** /**
* 设置 区域编码 * 设置 区域编码
* @param areaCode * @param areaCode
*/ */
public EntLifeMatterSubQuery areaCode(String areaCode){ public EntLifeMatterSubQuery areaCode(String areaCode){
setAreaCode(areaCode); setAreaCode(areaCode);
return this; return this;
} }
/** /**
* 设置 区域编码 * 设置 区域编码
* @param areaCodeList * @param areaCodeList
*/ */
public EntLifeMatterSubQuery areaCodeList(List<String> areaCodeList){ public EntLifeMatterSubQuery areaCodeList(List<String> areaCodeList){
this.areaCodeList = areaCodeList; this.areaCodeList = areaCodeList;
return this; return this;
} }
/** /**
* 设置 区域名称 * 设置 区域名称
* @param areaName * @param areaName
*/ */
public EntLifeMatterSubQuery areaName(String areaName){ public EntLifeMatterSubQuery areaName(String areaName){
setAreaName(areaName); setAreaName(areaName);
return this; return this;
} }
/** /**
* 设置 区域名称 * 设置 区域名称
* @param areaNameList * @param areaNameList
*/ */
public EntLifeMatterSubQuery areaNameList(List<String> areaNameList){ public EntLifeMatterSubQuery areaNameList(List<String> areaNameList){
this.areaNameList = areaNameList; this.areaNameList = areaNameList;
return this; return this;
} }
/** /**
* 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevel * @param areaLevel
*/ */
public EntLifeMatterSubQuery areaLevel(Integer areaLevel){ public EntLifeMatterSubQuery areaLevel(Integer areaLevel){
setAreaLevel(areaLevel); setAreaLevel(areaLevel);
return this; return this;
} }
/** /**
* 设置 开始 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 开始 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelStart * @param areaLevelStart
*/ */
public EntLifeMatterSubQuery areaLevelStart(Integer areaLevelStart){ public EntLifeMatterSubQuery areaLevelStart(Integer areaLevelStart){
this.areaLevelStart = areaLevelStart; this.areaLevelStart = areaLevelStart;
return this; return this;
} }
/** /**
* 设置 结束 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 结束 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelEnd * @param areaLevelEnd
*/ */
public EntLifeMatterSubQuery areaLevelEnd(Integer areaLevelEnd){ public EntLifeMatterSubQuery areaLevelEnd(Integer areaLevelEnd){
this.areaLevelEnd = areaLevelEnd; this.areaLevelEnd = areaLevelEnd;
return this; return this;
} }
/** /**
* 设置 增加 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 增加 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelIncrement * @param areaLevelIncrement
*/ */
public EntLifeMatterSubQuery areaLevelIncrement(Integer areaLevelIncrement){ public EntLifeMatterSubQuery areaLevelIncrement(Integer areaLevelIncrement){
this.areaLevelIncrement = areaLevelIncrement; this.areaLevelIncrement = areaLevelIncrement;
return this; return this;
} }
/** /**
* 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelList * @param areaLevelList
*/ */
public EntLifeMatterSubQuery areaLevelList(List<Integer> areaLevelList){ public EntLifeMatterSubQuery areaLevelList(List<Integer> areaLevelList){
this.areaLevelList = areaLevelList; this.areaLevelList = areaLevelList;
return this; return this;
} }
/** /**
* 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区) * 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevelNotList * @param areaLevelNotList
*/ */
public EntLifeMatterSubQuery areaLevelNotList(List<Integer> areaLevelNotList){ public EntLifeMatterSubQuery areaLevelNotList(List<Integer> areaLevelNotList){
this.areaLevelNotList = areaLevelNotList; this.areaLevelNotList = areaLevelNotList;
return this; return this;
} }
/** /**
* 设置 办理单位ID * 设置 办理单位ID
* @param deptId * @param deptId
*/ */
public EntLifeMatterSubQuery deptId(Long deptId){ public EntLifeMatterSubQuery deptId(Long deptId){
setDeptId(deptId); setDeptId(deptId);
return this; return this;
} }
/** /**
* 设置 开始 办理单位ID * 设置 开始 办理单位ID
* @param deptIdStart * @param deptIdStart
*/ */
public EntLifeMatterSubQuery deptIdStart(Long deptIdStart){ public EntLifeMatterSubQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart; this.deptIdStart = deptIdStart;
return this; return this;
} }
/** /**
* 设置 结束 办理单位ID * 设置 结束 办理单位ID
* @param deptIdEnd * @param deptIdEnd
*/ */
public EntLifeMatterSubQuery deptIdEnd(Long deptIdEnd){ public EntLifeMatterSubQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd; this.deptIdEnd = deptIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 办理单位ID * 设置 增加 办理单位ID
* @param deptIdIncrement * @param deptIdIncrement
*/ */
public EntLifeMatterSubQuery deptIdIncrement(Long deptIdIncrement){ public EntLifeMatterSubQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement; this.deptIdIncrement = deptIdIncrement;
return this; return this;
} }
/** /**
* 设置 办理单位ID * 设置 办理单位ID
* @param deptIdList * @param deptIdList
*/ */
public EntLifeMatterSubQuery deptIdList(List<Long> deptIdList){ public EntLifeMatterSubQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
return this; return this;
} }
/** /**
* 设置 办理单位ID * 设置 办理单位ID
* @param deptIdNotList * @param deptIdNotList
*/ */
public EntLifeMatterSubQuery deptIdNotList(List<Long> deptIdNotList){ public EntLifeMatterSubQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList; this.deptIdNotList = deptIdNotList;
return this; return this;
} }
/** /**
* 设置 办理单位名称 * 设置 办理单位名称
* @param deptName * @param deptName
*/ */
public EntLifeMatterSubQuery deptName(String deptName){ public EntLifeMatterSubQuery deptName(String deptName){
setDeptName(deptName); setDeptName(deptName);
return this; return this;
} }
/** /**
* 设置 办理单位名称 * 设置 办理单位名称
* @param deptNameList * @param deptNameList
*/ */
public EntLifeMatterSubQuery deptNameList(List<String> deptNameList){ public EntLifeMatterSubQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList; this.deptNameList = deptNameList;
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public EntLifeMatterSubQuery remark(String remark){ public EntLifeMatterSubQuery remark(String remark){
setRemark(remark); setRemark(remark);
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public EntLifeMatterSubQuery remarkList(List<String> remarkList){ public EntLifeMatterSubQuery remarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserId * @param createUserId
*/ */
public EntLifeMatterSubQuery createUserId(Long createUserId){ public EntLifeMatterSubQuery createUserId(Long createUserId){
setCreateUserId(createUserId); setCreateUserId(createUserId);
return this; return this;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public EntLifeMatterSubQuery createUserIdStart(Long createUserIdStart){ public EntLifeMatterSubQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public EntLifeMatterSubQuery createUserIdEnd(Long createUserIdEnd){ public EntLifeMatterSubQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public EntLifeMatterSubQuery createUserIdIncrement(Long createUserIdIncrement){ public EntLifeMatterSubQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public EntLifeMatterSubQuery createUserIdList(List<Long> createUserIdList){ public EntLifeMatterSubQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public EntLifeMatterSubQuery createUserIdNotList(List<Long> createUserIdNotList){ public EntLifeMatterSubQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
return this; return this;
} }
/** /**
* 设置 创建用户名称 * 设置 创建用户名称
* @param createUserName * @param createUserName
*/ */
public EntLifeMatterSubQuery createUserName(String createUserName){ public EntLifeMatterSubQuery createUserName(String createUserName){
setCreateUserName(createUserName); setCreateUserName(createUserName);
return this; return this;
} }
/** /**
* 设置 创建用户名称 * 设置 创建用户名称
* @param createUserNameList * @param createUserNameList
*/ */
public EntLifeMatterSubQuery createUserNameList(List<String> createUserNameList){ public EntLifeMatterSubQuery createUserNameList(List<String> createUserNameList){
this.createUserNameList = createUserNameList; this.createUserNameList = createUserNameList;
return this; return this;
}
/**
* 设置 排序字段
* @param sort
*/
public EntLifeMatterSubQuery sort(Integer sort){
setSort(sort);
return this;
} }
/**
* 设置 开始 排序字段
* @param sortStart
*/
public EntLifeMatterSubQuery sortStart(Integer sortStart){
this.sortStart = sortStart;
return this;
}
/**
* 设置 结束 排序字段
* @param sortEnd
*/
public EntLifeMatterSubQuery sortEnd(Integer sortEnd){
this.sortEnd = sortEnd;
return this;
}
/**
* 设置 增加 排序字段
* @param sortIncrement
*/
public EntLifeMatterSubQuery sortIncrement(Integer sortIncrement){
this.sortIncrement = sortIncrement;
return this;
}
/**
* 设置 排序字段
* @param sortList
*/
public EntLifeMatterSubQuery sortList(List<Integer> sortList){
this.sortList = sortList;
return this;
}
/**
* 设置 排序字段
* @param sortNotList
*/
public EntLifeMatterSubQuery sortNotList(List<Integer> sortNotList){
this.sortNotList = sortNotList;
return this;
}
/** /**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList * @return orConditionList
*/ */
public List<EntLifeMatterSubQuery> getOrConditionList(){ public List<EntLifeMatterSubQuery> getOrConditionList(){
return this.orConditionList; return this.orConditionList;
} }
/** /**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList * @param orConditionList
*/ */
public void setOrConditionList(List<EntLifeMatterSubQuery> orConditionList){ public void setOrConditionList(List<EntLifeMatterSubQuery> orConditionList){
this.orConditionList = orConditionList; this.orConditionList = orConditionList;
} }
/** /**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList * @return andConditionList
*/ */
public List<EntLifeMatterSubQuery> getAndConditionList(){ public List<EntLifeMatterSubQuery> getAndConditionList(){
return this.andConditionList; return this.andConditionList;
} }
/** /**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList * @param andConditionList
*/ */
public void setAndConditionList(List<EntLifeMatterSubQuery> andConditionList){ public void setAndConditionList(List<EntLifeMatterSubQuery> andConditionList){
this.andConditionList = andConditionList; this.andConditionList = andConditionList;
} }
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd"> "mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.ent.dao.ibatis.EntLifeMatterDaoImpl"> <mapper namespace="com.mortals.xhx.module.ent.dao.ibatis.EntLifeMatterDaoImpl">
<!-- 字段和属性映射 --> <!-- 字段和属性映射 -->
<resultMap type="EntLifeMatterEntity" id="EntLifeMatterEntity-Map"> <resultMap type="EntLifeMatterEntity" id="EntLifeMatterEntity-Map">
<id property="id" column="id" /> <id property="id" column="id" />
<result property="lifeCycleId" column="life_cycle_id" /> <result property="lifeCycleId" column="life_cycle_id" />
<result property="lifeCycleName" column="life_cycle_name" /> <result property="lifeCycleName" column="life_cycle_name" />
<result property="matterId" column="matter_id" /> <result property="deptId" column="dept_id" />
<result property="matterName" column="matter_name" /> <result property="remark" column="remark" />
<result property="matterCode" column="matter_code" /> <result property="createUserId" column="create_user_id" />
<result property="areaCode" column="area_code" /> <result property="createUserName" column="create_user_name" />
<result property="areaName" column="area_name" /> <result property="createTime" column="create_time" />
<result property="areaLevel" column="area_level" /> <result property="updateTime" column="update_time" />
<result property="deptId" column="dept_id" /> <result property="matterGroupName" column="matter_group_name" />
<result property="deptName" column="dept_name" />
<result property="remark" column="remark" />
<result property="createUserId" column="create_user_id" />
<result property="createUserName" column="create_user_name" />
<result property="createTime" column="create_time" />
<result property="updateTime" column="update_time" />
</resultMap> </resultMap>
<!-- 表所有列 --> <!-- 表所有列 -->
<sql id="_columns"> <sql id="_columns">
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id, a.id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('lifeCycleId') or colPickMode == 1 and data.containsKey('lifeCycleId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('lifeCycleId') or colPickMode == 1 and data.containsKey('lifeCycleId')))">
a.life_cycle_id, a.life_cycle_id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('lifeCycleName') or colPickMode == 1 and data.containsKey('lifeCycleName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('lifeCycleName') or colPickMode == 1 and data.containsKey('lifeCycleName')))">
a.life_cycle_name, a.life_cycle_name,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterId') or colPickMode == 1 and data.containsKey('matterId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))">
a.matter_id, a.dept_id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterName') or colPickMode == 1 and data.containsKey('matterName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.matter_name, a.remark,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterCode') or colPickMode == 1 and data.containsKey('matterCode')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.matter_code, a.create_user_id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('areaCode') or colPickMode == 1 and data.containsKey('areaCode')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserName') or colPickMode == 1 and data.containsKey('createUserName')))">
a.area_code, a.create_user_name,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('areaName') or colPickMode == 1 and data.containsKey('areaName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.area_name, a.create_time,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('areaLevel') or colPickMode == 1 and data.containsKey('areaLevel')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.area_level, a.update_time,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterGroupName') or colPickMode == 1 and data.containsKey('matterGroupName')))">
a.dept_id, a.matter_group_name,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))">
a.dept_name,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.remark,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.create_user_id,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserName') or colPickMode == 1 and data.containsKey('createUserName')))">
a.create_user_name,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.create_time,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.update_time,
</if>
</trim> </trim>
</sql> </sql>
<!-- 子表所有列 --> <!-- 子表所有列 -->
<sql id="_columns_sub"> <sql id="_columns_sub">
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
b.id,b.master_record_id,b.matter_id,b.matter_name,b.matter_code,b.area_code,b.area_name,b.area_level,b.dept_id,b.dept_name,b.remark,b.create_user_id,b.create_user_name,b.create_time,b.update_time, b.id,b.master_record_id,b.matter_id,b.matter_name,b.matter_code,b.area_code,b.area_name,b.area_level,b.dept_id,b.dept_name,b.remark,b.create_user_id,b.create_user_name,b.create_time,b.update_time,b.sort,
</trim> </trim>
</sql> </sql>
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="EntLifeMatterEntity" useGeneratedKeys="true" keyProperty="id"> <insert id="insert" parameterType="EntLifeMatterEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_ent_life_matter insert into mortals_ent_life_matter
(life_cycle_id,life_cycle_name,matter_id,matter_name,matter_code,area_code,area_name,area_level,dept_id,dept_name,remark,create_user_id,create_user_name,create_time,update_time) (life_cycle_id,life_cycle_name,dept_id,remark,create_user_id,create_user_name,create_time,update_time,matter_group_name)
VALUES VALUES
(#{lifeCycleId},#{lifeCycleName},#{matterId},#{matterName},#{matterCode},#{areaCode},#{areaName},#{areaLevel},#{deptId},#{deptName},#{remark},#{createUserId},#{createUserName},#{createTime},#{updateTime}) (#{lifeCycleId},#{lifeCycleName},#{deptId},#{remark},#{createUserId},#{createUserName},#{createTime},#{updateTime},#{matterGroupName})
</insert> </insert>
<!-- 批量新增 --> <!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto"> <insert id="insertBatch" parameterType="paramDto">
insert into mortals_ent_life_matter insert into mortals_ent_life_matter
(life_cycle_id,life_cycle_name,matter_id,matter_name,matter_code,area_code,area_name,area_level,dept_id,dept_name,remark,create_user_id,create_user_name,create_time,update_time) (life_cycle_id,life_cycle_name,dept_id,remark,create_user_id,create_user_name,create_time,update_time,matter_group_name)
VALUES VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," > <foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.lifeCycleId},#{item.lifeCycleName},#{item.matterId},#{item.matterName},#{item.matterCode},#{item.areaCode},#{item.areaName},#{item.areaLevel},#{item.deptId},#{item.deptName},#{item.remark},#{item.createUserId},#{item.createUserName},#{item.createTime},#{item.updateTime}) (#{item.lifeCycleId},#{item.lifeCycleName},#{item.deptId},#{item.remark},#{item.createUserId},#{item.createUserName},#{item.createTime},#{item.updateTime},#{item.matterGroupName})
</foreach> </foreach>
</insert> </insert>
...@@ -115,39 +91,12 @@ ...@@ -115,39 +91,12 @@
<if test="(colPickMode==0 and data.containsKey('lifeCycleName')) or (colPickMode==1 and !data.containsKey('lifeCycleName'))"> <if test="(colPickMode==0 and data.containsKey('lifeCycleName')) or (colPickMode==1 and !data.containsKey('lifeCycleName'))">
a.life_cycle_name=#{data.lifeCycleName}, a.life_cycle_name=#{data.lifeCycleName},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('matterId')) or (colPickMode==1 and !data.containsKey('matterId'))">
a.matter_id=#{data.matterId},
</if>
<if test="(colPickMode==0 and data.containsKey('matterIdIncrement')) or (colPickMode==1 and !data.containsKey('matterIdIncrement'))">
a.matter_id=ifnull(a.matter_id,0) + #{data.matterIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('matterName')) or (colPickMode==1 and !data.containsKey('matterName'))">
a.matter_name=#{data.matterName},
</if>
<if test="(colPickMode==0 and data.containsKey('matterCode')) or (colPickMode==1 and !data.containsKey('matterCode'))">
a.matter_code=#{data.matterCode},
</if>
<if test="(colPickMode==0 and data.containsKey('areaCode')) or (colPickMode==1 and !data.containsKey('areaCode'))">
a.area_code=#{data.areaCode},
</if>
<if test="(colPickMode==0 and data.containsKey('areaName')) or (colPickMode==1 and !data.containsKey('areaName'))">
a.area_name=#{data.areaName},
</if>
<if test="(colPickMode==0 and data.containsKey('areaLevel')) or (colPickMode==1 and !data.containsKey('areaLevel'))">
a.area_level=#{data.areaLevel},
</if>
<if test="(colPickMode==0 and data.containsKey('areaLevelIncrement')) or (colPickMode==1 and !data.containsKey('areaLevelIncrement'))">
a.area_level=ifnull(a.area_level,0) + #{data.areaLevelIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('deptId')) or (colPickMode==1 and !data.containsKey('deptId'))"> <if test="(colPickMode==0 and data.containsKey('deptId')) or (colPickMode==1 and !data.containsKey('deptId'))">
a.dept_id=#{data.deptId}, a.dept_id=#{data.deptId},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('deptIdIncrement')) or (colPickMode==1 and !data.containsKey('deptIdIncrement'))"> <if test="(colPickMode==0 and data.containsKey('deptIdIncrement')) or (colPickMode==1 and !data.containsKey('deptIdIncrement'))">
a.dept_id=ifnull(a.dept_id,0) + #{data.deptIdIncrement}, a.dept_id=ifnull(a.dept_id,0) + #{data.deptIdIncrement},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('deptName')) or (colPickMode==1 and !data.containsKey('deptName'))">
a.dept_name=#{data.deptName},
</if>
<if test="(colPickMode==0 and data.containsKey('remark')) or (colPickMode==1 and !data.containsKey('remark'))"> <if test="(colPickMode==0 and data.containsKey('remark')) or (colPickMode==1 and !data.containsKey('remark'))">
a.remark=#{data.remark}, a.remark=#{data.remark},
</if> </if>
...@@ -166,6 +115,9 @@ ...@@ -166,6 +115,9 @@
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))"> <if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.update_time=#{data.updateTime}, a.update_time=#{data.updateTime},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('matterGroupName')) or (colPickMode==1 and !data.containsKey('matterGroupName'))">
a.matter_group_name=#{data.matterGroupName},
</if>
</trim> </trim>
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
where where
...@@ -178,136 +130,84 @@ ...@@ -178,136 +130,84 @@
<update id="updateBatch" parameterType="paramDto"> <update id="updateBatch" parameterType="paramDto">
update mortals_ent_life_matter as a update mortals_ent_life_matter as a
<trim prefix="set" suffixOverrides=","> <trim prefix="set" suffixOverrides=",">
<trim prefix="life_cycle_id=(case" suffix="ELSE life_cycle_id end),"> <trim prefix="life_cycle_id=(case" suffix="ELSE life_cycle_id end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('lifeCycleId')) or (colPickMode==1 and !item.containsKey('lifeCycleId'))"> <when test="(colPickMode==0 and item.containsKey('lifeCycleId')) or (colPickMode==1 and !item.containsKey('lifeCycleId'))">
when a.id=#{item.id} then #{item.lifeCycleId} when a.id=#{item.id} then #{item.lifeCycleId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('lifeCycleIdIncrement')) or (colPickMode==1 and !item.containsKey('lifeCycleIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('lifeCycleIdIncrement')) or (colPickMode==1 and !item.containsKey('lifeCycleIdIncrement'))">
when a.id=#{item.id} then ifnull(a.life_cycle_id,0) + #{item.lifeCycleIdIncrement} when a.id=#{item.id} then ifnull(a.life_cycle_id,0) + #{item.lifeCycleIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="life_cycle_name=(case" suffix="ELSE life_cycle_name end),"> <trim prefix="life_cycle_name=(case" suffix="ELSE life_cycle_name end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('lifeCycleName')) or (colPickMode==1 and !item.containsKey('lifeCycleName'))"> <if test="(colPickMode==0 and item.containsKey('lifeCycleName')) or (colPickMode==1 and !item.containsKey('lifeCycleName'))">
when a.id=#{item.id} then #{item.lifeCycleName} when a.id=#{item.id} then #{item.lifeCycleName}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="matter_id=(case" suffix="ELSE matter_id end),"> <trim prefix="dept_id=(case" suffix="ELSE dept_id end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('matterId')) or (colPickMode==1 and !item.containsKey('matterId'))"> <when test="(colPickMode==0 and item.containsKey('deptId')) or (colPickMode==1 and !item.containsKey('deptId'))">
when a.id=#{item.id} then #{item.matterId} when a.id=#{item.id} then #{item.deptId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('matterIdIncrement')) or (colPickMode==1 and !item.containsKey('matterIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('deptIdIncrement')) or (colPickMode==1 and !item.containsKey('deptIdIncrement'))">
when a.id=#{item.id} then ifnull(a.matter_id,0) + #{item.matterIdIncrement} when a.id=#{item.id} then ifnull(a.dept_id,0) + #{item.deptIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="matter_name=(case" suffix="ELSE matter_name end),"> <trim prefix="remark=(case" suffix="ELSE remark end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('matterName')) or (colPickMode==1 and !item.containsKey('matterName'))"> <if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))">
when a.id=#{item.id} then #{item.matterName} when a.id=#{item.id} then #{item.remark}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="matter_code=(case" suffix="ELSE matter_code end),"> <trim prefix="create_user_id=(case" suffix="ELSE create_user_id end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('matterCode')) or (colPickMode==1 and !item.containsKey('matterCode'))"> <choose>
when a.id=#{item.id} then #{item.matterCode} <when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
</if> when a.id=#{item.id} then #{item.createUserId}
</foreach> </when>
</trim> <when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
<trim prefix="area_code=(case" suffix="ELSE area_code end),"> when a.id=#{item.id} then ifnull(a.create_user_id,0) + #{item.createUserIdIncrement}
<foreach collection="data.dataList" item="item" index="index" separator="" > </when>
<if test="(colPickMode==0 and item.containsKey('areaCode')) or (colPickMode==1 and !item.containsKey('areaCode'))"> </choose>
when a.id=#{item.id} then #{item.areaCode} </foreach>
</if> </trim>
</foreach> <trim prefix="create_user_name=(case" suffix="ELSE create_user_name end),">
</trim> <foreach collection="data.dataList" item="item" index="index" separator="" >
<trim prefix="area_name=(case" suffix="ELSE area_name end),"> <if test="(colPickMode==0 and item.containsKey('createUserName')) or (colPickMode==1 and !item.containsKey('createUserName'))">
<foreach collection="data.dataList" item="item" index="index" separator="" > when a.id=#{item.id} then #{item.createUserName}
<if test="(colPickMode==0 and item.containsKey('areaName')) or (colPickMode==1 and !item.containsKey('areaName'))"> </if>
when a.id=#{item.id} then #{item.areaName} </foreach>
</if> </trim>
</foreach> <trim prefix="create_time=(case" suffix="ELSE create_time end),">
</trim> <foreach collection="data.dataList" item="item" index="index" separator="" >
<trim prefix="area_level=(case" suffix="ELSE area_level end),"> <if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
<foreach collection="data.dataList" item="item" index="index" separator="" > when a.id=#{item.id} then #{item.createTime}
<choose> </if>
<when test="(colPickMode==0 and item.containsKey('areaLevel')) or (colPickMode==1 and !item.containsKey('areaLevel'))"> </foreach>
when a.id=#{item.id} then #{item.areaLevel} </trim>
</when> <trim prefix="update_time=(case" suffix="ELSE update_time end),">
<when test="(colPickMode==0 and item.containsKey('areaLevelIncrement')) or (colPickMode==1 and !item.containsKey('areaLevelIncrement'))"> <foreach collection="data.dataList" item="item" index="index" separator="" >
when a.id=#{item.id} then ifnull(a.area_level,0) + #{item.areaLevelIncrement} <if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
</when> when a.id=#{item.id} then #{item.updateTime}
</choose> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="dept_id=(case" suffix="ELSE dept_id end),"> <trim prefix="matter_group_name=(case" suffix="ELSE matter_group_name end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <if test="(colPickMode==0 and item.containsKey('matterGroupName')) or (colPickMode==1 and !item.containsKey('matterGroupName'))">
<when test="(colPickMode==0 and item.containsKey('deptId')) or (colPickMode==1 and !item.containsKey('deptId'))"> when a.id=#{item.id} then #{item.matterGroupName}
when a.id=#{item.id} then #{item.deptId} </if>
</when> </foreach>
<when test="(colPickMode==0 and item.containsKey('deptIdIncrement')) or (colPickMode==1 and !item.containsKey('deptIdIncrement'))"> </trim>
when a.id=#{item.id} then ifnull(a.dept_id,0) + #{item.deptIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="dept_name=(case" suffix="ELSE dept_name 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="remark=(case" suffix="ELSE remark end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))">
when a.id=#{item.id} then #{item.remark}
</if>
</foreach>
</trim>
<trim prefix="create_user_id=(case" suffix="ELSE create_user_id 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.create_user_id,0) + #{item.createUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="create_user_name=(case" suffix="ELSE create_user_name end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createUserName')) or (colPickMode==1 and !item.containsKey('createUserName'))">
when a.id=#{item.id} then #{item.createUserName}
</if>
</foreach>
</trim>
<trim prefix="create_time=(case" suffix="ELSE create_time 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="update_time=(case" suffix="ELSE update_time 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> </trim>
where id in where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")"> <foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
...@@ -429,543 +329,347 @@ ...@@ -429,543 +329,347 @@
${_conditionType_} a.id=#{${_conditionParam_}.id} ${_conditionType_} a.id=#{${_conditionParam_}.id}
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('id')"> <if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null "> <if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id} ${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if> </if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null"> <if test="conditionParamRef.id == null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd} ${_conditionType_} a.id is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('lifeCycleId')"> <if test="conditionParamRef.containsKey('lifeCycleId')">
<if test="conditionParamRef.lifeCycleId != null "> <if test="conditionParamRef.lifeCycleId != null ">
${_conditionType_} a.life_cycle_id = #{${_conditionParam_}.lifeCycleId} ${_conditionType_} a.life_cycle_id = #{${_conditionParam_}.lifeCycleId}
</if>
<if test="conditionParamRef.lifeCycleId == null">
${_conditionType_} a.life_cycle_id is null
</if>
</if>
<if test="conditionParamRef.containsKey('lifeCycleIdList') and conditionParamRef.lifeCycleIdList.size() > 0">
${_conditionType_} a.life_cycle_id in
<foreach collection="conditionParamRef.lifeCycleIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('lifeCycleIdNotList') and conditionParamRef.lifeCycleIdNotList.size() > 0">
${_conditionType_} a.life_cycle_id not in
<foreach collection="conditionParamRef.lifeCycleIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('lifeCycleIdStart') and conditionParamRef.lifeCycleIdStart != null"> <if test="conditionParamRef.lifeCycleId == null">
${_conditionType_} a.life_cycle_id <![CDATA[ >= ]]> #{${_conditionParam_}.lifeCycleIdStart} ${_conditionType_} a.life_cycle_id is null
</if>
<if test="conditionParamRef.containsKey('lifeCycleIdEnd') and conditionParamRef.lifeCycleIdEnd != null">
${_conditionType_} a.life_cycle_id <![CDATA[ <= ]]> #{${_conditionParam_}.lifeCycleIdEnd}
</if> </if>
</if>
<if test="conditionParamRef.containsKey('lifeCycleIdList') and conditionParamRef.lifeCycleIdList.size() > 0">
${_conditionType_} a.life_cycle_id in
<foreach collection="conditionParamRef.lifeCycleIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('lifeCycleIdNotList') and conditionParamRef.lifeCycleIdNotList.size() > 0">
${_conditionType_} a.life_cycle_id not in
<foreach collection="conditionParamRef.lifeCycleIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('lifeCycleIdStart') and conditionParamRef.lifeCycleIdStart != null">
${_conditionType_} a.life_cycle_id <![CDATA[ >= ]]> #{${_conditionParam_}.lifeCycleIdStart}
</if>
<if test="conditionParamRef.containsKey('lifeCycleIdEnd') and conditionParamRef.lifeCycleIdEnd != null">
${_conditionType_} a.life_cycle_id <![CDATA[ <= ]]> #{${_conditionParam_}.lifeCycleIdEnd}
</if>
<if test="conditionParamRef.containsKey('lifeCycleName')"> <if test="conditionParamRef.containsKey('lifeCycleName')">
<if test="conditionParamRef.lifeCycleName != null and conditionParamRef.lifeCycleName != ''"> <if test="conditionParamRef.lifeCycleName != null and conditionParamRef.lifeCycleName != ''">
${_conditionType_} a.life_cycle_name like #{${_conditionParam_}.lifeCycleName} ${_conditionType_} a.life_cycle_name like #{${_conditionParam_}.lifeCycleName}
</if>
<if test="conditionParamRef.lifeCycleName == null">
${_conditionType_} a.life_cycle_name is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('lifeCycleNameList') and conditionParamRef.lifeCycleNameList.size() > 0"> <if test="conditionParamRef.lifeCycleName == null">
${_conditionType_} a.life_cycle_name in ${_conditionType_} a.life_cycle_name is null
<foreach collection="conditionParamRef.lifeCycleNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('lifeCycleNameNotList') and conditionParamRef.lifeCycleNameNotList.size() > 0"> </if>
${_conditionType_} a.life_cycle_name not in <if test="conditionParamRef.containsKey('lifeCycleNameList') and conditionParamRef.lifeCycleNameList.size() > 0">
<foreach collection="conditionParamRef.lifeCycleNameNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.life_cycle_name in
#{item} <foreach collection="conditionParamRef.lifeCycleNameList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('lifeCycleNameNotList') and conditionParamRef.lifeCycleNameNotList.size() > 0">
${_conditionType_} a.life_cycle_name not in
<foreach collection="conditionParamRef.lifeCycleNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptId')">
<if test="conditionParamRef.deptId != null ">
${_conditionType_} a.dept_id = #{${_conditionParam_}.deptId}
</if> </if>
<if test="conditionParamRef.containsKey('matterId')"> <if test="conditionParamRef.deptId == null">
<if test="conditionParamRef.matterId != null "> ${_conditionType_} a.dept_id is null
${_conditionType_} a.matter_id = #{${_conditionParam_}.matterId}
</if>
<if test="conditionParamRef.matterId == null">
${_conditionType_} a.matter_id is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('matterIdList') and conditionParamRef.matterIdList.size() > 0"> </if>
${_conditionType_} a.matter_id in <if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
<foreach collection="conditionParamRef.matterIdList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.dept_id in
#{item} <foreach collection="conditionParamRef.deptIdList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdNotList') and conditionParamRef.deptIdNotList.size() > 0">
${_conditionType_} a.dept_id 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.dept_id <![CDATA[ >= ]]> #{${_conditionParam_}.deptIdStart}
</if>
<if test="conditionParamRef.containsKey('deptIdEnd') and conditionParamRef.deptIdEnd != null">
${_conditionType_} a.dept_id <![CDATA[ <= ]]> #{${_conditionParam_}.deptIdEnd}
</if>
<if test="conditionParamRef.containsKey('remark')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if> </if>
<if test="conditionParamRef.containsKey('matterIdNotList') and conditionParamRef.matterIdNotList.size() > 0"> <if test="conditionParamRef.remark == null">
${_conditionType_} a.matter_id not in ${_conditionType_} a.remark is null
<foreach collection="conditionParamRef.matterIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('matterIdStart') and conditionParamRef.matterIdStart != null"> </if>
${_conditionType_} a.matter_id <![CDATA[ >= ]]> #{${_conditionParam_}.matterIdStart} <if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.create_user_id = #{${_conditionParam_}.createUserId}
</if> </if>
<if test="conditionParamRef.containsKey('matterIdEnd') and conditionParamRef.matterIdEnd != null"> <if test="conditionParamRef.createUserId == null">
${_conditionType_} a.matter_id <![CDATA[ <= ]]> #{${_conditionParam_}.matterIdEnd} ${_conditionType_} a.create_user_id is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.create_user_id 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.create_user_id 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.create_user_id <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.create_user_id <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('matterName')"> <if test="conditionParamRef.containsKey('createUserName')">
<if test="conditionParamRef.matterName != null and conditionParamRef.matterName != ''"> <if test="conditionParamRef.createUserName != null and conditionParamRef.createUserName != ''">
${_conditionType_} a.matter_name like #{${_conditionParam_}.matterName} ${_conditionType_} a.create_user_name like #{${_conditionParam_}.createUserName}
</if>
<if test="conditionParamRef.matterName == null">
${_conditionType_} a.matter_name is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('matterNameList') and conditionParamRef.matterNameList.size() > 0"> <if test="conditionParamRef.createUserName == null">
${_conditionType_} a.matter_name in ${_conditionType_} a.create_user_name is null
<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.matter_name not in
<foreach collection="conditionParamRef.matterNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('createUserNameList') and conditionParamRef.createUserNameList.size() > 0">
${_conditionType_} a.create_user_name in
<foreach collection="conditionParamRef.createUserNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserNameNotList') and conditionParamRef.createUserNameNotList.size() > 0">
${_conditionType_} a.create_user_name not in
<foreach collection="conditionParamRef.createUserNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterCode')"> <if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.matterCode != null and conditionParamRef.matterCode != ''"> <if test="conditionParamRef.createTime != null ">
${_conditionType_} a.matter_code like #{${_conditionParam_}.matterCode} ${_conditionType_} a.create_time = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.matterCode == null">
${_conditionType_} a.matter_code is null
</if>
</if>
<if test="conditionParamRef.containsKey('matterCodeList') and conditionParamRef.matterCodeList.size() > 0">
${_conditionType_} a.matter_code in
<foreach collection="conditionParamRef.matterCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('matterCodeNotList') and conditionParamRef.matterCodeNotList.size() > 0"> <if test="conditionParamRef.createTime == null">
${_conditionType_} a.matter_code not in ${_conditionType_} a.create_time is null
<foreach collection="conditionParamRef.matterCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.create_time <![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.create_time <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('areaCode')"> <if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.areaCode != null and conditionParamRef.areaCode != ''"> <if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.area_code like #{${_conditionParam_}.areaCode} ${_conditionType_} a.update_time = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.areaCode == null">
${_conditionType_} a.area_code is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('areaCodeList') and conditionParamRef.areaCodeList.size() > 0"> <if test="conditionParamRef.updateTime == null">
${_conditionType_} a.area_code in ${_conditionType_} a.update_time is null
<foreach collection="conditionParamRef.areaCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('areaCodeNotList') and conditionParamRef.areaCodeNotList.size() > 0">
${_conditionType_} a.area_code not in
<foreach collection="conditionParamRef.areaCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.update_time <![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.update_time <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('areaName')"> <if test="conditionParamRef.containsKey('matterGroupName')">
<if test="conditionParamRef.areaName != null and conditionParamRef.areaName != ''"> <if test="conditionParamRef.matterGroupName != null and conditionParamRef.matterGroupName != ''">
${_conditionType_} a.area_name like #{${_conditionParam_}.areaName} ${_conditionType_} a.matter_group_name like #{${_conditionParam_}.matterGroupName}
</if>
<if test="conditionParamRef.areaName == null">
${_conditionType_} a.area_name is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('areaNameList') and conditionParamRef.areaNameList.size() > 0"> <if test="conditionParamRef.matterGroupName == null">
${_conditionType_} a.area_name in ${_conditionType_} a.matter_group_name is null
<foreach collection="conditionParamRef.areaNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('areaNameNotList') and conditionParamRef.areaNameNotList.size() > 0">
${_conditionType_} a.area_name not in
<foreach collection="conditionParamRef.areaNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('areaLevel')">
<if test="conditionParamRef.areaLevel != null ">
${_conditionType_} a.area_level = #{${_conditionParam_}.areaLevel}
</if>
<if test="conditionParamRef.areaLevel == null">
${_conditionType_} a.area_level is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('areaLevelList') and conditionParamRef.areaLevelList.size() > 0"> </if>
${_conditionType_} a.area_level in <if test="conditionParamRef.containsKey('matterGroupNameList') and conditionParamRef.matterGroupNameList.size() > 0">
<foreach collection="conditionParamRef.areaLevelList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.matter_group_name in
<foreach collection="conditionParamRef.matterGroupNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterGroupNameNotList') and conditionParamRef.matterGroupNameNotList.size() > 0">
${_conditionType_} a.matter_group_name not in
<foreach collection="conditionParamRef.matterGroupNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
</sql>
<sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()">
order by
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
field(a.id,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('areaLevelNotList') and conditionParamRef.areaLevelNotList.size() > 0"> <if test="conditionParamRef.containsKey('lifeCycleIdList') and conditionParamRef.lifeCycleIdList.size() > 0">
${_conditionType_} a.area_level not in field(a.lifeCycleId,
<foreach collection="conditionParamRef.areaLevelNotList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.lifeCycleIdList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
</if> ,
<if test="conditionParamRef.containsKey('areaLevelStart') and conditionParamRef.areaLevelStart != null">
${_conditionType_} a.area_level <![CDATA[ >= ]]> #{${_conditionParam_}.areaLevelStart}
</if>
<if test="conditionParamRef.containsKey('areaLevelEnd') and conditionParamRef.areaLevelEnd != null">
${_conditionType_} a.area_level <![CDATA[ <= ]]> #{${_conditionParam_}.areaLevelEnd}
</if>
<if test="conditionParamRef.containsKey('deptId')">
<if test="conditionParamRef.deptId != null ">
${_conditionType_} a.dept_id = #{${_conditionParam_}.deptId}
</if>
<if test="conditionParamRef.deptId == null">
${_conditionType_} a.dept_id is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0"> <if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
${_conditionType_} a.dept_id in field(a.deptId,
<foreach collection="conditionParamRef.deptIdList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.deptIdList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('deptIdNotList') and conditionParamRef.deptIdNotList.size() > 0"> <if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.dept_id not in field(a.createUserId,
<foreach collection="conditionParamRef.deptIdNotList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('deptIdStart') and conditionParamRef.deptIdStart != null"> <trim suffixOverrides="," suffix="">
${_conditionType_} a.dept_id <![CDATA[ >= ]]> #{${_conditionParam_}.deptIdStart} <foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
</if> a.${item.colName} ${item.sortKind}
<if test="conditionParamRef.containsKey('deptIdEnd') and conditionParamRef.deptIdEnd != null">
${_conditionType_} a.dept_id <![CDATA[ <= ]]> #{${_conditionParam_}.deptIdEnd}
</if>
<if test="conditionParamRef.containsKey('deptName')">
<if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''">
${_conditionType_} a.dept_name like #{${_conditionParam_}.deptName}
</if>
<if test="conditionParamRef.deptName == null">
${_conditionType_} a.dept_name is null
</if>
</if>
<if test="conditionParamRef.containsKey('deptNameList') and conditionParamRef.deptNameList.size() > 0">
${_conditionType_} a.dept_name in
<foreach collection="conditionParamRef.deptNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach> </foreach>
</if> </trim>
<if test="conditionParamRef.containsKey('deptNameNotList') and conditionParamRef.deptNameNotList.size() > 0"> </if>
${_conditionType_} a.dept_name not in <if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
<foreach collection="conditionParamRef.deptNameNotList" open="(" close=")" index="index" item="item" separator=","> order by
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
field(a.id,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('lifeCycleIdList') and conditionParamRef.lifeCycleIdList.size() > 0">
<if test="conditionParamRef.containsKey('remark')"> field(a.lifeCycleId,
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''"> <foreach collection="conditionParamRef.lifeCycleIdList" open="" close=")" index="index" item="item" separator=",">
${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if>
<if test="conditionParamRef.remark == null">
${_conditionType_} a.remark is null
</if>
</if>
<if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0"> <if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
${_conditionType_} a.remark not in field(a.deptId,
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.deptIdList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
</if> ,
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.create_user_id = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.create_user_id is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0"> <if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.create_user_id in field(a.createUserId,
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.create_user_id 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.create_user_id <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.create_user_id <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('createUserName')">
<if test="conditionParamRef.createUserName != null and conditionParamRef.createUserName != ''">
${_conditionType_} a.create_user_name like #{${_conditionParam_}.createUserName}
</if>
<if test="conditionParamRef.createUserName == null">
${_conditionType_} a.create_user_name is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserNameList') and conditionParamRef.createUserNameList.size() > 0">
${_conditionType_} a.create_user_name in
<foreach collection="conditionParamRef.createUserNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserNameNotList') and conditionParamRef.createUserNameNotList.size() > 0">
${_conditionType_} a.create_user_name not in
<foreach collection="conditionParamRef.createUserNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.create_time = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.create_time is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.create_time <![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.create_time <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.update_time = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.update_time is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.update_time <![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.update_time <![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('lifeCycleIdList') and conditionParamRef.lifeCycleIdList.size() > 0">
field(a.lifeCycleId,
<foreach collection="conditionParamRef.lifeCycleIdList" 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('areaLevelList') and conditionParamRef.areaLevelList.size() > 0">
field(a.areaLevel,
<foreach collection="conditionParamRef.areaLevelList" 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('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=""> <trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=","> <if test="orderCol.containsKey('id')">
a.${item.colName} ${item.sortKind} a.id
</foreach> <if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
</trim> ,
</if> </if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()"> <if test="orderCol.containsKey('lifeCycleId')">
order by a.life_cycle_id
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0"> <if test='orderCol.lifeCycleId != null and "DESC".equalsIgnoreCase(orderCol.lifeCycleId)'>DESC</if>
field(a.id, ,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=","> </if>
#{item} <if test="orderCol.containsKey('lifeCycleName')">
</foreach> a.life_cycle_name
, <if test='orderCol.lifeCycleName != null and "DESC".equalsIgnoreCase(orderCol.lifeCycleName)'>DESC</if>
</if> ,
<if test="conditionParamRef.containsKey('lifeCycleIdList') and conditionParamRef.lifeCycleIdList.size() > 0"> </if>
field(a.lifeCycleId, <if test="orderCol.containsKey('deptId')">
<foreach collection="conditionParamRef.lifeCycleIdList" open="" close=")" index="index" item="item" separator=","> a.dept_id
#{item} <if test='orderCol.deptId != null and "DESC".equalsIgnoreCase(orderCol.deptId)'>DESC</if>
</foreach> ,
, </if>
</if> <if test="orderCol.containsKey('remark')">
<if test="conditionParamRef.containsKey('matterIdList') and conditionParamRef.matterIdList.size() > 0"> a.remark
field(a.matterId, <if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if>
<foreach collection="conditionParamRef.matterIdList" open="" close=")" index="index" item="item" separator=","> ,
#{item} </if>
</foreach> <if test="orderCol.containsKey('createUserId')">
, a.create_user_id
</if> <if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
<if test="conditionParamRef.containsKey('areaLevelList') and conditionParamRef.areaLevelList.size() > 0"> ,
field(a.areaLevel, </if>
<foreach collection="conditionParamRef.areaLevelList" open="" close=")" index="index" item="item" separator=","> <if test="orderCol.containsKey('createUserName')">
#{item} a.create_user_name
</foreach> <if test='orderCol.createUserName != null and "DESC".equalsIgnoreCase(orderCol.createUserName)'>DESC</if>
, ,
</if> </if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0"> <if test="orderCol.containsKey('createTime')">
field(a.deptId, a.create_time
<foreach collection="conditionParamRef.deptIdList" open="" close=")" index="index" item="item" separator=","> <if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
#{item} ,
</foreach> </if>
, <if test="orderCol.containsKey('updateTime')">
</if> a.update_time
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0"> <if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
field(a.createUserId, ,
<foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=","> </if>
#{item} <if test="orderCol.containsKey('matterGroupName')">
</foreach> a.matter_group_name
, <if test='orderCol.matterGroupName != null and "DESC".equalsIgnoreCase(orderCol.matterGroupName)'>DESC</if>
</if> ,
<trim suffixOverrides="," suffix=""> </if>
<if test="orderCol.containsKey('id')">
a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('lifeCycleId')">
a.life_cycle_id
<if test='orderCol.lifeCycleId != null and "DESC".equalsIgnoreCase(orderCol.lifeCycleId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('lifeCycleName')">
a.life_cycle_name
<if test='orderCol.lifeCycleName != null and "DESC".equalsIgnoreCase(orderCol.lifeCycleName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('matterId')">
a.matter_id
<if test='orderCol.matterId != null and "DESC".equalsIgnoreCase(orderCol.matterId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('matterName')">
a.matter_name
<if test='orderCol.matterName != null and "DESC".equalsIgnoreCase(orderCol.matterName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('matterCode')">
a.matter_code
<if test='orderCol.matterCode != null and "DESC".equalsIgnoreCase(orderCol.matterCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('areaCode')">
a.area_code
<if test='orderCol.areaCode != null and "DESC".equalsIgnoreCase(orderCol.areaCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('areaName')">
a.area_name
<if test='orderCol.areaName != null and "DESC".equalsIgnoreCase(orderCol.areaName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('areaLevel')">
a.area_level
<if test='orderCol.areaLevel != null and "DESC".equalsIgnoreCase(orderCol.areaLevel)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptId')">
a.dept_id
<if test='orderCol.deptId != null and "DESC".equalsIgnoreCase(orderCol.deptId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptName')">
a.dept_name
<if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('remark')">
a.remark
<if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.create_user_id
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserName')">
a.create_user_name
<if test='orderCol.createUserName != null and "DESC".equalsIgnoreCase(orderCol.createUserName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.create_time
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.update_time
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
</trim> </trim>
</if> </if>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd"> "mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.ent.dao.ibatis.EntLifeMatterSubDaoImpl"> <mapper namespace="com.mortals.xhx.module.ent.dao.ibatis.EntLifeMatterSubDaoImpl">
<!-- 字段和属性映射 --> <!-- 字段和属性映射 -->
<resultMap type="EntLifeMatterSubEntity" id="EntLifeMatterSubEntity-Map"> <resultMap type="EntLifeMatterSubEntity" id="EntLifeMatterSubEntity-Map">
<id property="id" column="id" /> <id property="id" column="id" />
<result property="masterRecordId" column="master_record_id" /> <result property="masterRecordId" column="master_record_id" />
<result property="matterId" column="matter_id" /> <result property="matterId" column="matter_id" />
<result property="matterName" column="matter_name" /> <result property="matterName" column="matter_name" />
<result property="matterCode" column="matter_code" /> <result property="matterCode" column="matter_code" />
<result property="areaCode" column="area_code" /> <result property="areaCode" column="area_code" />
<result property="areaName" column="area_name" /> <result property="areaName" column="area_name" />
<result property="areaLevel" column="area_level" /> <result property="areaLevel" column="area_level" />
<result property="deptId" column="dept_id" /> <result property="deptId" column="dept_id" />
<result property="deptName" column="dept_name" /> <result property="deptName" column="dept_name" />
<result property="remark" column="remark" /> <result property="remark" column="remark" />
<result property="createUserId" column="create_user_id" /> <result property="createUserId" column="create_user_id" />
<result property="createUserName" column="create_user_name" /> <result property="createUserName" column="create_user_name" />
<result property="createTime" column="create_time" /> <result property="createTime" column="create_time" />
<result property="updateTime" column="update_time" /> <result property="updateTime" column="update_time" />
<result property="sort" column="sort" />
</resultMap> </resultMap>
<!-- 表所有列 --> <!-- 表所有列 -->
<sql id="_columns"> <sql id="_columns">
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id, a.id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('masterRecordId') or colPickMode == 1 and data.containsKey('masterRecordId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('masterRecordId') or colPickMode == 1 and data.containsKey('masterRecordId')))">
a.master_record_id, a.master_record_id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterId') or colPickMode == 1 and data.containsKey('matterId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterId') or colPickMode == 1 and data.containsKey('matterId')))">
a.matter_id, a.matter_id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterName') or colPickMode == 1 and data.containsKey('matterName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterName') or colPickMode == 1 and data.containsKey('matterName')))">
a.matter_name, a.matter_name,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterCode') or colPickMode == 1 and data.containsKey('matterCode')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterCode') or colPickMode == 1 and data.containsKey('matterCode')))">
a.matter_code, a.matter_code,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('areaCode') or colPickMode == 1 and data.containsKey('areaCode')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('areaCode') or colPickMode == 1 and data.containsKey('areaCode')))">
a.area_code, a.area_code,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('areaName') or colPickMode == 1 and data.containsKey('areaName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('areaName') or colPickMode == 1 and data.containsKey('areaName')))">
a.area_name, a.area_name,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('areaLevel') or colPickMode == 1 and data.containsKey('areaLevel')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('areaLevel') or colPickMode == 1 and data.containsKey('areaLevel')))">
a.area_level, a.area_level,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))">
a.dept_id, a.dept_id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))">
a.dept_name, a.dept_name,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.remark, a.remark,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.create_user_id, a.create_user_id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserName') or colPickMode == 1 and data.containsKey('createUserName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserName') or colPickMode == 1 and data.containsKey('createUserName')))">
a.create_user_name, a.create_user_name,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.create_time, a.create_time,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.update_time, a.update_time,
</if> </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>
</trim> </trim>
</sql> </sql>
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="EntLifeMatterSubEntity" useGeneratedKeys="true" keyProperty="id"> <insert id="insert" parameterType="EntLifeMatterSubEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_ent_life_matter_sub insert into mortals_ent_life_matter_sub
(master_record_id,matter_id,matter_name,matter_code,area_code,area_name,area_level,dept_id,dept_name,remark,create_user_id,create_user_name,create_time,update_time) (master_record_id,matter_id,matter_name,matter_code,area_code,area_name,area_level,dept_id,dept_name,remark,create_user_id,create_user_name,create_time,update_time,sort)
VALUES VALUES
(#{masterRecordId},#{matterId},#{matterName},#{matterCode},#{areaCode},#{areaName},#{areaLevel},#{deptId},#{deptName},#{remark},#{createUserId},#{createUserName},#{createTime},#{updateTime}) (#{masterRecordId},#{matterId},#{matterName},#{matterCode},#{areaCode},#{areaName},#{areaLevel},#{deptId},#{deptName},#{remark},#{createUserId},#{createUserName},#{createTime},#{updateTime},#{sort})
</insert> </insert>
<!-- 批量新增 --> <!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto"> <insert id="insertBatch" parameterType="paramDto">
insert into mortals_ent_life_matter_sub insert into mortals_ent_life_matter_sub
(master_record_id,matter_id,matter_name,matter_code,area_code,area_name,area_level,dept_id,dept_name,remark,create_user_id,create_user_name,create_time,update_time) (master_record_id,matter_id,matter_name,matter_code,area_code,area_name,area_level,dept_id,dept_name,remark,create_user_id,create_user_name,create_time,update_time,sort)
VALUES VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," > <foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.masterRecordId},#{item.matterId},#{item.matterName},#{item.matterCode},#{item.areaCode},#{item.areaName},#{item.areaLevel},#{item.deptId},#{item.deptName},#{item.remark},#{item.createUserId},#{item.createUserName},#{item.createTime},#{item.updateTime}) (#{item.masterRecordId},#{item.matterId},#{item.matterName},#{item.matterCode},#{item.areaCode},#{item.areaName},#{item.areaLevel},#{item.deptId},#{item.deptName},#{item.remark},#{item.createUserId},#{item.createUserName},#{item.createTime},#{item.updateTime},#{item.sort})
</foreach> </foreach>
</insert> </insert>
...@@ -153,6 +157,12 @@ ...@@ -153,6 +157,12 @@
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))"> <if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.update_time=#{data.updateTime}, a.update_time=#{data.updateTime},
</if> </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>
</trim> </trim>
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
where where
...@@ -165,129 +175,141 @@ ...@@ -165,129 +175,141 @@
<update id="updateBatch" parameterType="paramDto"> <update id="updateBatch" parameterType="paramDto">
update mortals_ent_life_matter_sub as a update mortals_ent_life_matter_sub as a
<trim prefix="set" suffixOverrides=","> <trim prefix="set" suffixOverrides=",">
<trim prefix="master_record_id=(case" suffix="ELSE master_record_id end),"> <trim prefix="master_record_id=(case" suffix="ELSE master_record_id end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('masterRecordId')) or (colPickMode==1 and !item.containsKey('masterRecordId'))"> <when test="(colPickMode==0 and item.containsKey('masterRecordId')) or (colPickMode==1 and !item.containsKey('masterRecordId'))">
when a.id=#{item.id} then #{item.masterRecordId} when a.id=#{item.id} then #{item.masterRecordId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('masterRecordIdIncrement')) or (colPickMode==1 and !item.containsKey('masterRecordIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('masterRecordIdIncrement')) or (colPickMode==1 and !item.containsKey('masterRecordIdIncrement'))">
when a.id=#{item.id} then ifnull(a.master_record_id,0) + #{item.masterRecordIdIncrement} when a.id=#{item.id} then ifnull(a.master_record_id,0) + #{item.masterRecordIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="matter_id=(case" suffix="ELSE matter_id end),"> <trim prefix="matter_id=(case" suffix="ELSE matter_id end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('matterId')) or (colPickMode==1 and !item.containsKey('matterId'))"> <when test="(colPickMode==0 and item.containsKey('matterId')) or (colPickMode==1 and !item.containsKey('matterId'))">
when a.id=#{item.id} then #{item.matterId} when a.id=#{item.id} then #{item.matterId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('matterIdIncrement')) or (colPickMode==1 and !item.containsKey('matterIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('matterIdIncrement')) or (colPickMode==1 and !item.containsKey('matterIdIncrement'))">
when a.id=#{item.id} then ifnull(a.matter_id,0) + #{item.matterIdIncrement} when a.id=#{item.id} then ifnull(a.matter_id,0) + #{item.matterIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="matter_name=(case" suffix="ELSE matter_name end),"> <trim prefix="matter_name=(case" suffix="ELSE matter_name end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('matterName')) or (colPickMode==1 and !item.containsKey('matterName'))"> <if test="(colPickMode==0 and item.containsKey('matterName')) or (colPickMode==1 and !item.containsKey('matterName'))">
when a.id=#{item.id} then #{item.matterName} when a.id=#{item.id} then #{item.matterName}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="matter_code=(case" suffix="ELSE matter_code end),"> <trim prefix="matter_code=(case" suffix="ELSE matter_code end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('matterCode')) or (colPickMode==1 and !item.containsKey('matterCode'))"> <if test="(colPickMode==0 and item.containsKey('matterCode')) or (colPickMode==1 and !item.containsKey('matterCode'))">
when a.id=#{item.id} then #{item.matterCode} when a.id=#{item.id} then #{item.matterCode}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="area_code=(case" suffix="ELSE area_code end),"> <trim prefix="area_code=(case" suffix="ELSE area_code end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('areaCode')) or (colPickMode==1 and !item.containsKey('areaCode'))"> <if test="(colPickMode==0 and item.containsKey('areaCode')) or (colPickMode==1 and !item.containsKey('areaCode'))">
when a.id=#{item.id} then #{item.areaCode} when a.id=#{item.id} then #{item.areaCode}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="area_name=(case" suffix="ELSE area_name end),"> <trim prefix="area_name=(case" suffix="ELSE area_name end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('areaName')) or (colPickMode==1 and !item.containsKey('areaName'))"> <if test="(colPickMode==0 and item.containsKey('areaName')) or (colPickMode==1 and !item.containsKey('areaName'))">
when a.id=#{item.id} then #{item.areaName} when a.id=#{item.id} then #{item.areaName}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="area_level=(case" suffix="ELSE area_level end),"> <trim prefix="area_level=(case" suffix="ELSE area_level end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('areaLevel')) or (colPickMode==1 and !item.containsKey('areaLevel'))"> <when test="(colPickMode==0 and item.containsKey('areaLevel')) or (colPickMode==1 and !item.containsKey('areaLevel'))">
when a.id=#{item.id} then #{item.areaLevel} when a.id=#{item.id} then #{item.areaLevel}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('areaLevelIncrement')) or (colPickMode==1 and !item.containsKey('areaLevelIncrement'))"> <when test="(colPickMode==0 and item.containsKey('areaLevelIncrement')) or (colPickMode==1 and !item.containsKey('areaLevelIncrement'))">
when a.id=#{item.id} then ifnull(a.area_level,0) + #{item.areaLevelIncrement} when a.id=#{item.id} then ifnull(a.area_level,0) + #{item.areaLevelIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="dept_id=(case" suffix="ELSE dept_id end),"> <trim prefix="dept_id=(case" suffix="ELSE dept_id end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('deptId')) or (colPickMode==1 and !item.containsKey('deptId'))"> <when test="(colPickMode==0 and item.containsKey('deptId')) or (colPickMode==1 and !item.containsKey('deptId'))">
when a.id=#{item.id} then #{item.deptId} when a.id=#{item.id} then #{item.deptId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('deptIdIncrement')) or (colPickMode==1 and !item.containsKey('deptIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('deptIdIncrement')) or (colPickMode==1 and !item.containsKey('deptIdIncrement'))">
when a.id=#{item.id} then ifnull(a.dept_id,0) + #{item.deptIdIncrement} when a.id=#{item.id} then ifnull(a.dept_id,0) + #{item.deptIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="dept_name=(case" suffix="ELSE dept_name end),"> <trim prefix="dept_name=(case" suffix="ELSE dept_name end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deptName')) or (colPickMode==1 and !item.containsKey('deptName'))"> <if test="(colPickMode==0 and item.containsKey('deptName')) or (colPickMode==1 and !item.containsKey('deptName'))">
when a.id=#{item.id} then #{item.deptName} when a.id=#{item.id} then #{item.deptName}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="remark=(case" suffix="ELSE remark end),"> <trim prefix="remark=(case" suffix="ELSE remark end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))"> <if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))">
when a.id=#{item.id} then #{item.remark} when a.id=#{item.id} then #{item.remark}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="create_user_id=(case" suffix="ELSE create_user_id end),"> <trim prefix="create_user_id=(case" suffix="ELSE create_user_id end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))"> <when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId} when a.id=#{item.id} then #{item.createUserId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.create_user_id,0) + #{item.createUserIdIncrement} when a.id=#{item.id} then ifnull(a.create_user_id,0) + #{item.createUserIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="create_user_name=(case" suffix="ELSE create_user_name end),"> <trim prefix="create_user_name=(case" suffix="ELSE create_user_name end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createUserName')) or (colPickMode==1 and !item.containsKey('createUserName'))"> <if test="(colPickMode==0 and item.containsKey('createUserName')) or (colPickMode==1 and !item.containsKey('createUserName'))">
when a.id=#{item.id} then #{item.createUserName} when a.id=#{item.id} then #{item.createUserName}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="create_time=(case" suffix="ELSE create_time end),"> <trim prefix="create_time=(case" suffix="ELSE create_time end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))"> <if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime} when a.id=#{item.id} then #{item.createTime}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="update_time=(case" suffix="ELSE update_time end),"> <trim prefix="update_time=(case" suffix="ELSE update_time end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))"> <if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime} when a.id=#{item.id} then #{item.updateTime}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="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> </trim>
where id in where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")"> <foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
...@@ -408,517 +430,563 @@ ...@@ -408,517 +430,563 @@
${_conditionType_} a.id=#{${_conditionParam_}.id} ${_conditionType_} a.id=#{${_conditionParam_}.id}
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('id')"> <if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null "> <if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id} ${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0"> <if test="conditionParamRef.id == null">
${_conditionType_} a.id in ${_conditionType_} a.id is null
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0"> </if>
${_conditionType_} a.id not in <if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.id in
#{item} <foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('masterRecordId')">
<if test="conditionParamRef.masterRecordId != null ">
${_conditionType_} a.master_record_id = #{${_conditionParam_}.masterRecordId}
</if> </if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null"> <if test="conditionParamRef.masterRecordId == null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart} ${_conditionType_} a.master_record_id is null
</if> </if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null"> </if>
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd} <if test="conditionParamRef.containsKey('masterRecordIdList') and conditionParamRef.masterRecordIdList.size() > 0">
${_conditionType_} a.master_record_id in
<foreach collection="conditionParamRef.masterRecordIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('masterRecordIdNotList') and conditionParamRef.masterRecordIdNotList.size() > 0">
${_conditionType_} a.master_record_id not in
<foreach collection="conditionParamRef.masterRecordIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('masterRecordIdStart') and conditionParamRef.masterRecordIdStart != null">
${_conditionType_} a.master_record_id <![CDATA[ >= ]]> #{${_conditionParam_}.masterRecordIdStart}
</if>
<if test="conditionParamRef.containsKey('masterRecordIdEnd') and conditionParamRef.masterRecordIdEnd != null">
${_conditionType_} a.master_record_id <![CDATA[ <= ]]> #{${_conditionParam_}.masterRecordIdEnd}
</if>
<if test="conditionParamRef.containsKey('matterId')">
<if test="conditionParamRef.matterId != null ">
${_conditionType_} a.matter_id = #{${_conditionParam_}.matterId}
</if> </if>
<if test="conditionParamRef.matterId == null">
${_conditionType_} a.matter_id is null
</if>
</if>
<if test="conditionParamRef.containsKey('matterIdList') and conditionParamRef.matterIdList.size() > 0">
${_conditionType_} a.matter_id 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.matter_id 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.matter_id <![CDATA[ >= ]]> #{${_conditionParam_}.matterIdStart}
</if>
<if test="conditionParamRef.containsKey('matterIdEnd') and conditionParamRef.matterIdEnd != null">
${_conditionType_} a.matter_id <![CDATA[ <= ]]> #{${_conditionParam_}.matterIdEnd}
</if>
<if test="conditionParamRef.containsKey('masterRecordId')">
<if test="conditionParamRef.masterRecordId != null "> <if test="conditionParamRef.containsKey('matterName')">
${_conditionType_} a.master_record_id = #{${_conditionParam_}.masterRecordId} <if test="conditionParamRef.matterName != null and conditionParamRef.matterName != ''">
</if> ${_conditionType_} a.matter_name like #{${_conditionParam_}.matterName}
<if test="conditionParamRef.masterRecordId == null">
${_conditionType_} a.master_record_id is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('masterRecordIdList') and conditionParamRef.masterRecordIdList.size() > 0"> <if test="conditionParamRef.matterName == null">
${_conditionType_} a.master_record_id in ${_conditionType_} a.matter_name is null
<foreach collection="conditionParamRef.masterRecordIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('masterRecordIdNotList') and conditionParamRef.masterRecordIdNotList.size() > 0"> </if>
${_conditionType_} a.master_record_id not in <if test="conditionParamRef.containsKey('matterNameList') and conditionParamRef.matterNameList.size() > 0">
<foreach collection="conditionParamRef.masterRecordIdNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.matter_name in
#{item} <foreach collection="conditionParamRef.matterNameList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterNameNotList') and conditionParamRef.matterNameNotList.size() > 0">
${_conditionType_} a.matter_name 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.matter_code like #{${_conditionParam_}.matterCode}
</if> </if>
<if test="conditionParamRef.containsKey('masterRecordIdStart') and conditionParamRef.masterRecordIdStart != null"> <if test="conditionParamRef.matterCode == null">
${_conditionType_} a.master_record_id <![CDATA[ >= ]]> #{${_conditionParam_}.masterRecordIdStart} ${_conditionType_} a.matter_code is null
</if> </if>
<if test="conditionParamRef.containsKey('masterRecordIdEnd') and conditionParamRef.masterRecordIdEnd != null"> </if>
${_conditionType_} a.master_record_id <![CDATA[ <= ]]> #{${_conditionParam_}.masterRecordIdEnd} <if test="conditionParamRef.containsKey('matterCodeList') and conditionParamRef.matterCodeList.size() > 0">
${_conditionType_} a.matter_code 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.matter_code not in
<foreach collection="conditionParamRef.matterCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('areaCode')">
<if test="conditionParamRef.areaCode != null and conditionParamRef.areaCode != ''">
${_conditionType_} a.area_code like #{${_conditionParam_}.areaCode}
</if>
<if test="conditionParamRef.areaCode == null">
${_conditionType_} a.area_code is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('areaCodeList') and conditionParamRef.areaCodeList.size() > 0">
${_conditionType_} a.area_code in
<foreach collection="conditionParamRef.areaCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('areaCodeNotList') and conditionParamRef.areaCodeNotList.size() > 0">
${_conditionType_} a.area_code not in
<foreach collection="conditionParamRef.areaCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterId')"> <if test="conditionParamRef.containsKey('areaName')">
<if test="conditionParamRef.matterId != null "> <if test="conditionParamRef.areaName != null and conditionParamRef.areaName != ''">
${_conditionType_} a.matter_id = #{${_conditionParam_}.matterId} ${_conditionType_} a.area_name like #{${_conditionParam_}.areaName}
</if>
<if test="conditionParamRef.matterId == null">
${_conditionType_} a.matter_id is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('matterIdList') and conditionParamRef.matterIdList.size() > 0"> <if test="conditionParamRef.areaName == null">
${_conditionType_} a.matter_id in ${_conditionType_} a.area_name is null
<foreach collection="conditionParamRef.matterIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('matterIdNotList') and conditionParamRef.matterIdNotList.size() > 0"> </if>
${_conditionType_} a.matter_id not in <if test="conditionParamRef.containsKey('areaNameList') and conditionParamRef.areaNameList.size() > 0">
<foreach collection="conditionParamRef.matterIdNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.area_name in
#{item} <foreach collection="conditionParamRef.areaNameList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('areaNameNotList') and conditionParamRef.areaNameNotList.size() > 0">
${_conditionType_} a.area_name not in
<foreach collection="conditionParamRef.areaNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('areaLevel')">
<if test="conditionParamRef.areaLevel != null ">
${_conditionType_} a.area_level = #{${_conditionParam_}.areaLevel}
</if> </if>
<if test="conditionParamRef.containsKey('matterIdStart') and conditionParamRef.matterIdStart != null"> <if test="conditionParamRef.areaLevel == null">
${_conditionType_} a.matter_id <![CDATA[ >= ]]> #{${_conditionParam_}.matterIdStart} ${_conditionType_} a.area_level is null
</if> </if>
<if test="conditionParamRef.containsKey('matterIdEnd') and conditionParamRef.matterIdEnd != null"> </if>
${_conditionType_} a.matter_id <![CDATA[ <= ]]> #{${_conditionParam_}.matterIdEnd} <if test="conditionParamRef.containsKey('areaLevelList') and conditionParamRef.areaLevelList.size() > 0">
${_conditionType_} a.area_level in
<foreach collection="conditionParamRef.areaLevelList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('areaLevelNotList') and conditionParamRef.areaLevelNotList.size() > 0">
${_conditionType_} a.area_level not in
<foreach collection="conditionParamRef.areaLevelNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('areaLevelStart') and conditionParamRef.areaLevelStart != null">
${_conditionType_} a.area_level <![CDATA[ >= ]]> #{${_conditionParam_}.areaLevelStart}
</if>
<if test="conditionParamRef.containsKey('areaLevelEnd') and conditionParamRef.areaLevelEnd != null">
${_conditionType_} a.area_level <![CDATA[ <= ]]> #{${_conditionParam_}.areaLevelEnd}
</if>
<if test="conditionParamRef.containsKey('deptId')">
<if test="conditionParamRef.deptId != null ">
${_conditionType_} a.dept_id = #{${_conditionParam_}.deptId}
</if>
<if test="conditionParamRef.deptId == null">
${_conditionType_} a.dept_id is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
${_conditionType_} a.dept_id 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.dept_id 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.dept_id <![CDATA[ >= ]]> #{${_conditionParam_}.deptIdStart}
</if>
<if test="conditionParamRef.containsKey('deptIdEnd') and conditionParamRef.deptIdEnd != null">
${_conditionType_} a.dept_id <![CDATA[ <= ]]> #{${_conditionParam_}.deptIdEnd}
</if>
<if test="conditionParamRef.containsKey('matterName')"> <if test="conditionParamRef.containsKey('deptName')">
<if test="conditionParamRef.matterName != null and conditionParamRef.matterName != ''"> <if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''">
${_conditionType_} a.matter_name like #{${_conditionParam_}.matterName} ${_conditionType_} a.dept_name like #{${_conditionParam_}.deptName}
</if>
<if test="conditionParamRef.matterName == null">
${_conditionType_} a.matter_name is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('matterNameList') and conditionParamRef.matterNameList.size() > 0"> <if test="conditionParamRef.deptName == null">
${_conditionType_} a.matter_name in ${_conditionType_} a.dept_name is null
<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.matter_name not in
<foreach collection="conditionParamRef.matterNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('deptNameList') and conditionParamRef.deptNameList.size() > 0">
${_conditionType_} a.dept_name 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.dept_name not in
<foreach collection="conditionParamRef.deptNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterCode')"> <if test="conditionParamRef.containsKey('remark')">
<if test="conditionParamRef.matterCode != null and conditionParamRef.matterCode != ''"> <if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
${_conditionType_} a.matter_code like #{${_conditionParam_}.matterCode} ${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if>
<if test="conditionParamRef.matterCode == null">
${_conditionType_} a.matter_code is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('matterCodeList') and conditionParamRef.matterCodeList.size() > 0"> <if test="conditionParamRef.remark == null">
${_conditionType_} a.matter_code in ${_conditionType_} a.remark is null
<foreach collection="conditionParamRef.matterCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('matterCodeNotList') and conditionParamRef.matterCodeNotList.size() > 0"> </if>
${_conditionType_} a.matter_code not in <if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
<foreach collection="conditionParamRef.matterCodeNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.remark in
#{item} <foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.create_user_id = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.create_user_id is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.create_user_id 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.create_user_id 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.create_user_id <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.create_user_id <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('areaCode')">
<if test="conditionParamRef.areaCode != null and conditionParamRef.areaCode != ''"> <if test="conditionParamRef.containsKey('createUserName')">
${_conditionType_} a.area_code like #{${_conditionParam_}.areaCode} <if test="conditionParamRef.createUserName != null and conditionParamRef.createUserName != ''">
</if> ${_conditionType_} a.create_user_name like #{${_conditionParam_}.createUserName}
<if test="conditionParamRef.areaCode == null">
${_conditionType_} a.area_code is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('areaCodeList') and conditionParamRef.areaCodeList.size() > 0"> <if test="conditionParamRef.createUserName == null">
${_conditionType_} a.area_code in ${_conditionType_} a.create_user_name is null
<foreach collection="conditionParamRef.areaCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('areaCodeNotList') and conditionParamRef.areaCodeNotList.size() > 0"> </if>
${_conditionType_} a.area_code not in <if test="conditionParamRef.containsKey('createUserNameList') and conditionParamRef.createUserNameList.size() > 0">
<foreach collection="conditionParamRef.areaCodeNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.create_user_name in
#{item} <foreach collection="conditionParamRef.createUserNameList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserNameNotList') and conditionParamRef.createUserNameNotList.size() > 0">
${_conditionType_} a.create_user_name not in
<foreach collection="conditionParamRef.createUserNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.create_time = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.create_time is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.create_time <![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.create_time <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('areaName')"> <if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.areaName != null and conditionParamRef.areaName != ''"> <if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.area_name like #{${_conditionParam_}.areaName} ${_conditionType_} a.update_time = #{${_conditionParam_}.updateTime}
</if> </if>
<if test="conditionParamRef.areaName == null"> <if test="conditionParamRef.updateTime == null">
${_conditionType_} a.area_name is null ${_conditionType_} a.update_time is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.update_time <![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.update_time <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</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('areaNameList') and conditionParamRef.areaNameList.size() > 0"> </if>
${_conditionType_} a.area_name in <if test="conditionParamRef.containsKey('sortList') and conditionParamRef.sortList.size() > 0">
<foreach collection="conditionParamRef.areaNameList" open="(" close=")" index="index" item="item" separator=","> ${_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>
</sql>
<sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()">
order by
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
field(a.id,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('areaNameNotList') and conditionParamRef.areaNameNotList.size() > 0"> <if test="conditionParamRef.containsKey('masterRecordIdList') and conditionParamRef.masterRecordIdList.size() > 0">
${_conditionType_} a.area_name not in field(a.masterRecordId,
<foreach collection="conditionParamRef.areaNameNotList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.masterRecordIdList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('areaLevel')"> <if test="conditionParamRef.containsKey('matterIdList') and conditionParamRef.matterIdList.size() > 0">
<if test="conditionParamRef.areaLevel != null "> field(a.matterId,
${_conditionType_} a.area_level = #{${_conditionParam_}.areaLevel} <foreach collection="conditionParamRef.matterIdList" open="" close=")" index="index" item="item" separator=",">
</if>
<if test="conditionParamRef.areaLevel == null">
${_conditionType_} a.area_level is null
</if>
</if>
<if test="conditionParamRef.containsKey('areaLevelList') and conditionParamRef.areaLevelList.size() > 0">
${_conditionType_} a.area_level in
<foreach collection="conditionParamRef.areaLevelList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('areaLevelNotList') and conditionParamRef.areaLevelNotList.size() > 0"> <if test="conditionParamRef.containsKey('areaLevelList') and conditionParamRef.areaLevelList.size() > 0">
${_conditionType_} a.area_level not in field(a.areaLevel,
<foreach collection="conditionParamRef.areaLevelNotList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.areaLevelList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
</if> ,
<if test="conditionParamRef.containsKey('areaLevelStart') and conditionParamRef.areaLevelStart != null">
${_conditionType_} a.area_level <![CDATA[ >= ]]> #{${_conditionParam_}.areaLevelStart}
</if>
<if test="conditionParamRef.containsKey('areaLevelEnd') and conditionParamRef.areaLevelEnd != null">
${_conditionType_} a.area_level <![CDATA[ <= ]]> #{${_conditionParam_}.areaLevelEnd}
</if>
<if test="conditionParamRef.containsKey('deptId')">
<if test="conditionParamRef.deptId != null ">
${_conditionType_} a.dept_id = #{${_conditionParam_}.deptId}
</if>
<if test="conditionParamRef.deptId == null">
${_conditionType_} a.dept_id is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0"> <if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
${_conditionType_} a.dept_id in field(a.deptId,
<foreach collection="conditionParamRef.deptIdList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.deptIdList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('deptIdNotList') and conditionParamRef.deptIdNotList.size() > 0"> <if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.dept_id not in field(a.createUserId,
<foreach collection="conditionParamRef.deptIdNotList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('deptIdStart') and conditionParamRef.deptIdStart != null"> <if test="conditionParamRef.containsKey('sortList') and conditionParamRef.sortList.size() > 0">
${_conditionType_} a.dept_id <![CDATA[ >= ]]> #{${_conditionParam_}.deptIdStart} field(a.sort,
</if> <foreach collection="conditionParamRef.sortList" open="" close=")" index="index" item="item" separator=",">
<if test="conditionParamRef.containsKey('deptIdEnd') and conditionParamRef.deptIdEnd != null">
${_conditionType_} a.dept_id <![CDATA[ <= ]]> #{${_conditionParam_}.deptIdEnd}
</if>
<if test="conditionParamRef.containsKey('deptName')">
<if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''">
${_conditionType_} a.dept_name like #{${_conditionParam_}.deptName}
</if>
<if test="conditionParamRef.deptName == null">
${_conditionType_} a.dept_name is null
</if>
</if>
<if test="conditionParamRef.containsKey('deptNameList') and conditionParamRef.deptNameList.size() > 0">
${_conditionType_} a.dept_name in
<foreach collection="conditionParamRef.deptNameList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('deptNameNotList') and conditionParamRef.deptNameNotList.size() > 0"> <trim suffixOverrides="," suffix="">
${_conditionType_} a.dept_name not in <foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
<foreach collection="conditionParamRef.deptNameNotList" open="(" close=")" index="index" item="item" separator=","> a.${item.colName} ${item.sortKind}
</foreach>
</trim>
</if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
field(a.id,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('masterRecordIdList') and conditionParamRef.masterRecordIdList.size() > 0">
<if test="conditionParamRef.containsKey('remark')"> field(a.masterRecordId,
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''"> <foreach collection="conditionParamRef.masterRecordIdList" open="" close=")" index="index" item="item" separator=",">
${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if>
<if test="conditionParamRef.remark == null">
${_conditionType_} a.remark is null
</if>
</if>
<if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0"> <if test="conditionParamRef.containsKey('matterIdList') and conditionParamRef.matterIdList.size() > 0">
${_conditionType_} a.remark not in field(a.matterId,
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.matterIdList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('createUserId')"> <if test="conditionParamRef.containsKey('areaLevelList') and conditionParamRef.areaLevelList.size() > 0">
<if test="conditionParamRef.createUserId != null "> field(a.areaLevel,
${_conditionType_} a.create_user_id = #{${_conditionParam_}.createUserId} <foreach collection="conditionParamRef.areaLevelList" open="" close=")" index="index" item="item" separator=",">
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.create_user_id is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.create_user_id in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0"> <if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
${_conditionType_} a.create_user_id not in field(a.deptId,
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.deptIdList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null"> <if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.create_user_id <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart} field(a.createUserId,
</if> <foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=",">
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.create_user_id <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('createUserName')">
<if test="conditionParamRef.createUserName != null and conditionParamRef.createUserName != ''">
${_conditionType_} a.create_user_name like #{${_conditionParam_}.createUserName}
</if>
<if test="conditionParamRef.createUserName == null">
${_conditionType_} a.create_user_name is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserNameList') and conditionParamRef.createUserNameList.size() > 0">
${_conditionType_} a.create_user_name in
<foreach collection="conditionParamRef.createUserNameList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('createUserNameNotList') and conditionParamRef.createUserNameNotList.size() > 0"> <if test="conditionParamRef.containsKey('sortList') and conditionParamRef.sortList.size() > 0">
${_conditionType_} a.create_user_name not in field(a.sort,
<foreach collection="conditionParamRef.createUserNameNotList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.sortList" open="" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
,
</if> </if>
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.create_time = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.create_time is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.create_time <![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.create_time <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.update_time = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.update_time is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.update_time <![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.update_time <![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('masterRecordIdList') and conditionParamRef.masterRecordIdList.size() > 0">
field(a.masterRecordId,
<foreach collection="conditionParamRef.masterRecordIdList" 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('areaLevelList') and conditionParamRef.areaLevelList.size() > 0">
field(a.areaLevel,
<foreach collection="conditionParamRef.areaLevelList" 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('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=""> <trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=","> <if test="orderCol.containsKey('id')">
a.${item.colName} ${item.sortKind} a.id
</foreach> <if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
</trim> ,
</if> </if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()"> <if test="orderCol.containsKey('masterRecordId')">
order by a.master_record_id
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0"> <if test='orderCol.masterRecordId != null and "DESC".equalsIgnoreCase(orderCol.masterRecordId)'>DESC</if>
field(a.id, ,
<foreach collection="conditionParamRef.idList" open="" close=")" index="index" item="item" separator=","> </if>
#{item} <if test="orderCol.containsKey('matterId')">
</foreach> a.matter_id
, <if test='orderCol.matterId != null and "DESC".equalsIgnoreCase(orderCol.matterId)'>DESC</if>
</if> ,
<if test="conditionParamRef.containsKey('masterRecordIdList') and conditionParamRef.masterRecordIdList.size() > 0"> </if>
field(a.masterRecordId, <if test="orderCol.containsKey('matterName')">
<foreach collection="conditionParamRef.masterRecordIdList" open="" close=")" index="index" item="item" separator=","> a.matter_name
#{item} <if test='orderCol.matterName != null and "DESC".equalsIgnoreCase(orderCol.matterName)'>DESC</if>
</foreach> ,
, </if>
</if> <if test="orderCol.containsKey('matterCode')">
<if test="conditionParamRef.containsKey('matterIdList') and conditionParamRef.matterIdList.size() > 0"> a.matter_code
field(a.matterId, <if test='orderCol.matterCode != null and "DESC".equalsIgnoreCase(orderCol.matterCode)'>DESC</if>
<foreach collection="conditionParamRef.matterIdList" open="" close=")" index="index" item="item" separator=","> ,
#{item} </if>
</foreach> <if test="orderCol.containsKey('areaCode')">
, a.area_code
</if> <if test='orderCol.areaCode != null and "DESC".equalsIgnoreCase(orderCol.areaCode)'>DESC</if>
<if test="conditionParamRef.containsKey('areaLevelList') and conditionParamRef.areaLevelList.size() > 0"> ,
field(a.areaLevel, </if>
<foreach collection="conditionParamRef.areaLevelList" open="" close=")" index="index" item="item" separator=","> <if test="orderCol.containsKey('areaName')">
#{item} a.area_name
</foreach> <if test='orderCol.areaName != null and "DESC".equalsIgnoreCase(orderCol.areaName)'>DESC</if>
, ,
</if> </if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0"> <if test="orderCol.containsKey('areaLevel')">
field(a.deptId, a.area_level
<foreach collection="conditionParamRef.deptIdList" open="" close=")" index="index" item="item" separator=","> <if test='orderCol.areaLevel != null and "DESC".equalsIgnoreCase(orderCol.areaLevel)'>DESC</if>
#{item} ,
</foreach> </if>
, <if test="orderCol.containsKey('deptId')">
</if> a.dept_id
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0"> <if test='orderCol.deptId != null and "DESC".equalsIgnoreCase(orderCol.deptId)'>DESC</if>
field(a.createUserId, ,
<foreach collection="conditionParamRef.createUserIdList" open="" close=")" index="index" item="item" separator=","> </if>
#{item} <if test="orderCol.containsKey('deptName')">
</foreach> a.dept_name
, <if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if>
</if> ,
<trim suffixOverrides="," suffix=""> </if>
<if test="orderCol.containsKey('id')"> <if test="orderCol.containsKey('remark')">
a.id a.remark
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if> <if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('masterRecordId')"> <if test="orderCol.containsKey('createUserId')">
a.master_record_id a.create_user_id
<if test='orderCol.masterRecordId != null and "DESC".equalsIgnoreCase(orderCol.masterRecordId)'>DESC</if> <if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('matterId')"> <if test="orderCol.containsKey('createUserName')">
a.matter_id a.create_user_name
<if test='orderCol.matterId != null and "DESC".equalsIgnoreCase(orderCol.matterId)'>DESC</if> <if test='orderCol.createUserName != null and "DESC".equalsIgnoreCase(orderCol.createUserName)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('matterName')"> <if test="orderCol.containsKey('createTime')">
a.matter_name a.create_time
<if test='orderCol.matterName != null and "DESC".equalsIgnoreCase(orderCol.matterName)'>DESC</if> <if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('matterCode')"> <if test="orderCol.containsKey('updateTime')">
a.matter_code a.update_time
<if test='orderCol.matterCode != null and "DESC".equalsIgnoreCase(orderCol.matterCode)'>DESC</if> <if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('areaCode')"> <if test="orderCol.containsKey('sort')">
a.area_code a.sort
<if test='orderCol.areaCode != null and "DESC".equalsIgnoreCase(orderCol.areaCode)'>DESC</if> <if test='orderCol.sort != null and "DESC".equalsIgnoreCase(orderCol.sort)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('areaName')">
a.area_name
<if test='orderCol.areaName != null and "DESC".equalsIgnoreCase(orderCol.areaName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('areaLevel')">
a.area_level
<if test='orderCol.areaLevel != null and "DESC".equalsIgnoreCase(orderCol.areaLevel)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptId')">
a.dept_id
<if test='orderCol.deptId != null and "DESC".equalsIgnoreCase(orderCol.deptId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptName')">
a.dept_name
<if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('remark')">
a.remark
<if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.create_user_id
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserName')">
a.create_user_name
<if test='orderCol.createUserName != null and "DESC".equalsIgnoreCase(orderCol.createUserName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.create_time
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.update_time
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
</trim> </trim>
</if> </if>
......
...@@ -15,6 +15,7 @@ client.global.set("authToken", JSON.parse(response.body).data.token); ...@@ -15,6 +15,7 @@ client.global.set("authToken", JSON.parse(response.body).data.token);
###企业生命周期列表 ###企业生命周期列表
POST {{baseUrl}}/ent/life/cycle/list POST {{baseUrl}}/ent/life/cycle/list
Authorization: {{authToken}}
Content-Type: application/json Content-Type: application/json
{ {
...@@ -33,7 +34,7 @@ Content-Type: application/json ...@@ -33,7 +34,7 @@ Content-Type: application/json
"lifeCycleName":"tiaNvx", "lifeCycleName":"tiaNvx",
"sort":0, "sort":0,
"remark":"tpsUjo", "remark":"tpsUjo",
"createUserName":"PrDtwb", "createUserName":"PrDtwb"
} }
> {% > {%
......
...@@ -46,26 +46,6 @@ POST {{baseUrl}}/resource/refreshUrl ...@@ -46,26 +46,6 @@ POST {{baseUrl}}/resource/refreshUrl
Accept: application/json Accept: application/json
###测试json提交
POST {{baseUrl}}/test/getHcpSin/json
Content-Type: application/json
{"affairCode":"abcd1234ddddd"}
###针对某一接入
POST {{baseUrl}}/role/auth/editMenu
Authorization: {{authToken}}
Content-Type: application/json
{
"roleId": 2
}
###子区域更新 ###子区域更新
POST {{baseUrl}}/base/area/genSubAreaByAreaName POST {{baseUrl}}/base/area/genSubAreaByAreaName
......
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