袁野 2 months ago
parent 3f13db8805
commit 66ace06ed8
  1. 75
      service/src/main/java/com/hfkj/dao/BsOrderMeituanMapper.java
  2. 18
      service/src/main/java/com/hfkj/dao/BsOrderMeituanSqlProvider.java
  3. 16
      service/src/main/java/com/hfkj/entity/BsOrderMeituan.java
  4. 60
      service/src/main/java/com/hfkj/entity/BsOrderMeituanExample.java

@ -7,6 +7,7 @@ import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.DeleteProvider; import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.InsertProvider; import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result; import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results; import org.apache.ibatis.annotations.Results;
@ -38,10 +39,9 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt {
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
@Insert({ @Insert({
"insert into bs_order_meituan (id, order_no, ", "insert into bs_order_meituan (order_no, child_order_no, ",
"child_order_no, trade_no, ", "trade_no, sqt_biz_order_id, ",
"sqt_biz_order_id, mer_id, ", "mer_id, mer_name, user_id, ",
"mer_name, user_id, ",
"user_phone, first_business_type, ", "user_phone, first_business_type, ",
"second_business_type, ent_id, ", "second_business_type, ent_id, ",
"img, goods_name, ", "img, goods_name, ",
@ -50,21 +50,21 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt {
"coupon_discount_price, integral_discount_price, ", "coupon_discount_price, integral_discount_price, ",
"platform_code, notify_url, ", "platform_code, notify_url, ",
"return_url, pay_real_price, ", "return_url, pay_real_price, ",
"ent_pay_amount, business_discount_pay_amount, ", "ent_pay_amount, trade_amount, ",
"service_fee_amount, service_price, ", "business_discount_pay_amount, service_fee_amount, ",
"pay_channel, pay_serial_no, ", "service_price, pay_channel, ",
"pay_type, `status`, ", "pay_serial_no, pay_type, ",
"meituan_status, staff_info, ", "`status`, meituan_status, ",
"business_info, trade_expiring_time, ", "staff_info, business_info, ",
"create_time, pay_time, ", "trade_expiring_time, create_time, ",
"cancel_time, refund_time, ", "pay_time, cancel_time, ",
"finish_time, update_time, ", "refund_time, finish_time, ",
"exception_status, exception_msg, ", "update_time, exception_status, ",
"ext_1, ext_2, ext_3)", "exception_msg, ext_1, ",
"values (#{id,jdbcType=BIGINT}, #{orderNo,jdbcType=VARCHAR}, ", "ext_2, ext_3)",
"#{childOrderNo,jdbcType=VARCHAR}, #{tradeNo,jdbcType=VARCHAR}, ", "values (#{orderNo,jdbcType=VARCHAR}, #{childOrderNo,jdbcType=VARCHAR}, ",
"#{sqtBizOrderId,jdbcType=VARCHAR}, #{merId,jdbcType=BIGINT}, ", "#{tradeNo,jdbcType=VARCHAR}, #{sqtBizOrderId,jdbcType=VARCHAR}, ",
"#{merName,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", "#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ",
"#{userPhone,jdbcType=VARCHAR}, #{firstBusinessType,jdbcType=VARCHAR}, ", "#{userPhone,jdbcType=VARCHAR}, #{firstBusinessType,jdbcType=VARCHAR}, ",
"#{secondBusinessType,jdbcType=VARCHAR}, #{entId,jdbcType=BIGINT}, ", "#{secondBusinessType,jdbcType=VARCHAR}, #{entId,jdbcType=BIGINT}, ",
"#{img,jdbcType=VARCHAR}, #{goodsName,jdbcType=VARCHAR}, ", "#{img,jdbcType=VARCHAR}, #{goodsName,jdbcType=VARCHAR}, ",
@ -73,21 +73,24 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt {
"#{couponDiscountPrice,jdbcType=DECIMAL}, #{integralDiscountPrice,jdbcType=DECIMAL}, ", "#{couponDiscountPrice,jdbcType=DECIMAL}, #{integralDiscountPrice,jdbcType=DECIMAL}, ",
"#{platformCode,jdbcType=VARCHAR}, #{notifyUrl,jdbcType=VARCHAR}, ", "#{platformCode,jdbcType=VARCHAR}, #{notifyUrl,jdbcType=VARCHAR}, ",
"#{returnUrl,jdbcType=VARCHAR}, #{payRealPrice,jdbcType=DECIMAL}, ", "#{returnUrl,jdbcType=VARCHAR}, #{payRealPrice,jdbcType=DECIMAL}, ",
"#{entPayAmount,jdbcType=DECIMAL}, #{businessDiscountPayAmount,jdbcType=DECIMAL}, ", "#{entPayAmount,jdbcType=DECIMAL}, #{tradeAmount,jdbcType=DECIMAL}, ",
"#{serviceFeeAmount,jdbcType=DECIMAL}, #{servicePrice,jdbcType=DECIMAL}, ", "#{businessDiscountPayAmount,jdbcType=DECIMAL}, #{serviceFeeAmount,jdbcType=DECIMAL}, ",
"#{payChannel,jdbcType=INTEGER}, #{paySerialNo,jdbcType=VARCHAR}, ", "#{servicePrice,jdbcType=DECIMAL}, #{payChannel,jdbcType=INTEGER}, ",
"#{payType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, ", "#{paySerialNo,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, ",
"#{meituanStatus,jdbcType=INTEGER}, #{staffInfo,jdbcType=VARCHAR}, ", "#{status,jdbcType=INTEGER}, #{meituanStatus,jdbcType=INTEGER}, ",
"#{businessInfo,jdbcType=VARCHAR}, #{tradeExpiringTime,jdbcType=TIMESTAMP}, ", "#{staffInfo,jdbcType=VARCHAR}, #{businessInfo,jdbcType=VARCHAR}, ",
"#{createTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", "#{tradeExpiringTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, ",
"#{cancelTime,jdbcType=TIMESTAMP}, #{refundTime,jdbcType=TIMESTAMP}, ", "#{payTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ",
"#{finishTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", "#{refundTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ",
"#{exceptionStatus,jdbcType=BIT}, #{exceptionMsg,jdbcType=VARCHAR}, ", "#{updateTime,jdbcType=TIMESTAMP}, #{exceptionStatus,jdbcType=BIT}, ",
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" "#{exceptionMsg,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ",
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})"
}) })
@Options(useGeneratedKeys=true,keyProperty="id")
int insert(BsOrderMeituan record); int insert(BsOrderMeituan record);
@InsertProvider(type=BsOrderMeituanSqlProvider.class, method="insertSelective") @InsertProvider(type=BsOrderMeituanSqlProvider.class, method="insertSelective")
@Options(useGeneratedKeys=true,keyProperty="id")
int insertSelective(BsOrderMeituan record); int insertSelective(BsOrderMeituan record);
@SelectProvider(type=BsOrderMeituanSqlProvider.class, method="selectByExample") @SelectProvider(type=BsOrderMeituanSqlProvider.class, method="selectByExample")
@ -117,6 +120,7 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt {
@Result(column="return_url", property="returnUrl", jdbcType=JdbcType.VARCHAR), @Result(column="return_url", property="returnUrl", jdbcType=JdbcType.VARCHAR),
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), @Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="ent_pay_amount", property="entPayAmount", jdbcType=JdbcType.DECIMAL), @Result(column="ent_pay_amount", property="entPayAmount", jdbcType=JdbcType.DECIMAL),
@Result(column="trade_amount", property="tradeAmount", jdbcType=JdbcType.DECIMAL),
@Result(column="business_discount_pay_amount", property="businessDiscountPayAmount", jdbcType=JdbcType.DECIMAL), @Result(column="business_discount_pay_amount", property="businessDiscountPayAmount", jdbcType=JdbcType.DECIMAL),
@Result(column="service_fee_amount", property="serviceFeeAmount", jdbcType=JdbcType.DECIMAL), @Result(column="service_fee_amount", property="serviceFeeAmount", jdbcType=JdbcType.DECIMAL),
@Result(column="service_price", property="servicePrice", jdbcType=JdbcType.DECIMAL), @Result(column="service_price", property="servicePrice", jdbcType=JdbcType.DECIMAL),
@ -148,10 +152,11 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt {
"user_id, user_phone, first_business_type, second_business_type, ent_id, img, ", "user_id, user_phone, first_business_type, second_business_type, ent_id, img, ",
"goods_name, trace_id, goods_count, total_price, total_deduction_price, coupon_discount_price, ", "goods_name, trace_id, goods_count, total_price, total_deduction_price, coupon_discount_price, ",
"integral_discount_price, platform_code, notify_url, return_url, pay_real_price, ", "integral_discount_price, platform_code, notify_url, return_url, pay_real_price, ",
"ent_pay_amount, business_discount_pay_amount, service_fee_amount, service_price, ", "ent_pay_amount, trade_amount, business_discount_pay_amount, service_fee_amount, ",
"pay_channel, pay_serial_no, pay_type, `status`, meituan_status, staff_info, ", "service_price, pay_channel, pay_serial_no, pay_type, `status`, meituan_status, ",
"business_info, trade_expiring_time, create_time, pay_time, cancel_time, refund_time, ", "staff_info, business_info, trade_expiring_time, create_time, pay_time, cancel_time, ",
"finish_time, update_time, exception_status, exception_msg, ext_1, ext_2, ext_3", "refund_time, finish_time, update_time, exception_status, exception_msg, ext_1, ",
"ext_2, ext_3",
"from bs_order_meituan", "from bs_order_meituan",
"where id = #{id,jdbcType=BIGINT}" "where id = #{id,jdbcType=BIGINT}"
}) })
@ -181,6 +186,7 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt {
@Result(column="return_url", property="returnUrl", jdbcType=JdbcType.VARCHAR), @Result(column="return_url", property="returnUrl", jdbcType=JdbcType.VARCHAR),
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), @Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="ent_pay_amount", property="entPayAmount", jdbcType=JdbcType.DECIMAL), @Result(column="ent_pay_amount", property="entPayAmount", jdbcType=JdbcType.DECIMAL),
@Result(column="trade_amount", property="tradeAmount", jdbcType=JdbcType.DECIMAL),
@Result(column="business_discount_pay_amount", property="businessDiscountPayAmount", jdbcType=JdbcType.DECIMAL), @Result(column="business_discount_pay_amount", property="businessDiscountPayAmount", jdbcType=JdbcType.DECIMAL),
@Result(column="service_fee_amount", property="serviceFeeAmount", jdbcType=JdbcType.DECIMAL), @Result(column="service_fee_amount", property="serviceFeeAmount", jdbcType=JdbcType.DECIMAL),
@Result(column="service_price", property="servicePrice", jdbcType=JdbcType.DECIMAL), @Result(column="service_price", property="servicePrice", jdbcType=JdbcType.DECIMAL),
@ -241,6 +247,7 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt {
"return_url = #{returnUrl,jdbcType=VARCHAR},", "return_url = #{returnUrl,jdbcType=VARCHAR},",
"pay_real_price = #{payRealPrice,jdbcType=DECIMAL},", "pay_real_price = #{payRealPrice,jdbcType=DECIMAL},",
"ent_pay_amount = #{entPayAmount,jdbcType=DECIMAL},", "ent_pay_amount = #{entPayAmount,jdbcType=DECIMAL},",
"trade_amount = #{tradeAmount,jdbcType=DECIMAL},",
"business_discount_pay_amount = #{businessDiscountPayAmount,jdbcType=DECIMAL},", "business_discount_pay_amount = #{businessDiscountPayAmount,jdbcType=DECIMAL},",
"service_fee_amount = #{serviceFeeAmount,jdbcType=DECIMAL},", "service_fee_amount = #{serviceFeeAmount,jdbcType=DECIMAL},",
"service_price = #{servicePrice,jdbcType=DECIMAL},", "service_price = #{servicePrice,jdbcType=DECIMAL},",

@ -28,10 +28,6 @@ public class BsOrderMeituanSqlProvider {
SQL sql = new SQL(); SQL sql = new SQL();
sql.INSERT_INTO("bs_order_meituan"); sql.INSERT_INTO("bs_order_meituan");
if (record.getId() != null) {
sql.VALUES("id", "#{id,jdbcType=BIGINT}");
}
if (record.getOrderNo() != null) { if (record.getOrderNo() != null) {
sql.VALUES("order_no", "#{orderNo,jdbcType=VARCHAR}"); sql.VALUES("order_no", "#{orderNo,jdbcType=VARCHAR}");
} }
@ -128,6 +124,10 @@ public class BsOrderMeituanSqlProvider {
sql.VALUES("ent_pay_amount", "#{entPayAmount,jdbcType=DECIMAL}"); sql.VALUES("ent_pay_amount", "#{entPayAmount,jdbcType=DECIMAL}");
} }
if (record.getTradeAmount() != null) {
sql.VALUES("trade_amount", "#{tradeAmount,jdbcType=DECIMAL}");
}
if (record.getBusinessDiscountPayAmount() != null) { if (record.getBusinessDiscountPayAmount() != null) {
sql.VALUES("business_discount_pay_amount", "#{businessDiscountPayAmount,jdbcType=DECIMAL}"); sql.VALUES("business_discount_pay_amount", "#{businessDiscountPayAmount,jdbcType=DECIMAL}");
} }
@ -250,6 +250,7 @@ public class BsOrderMeituanSqlProvider {
sql.SELECT("return_url"); sql.SELECT("return_url");
sql.SELECT("pay_real_price"); sql.SELECT("pay_real_price");
sql.SELECT("ent_pay_amount"); sql.SELECT("ent_pay_amount");
sql.SELECT("trade_amount");
sql.SELECT("business_discount_pay_amount"); sql.SELECT("business_discount_pay_amount");
sql.SELECT("service_fee_amount"); sql.SELECT("service_fee_amount");
sql.SELECT("service_price"); sql.SELECT("service_price");
@ -389,6 +390,10 @@ public class BsOrderMeituanSqlProvider {
sql.SET("ent_pay_amount = #{record.entPayAmount,jdbcType=DECIMAL}"); sql.SET("ent_pay_amount = #{record.entPayAmount,jdbcType=DECIMAL}");
} }
if (record.getTradeAmount() != null) {
sql.SET("trade_amount = #{record.tradeAmount,jdbcType=DECIMAL}");
}
if (record.getBusinessDiscountPayAmount() != null) { if (record.getBusinessDiscountPayAmount() != null) {
sql.SET("business_discount_pay_amount = #{record.businessDiscountPayAmount,jdbcType=DECIMAL}"); sql.SET("business_discount_pay_amount = #{record.businessDiscountPayAmount,jdbcType=DECIMAL}");
} }
@ -510,6 +515,7 @@ public class BsOrderMeituanSqlProvider {
sql.SET("return_url = #{record.returnUrl,jdbcType=VARCHAR}"); sql.SET("return_url = #{record.returnUrl,jdbcType=VARCHAR}");
sql.SET("pay_real_price = #{record.payRealPrice,jdbcType=DECIMAL}"); sql.SET("pay_real_price = #{record.payRealPrice,jdbcType=DECIMAL}");
sql.SET("ent_pay_amount = #{record.entPayAmount,jdbcType=DECIMAL}"); sql.SET("ent_pay_amount = #{record.entPayAmount,jdbcType=DECIMAL}");
sql.SET("trade_amount = #{record.tradeAmount,jdbcType=DECIMAL}");
sql.SET("business_discount_pay_amount = #{record.businessDiscountPayAmount,jdbcType=DECIMAL}"); sql.SET("business_discount_pay_amount = #{record.businessDiscountPayAmount,jdbcType=DECIMAL}");
sql.SET("service_fee_amount = #{record.serviceFeeAmount,jdbcType=DECIMAL}"); sql.SET("service_fee_amount = #{record.serviceFeeAmount,jdbcType=DECIMAL}");
sql.SET("service_price = #{record.servicePrice,jdbcType=DECIMAL}"); sql.SET("service_price = #{record.servicePrice,jdbcType=DECIMAL}");
@ -638,6 +644,10 @@ public class BsOrderMeituanSqlProvider {
sql.SET("ent_pay_amount = #{entPayAmount,jdbcType=DECIMAL}"); sql.SET("ent_pay_amount = #{entPayAmount,jdbcType=DECIMAL}");
} }
if (record.getTradeAmount() != null) {
sql.SET("trade_amount = #{tradeAmount,jdbcType=DECIMAL}");
}
if (record.getBusinessDiscountPayAmount() != null) { if (record.getBusinessDiscountPayAmount() != null) {
sql.SET("business_discount_pay_amount = #{businessDiscountPayAmount,jdbcType=DECIMAL}"); sql.SET("business_discount_pay_amount = #{businessDiscountPayAmount,jdbcType=DECIMAL}");
} }

@ -139,6 +139,11 @@ public class BsOrderMeituan implements Serializable {
*/ */
private BigDecimal entPayAmount; private BigDecimal entPayAmount;
/**
* 支付金额(不包含服务费)单位元支持小数点后两位
*/
private BigDecimal tradeAmount;
/** /**
* 优惠承担支付金额单位元NULL 代表无优惠承担金额 * 优惠承担支付金额单位元NULL 代表无优惠承担金额
*/ */
@ -446,6 +451,14 @@ public class BsOrderMeituan implements Serializable {
this.entPayAmount = entPayAmount; this.entPayAmount = entPayAmount;
} }
public BigDecimal getTradeAmount() {
return tradeAmount;
}
public void setTradeAmount(BigDecimal tradeAmount) {
this.tradeAmount = tradeAmount;
}
public BigDecimal getBusinessDiscountPayAmount() { public BigDecimal getBusinessDiscountPayAmount() {
return businessDiscountPayAmount; return businessDiscountPayAmount;
} }
@ -659,6 +672,7 @@ public class BsOrderMeituan implements Serializable {
&& (this.getReturnUrl() == null ? other.getReturnUrl() == null : this.getReturnUrl().equals(other.getReturnUrl())) && (this.getReturnUrl() == null ? other.getReturnUrl() == null : this.getReturnUrl().equals(other.getReturnUrl()))
&& (this.getPayRealPrice() == null ? other.getPayRealPrice() == null : this.getPayRealPrice().equals(other.getPayRealPrice())) && (this.getPayRealPrice() == null ? other.getPayRealPrice() == null : this.getPayRealPrice().equals(other.getPayRealPrice()))
&& (this.getEntPayAmount() == null ? other.getEntPayAmount() == null : this.getEntPayAmount().equals(other.getEntPayAmount())) && (this.getEntPayAmount() == null ? other.getEntPayAmount() == null : this.getEntPayAmount().equals(other.getEntPayAmount()))
&& (this.getTradeAmount() == null ? other.getTradeAmount() == null : this.getTradeAmount().equals(other.getTradeAmount()))
&& (this.getBusinessDiscountPayAmount() == null ? other.getBusinessDiscountPayAmount() == null : this.getBusinessDiscountPayAmount().equals(other.getBusinessDiscountPayAmount())) && (this.getBusinessDiscountPayAmount() == null ? other.getBusinessDiscountPayAmount() == null : this.getBusinessDiscountPayAmount().equals(other.getBusinessDiscountPayAmount()))
&& (this.getServiceFeeAmount() == null ? other.getServiceFeeAmount() == null : this.getServiceFeeAmount().equals(other.getServiceFeeAmount())) && (this.getServiceFeeAmount() == null ? other.getServiceFeeAmount() == null : this.getServiceFeeAmount().equals(other.getServiceFeeAmount()))
&& (this.getServicePrice() == null ? other.getServicePrice() == null : this.getServicePrice().equals(other.getServicePrice())) && (this.getServicePrice() == null ? other.getServicePrice() == null : this.getServicePrice().equals(other.getServicePrice()))
@ -712,6 +726,7 @@ public class BsOrderMeituan implements Serializable {
result = prime * result + ((getReturnUrl() == null) ? 0 : getReturnUrl().hashCode()); result = prime * result + ((getReturnUrl() == null) ? 0 : getReturnUrl().hashCode());
result = prime * result + ((getPayRealPrice() == null) ? 0 : getPayRealPrice().hashCode()); result = prime * result + ((getPayRealPrice() == null) ? 0 : getPayRealPrice().hashCode());
result = prime * result + ((getEntPayAmount() == null) ? 0 : getEntPayAmount().hashCode()); result = prime * result + ((getEntPayAmount() == null) ? 0 : getEntPayAmount().hashCode());
result = prime * result + ((getTradeAmount() == null) ? 0 : getTradeAmount().hashCode());
result = prime * result + ((getBusinessDiscountPayAmount() == null) ? 0 : getBusinessDiscountPayAmount().hashCode()); result = prime * result + ((getBusinessDiscountPayAmount() == null) ? 0 : getBusinessDiscountPayAmount().hashCode());
result = prime * result + ((getServiceFeeAmount() == null) ? 0 : getServiceFeeAmount().hashCode()); result = prime * result + ((getServiceFeeAmount() == null) ? 0 : getServiceFeeAmount().hashCode());
result = prime * result + ((getServicePrice() == null) ? 0 : getServicePrice().hashCode()); result = prime * result + ((getServicePrice() == null) ? 0 : getServicePrice().hashCode());
@ -768,6 +783,7 @@ public class BsOrderMeituan implements Serializable {
sb.append(", returnUrl=").append(returnUrl); sb.append(", returnUrl=").append(returnUrl);
sb.append(", payRealPrice=").append(payRealPrice); sb.append(", payRealPrice=").append(payRealPrice);
sb.append(", entPayAmount=").append(entPayAmount); sb.append(", entPayAmount=").append(entPayAmount);
sb.append(", tradeAmount=").append(tradeAmount);
sb.append(", businessDiscountPayAmount=").append(businessDiscountPayAmount); sb.append(", businessDiscountPayAmount=").append(businessDiscountPayAmount);
sb.append(", serviceFeeAmount=").append(serviceFeeAmount); sb.append(", serviceFeeAmount=").append(serviceFeeAmount);
sb.append(", servicePrice=").append(servicePrice); sb.append(", servicePrice=").append(servicePrice);

@ -1766,6 +1766,66 @@ public class BsOrderMeituanExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTradeAmountIsNull() {
addCriterion("trade_amount is null");
return (Criteria) this;
}
public Criteria andTradeAmountIsNotNull() {
addCriterion("trade_amount is not null");
return (Criteria) this;
}
public Criteria andTradeAmountEqualTo(BigDecimal value) {
addCriterion("trade_amount =", value, "tradeAmount");
return (Criteria) this;
}
public Criteria andTradeAmountNotEqualTo(BigDecimal value) {
addCriterion("trade_amount <>", value, "tradeAmount");
return (Criteria) this;
}
public Criteria andTradeAmountGreaterThan(BigDecimal value) {
addCriterion("trade_amount >", value, "tradeAmount");
return (Criteria) this;
}
public Criteria andTradeAmountGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("trade_amount >=", value, "tradeAmount");
return (Criteria) this;
}
public Criteria andTradeAmountLessThan(BigDecimal value) {
addCriterion("trade_amount <", value, "tradeAmount");
return (Criteria) this;
}
public Criteria andTradeAmountLessThanOrEqualTo(BigDecimal value) {
addCriterion("trade_amount <=", value, "tradeAmount");
return (Criteria) this;
}
public Criteria andTradeAmountIn(List<BigDecimal> values) {
addCriterion("trade_amount in", values, "tradeAmount");
return (Criteria) this;
}
public Criteria andTradeAmountNotIn(List<BigDecimal> values) {
addCriterion("trade_amount not in", values, "tradeAmount");
return (Criteria) this;
}
public Criteria andTradeAmountBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("trade_amount between", value1, value2, "tradeAmount");
return (Criteria) this;
}
public Criteria andTradeAmountNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("trade_amount not between", value1, value2, "tradeAmount");
return (Criteria) this;
}
public Criteria andBusinessDiscountPayAmountIsNull() { public Criteria andBusinessDiscountPayAmountIsNull() {
addCriterion("business_discount_pay_amount is null"); addCriterion("business_discount_pay_amount is null");
return (Criteria) this; return (Criteria) this;

Loading…
Cancel
Save