diff --git a/hai-service/src/main/java/com/hai/dao/TbRechargePayOrderMapper.java b/hai-service/src/main/java/com/hai/dao/TbRechargePayOrderMapper.java index 3632036f..fb073d49 100644 --- a/hai-service/src/main/java/com/hai/dao/TbRechargePayOrderMapper.java +++ b/hai-service/src/main/java/com/hai/dao/TbRechargePayOrderMapper.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 selectByExample(TbRechargePayOrderExample example); diff --git a/hai-service/src/main/java/com/hai/dao/TbRechargePayOrderSqlProvider.java b/hai-service/src/main/java/com/hai/dao/TbRechargePayOrderSqlProvider.java index 2c25440e..ba0d1a19 100644 --- a/hai-service/src/main/java/com/hai/dao/TbRechargePayOrderSqlProvider.java +++ b/hai-service/src/main/java/com/hai/dao/TbRechargePayOrderSqlProvider.java @@ -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"); diff --git a/hai-service/src/main/java/com/hai/entity/TbRechargePayOrder.java b/hai-service/src/main/java/com/hai/entity/TbRechargePayOrder.java index 2ea3488a..6cf843fb 100644 --- a/hai-service/src/main/java/com/hai/entity/TbRechargePayOrder.java +++ b/hai-service/src/main/java/com/hai/entity/TbRechargePayOrder.java @@ -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("]"); diff --git a/hai-service/src/main/java/com/hai/entity/TbRechargePayOrderExample.java b/hai-service/src/main/java/com/hai/entity/TbRechargePayOrderExample.java index a2c541b7..30d57bde 100644 --- a/hai-service/src/main/java/com/hai/entity/TbRechargePayOrderExample.java +++ b/hai-service/src/main/java/com/hai/entity/TbRechargePayOrderExample.java @@ -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 values) { - addCriterion("use_time in", values, "useTime"); - return (Criteria) this; - } - - public Criteria andUseTimeNotIn(List 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;