new-dev
胡锐 1 year ago
parent c4acab63b9
commit 83a6d1561f
  1. 7
      hai-service/src/main/java/com/hai/dao/TbRechargePayOrderMapper.java
  2. 10
      hai-service/src/main/java/com/hai/dao/TbRechargePayOrderSqlProvider.java
  3. 13
      hai-service/src/main/java/com/hai/entity/TbRechargePayOrder.java
  4. 60
      hai-service/src/main/java/com/hai/entity/TbRechargePayOrderExample.java

@ -38,8 +38,7 @@ public interface TbRechargePayOrderMapper extends TbRechargePayOrderMapperExt {
"preBalance, postBalance, ",
"billVersion, reconVersion, ",
"promoterId, access_type, ",
"staticCheckCode, use_time, ",
"use_shop)",
"staticCheckCode, use_shop)",
"values (#{rechargeid,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, ",
"#{couno,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{distributorid,jdbcType=VARCHAR}, ",
"#{validstartdate,jdbcType=TIMESTAMP}, #{validenddate,jdbcType=TIMESTAMP}, ",
@ -49,8 +48,7 @@ public interface TbRechargePayOrderMapper extends TbRechargePayOrderMapperExt {
"#{prebalance,jdbcType=DECIMAL}, #{postbalance,jdbcType=DECIMAL}, ",
"#{billversion,jdbcType=VARCHAR}, #{reconversion,jdbcType=VARCHAR}, ",
"#{promoterid,jdbcType=VARCHAR}, #{accessType,jdbcType=VARCHAR}, ",
"#{staticcheckcode,jdbcType=VARCHAR}, #{useTime,jdbcType=TIMESTAMP}, ",
"#{useShop,jdbcType=VARCHAR})"
"#{staticcheckcode,jdbcType=VARCHAR}, #{useShop,jdbcType=VARCHAR})"
})
int insert(TbRechargePayOrder record);
@ -79,7 +77,6 @@ public interface TbRechargePayOrderMapper extends TbRechargePayOrderMapperExt {
@Result(column="promoterId", property="promoterid", jdbcType=JdbcType.VARCHAR),
@Result(column="access_type", property="accessType", jdbcType=JdbcType.VARCHAR),
@Result(column="staticCheckCode", property="staticcheckcode", jdbcType=JdbcType.VARCHAR),
@Result(column="use_time", property="useTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="use_shop", property="useShop", jdbcType=JdbcType.VARCHAR)
})
List<TbRechargePayOrder> selectByExample(TbRechargePayOrderExample example);

