袁野 3 weeks ago
parent c5f9919685
commit d68f7b5d68
  1. 8
      service/src/main/java/com/hfkj/dao/BsPartnerUserRecordMapper.java
  2. 8
      service/src/main/java/com/hfkj/dao/BsPartnerUserRecordSqlProvider.java
  3. 6
      service/src/main/java/com/hfkj/entity/BsPartnerUserRecord.java
  4. 20
      service/src/main/java/com/hfkj/entity/BsPartnerUserRecordExample.java

@ -46,7 +46,7 @@ public interface BsPartnerUserRecordMapper extends BsPartnerUserRecordMapperExt
"update_time, `status`, ",
"ext_1, ext_2, ext_3)",
"values (#{userId,jdbcType=BIGINT}, #{userName,jdbcType=VARCHAR}, ",
"#{lotteryNo,jdbcType=VARCHAR}, #{lotteryTime,jdbcType=INTEGER}, ",
"#{lotteryNo,jdbcType=VARCHAR}, #{lotteryTime,jdbcType=TIMESTAMP}, ",
"#{type,jdbcType=INTEGER}, #{level,jdbcType=INTEGER}, #{proportion,jdbcType=DECIMAL}, ",
"#{goldCoin,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, ",
"#{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ",
@ -65,7 +65,7 @@ public interface BsPartnerUserRecordMapper extends BsPartnerUserRecordMapperExt
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT),
@Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR),
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR),
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.INTEGER),
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER),
@Result(column="level", property="level", jdbcType=JdbcType.INTEGER),
@Result(column="proportion", property="proportion", jdbcType=JdbcType.DECIMAL),
@ -91,7 +91,7 @@ public interface BsPartnerUserRecordMapper extends BsPartnerUserRecordMapperExt
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT),
@Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR),
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR),
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.INTEGER),
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER),
@Result(column="level", property="level", jdbcType=JdbcType.INTEGER),
@Result(column="proportion", property="proportion", jdbcType=JdbcType.DECIMAL),
@ -119,7 +119,7 @@ public interface BsPartnerUserRecordMapper extends BsPartnerUserRecordMapperExt
"set user_id = #{userId,jdbcType=BIGINT},",
"user_name = #{userName,jdbcType=VARCHAR},",
"lottery_no = #{lotteryNo,jdbcType=VARCHAR},",
"lottery_time = #{lotteryTime,jdbcType=INTEGER},",
"lottery_time = #{lotteryTime,jdbcType=TIMESTAMP},",
"`type` = #{type,jdbcType=INTEGER},",
"`level` = #{level,jdbcType=INTEGER},",
"proportion = #{proportion,jdbcType=DECIMAL},",

@ -41,7 +41,7 @@ public class BsPartnerUserRecordSqlProvider {
}
if (record.getLotteryTime() != null) {
sql.VALUES("lottery_time", "#{lotteryTime,jdbcType=INTEGER}");
sql.VALUES("lottery_time", "#{lotteryTime,jdbcType=TIMESTAMP}");
}
if (record.getType() != null) {
@ -142,7 +142,7 @@ public class BsPartnerUserRecordSqlProvider {
}
if (record.getLotteryTime() != null) {
sql.SET("lottery_time = #{record.lotteryTime,jdbcType=INTEGER}");
sql.SET("lottery_time = #{record.lotteryTime,jdbcType=TIMESTAMP}");
}
if (record.getType() != null) {
@ -197,7 +197,7 @@ public class BsPartnerUserRecordSqlProvider {
sql.SET("user_id = #{record.userId,jdbcType=BIGINT}");
sql.SET("user_name = #{record.userName,jdbcType=VARCHAR}");
sql.SET("lottery_no = #{record.lotteryNo,jdbcType=VARCHAR}");
sql.SET("lottery_time = #{record.lotteryTime,jdbcType=INTEGER}");
sql.SET("lottery_time = #{record.lotteryTime,jdbcType=TIMESTAMP}");
sql.SET("`type` = #{record.type,jdbcType=INTEGER}");
sql.SET("`level` = #{record.level,jdbcType=INTEGER}");
sql.SET("proportion = #{record.proportion,jdbcType=DECIMAL}");
@ -231,7 +231,7 @@ public class BsPartnerUserRecordSqlProvider {
}
if (record.getLotteryTime() != null) {
sql.SET("lottery_time = #{lotteryTime,jdbcType=INTEGER}");
sql.SET("lottery_time = #{lotteryTime,jdbcType=TIMESTAMP}");
}
if (record.getType() != null) {

@ -37,7 +37,7 @@ public class BsPartnerUserRecord implements Serializable {
/**
* 开奖时间
*/
private Integer lotteryTime;
private Date lotteryTime;
/**
* 分红类型10点合伙人 等级分红 2奖励原合伙人
@ -123,11 +123,11 @@ public class BsPartnerUserRecord implements Serializable {
this.lotteryNo = lotteryNo;
}
public Integer getLotteryTime() {
public Date getLotteryTime() {
return lotteryTime;
}
public void setLotteryTime(Integer lotteryTime) {
public void setLotteryTime(Date lotteryTime) {
this.lotteryTime = lotteryTime;
}

@ -396,52 +396,52 @@ public class BsPartnerUserRecordExample {
return (Criteria) this;
}
public Criteria andLotteryTimeEqualTo(Integer value) {
public Criteria andLotteryTimeEqualTo(Date value) {
addCriterion("lottery_time =", value, "lotteryTime");
return (Criteria) this;
}
public Criteria andLotteryTimeNotEqualTo(Integer value) {
public Criteria andLotteryTimeNotEqualTo(Date value) {
addCriterion("lottery_time <>", value, "lotteryTime");
return (Criteria) this;
}
public Criteria andLotteryTimeGreaterThan(Integer value) {
public Criteria andLotteryTimeGreaterThan(Date value) {
addCriterion("lottery_time >", value, "lotteryTime");
return (Criteria) this;
}
public Criteria andLotteryTimeGreaterThanOrEqualTo(Integer value) {
public Criteria andLotteryTimeGreaterThanOrEqualTo(Date value) {
addCriterion("lottery_time >=", value, "lotteryTime");
return (Criteria) this;
}
public Criteria andLotteryTimeLessThan(Integer value) {
public Criteria andLotteryTimeLessThan(Date value) {
addCriterion("lottery_time <", value, "lotteryTime");
return (Criteria) this;
}
public Criteria andLotteryTimeLessThanOrEqualTo(Integer value) {
public Criteria andLotteryTimeLessThanOrEqualTo(Date value) {
addCriterion("lottery_time <=", value, "lotteryTime");
return (Criteria) this;
}
public Criteria andLotteryTimeIn(List<Integer> values) {
public Criteria andLotteryTimeIn(List<Date> values) {
addCriterion("lottery_time in", values, "lotteryTime");
return (Criteria) this;
}
public Criteria andLotteryTimeNotIn(List<Integer> values) {
public Criteria andLotteryTimeNotIn(List<Date> values) {
addCriterion("lottery_time not in", values, "lotteryTime");
return (Criteria) this;
}
public Criteria andLotteryTimeBetween(Integer value1, Integer value2) {
public Criteria andLotteryTimeBetween(Date value1, Date value2) {
addCriterion("lottery_time between", value1, value2, "lotteryTime");
return (Criteria) this;
}
public Criteria andLotteryTimeNotBetween(Integer value1, Integer value2) {
public Criteria andLotteryTimeNotBetween(Date value1, Date value2) {
addCriterion("lottery_time not between", value1, value2, "lotteryTime");
return (Criteria) this;
}

Loading…
Cancel
Save