dev-discount
袁野 2 years ago
parent 589f5e096d
commit 89cc7be57e
  1. 36
      hai-service/src/main/java/com/hai/dao/BsMsgMapper.java
  2. 46
      hai-service/src/main/java/com/hai/dao/BsMsgSqlProvider.java
  3. 54
      hai-service/src/main/java/com/hai/entity/BsMsg.java
  4. 156
      hai-service/src/main/java/com/hai/entity/BsMsgExample.java

@ -41,18 +41,18 @@ public interface BsMsgMapper extends BsMsgMapperExt {
@Insert({ @Insert({
"insert into bs_msg (title, `type`, ", "insert into bs_msg (title, `type`, ",
"jump_type, msg_type, ", "jump_type, msg_type, ",
"object_id, image, ", "object_id, object_type, ",
"content, update_time, ", "image, content, ",
"op_name, company_id, ", "op_id, op_name, company_id, ",
"create_time, op_id, ", "create_time, update_time, ",
"`status`, ext_1, ext_2, ", "`status`, ext_1, ext_2, ",
"ext_3)", "ext_3)",
"values (#{title,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, ", "values (#{title,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, ",
"#{jumpType,jdbcType=INTEGER}, #{msgType,jdbcType=INTEGER}, ", "#{jumpType,jdbcType=INTEGER}, #{msgType,jdbcType=INTEGER}, ",
"#{objectId,jdbcType=BIGINT}, #{image,jdbcType=VARCHAR}, ", "#{objectId,jdbcType=BIGINT}, #{objectType,jdbcType=INTEGER}, ",
"#{content,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, ", "#{image,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, ",
"#{opName,jdbcType=VARCHAR}, #{companyId,jdbcType=BIGINT}, ", "#{opId,jdbcType=BIGINT}, #{opName,jdbcType=VARCHAR}, #{companyId,jdbcType=BIGINT}, ",
"#{createTime,jdbcType=TIMESTAMP}, #{opId,jdbcType=BIGINT}, ", "#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ",
"#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", "#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ",
"#{ext3,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="jump_type", property="jumpType", jdbcType=JdbcType.INTEGER),
@Result(column="msg_type", property="msgType", jdbcType=JdbcType.INTEGER), @Result(column="msg_type", property="msgType", jdbcType=JdbcType.INTEGER),
@Result(column="object_id", property="objectId", jdbcType=JdbcType.BIGINT), @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="image", property="image", jdbcType=JdbcType.VARCHAR),
@Result(column="content", property="content", 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="op_name", property="opName", jdbcType=JdbcType.VARCHAR),
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), @Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT),
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), @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="status", property="status", jdbcType=JdbcType.INTEGER),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), @Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR),
@ -87,8 +88,9 @@ public interface BsMsgMapper extends BsMsgMapperExt {
@Select({ @Select({
"select", "select",
"id, title, `type`, jump_type, msg_type, object_id, image, content, update_time, ", "id, title, `type`, jump_type, msg_type, object_id, object_type, image, content, ",
"op_name, company_id, create_time, op_id, `status`, ext_1, ext_2, ext_3", "op_id, op_name, company_id, create_time, update_time, `status`, ext_1, ext_2, ",
"ext_3",
"from bs_msg", "from bs_msg",
"where id = #{id,jdbcType=BIGINT}" "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="jump_type", property="jumpType", jdbcType=JdbcType.INTEGER),
@Result(column="msg_type", property="msgType", jdbcType=JdbcType.INTEGER), @Result(column="msg_type", property="msgType", jdbcType=JdbcType.INTEGER),
@Result(column="object_id", property="objectId", jdbcType=JdbcType.BIGINT), @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="image", property="image", jdbcType=JdbcType.VARCHAR),
@Result(column="content", property="content", 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="op_name", property="opName", jdbcType=JdbcType.VARCHAR),
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), @Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT),
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), @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="status", property="status", jdbcType=JdbcType.INTEGER),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_2", property="ext2", 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},", "jump_type = #{jumpType,jdbcType=INTEGER},",
"msg_type = #{msgType,jdbcType=INTEGER},", "msg_type = #{msgType,jdbcType=INTEGER},",
"object_id = #{objectId,jdbcType=BIGINT},", "object_id = #{objectId,jdbcType=BIGINT},",
"object_type = #{objectType,jdbcType=INTEGER},",
"image = #{image,jdbcType=VARCHAR},", "image = #{image,jdbcType=VARCHAR},",
"content = #{content,jdbcType=VARCHAR},", "content = #{content,jdbcType=VARCHAR},",
"update_time = #{updateTime,jdbcType=TIMESTAMP},", "op_id = #{opId,jdbcType=BIGINT},",
"op_name = #{opName,jdbcType=VARCHAR},", "op_name = #{opName,jdbcType=VARCHAR},",
"company_id = #{companyId,jdbcType=BIGINT},", "company_id = #{companyId,jdbcType=BIGINT},",
"create_time = #{createTime,jdbcType=TIMESTAMP},", "create_time = #{createTime,jdbcType=TIMESTAMP},",
"op_id = #{opId,jdbcType=BIGINT},", "update_time = #{updateTime,jdbcType=TIMESTAMP},",
"`status` = #{status,jdbcType=INTEGER},", "`status` = #{status,jdbcType=INTEGER},",
"ext_1 = #{ext1,jdbcType=VARCHAR},", "ext_1 = #{ext1,jdbcType=VARCHAR},",
"ext_2 = #{ext2,jdbcType=VARCHAR},", "ext_2 = #{ext2,jdbcType=VARCHAR},",

