袁野 5 months ago committed by yuanye
parent ece8840daa
commit ef2fb45b06
  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`, ", "phone, `password`, ",
"integral, `status`, ", "integral, `status`, ",
"wx_mp_openid, wx_ma_openid, ", "wx_mp_openid, wx_ma_openid, ",
"v_family_openid, create_time, ", "outside_openid, create_time, ",
"update_time, ext_1, ", "update_time, ext_1, ",
"ext_2, ext_3)", "ext_2, ext_3)",
"values (#{headImg,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, ", "values (#{headImg,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, ",
"#{phone,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, ", "#{phone,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, ",
"#{integral,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, ", "#{integral,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, ",
"#{wxMpOpenid,jdbcType=VARCHAR}, #{wxMaOpenid,jdbcType=VARCHAR}, ", "#{wxMpOpenid,jdbcType=VARCHAR}, #{wxMaOpenid,jdbcType=VARCHAR}, ",
"#{vFamilyOpenid,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", "#{outsideOpenid,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ",
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", "#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ",
"#{ext2,jdbcType=VARCHAR}, #{ext3,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="status", property="status", jdbcType=JdbcType.INTEGER),
@Result(column="wx_mp_openid", property="wxMpOpenid", jdbcType=JdbcType.VARCHAR), @Result(column="wx_mp_openid", property="wxMpOpenid", jdbcType=JdbcType.VARCHAR),
@Result(column="wx_ma_openid", property="wxMaOpenid", 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="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@ -84,7 +84,7 @@ public interface BsUserMapper extends BsUserMapperExt {
@Select({ @Select({
"select", "select",
"id, head_img, `name`, phone, `password`, integral, `status`, wx_mp_openid, wx_ma_openid, ", "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", "from bs_user",
"where id = #{id,jdbcType=BIGINT}" "where id = #{id,jdbcType=BIGINT}"
}) })
@ -98,7 +98,7 @@ public interface BsUserMapper extends BsUserMapperExt {
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER),
@Result(column="wx_mp_openid", property="wxMpOpenid", jdbcType=JdbcType.VARCHAR), @Result(column="wx_mp_openid", property="wxMpOpenid", jdbcType=JdbcType.VARCHAR),
@Result(column="wx_ma_openid", property="wxMaOpenid", 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="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@ -126,7 +126,7 @@ public interface BsUserMapper extends BsUserMapperExt {
"`status` = #{status,jdbcType=INTEGER},", "`status` = #{status,jdbcType=INTEGER},",
"wx_mp_openid = #{wxMpOpenid,jdbcType=VARCHAR},", "wx_mp_openid = #{wxMpOpenid,jdbcType=VARCHAR},",
"wx_ma_openid = #{wxMaOpenid,jdbcType=VARCHAR},", "wx_ma_openid = #{wxMaOpenid,jdbcType=VARCHAR},",
"v_family_openid = #{vFamilyOpenid,jdbcType=VARCHAR},", "outside_openid = #{outsideOpenid,jdbcType=VARCHAR},",
"create_time = #{createTime,jdbcType=TIMESTAMP},", "create_time = #{createTime,jdbcType=TIMESTAMP},",
"update_time = #{updateTime,jdbcType=TIMESTAMP},", "update_time = #{updateTime,jdbcType=TIMESTAMP},",
"ext_1 = #{ext1,jdbcType=VARCHAR},", "ext_1 = #{ext1,jdbcType=VARCHAR},",

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

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

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

Loading…
Cancel
Save