袁野 4 months ago
parent 150b638ce5
commit 572e0bab75
  1. 12
      service/src/main/java/com/hfkj/dao/BsUserMapper.java
  2. 16
      service/src/main/java/com/hfkj/dao/BsUserSqlProvider.java
  3. 16
      service/src/main/java/com/hfkj/entity/BsUser.java
  4. 56
      service/src/main/java/com/hfkj/entity/BsUserExample.java

@ -43,14 +43,14 @@ public interface BsUserMapper extends BsUserMapperExt {
"phone, `password`, ",
"integral, `status`, ",
"wx_mp_openid, wx_ma_openid, ",
"v_family_openid, create_time, ",
"outside_openid, create_time, ",
"update_time, ext_1, ",
"ext_2, ext_3)",
"values (#{headImg,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, ",
"#{phone,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, ",
"#{integral,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, ",
"#{wxMpOpenid,jdbcType=VARCHAR}, #{wxMaOpenid,jdbcType=VARCHAR}, ",
"#{vFamilyOpenid,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ",
"#{outsideOpenid,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ",
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ",
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})"
})
@ -72,7 +72,7 @@ public interface BsUserMapper extends BsUserMapperExt {
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER),
@Result(column="wx_mp_openid", property="wxMpOpenid", jdbcType=JdbcType.VARCHAR),
@Result(column="wx_ma_openid", property="wxMaOpenid", jdbcType=JdbcType.VARCHAR),
@Result(column="v_family_openid", property="vFamilyOpenid", jdbcType=JdbcType.VARCHAR),
@Result(column="outside_openid", property="outsideOpenid", jdbcType=JdbcType.VARCHAR),
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@ -84,7 +84,7 @@ public interface BsUserMapper extends BsUserMapperExt {
@Select({
"select",
"id, head_img, `name`, phone, `password`, integral, `status`, wx_mp_openid, wx_ma_openid, ",
"v_family_openid, create_time, update_time, ext_1, ext_2, ext_3",
"outside_openid, create_time, update_time, ext_1, ext_2, ext_3",
"from bs_user",
"where id = #{id,jdbcType=BIGINT}"
})
@ -98,7 +98,7 @@ public interface BsUserMapper extends BsUserMapperExt {
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER),
@Result(column="wx_mp_openid", property="wxMpOpenid", jdbcType=JdbcType.VARCHAR),
@Result(column="wx_ma_openid", property="wxMaOpenid", jdbcType=JdbcType.VARCHAR),
@Result(column="v_family_openid", property="vFamilyOpenid", jdbcType=JdbcType.VARCHAR),
@Result(column="outside_openid", property="outsideOpenid", jdbcType=JdbcType.VARCHAR),
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@ -126,7 +126,7 @@ public interface BsUserMapper extends BsUserMapperExt {
"`status` = #{status,jdbcType=INTEGER},",
"wx_mp_openid = #{wxMpOpenid,jdbcType=VARCHAR},",
"wx_ma_openid = #{wxMaOpenid,jdbcType=VARCHAR},",
"v_family_openid = #{vFamilyOpenid,jdbcType=VARCHAR},",
"outside_openid = #{outsideOpenid,jdbcType=VARCHAR},",
"create_time = #{createTime,jdbcType=TIMESTAMP},",
"update_time = #{updateTime,jdbcType=TIMESTAMP},",
"ext_1 = #{ext1,jdbcType=VARCHAR},",

@ -60,8 +60,8 @@ public class BsUserSqlProvider {
sql.VALUES("wx_ma_openid", "#{wxMaOpenid,jdbcType=VARCHAR}");
}
if (record.getvFamilyOpenid() != null) {
sql.VALUES("v_family_openid", "#{vFamilyOpenid,jdbcType=VARCHAR}");
if (record.getOutsideOpenid() != null) {
sql.VALUES("outside_openid", "#{outsideOpenid,jdbcType=VARCHAR}");
}
if (record.getCreateTime() != null) {
@ -102,7 +102,7 @@ public class BsUserSqlProvider {
sql.SELECT("`status`");
sql.SELECT("wx_mp_openid");
sql.SELECT("wx_ma_openid");
sql.SELECT("v_family_openid");
sql.SELECT("outside_openid");
sql.SELECT("create_time");
sql.SELECT("update_time");
sql.SELECT("ext_1");
@ -161,8 +161,8 @@ public class BsUserSqlProvider {
sql.SET("wx_ma_openid = #{record.wxMaOpenid,jdbcType=VARCHAR}");
}
if (record.getvFamilyOpenid() != null) {
sql.SET("v_family_openid = #{record.vFamilyOpenid,jdbcType=VARCHAR}");
if (record.getOutsideOpenid() != null) {
sql.SET("outside_openid = #{record.outsideOpenid,jdbcType=VARCHAR}");
}
if (record.getCreateTime() != null) {
@ -202,7 +202,7 @@ public class BsUserSqlProvider {
sql.SET("`status` = #{record.status,jdbcType=INTEGER}");
sql.SET("wx_mp_openid = #{record.wxMpOpenid,jdbcType=VARCHAR}");
sql.SET("wx_ma_openid = #{record.wxMaOpenid,jdbcType=VARCHAR}");
sql.SET("v_family_openid = #{record.vFamilyOpenid,jdbcType=VARCHAR}");
sql.SET("outside_openid = #{record.outsideOpenid,jdbcType=VARCHAR}");
sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}");
sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}");
sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}");
@ -250,8 +250,8 @@ public class BsUserSqlProvider {
sql.SET("wx_ma_openid = #{wxMaOpenid,jdbcType=VARCHAR}");
}
if (record.getvFamilyOpenid() != null) {
sql.SET("v_family_openid = #{vFamilyOpenid,jdbcType=VARCHAR}");
if (record.getOutsideOpenid() != null) {
sql.SET("outside_openid = #{outsideOpenid,jdbcType=VARCHAR}");
}
if (record.getCreateTime() != null) {

@ -61,7 +61,7 @@ public class BsUser implements Serializable {
/**
* v家园openid
*/
private String vFamilyOpenid;
private String outsideOpenid;
/**
* 创建时间
@ -153,12 +153,12 @@ public class BsUser implements Serializable {
this.wxMaOpenid = wxMaOpenid;
}
public String getvFamilyOpenid() {
return vFamilyOpenid;
public String getOutsideOpenid() {
return outsideOpenid;
}
public void setvFamilyOpenid(String vFamilyOpenid) {
this.vFamilyOpenid = vFamilyOpenid;
public void setOutsideOpenid(String outsideOpenid) {
this.outsideOpenid = outsideOpenid;
}
public Date getCreateTime() {
@ -222,7 +222,7 @@ public class BsUser implements Serializable {
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getWxMpOpenid() == null ? other.getWxMpOpenid() == null : this.getWxMpOpenid().equals(other.getWxMpOpenid()))
&& (this.getWxMaOpenid() == null ? other.getWxMaOpenid() == null : this.getWxMaOpenid().equals(other.getWxMaOpenid()))
&& (this.getvFamilyOpenid() == null ? other.getvFamilyOpenid() == null : this.getvFamilyOpenid().equals(other.getvFamilyOpenid()))
&& (this.getOutsideOpenid() == null ? other.getOutsideOpenid() == null : this.getOutsideOpenid().equals(other.getOutsideOpenid()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
&& (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1()))
@ -243,7 +243,7 @@ public class BsUser implements Serializable {
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getWxMpOpenid() == null) ? 0 : getWxMpOpenid().hashCode());
result = prime * result + ((getWxMaOpenid() == null) ? 0 : getWxMaOpenid().hashCode());
result = prime * result + ((getvFamilyOpenid() == null) ? 0 : getvFamilyOpenid().hashCode());
result = prime * result + ((getOutsideOpenid() == null) ? 0 : getOutsideOpenid().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode());
@ -267,7 +267,7 @@ public class BsUser implements Serializable {
sb.append(", status=").append(status);
sb.append(", wxMpOpenid=").append(wxMpOpenid);
sb.append(", wxMaOpenid=").append(wxMaOpenid);
sb.append(", vFamilyOpenid=").append(vFamilyOpenid);
sb.append(", outsideOpenid=").append(outsideOpenid);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", ext1=").append(ext1);

@ -725,73 +725,73 @@ public class BsUserExample {
return (Criteria) this;
}
public Criteria andVFamilyOpenidIsNull() {
addCriterion("v_family_openid is null");
public Criteria andOutsideOpenidIsNull() {
addCriterion("outside_openid is null");
return (Criteria) this;
}
public Criteria andVFamilyOpenidIsNotNull() {
addCriterion("v_family_openid is not null");
public Criteria andOutsideOpenidIsNotNull() {
addCriterion("outside_openid is not null");
return (Criteria) this;
}
public Criteria andVFamilyOpenidEqualTo(String value) {
addCriterion("v_family_openid =", value, "vFamilyOpenid");
public Criteria andOutsideOpenidEqualTo(String value) {
addCriterion("outside_openid =", value, "outsideOpenid");
return (Criteria) this;
}
public Criteria andVFamilyOpenidNotEqualTo(String value) {
addCriterion("v_family_openid <>", value, "vFamilyOpenid");
public Criteria andOutsideOpenidNotEqualTo(String value) {
addCriterion("outside_openid <>", value, "outsideOpenid");
return (Criteria) this;
}
public Criteria andVFamilyOpenidGreaterThan(String value) {
addCriterion("v_family_openid >", value, "vFamilyOpenid");
public Criteria andOutsideOpenidGreaterThan(String value) {
addCriterion("outside_openid >", value, "outsideOpenid");
return (Criteria) this;
}
public Criteria andVFamilyOpenidGreaterThanOrEqualTo(String value) {
addCriterion("v_family_openid >=", value, "vFamilyOpenid");
public Criteria andOutsideOpenidGreaterThanOrEqualTo(String value) {
addCriterion("outside_openid >=", value, "outsideOpenid");
return (Criteria) this;
}
public Criteria andVFamilyOpenidLessThan(String value) {
addCriterion("v_family_openid <", value, "vFamilyOpenid");
public Criteria andOutsideOpenidLessThan(String value) {
addCriterion("outside_openid <", value, "outsideOpenid");
return (Criteria) this;
}
public Criteria andVFamilyOpenidLessThanOrEqualTo(String value) {
addCriterion("v_family_openid <=", value, "vFamilyOpenid");
public Criteria andOutsideOpenidLessThanOrEqualTo(String value) {
addCriterion("outside_openid <=", value, "outsideOpenid");
return (Criteria) this;
}
public Criteria andVFamilyOpenidLike(String value) {
addCriterion("v_family_openid like", value, "vFamilyOpenid");
public Criteria andOutsideOpenidLike(String value) {
addCriterion("outside_openid like", value, "outsideOpenid");
return (Criteria) this;
}
public Criteria andVFamilyOpenidNotLike(String value) {
addCriterion("v_family_openid not like", value, "vFamilyOpenid");
public Criteria andOutsideOpenidNotLike(String value) {
addCriterion("outside_openid not like", value, "outsideOpenid");
return (Criteria) this;
}
public Criteria andVFamilyOpenidIn(List<String> values) {
addCriterion("v_family_openid in", values, "vFamilyOpenid");
public Criteria andOutsideOpenidIn(List<String> values) {
addCriterion("outside_openid in", values, "outsideOpenid");
return (Criteria) this;
}
public Criteria andVFamilyOpenidNotIn(List<String> values) {
addCriterion("v_family_openid not in", values, "vFamilyOpenid");
public Criteria andOutsideOpenidNotIn(List<String> values) {
addCriterion("outside_openid not in", values, "outsideOpenid");
return (Criteria) this;
}
public Criteria andVFamilyOpenidBetween(String value1, String value2) {
addCriterion("v_family_openid between", value1, value2, "vFamilyOpenid");
public Criteria andOutsideOpenidBetween(String value1, String value2) {
addCriterion("outside_openid between", value1, value2, "outsideOpenid");
return (Criteria) this;
}
public Criteria andVFamilyOpenidNotBetween(String value1, String value2) {
addCriterion("v_family_openid not between", value1, value2, "vFamilyOpenid");
public Criteria andOutsideOpenidNotBetween(String value1, String value2) {
addCriterion("outside_openid not between", value1, value2, "outsideOpenid");
return (Criteria) this;
}

Loading…
Cancel
Save