@ -48,6 +48,10 @@ public class BsMsgSqlProvider {
sql.VALUES("object_id", "#{objectId,jdbcType=BIGINT}"); sql.VALUES("object_id", "#{objectId,jdbcType=BIGINT}");
} }
if (record.getObjectType() != null) {
sql.VALUES("object_type", "#{objectType,jdbcType=INTEGER}");
}
if (record.getImage() != null) { if (record.getImage() != null) {
sql.VALUES("image", "#{image,jdbcType=VARCHAR}"); sql.VALUES("image", "#{image,jdbcType=VARCHAR}");
} }
@ -56,8 +60,8 @@ public class BsMsgSqlProvider {
sql.VALUES("content", "#{content,jdbcType=VARCHAR}"); sql.VALUES("content", "#{content,jdbcType=VARCHAR}");
} }
if (record.getUpdateTime() != null) { if (record.getOpId() != null) {
sql.VALUES("update_time", "#{updateTime,jdbcType=TIMESTAMP}"); sql.VALUES("op_id", "#{opId,jdbcType=BIGINT}");
} }
if (record.getOpName() != null) { if (record.getOpName() != null) {
@ -72,8 +76,8 @@ public class BsMsgSqlProvider {
sql.VALUES("create_time", "#{createTime,jdbcType=TIMESTAMP}"); sql.VALUES("create_time", "#{createTime,jdbcType=TIMESTAMP}");
} }
if (record.getOpId() != null) { if (record.getUpdateTime() != null) {
sql.VALUES("op_id", "#{opId,jdbcType=BIGINT}"); sql.VALUES("update_time", "#{updateTime,jdbcType=TIMESTAMP}");
} }
if (record.getStatus() != null) { if (record.getStatus() != null) {
@ -107,13 +111,14 @@ public class BsMsgSqlProvider {
sql.SELECT("jump_type"); sql.SELECT("jump_type");
sql.SELECT("msg_type"); sql.SELECT("msg_type");
sql.SELECT("object_id"); sql.SELECT("object_id");
sql.SELECT("object_type");
sql.SELECT("image"); sql.SELECT("image");
sql.SELECT("content"); sql.SELECT("content");
sql.SELECT("update_time"); sql.SELECT("op_id");
sql.SELECT("op_name"); sql.SELECT("op_name");
sql.SELECT("company_id"); sql.SELECT("company_id");
sql.SELECT("create_time"); sql.SELECT("create_time");
sql.SELECT("op_id"); sql.SELECT("update_time");
sql.SELECT("`status`"); sql.SELECT("`status`");
sql.SELECT("ext_1"); sql.SELECT("ext_1");
sql.SELECT("ext_2"); sql.SELECT("ext_2");
@ -159,6 +164,10 @@ public class BsMsgSqlProvider {
sql.SET("object_id = #{record.objectId,jdbcType=BIGINT}"); sql.SET("object_id = #{record.objectId,jdbcType=BIGINT}");
} }
if (record.getObjectType() != null) {
sql.SET("object_type = #{record.objectType,jdbcType=INTEGER}");
}
if (record.getImage() != null) { if (record.getImage() != null) {
sql.SET("image = #{record.image,jdbcType=VARCHAR}"); sql.SET("image = #{record.image,jdbcType=VARCHAR}");
} }
@ -167,8 +176,8 @@ public class BsMsgSqlProvider {
sql.SET("content = #{record.content,jdbcType=VARCHAR}"); sql.SET("content = #{record.content,jdbcType=VARCHAR}");
} }
if (record.getUpdateTime() != null) { if (record.getOpId() != null) {
sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); sql.SET("op_id = #{record.opId,jdbcType=BIGINT}");
} }
if (record.getOpName() != null) { if (record.getOpName() != null) {
@ -183,8 +192,8 @@ public class BsMsgSqlProvider {
sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}");
} }
if (record.getOpId() != null) { if (record.getUpdateTime() != null) {
sql.SET("op_id = #{record.opId,jdbcType=BIGINT}"); sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}");
} }
if (record.getStatus() != null) { if (record.getStatus() != null) {
@ -217,13 +226,14 @@ public class BsMsgSqlProvider {
sql.SET("jump_type = #{record.jumpType,jdbcType=INTEGER}"); sql.SET("jump_type = #{record.jumpType,jdbcType=INTEGER}");
sql.SET("msg_type = #{record.msgType,jdbcType=INTEGER}"); sql.SET("msg_type = #{record.msgType,jdbcType=INTEGER}");
sql.SET("object_id = #{record.objectId,jdbcType=BIGINT}"); 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("image = #{record.image,jdbcType=VARCHAR}");
sql.SET("content = #{record.content,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("op_name = #{record.opName,jdbcType=VARCHAR}");
sql.SET("company_id = #{record.companyId,jdbcType=BIGINT}"); sql.SET("company_id = #{record.companyId,jdbcType=BIGINT}");
sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); 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("`status` = #{record.status,jdbcType=INTEGER}");
sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}"); sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}");
sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}"); sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}");
@ -258,6 +268,10 @@ public class BsMsgSqlProvider {
sql.SET("object_id = #{objectId,jdbcType=BIGINT}"); sql.SET("object_id = #{objectId,jdbcType=BIGINT}");
} }
if (record.getObjectType() != null) {
sql.SET("object_type = #{objectType,jdbcType=INTEGER}");
}
if (record.getImage() != null) { if (record.getImage() != null) {
sql.SET("image = #{image,jdbcType=VARCHAR}"); sql.SET("image = #{image,jdbcType=VARCHAR}");
} }
@ -266,8 +280,8 @@ public class BsMsgSqlProvider {
sql.SET("content = #{content,jdbcType=VARCHAR}"); sql.SET("content = #{content,jdbcType=VARCHAR}");
} }
if (record.getUpdateTime() != null) { if (record.getOpId() != null) {
sql.SET("update_time = #{updateTime,jdbcType=TIMESTAMP}"); sql.SET("op_id = #{opId,jdbcType=BIGINT}");
} }
if (record.getOpName() != null) { if (record.getOpName() != null) {
@ -282,8 +296,8 @@ public class BsMsgSqlProvider {
sql.SET("create_time = #{createTime,jdbcType=TIMESTAMP}"); sql.SET("create_time = #{createTime,jdbcType=TIMESTAMP}");
} }
if (record.getOpId() != null) { if (record.getUpdateTime() != null) {
sql.SET("op_id = #{opId,jdbcType=BIGINT}"); sql.SET("update_time = #{updateTime,jdbcType=TIMESTAMP}");
} }
if (record.getStatus() != null) { if (record.getStatus() != null) {

@ -43,6 +43,11 @@ public class BsMsg implements Serializable {
*/ */
private Long objectId; private Long objectId;
/**
* 对象类型
*/
private Integer objectType;
/** /**
* 展示图片 * 展示图片
*/ */
@ -54,9 +59,9 @@ public class BsMsg implements Serializable {
private String content; private String content;
/** /**
* 更新时间 * 操作人员
*/ */
private Date updateTime; private Long opId;
/** /**
* 操作人员名称 * 操作人员名称
@ -74,12 +79,12 @@ public class BsMsg implements Serializable {
private Date createTime; private Date createTime;
/** /**
* 操作人员 * 更新时间
*/ */
private Long opId; private Date updateTime;
/** /**
* 1:编辑中 2发布 0删除 * 状态1编辑中 2:发布中 0:删除
*/ */
private Integer status; private Integer status;
@ -148,6 +153,14 @@ public class BsMsg implements Serializable {
this.objectId = objectId; this.objectId = objectId;
} }
public Integer getObjectType() {
return objectType;
}
public void setObjectType(Integer objectType) {
this.objectType = objectType;
}
public String getImage() { public String getImage() {
return image; return image;
} }
@ -164,12 +177,12 @@ public class BsMsg implements Serializable {
this.content = content; this.content = content;
} }
public Date getUpdateTime() { public Long getOpId() {
return updateTime; return opId;
} }
public void setUpdateTime(Date updateTime) { public void setOpId(Long opId) {
this.updateTime = updateTime; this.opId = opId;
} }
public String getOpName() { public String getOpName() {
@ -196,12 +209,12 @@ public class BsMsg implements Serializable {
this.createTime = createTime; this.createTime = createTime;
} }
public Long getOpId() { public Date getUpdateTime() {
return opId; return updateTime;
} }
public void setOpId(Long opId) { public void setUpdateTime(Date updateTime) {
this.opId = opId; this.updateTime = updateTime;
} }
public Integer getStatus() { public Integer getStatus() {
@ -254,13 +267,14 @@ public class BsMsg implements Serializable {
&& (this.getJumpType() == null ? other.getJumpType() == null : this.getJumpType().equals(other.getJumpType())) && (this.getJumpType() == null ? other.getJumpType() == null : this.getJumpType().equals(other.getJumpType()))
&& (this.getMsgType() == null ? other.getMsgType() == null : this.getMsgType().equals(other.getMsgType())) && (this.getMsgType() == null ? other.getMsgType() == null : this.getMsgType().equals(other.getMsgType()))
&& (this.getObjectId() == null ? other.getObjectId() == null : this.getObjectId().equals(other.getObjectId())) && (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.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent())) && (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.getOpName() == null ? other.getOpName() == null : this.getOpName().equals(other.getOpName()))
&& (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId())) && (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (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.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1())) && (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1()))
&& (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2())) && (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 + ((getJumpType() == null) ? 0 : getJumpType().hashCode());
result = prime * result + ((getMsgType() == null) ? 0 : getMsgType().hashCode()); result = prime * result + ((getMsgType() == null) ? 0 : getMsgType().hashCode());
result = prime * result + ((getObjectId() == null) ? 0 : getObjectId().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 + ((getImage() == null) ? 0 : getImage().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().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 + ((getOpName() == null) ? 0 : getOpName().hashCode());
result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode()); result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().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 + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode()); result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode());
result = prime * result + ((getExt2() == null) ? 0 : getExt2().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(", jumpType=").append(jumpType);
sb.append(", msgType=").append(msgType); sb.append(", msgType=").append(msgType);
sb.append(", objectId=").append(objectId); sb.append(", objectId=").append(objectId);
sb.append(", objectType=").append(objectType);
sb.append(", image=").append(image); sb.append(", image=").append(image);
sb.append(", content=").append(content); sb.append(", content=").append(content);
sb.append(", updateTime=").append(updateTime); sb.append(", opId=").append(opId);
sb.append(", opName=").append(opName); sb.append(", opName=").append(opName);
sb.append(", companyId=").append(companyId); sb.append(", companyId=").append(companyId);
sb.append(", createTime=").append(createTime); sb.append(", createTime=").append(createTime);
sb.append(", opId=").append(opId); sb.append(", updateTime=").append(updateTime);
sb.append(", status=").append(status); sb.append(", status=").append(status);
sb.append(", ext1=").append(ext1); sb.append(", ext1=").append(ext1);
sb.append(", ext2=").append(ext2); sb.append(", ext2=").append(ext2);

@ -495,6 +495,66 @@ public class BsMsgExample {
return (Criteria) this; 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<Integer> values) {
addCriterion("object_type in", values, "objectType");
return (Criteria) this;
}
public Criteria andObjectTypeNotIn(List<Integer> 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() { public Criteria andImageIsNull() {
addCriterion("image is null"); addCriterion("image is null");
return (Criteria) this; return (Criteria) this;
@ -635,63 +695,63 @@ public class BsMsgExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateTimeIsNull() { public Criteria andOpIdIsNull() {
addCriterion("update_time is null"); addCriterion("op_id is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateTimeIsNotNull() { public Criteria andOpIdIsNotNull() {
addCriterion("update_time is not null"); addCriterion("op_id is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateTimeEqualTo(Date value) { public Criteria andOpIdEqualTo(Long value) {
addCriterion("update_time =", value, "updateTime"); addCriterion("op_id =", value, "opId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateTimeNotEqualTo(Date value) { public Criteria andOpIdNotEqualTo(Long value) {
addCriterion("update_time <>", value, "updateTime"); addCriterion("op_id <>", value, "opId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateTimeGreaterThan(Date value) { public Criteria andOpIdGreaterThan(Long value) {
addCriterion("update_time >", value, "updateTime"); addCriterion("op_id >", value, "opId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { public Criteria andOpIdGreaterThanOrEqualTo(Long value) {
addCriterion("update_time >=", value, "updateTime"); addCriterion("op_id >=", value, "opId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateTimeLessThan(Date value) { public Criteria andOpIdLessThan(Long value) {
addCriterion("update_time <", value, "updateTime"); addCriterion("op_id <", value, "opId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { public Criteria andOpIdLessThanOrEqualTo(Long value) {
addCriterion("update_time <=", value, "updateTime"); addCriterion("op_id <=", value, "opId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateTimeIn(List<Date> values) { public Criteria andOpIdIn(List<Long> values) {
addCriterion("update_time in", values, "updateTime"); addCriterion("op_id in", values, "opId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateTimeNotIn(List<Date> values) { public Criteria andOpIdNotIn(List<Long> values) {
addCriterion("update_time not in", values, "updateTime"); addCriterion("op_id not in", values, "opId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateTimeBetween(Date value1, Date value2) { public Criteria andOpIdBetween(Long value1, Long value2) {
addCriterion("update_time between", value1, value2, "updateTime"); addCriterion("op_id between", value1, value2, "opId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { public Criteria andOpIdNotBetween(Long value1, Long value2) {
addCriterion("update_time not between", value1, value2, "updateTime"); addCriterion("op_id not between", value1, value2, "opId");
return (Criteria) this; return (Criteria) this;
} }
@ -885,63 +945,63 @@ public class BsMsgExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOpIdIsNull() { public Criteria andUpdateTimeIsNull() {
addCriterion("op_id is null"); addCriterion("update_time is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOpIdIsNotNull() { public Criteria andUpdateTimeIsNotNull() {
addCriterion("op_id is not null"); addCriterion("update_time is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOpIdEqualTo(Long value) { public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("op_id =", value, "opId"); addCriterion("update_time =", value, "updateTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOpIdNotEqualTo(Long value) { public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("op_id <>", value, "opId"); addCriterion("update_time <>", value, "updateTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOpIdGreaterThan(Long value) { public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("op_id >", value, "opId"); addCriterion("update_time >", value, "updateTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOpIdGreaterThanOrEqualTo(Long value) { public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("op_id >=", value, "opId"); addCriterion("update_time >=", value, "updateTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOpIdLessThan(Long value) { public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("op_id <", value, "opId"); addCriterion("update_time <", value, "updateTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOpIdLessThanOrEqualTo(Long value) { public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("op_id <=", value, "opId"); addCriterion("update_time <=", value, "updateTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOpIdIn(List<Long> values) { public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("op_id in", values, "opId"); addCriterion("update_time in", values, "updateTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOpIdNotIn(List<Long> values) { public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("op_id not in", values, "opId"); addCriterion("update_time not in", values, "updateTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOpIdBetween(Long value1, Long value2) { public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("op_id between", value1, value2, "opId"); addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOpIdNotBetween(Long value1, Long value2) { public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("op_id not between", value1, value2, "opId"); addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this; return (Criteria) this;
} }

Loading…
Cancel
Save