@ -108,10 +108,6 @@ public class TbRechargePayOrderSqlProvider {
sql.VALUES("staticCheckCode", "#{staticcheckcode,jdbcType=VARCHAR}");
}
if (record.getUseTime() != null) {
sql.VALUES("use_time", "#{useTime,jdbcType=TIMESTAMP}");
}
if (record.getUseShop() != null) {
sql.VALUES("use_shop", "#{useShop,jdbcType=VARCHAR}");
}
@ -145,7 +141,6 @@ public class TbRechargePayOrderSqlProvider {
sql.SELECT("promoterId");
sql.SELECT("access_type");
sql.SELECT("staticCheckCode");
sql.SELECT("use_time");
sql.SELECT("use_shop");
sql.FROM("tb_recharge_pay_order");
applyWhere(sql, example, false);
@ -244,10 +239,6 @@ public class TbRechargePayOrderSqlProvider {
sql.SET("staticCheckCode = #{record.staticcheckcode,jdbcType=VARCHAR}");
}
if (record.getUseTime() != null) {
sql.SET("use_time = #{record.useTime,jdbcType=TIMESTAMP}");
}
if (record.getUseShop() != null) {
sql.SET("use_shop = #{record.useShop,jdbcType=VARCHAR}");
}
@ -280,7 +271,6 @@ public class TbRechargePayOrderSqlProvider {
sql.SET("promoterId = #{record.promoterid,jdbcType=VARCHAR}");
sql.SET("access_type = #{record.accessType,jdbcType=VARCHAR}");
sql.SET("staticCheckCode = #{record.staticcheckcode,jdbcType=VARCHAR}");
sql.SET("use_time = #{record.useTime,jdbcType=TIMESTAMP}");
sql.SET("use_shop = #{record.useShop,jdbcType=VARCHAR}");
TbRechargePayOrderExample example = (TbRechargePayOrderExample) parameter.get("example");

@ -54,8 +54,6 @@ public class TbRechargePayOrder implements Serializable {
private String staticcheckcode;
private Date useTime;
private String useShop;
private static final long serialVersionUID = 1L;
@ -220,14 +218,6 @@ public class TbRechargePayOrder implements Serializable {
this.staticcheckcode = staticcheckcode;
}
public Date getUseTime() {
return useTime;
}
public void setUseTime(Date useTime) {
this.useTime = useTime;
}
public String getUseShop() {
return useShop;
}
@ -268,7 +258,6 @@ public class TbRechargePayOrder implements Serializable {
&& (this.getPromoterid() == null ? other.getPromoterid() == null : this.getPromoterid().equals(other.getPromoterid()))
&& (this.getAccessType() == null ? other.getAccessType() == null : this.getAccessType().equals(other.getAccessType()))
&& (this.getStaticcheckcode() == null ? other.getStaticcheckcode() == null : this.getStaticcheckcode().equals(other.getStaticcheckcode()))
&& (this.getUseTime() == null ? other.getUseTime() == null : this.getUseTime().equals(other.getUseTime()))
&& (this.getUseShop() == null ? other.getUseShop() == null : this.getUseShop().equals(other.getUseShop()));
}
@ -296,7 +285,6 @@ public class TbRechargePayOrder implements Serializable {
result = prime * result + ((getPromoterid() == null) ? 0 : getPromoterid().hashCode());
result = prime * result + ((getAccessType() == null) ? 0 : getAccessType().hashCode());
result = prime * result + ((getStaticcheckcode() == null) ? 0 : getStaticcheckcode().hashCode());
result = prime * result + ((getUseTime() == null) ? 0 : getUseTime().hashCode());
result = prime * result + ((getUseShop() == null) ? 0 : getUseShop().hashCode());
return result;
}
@ -327,7 +315,6 @@ public class TbRechargePayOrder implements Serializable {
sb.append(", promoterid=").append(promoterid);
sb.append(", accessType=").append(accessType);
sb.append(", staticcheckcode=").append(staticcheckcode);
sb.append(", useTime=").append(useTime);
sb.append(", useShop=").append(useShop);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");

@ -1466,66 +1466,6 @@ public class TbRechargePayOrderExample {
return (Criteria) this;
}
public Criteria andUseTimeIsNull() {
addCriterion("use_time is null");
return (Criteria) this;
}
public Criteria andUseTimeIsNotNull() {
addCriterion("use_time is not null");
return (Criteria) this;
}
public Criteria andUseTimeEqualTo(Date value) {
addCriterion("use_time =", value, "useTime");
return (Criteria) this;
}
public Criteria andUseTimeNotEqualTo(Date value) {
addCriterion("use_time <>", value, "useTime");
return (Criteria) this;
}
public Criteria andUseTimeGreaterThan(Date value) {
addCriterion("use_time >", value, "useTime");
return (Criteria) this;
}
public Criteria andUseTimeGreaterThanOrEqualTo(Date value) {
addCriterion("use_time >=", value, "useTime");
return (Criteria) this;
}
public Criteria andUseTimeLessThan(Date value) {
addCriterion("use_time <", value, "useTime");
return (Criteria) this;
}
public Criteria andUseTimeLessThanOrEqualTo(Date value) {
addCriterion("use_time <=", value, "useTime");
return (Criteria) this;
}
public Criteria andUseTimeIn(List<Date> values) {
addCriterion("use_time in", values, "useTime");
return (Criteria) this;
}
public Criteria andUseTimeNotIn(List<Date> values) {
addCriterion("use_time not in", values, "useTime");
return (Criteria) this;
}
public Criteria andUseTimeBetween(Date value1, Date value2) {
addCriterion("use_time between", value1, value2, "useTime");
return (Criteria) this;
}
public Criteria andUseTimeNotBetween(Date value1, Date value2) {
addCriterion("use_time not between", value1, value2, "useTime");
return (Criteria) this;
}
public Criteria andUseShopIsNull() {
addCriterion("use_shop is null");
return (Criteria) this;

Loading…
Cancel
Save