From 89cc7be57e95b944421dca1365a830d4959abe89 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Fri, 21 Oct 2022 10:25:16 +0800 Subject: [PATCH] 1 --- .../main/java/com/hai/dao/BsMsgMapper.java | 36 ++-- .../java/com/hai/dao/BsMsgSqlProvider.java | 46 ++++-- .../src/main/java/com/hai/entity/BsMsg.java | 54 +++--- .../java/com/hai/entity/BsMsgExample.java | 156 ++++++++++++------ 4 files changed, 193 insertions(+), 99 deletions(-) diff --git a/hai-service/src/main/java/com/hai/dao/BsMsgMapper.java b/hai-service/src/main/java/com/hai/dao/BsMsgMapper.java index 5141c6f0..421c53ac 100644 --- a/hai-service/src/main/java/com/hai/dao/BsMsgMapper.java +++ b/hai-service/src/main/java/com/hai/dao/BsMsgMapper.java @@ -41,18 +41,18 @@ public interface BsMsgMapper extends BsMsgMapperExt { @Insert({ "insert into bs_msg (title, `type`, ", "jump_type, msg_type, ", - "object_id, image, ", - "content, update_time, ", - "op_name, company_id, ", - "create_time, op_id, ", + "object_id, object_type, ", + "image, content, ", + "op_id, op_name, company_id, ", + "create_time, update_time, ", "`status`, ext_1, ext_2, ", "ext_3)", "values (#{title,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, ", "#{jumpType,jdbcType=INTEGER}, #{msgType,jdbcType=INTEGER}, ", - "#{objectId,jdbcType=BIGINT}, #{image,jdbcType=VARCHAR}, ", - "#{content,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, ", - "#{opName,jdbcType=VARCHAR}, #{companyId,jdbcType=BIGINT}, ", - "#{createTime,jdbcType=TIMESTAMP}, #{opId,jdbcType=BIGINT}, ", + "#{objectId,jdbcType=BIGINT}, #{objectType,jdbcType=INTEGER}, ", + "#{image,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, ", + "#{opId,jdbcType=BIGINT}, #{opName,jdbcType=VARCHAR}, #{companyId,jdbcType=BIGINT}, ", + "#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", "#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", "#{ext3,jdbcType=VARCHAR})" }) @@ -71,13 +71,14 @@ public interface BsMsgMapper extends BsMsgMapperExt { @Result(column="jump_type", property="jumpType", jdbcType=JdbcType.INTEGER), @Result(column="msg_type", property="msgType", jdbcType=JdbcType.INTEGER), @Result(column="object_id", property="objectId", jdbcType=JdbcType.BIGINT), + @Result(column="object_type", property="objectType", jdbcType=JdbcType.INTEGER), @Result(column="image", property="image", jdbcType=JdbcType.VARCHAR), @Result(column="content", property="content", jdbcType=JdbcType.VARCHAR), - @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="op_id", property="opId", jdbcType=JdbcType.BIGINT), @Result(column="op_name", property="opName", jdbcType=JdbcType.VARCHAR), @Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), - @Result(column="op_id", property="opId", jdbcType=JdbcType.BIGINT), + @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), @Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), @@ -87,8 +88,9 @@ public interface BsMsgMapper extends BsMsgMapperExt { @Select({ "select", - "id, title, `type`, jump_type, msg_type, object_id, image, content, update_time, ", - "op_name, company_id, create_time, op_id, `status`, ext_1, ext_2, ext_3", + "id, title, `type`, jump_type, msg_type, object_id, object_type, image, content, ", + "op_id, op_name, company_id, create_time, update_time, `status`, ext_1, ext_2, ", + "ext_3", "from bs_msg", "where id = #{id,jdbcType=BIGINT}" }) @@ -99,13 +101,14 @@ public interface BsMsgMapper extends BsMsgMapperExt { @Result(column="jump_type", property="jumpType", jdbcType=JdbcType.INTEGER), @Result(column="msg_type", property="msgType", jdbcType=JdbcType.INTEGER), @Result(column="object_id", property="objectId", jdbcType=JdbcType.BIGINT), + @Result(column="object_type", property="objectType", jdbcType=JdbcType.INTEGER), @Result(column="image", property="image", jdbcType=JdbcType.VARCHAR), @Result(column="content", property="content", jdbcType=JdbcType.VARCHAR), - @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="op_id", property="opId", jdbcType=JdbcType.BIGINT), @Result(column="op_name", property="opName", jdbcType=JdbcType.VARCHAR), @Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), - @Result(column="op_id", property="opId", jdbcType=JdbcType.BIGINT), + @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), @Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), @@ -129,13 +132,14 @@ public interface BsMsgMapper extends BsMsgMapperExt { "jump_type = #{jumpType,jdbcType=INTEGER},", "msg_type = #{msgType,jdbcType=INTEGER},", "object_id = #{objectId,jdbcType=BIGINT},", + "object_type = #{objectType,jdbcType=INTEGER},", "image = #{image,jdbcType=VARCHAR},", "content = #{content,jdbcType=VARCHAR},", - "update_time = #{updateTime,jdbcType=TIMESTAMP},", + "op_id = #{opId,jdbcType=BIGINT},", "op_name = #{opName,jdbcType=VARCHAR},", "company_id = #{companyId,jdbcType=BIGINT},", "create_time = #{createTime,jdbcType=TIMESTAMP},", - "op_id = #{opId,jdbcType=BIGINT},", + "update_time = #{updateTime,jdbcType=TIMESTAMP},", "`status` = #{status,jdbcType=INTEGER},", "ext_1 = #{ext1,jdbcType=VARCHAR},", "ext_2 = #{ext2,jdbcType=VARCHAR},", diff --git a/hai-service/src/main/java/com/hai/dao/BsMsgSqlProvider.java b/hai-service/src/main/java/com/hai/dao/BsMsgSqlProvider.java index 14714499..54260724 100644 --- a/hai-service/src/main/java/com/hai/dao/BsMsgSqlProvider.java +++ b/hai-service/src/main/java/com/hai/dao/BsMsgSqlProvider.java @@ -48,6 +48,10 @@ public class BsMsgSqlProvider { sql.VALUES("object_id", "#{objectId,jdbcType=BIGINT}"); } + if (record.getObjectType() != null) { + sql.VALUES("object_type", "#{objectType,jdbcType=INTEGER}"); + } + if (record.getImage() != null) { sql.VALUES("image", "#{image,jdbcType=VARCHAR}"); } @@ -56,8 +60,8 @@ public class BsMsgSqlProvider { sql.VALUES("content", "#{content,jdbcType=VARCHAR}"); } - if (record.getUpdateTime() != null) { - sql.VALUES("update_time", "#{updateTime,jdbcType=TIMESTAMP}"); + if (record.getOpId() != null) { + sql.VALUES("op_id", "#{opId,jdbcType=BIGINT}"); } if (record.getOpName() != null) { @@ -72,8 +76,8 @@ public class BsMsgSqlProvider { sql.VALUES("create_time", "#{createTime,jdbcType=TIMESTAMP}"); } - if (record.getOpId() != null) { - sql.VALUES("op_id", "#{opId,jdbcType=BIGINT}"); + if (record.getUpdateTime() != null) { + sql.VALUES("update_time", "#{updateTime,jdbcType=TIMESTAMP}"); } if (record.getStatus() != null) { @@ -107,13 +111,14 @@ public class BsMsgSqlProvider { sql.SELECT("jump_type"); sql.SELECT("msg_type"); sql.SELECT("object_id"); + sql.SELECT("object_type"); sql.SELECT("image"); sql.SELECT("content"); - sql.SELECT("update_time"); + sql.SELECT("op_id"); sql.SELECT("op_name"); sql.SELECT("company_id"); sql.SELECT("create_time"); - sql.SELECT("op_id"); + sql.SELECT("update_time"); sql.SELECT("`status`"); sql.SELECT("ext_1"); sql.SELECT("ext_2"); @@ -159,6 +164,10 @@ public class BsMsgSqlProvider { sql.SET("object_id = #{record.objectId,jdbcType=BIGINT}"); } + if (record.getObjectType() != null) { + sql.SET("object_type = #{record.objectType,jdbcType=INTEGER}"); + } + if (record.getImage() != null) { sql.SET("image = #{record.image,jdbcType=VARCHAR}"); } @@ -167,8 +176,8 @@ public class BsMsgSqlProvider { sql.SET("content = #{record.content,jdbcType=VARCHAR}"); } - if (record.getUpdateTime() != null) { - sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); + if (record.getOpId() != null) { + sql.SET("op_id = #{record.opId,jdbcType=BIGINT}"); } if (record.getOpName() != null) { @@ -183,8 +192,8 @@ public class BsMsgSqlProvider { sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); } - if (record.getOpId() != null) { - sql.SET("op_id = #{record.opId,jdbcType=BIGINT}"); + if (record.getUpdateTime() != null) { + sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); } if (record.getStatus() != null) { @@ -217,13 +226,14 @@ public class BsMsgSqlProvider { sql.SET("jump_type = #{record.jumpType,jdbcType=INTEGER}"); sql.SET("msg_type = #{record.msgType,jdbcType=INTEGER}"); sql.SET("object_id = #{record.objectId,jdbcType=BIGINT}"); + sql.SET("object_type = #{record.objectType,jdbcType=INTEGER}"); sql.SET("image = #{record.image,jdbcType=VARCHAR}"); sql.SET("content = #{record.content,jdbcType=VARCHAR}"); - sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); + sql.SET("op_id = #{record.opId,jdbcType=BIGINT}"); sql.SET("op_name = #{record.opName,jdbcType=VARCHAR}"); sql.SET("company_id = #{record.companyId,jdbcType=BIGINT}"); sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); - sql.SET("op_id = #{record.opId,jdbcType=BIGINT}"); + sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}"); sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}"); @@ -258,6 +268,10 @@ public class BsMsgSqlProvider { sql.SET("object_id = #{objectId,jdbcType=BIGINT}"); } + if (record.getObjectType() != null) { + sql.SET("object_type = #{objectType,jdbcType=INTEGER}"); + } + if (record.getImage() != null) { sql.SET("image = #{image,jdbcType=VARCHAR}"); } @@ -266,8 +280,8 @@ public class BsMsgSqlProvider { sql.SET("content = #{content,jdbcType=VARCHAR}"); } - if (record.getUpdateTime() != null) { - sql.SET("update_time = #{updateTime,jdbcType=TIMESTAMP}"); + if (record.getOpId() != null) { + sql.SET("op_id = #{opId,jdbcType=BIGINT}"); } if (record.getOpName() != null) { @@ -282,8 +296,8 @@ public class BsMsgSqlProvider { sql.SET("create_time = #{createTime,jdbcType=TIMESTAMP}"); } - if (record.getOpId() != null) { - sql.SET("op_id = #{opId,jdbcType=BIGINT}"); + if (record.getUpdateTime() != null) { + sql.SET("update_time = #{updateTime,jdbcType=TIMESTAMP}"); } if (record.getStatus() != null) { diff --git a/hai-service/src/main/java/com/hai/entity/BsMsg.java b/hai-service/src/main/java/com/hai/entity/BsMsg.java index 9d64629c..9baeb059 100644 --- a/hai-service/src/main/java/com/hai/entity/BsMsg.java +++ b/hai-service/src/main/java/com/hai/entity/BsMsg.java @@ -43,6 +43,11 @@ public class BsMsg implements Serializable { */ private Long objectId; + /** + * 对象类型: + */ + private Integer objectType; + /** * 展示图片 */ @@ -54,9 +59,9 @@ public class BsMsg implements Serializable { private String content; /** - * 更新时间 + * 操作人员 */ - private Date updateTime; + private Long opId; /** * 操作人员名称 @@ -74,12 +79,12 @@ public class BsMsg implements Serializable { private Date createTime; /** - * 操作人员 + * 更新时间 */ - private Long opId; + private Date updateTime; /** - * 1:编辑中 2:发布 0:删除 + * 状态:1编辑中 2:发布中 0:删除 */ private Integer status; @@ -148,6 +153,14 @@ public class BsMsg implements Serializable { this.objectId = objectId; } + public Integer getObjectType() { + return objectType; + } + + public void setObjectType(Integer objectType) { + this.objectType = objectType; + } + public String getImage() { return image; } @@ -164,12 +177,12 @@ public class BsMsg implements Serializable { this.content = content; } - public Date getUpdateTime() { - return updateTime; + public Long getOpId() { + return opId; } - public void setUpdateTime(Date updateTime) { - this.updateTime = updateTime; + public void setOpId(Long opId) { + this.opId = opId; } public String getOpName() { @@ -196,12 +209,12 @@ public class BsMsg implements Serializable { this.createTime = createTime; } - public Long getOpId() { - return opId; + public Date getUpdateTime() { + return updateTime; } - public void setOpId(Long opId) { - this.opId = opId; + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; } public Integer getStatus() { @@ -254,13 +267,14 @@ public class BsMsg implements Serializable { && (this.getJumpType() == null ? other.getJumpType() == null : this.getJumpType().equals(other.getJumpType())) && (this.getMsgType() == null ? other.getMsgType() == null : this.getMsgType().equals(other.getMsgType())) && (this.getObjectId() == null ? other.getObjectId() == null : this.getObjectId().equals(other.getObjectId())) + && (this.getObjectType() == null ? other.getObjectType() == null : this.getObjectType().equals(other.getObjectType())) && (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage())) && (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent())) - && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) + && (this.getOpId() == null ? other.getOpId() == null : this.getOpId().equals(other.getOpId())) && (this.getOpName() == null ? other.getOpName() == null : this.getOpName().equals(other.getOpName())) && (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) - && (this.getOpId() == null ? other.getOpId() == null : this.getOpId().equals(other.getOpId())) + && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1())) && (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2())) @@ -277,13 +291,14 @@ public class BsMsg implements Serializable { result = prime * result + ((getJumpType() == null) ? 0 : getJumpType().hashCode()); result = prime * result + ((getMsgType() == null) ? 0 : getMsgType().hashCode()); result = prime * result + ((getObjectId() == null) ? 0 : getObjectId().hashCode()); + result = prime * result + ((getObjectType() == null) ? 0 : getObjectType().hashCode()); result = prime * result + ((getImage() == null) ? 0 : getImage().hashCode()); result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode()); - result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); + result = prime * result + ((getOpId() == null) ? 0 : getOpId().hashCode()); result = prime * result + ((getOpName() == null) ? 0 : getOpName().hashCode()); result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); - result = prime * result + ((getOpId() == null) ? 0 : getOpId().hashCode()); + result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode()); result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode()); @@ -303,13 +318,14 @@ public class BsMsg implements Serializable { sb.append(", jumpType=").append(jumpType); sb.append(", msgType=").append(msgType); sb.append(", objectId=").append(objectId); + sb.append(", objectType=").append(objectType); sb.append(", image=").append(image); sb.append(", content=").append(content); - sb.append(", updateTime=").append(updateTime); + sb.append(", opId=").append(opId); sb.append(", opName=").append(opName); sb.append(", companyId=").append(companyId); sb.append(", createTime=").append(createTime); - sb.append(", opId=").append(opId); + sb.append(", updateTime=").append(updateTime); sb.append(", status=").append(status); sb.append(", ext1=").append(ext1); sb.append(", ext2=").append(ext2); diff --git a/hai-service/src/main/java/com/hai/entity/BsMsgExample.java b/hai-service/src/main/java/com/hai/entity/BsMsgExample.java index 152dc0ca..8809a9a1 100644 --- a/hai-service/src/main/java/com/hai/entity/BsMsgExample.java +++ b/hai-service/src/main/java/com/hai/entity/BsMsgExample.java @@ -495,6 +495,66 @@ public class BsMsgExample { return (Criteria) this; } + public Criteria andObjectTypeIsNull() { + addCriterion("object_type is null"); + return (Criteria) this; + } + + public Criteria andObjectTypeIsNotNull() { + addCriterion("object_type is not null"); + return (Criteria) this; + } + + public Criteria andObjectTypeEqualTo(Integer value) { + addCriterion("object_type =", value, "objectType"); + return (Criteria) this; + } + + public Criteria andObjectTypeNotEqualTo(Integer value) { + addCriterion("object_type <>", value, "objectType"); + return (Criteria) this; + } + + public Criteria andObjectTypeGreaterThan(Integer value) { + addCriterion("object_type >", value, "objectType"); + return (Criteria) this; + } + + public Criteria andObjectTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("object_type >=", value, "objectType"); + return (Criteria) this; + } + + public Criteria andObjectTypeLessThan(Integer value) { + addCriterion("object_type <", value, "objectType"); + return (Criteria) this; + } + + public Criteria andObjectTypeLessThanOrEqualTo(Integer value) { + addCriterion("object_type <=", value, "objectType"); + return (Criteria) this; + } + + public Criteria andObjectTypeIn(List values) { + addCriterion("object_type in", values, "objectType"); + return (Criteria) this; + } + + public Criteria andObjectTypeNotIn(List values) { + addCriterion("object_type not in", values, "objectType"); + return (Criteria) this; + } + + public Criteria andObjectTypeBetween(Integer value1, Integer value2) { + addCriterion("object_type between", value1, value2, "objectType"); + return (Criteria) this; + } + + public Criteria andObjectTypeNotBetween(Integer value1, Integer value2) { + addCriterion("object_type not between", value1, value2, "objectType"); + return (Criteria) this; + } + public Criteria andImageIsNull() { addCriterion("image is null"); return (Criteria) this; @@ -635,63 +695,63 @@ public class BsMsgExample { return (Criteria) this; } - public Criteria andUpdateTimeIsNull() { - addCriterion("update_time is null"); + public Criteria andOpIdIsNull() { + addCriterion("op_id is null"); return (Criteria) this; } - public Criteria andUpdateTimeIsNotNull() { - addCriterion("update_time is not null"); + public Criteria andOpIdIsNotNull() { + addCriterion("op_id is not null"); return (Criteria) this; } - public Criteria andUpdateTimeEqualTo(Date value) { - addCriterion("update_time =", value, "updateTime"); + public Criteria andOpIdEqualTo(Long value) { + addCriterion("op_id =", value, "opId"); return (Criteria) this; } - public Criteria andUpdateTimeNotEqualTo(Date value) { - addCriterion("update_time <>", value, "updateTime"); + public Criteria andOpIdNotEqualTo(Long value) { + addCriterion("op_id <>", value, "opId"); return (Criteria) this; } - public Criteria andUpdateTimeGreaterThan(Date value) { - addCriterion("update_time >", value, "updateTime"); + public Criteria andOpIdGreaterThan(Long value) { + addCriterion("op_id >", value, "opId"); return (Criteria) this; } - public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("update_time >=", value, "updateTime"); + public Criteria andOpIdGreaterThanOrEqualTo(Long value) { + addCriterion("op_id >=", value, "opId"); return (Criteria) this; } - public Criteria andUpdateTimeLessThan(Date value) { - addCriterion("update_time <", value, "updateTime"); + public Criteria andOpIdLessThan(Long value) { + addCriterion("op_id <", value, "opId"); return (Criteria) this; } - public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { - addCriterion("update_time <=", value, "updateTime"); + public Criteria andOpIdLessThanOrEqualTo(Long value) { + addCriterion("op_id <=", value, "opId"); return (Criteria) this; } - public Criteria andUpdateTimeIn(List values) { - addCriterion("update_time in", values, "updateTime"); + public Criteria andOpIdIn(List values) { + addCriterion("op_id in", values, "opId"); return (Criteria) this; } - public Criteria andUpdateTimeNotIn(List values) { - addCriterion("update_time not in", values, "updateTime"); + public Criteria andOpIdNotIn(List values) { + addCriterion("op_id not in", values, "opId"); return (Criteria) this; } - public Criteria andUpdateTimeBetween(Date value1, Date value2) { - addCriterion("update_time between", value1, value2, "updateTime"); + public Criteria andOpIdBetween(Long value1, Long value2) { + addCriterion("op_id between", value1, value2, "opId"); return (Criteria) this; } - public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { - addCriterion("update_time not between", value1, value2, "updateTime"); + public Criteria andOpIdNotBetween(Long value1, Long value2) { + addCriterion("op_id not between", value1, value2, "opId"); return (Criteria) this; } @@ -885,63 +945,63 @@ public class BsMsgExample { return (Criteria) this; } - public Criteria andOpIdIsNull() { - addCriterion("op_id is null"); + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); return (Criteria) this; } - public Criteria andOpIdIsNotNull() { - addCriterion("op_id is not null"); + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); return (Criteria) this; } - public Criteria andOpIdEqualTo(Long value) { - addCriterion("op_id =", value, "opId"); + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); return (Criteria) this; } - public Criteria andOpIdNotEqualTo(Long value) { - addCriterion("op_id <>", value, "opId"); + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); return (Criteria) this; } - public Criteria andOpIdGreaterThan(Long value) { - addCriterion("op_id >", value, "opId"); + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); return (Criteria) this; } - public Criteria andOpIdGreaterThanOrEqualTo(Long value) { - addCriterion("op_id >=", value, "opId"); + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); return (Criteria) this; } - public Criteria andOpIdLessThan(Long value) { - addCriterion("op_id <", value, "opId"); + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); return (Criteria) this; } - public Criteria andOpIdLessThanOrEqualTo(Long value) { - addCriterion("op_id <=", value, "opId"); + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); return (Criteria) this; } - public Criteria andOpIdIn(List values) { - addCriterion("op_id in", values, "opId"); + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); return (Criteria) this; } - public Criteria andOpIdNotIn(List values) { - addCriterion("op_id not in", values, "opId"); + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); return (Criteria) this; } - public Criteria andOpIdBetween(Long value1, Long value2) { - addCriterion("op_id between", value1, value2, "opId"); + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); return (Criteria) this; } - public Criteria andOpIdNotBetween(Long value1, Long value2) { - addCriterion("op_id not between", value1, value2, "opId"); + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); return (Criteria) this; }