提交代码

new-dev
胡锐 2 years ago
parent 6e57555a28
commit 62587f26b5
  1. 84
      hai-service/src/main/java/com/hai/dao/HighOrderMapper.java
  2. 182
      hai-service/src/main/java/com/hai/dao/HighOrderSqlProvider.java
  3. 247
      hai-service/src/main/java/com/hai/entity/HighOrder.java
  4. 828
      hai-service/src/main/java/com/hai/entity/HighOrderExample.java

@ -41,50 +41,50 @@ public interface HighOrderMapper extends HighOrderMapperExt {
@Insert({
"insert into high_order (title, search_title, ",
"product_type, company_id, ",
"company_name, promote_code, ",
"mem_discount_id, mem_discount_name, ",
"mem_id, mem_name, mem_phone, ",
"order_no, pay_serial_no, ",
"pay_type, mem_card_id, ",
"mem_card_type, mem_card_no, ",
"total_price, total_deduction_price, ",
"deduction_coupon_price, deduction_product_price, ",
"pay_gold, payable_price, ",
"total_price, payable_price, ",
"pay_price, pay_real_price, ",
"order_status, remarks, ",
"create_time, surplus_refund_price, ",
"create_time, total_deduction_price, ",
"deduction_coupon_price, deduction_product_price, ",
"pay_gold, surplus_refund_price, ",
"surplus_refund_integral, pay_time, ",
"finish_time, cancel_time, ",
"cancel_remarks, refund_time, ",
"account_merchant_num, profit_sharing_status, ",
"profit_sharing_record_id, whether_check, ",
"whether_rebate, exception_status, ",
"exception_content, ext_1, ",
"ext_2, ext_3, ext_4, ",
"ext_5, ext_6)",
"exception_content, company_name, ",
"promote_code, sec_user_id, ",
"ext_1, ext_2, ext_3, ",
"ext_4, ext_5, ext_6)",
"values (#{title,jdbcType=VARCHAR}, #{searchTitle,jdbcType=VARCHAR}, ",
"#{productType,jdbcType=INTEGER}, #{companyId,jdbcType=BIGINT}, ",
"#{companyName,jdbcType=VARCHAR}, #{promoteCode,jdbcType=VARCHAR}, ",
"#{memDiscountId,jdbcType=BIGINT}, #{memDiscountName,jdbcType=VARCHAR}, ",
"#{memId,jdbcType=BIGINT}, #{memName,jdbcType=VARCHAR}, #{memPhone,jdbcType=VARCHAR}, ",
"#{orderNo,jdbcType=VARCHAR}, #{paySerialNo,jdbcType=VARCHAR}, ",
"#{payType,jdbcType=INTEGER}, #{memCardId,jdbcType=BIGINT}, ",
"#{memCardType,jdbcType=INTEGER}, #{memCardNo,jdbcType=VARCHAR}, ",
"#{totalPrice,jdbcType=DECIMAL}, #{totalDeductionPrice,jdbcType=DECIMAL}, ",
"#{deductionCouponPrice,jdbcType=DECIMAL}, #{deductionProductPrice,jdbcType=DECIMAL}, ",
"#{payGold,jdbcType=INTEGER}, #{payablePrice,jdbcType=DECIMAL}, ",
"#{totalPrice,jdbcType=DECIMAL}, #{payablePrice,jdbcType=DECIMAL}, ",
"#{payPrice,jdbcType=DECIMAL}, #{payRealPrice,jdbcType=DECIMAL}, ",
"#{orderStatus,jdbcType=INTEGER}, #{remarks,jdbcType=VARCHAR}, ",
"#{createTime,jdbcType=TIMESTAMP}, #{surplusRefundPrice,jdbcType=DECIMAL}, ",
"#{createTime,jdbcType=TIMESTAMP}, #{totalDeductionPrice,jdbcType=DECIMAL}, ",
"#{deductionCouponPrice,jdbcType=DECIMAL}, #{deductionProductPrice,jdbcType=DECIMAL}, ",
"#{payGold,jdbcType=INTEGER}, #{surplusRefundPrice,jdbcType=DECIMAL}, ",
"#{surplusRefundIntegral,jdbcType=INTEGER}, #{payTime,jdbcType=TIMESTAMP}, ",
"#{finishTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ",
"#{cancelRemarks,jdbcType=VARCHAR}, #{refundTime,jdbcType=TIMESTAMP}, ",
"#{accountMerchantNum,jdbcType=VARCHAR}, #{profitSharingStatus,jdbcType=BIT}, ",
"#{profitSharingRecordId,jdbcType=BIGINT}, #{whetherCheck,jdbcType=BIT}, ",
"#{whetherRebate,jdbcType=BIT}, #{exceptionStatus,jdbcType=BIT}, ",
"#{exceptionContent,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ",
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{ext4,jdbcType=VARCHAR}, ",
"#{ext5,jdbcType=VARCHAR}, #{ext6,jdbcType=VARCHAR})"
"#{exceptionContent,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR}, ",
"#{promoteCode,jdbcType=VARCHAR}, #{secUserId,jdbcType=BIGINT}, ",
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, ",
"#{ext4,jdbcType=VARCHAR}, #{ext5,jdbcType=VARCHAR}, #{ext6,jdbcType=VARCHAR})"
})
@Options(useGeneratedKeys=true,keyProperty="id")
int insert(HighOrder record);
@ -100,8 +100,6 @@ public interface HighOrderMapper extends HighOrderMapperExt {
@Result(column="search_title", property="searchTitle", jdbcType=JdbcType.VARCHAR),
@Result(column="product_type", property="productType", jdbcType=JdbcType.INTEGER),
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT),
@Result(column="company_name", property="companyName", jdbcType=JdbcType.VARCHAR),
@Result(column="promote_code", property="promoteCode", jdbcType=JdbcType.VARCHAR),
@Result(column="mem_discount_id", property="memDiscountId", jdbcType=JdbcType.BIGINT),
@Result(column="mem_discount_name", property="memDiscountName", jdbcType=JdbcType.VARCHAR),
@Result(column="mem_id", property="memId", jdbcType=JdbcType.BIGINT),
@ -114,16 +112,16 @@ public interface HighOrderMapper extends HighOrderMapperExt {
@Result(column="mem_card_type", property="memCardType", jdbcType=JdbcType.INTEGER),
@Result(column="mem_card_no", property="memCardNo", jdbcType=JdbcType.VARCHAR),
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="total_deduction_price", property="totalDeductionPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="deduction_coupon_price", property="deductionCouponPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="deduction_product_price", property="deductionProductPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="pay_gold", property="payGold", jdbcType=JdbcType.INTEGER),
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL),
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="order_status", property="orderStatus", jdbcType=JdbcType.INTEGER),
@Result(column="remarks", property="remarks", jdbcType=JdbcType.VARCHAR),
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="total_deduction_price", property="totalDeductionPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="deduction_coupon_price", property="deductionCouponPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="deduction_product_price", property="deductionProductPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="pay_gold", property="payGold", jdbcType=JdbcType.INTEGER),
@Result(column="surplus_refund_price", property="surplusRefundPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="surplus_refund_integral", property="surplusRefundIntegral", jdbcType=JdbcType.INTEGER),
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP),
@ -138,6 +136,9 @@ public interface HighOrderMapper extends HighOrderMapperExt {
@Result(column="whether_rebate", property="whetherRebate", jdbcType=JdbcType.BIT),
@Result(column="exception_status", property="exceptionStatus", jdbcType=JdbcType.BIT),
@Result(column="exception_content", property="exceptionContent", jdbcType=JdbcType.VARCHAR),
@Result(column="company_name", property="companyName", jdbcType=JdbcType.VARCHAR),
@Result(column="promote_code", property="promoteCode", jdbcType=JdbcType.VARCHAR),
@Result(column="sec_user_id", property="secUserId", jdbcType=JdbcType.BIGINT),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR),
@ -149,14 +150,15 @@ public interface HighOrderMapper extends HighOrderMapperExt {
@Select({
"select",
"id, title, search_title, product_type, company_id, company_name, promote_code, ",
"mem_discount_id, mem_discount_name, mem_id, mem_name, mem_phone, order_no, pay_serial_no, ",
"pay_type, mem_card_id, mem_card_type, mem_card_no, total_price, total_deduction_price, ",
"deduction_coupon_price, deduction_product_price, pay_gold, payable_price, pay_price, ",
"pay_real_price, order_status, remarks, create_time, surplus_refund_price, surplus_refund_integral, ",
"id, title, search_title, product_type, company_id, mem_discount_id, mem_discount_name, ",
"mem_id, mem_name, mem_phone, order_no, pay_serial_no, pay_type, mem_card_id, ",
"mem_card_type, mem_card_no, total_price, payable_price, pay_price, pay_real_price, ",
"order_status, remarks, create_time, total_deduction_price, deduction_coupon_price, ",
"deduction_product_price, pay_gold, surplus_refund_price, surplus_refund_integral, ",
"pay_time, finish_time, cancel_time, cancel_remarks, refund_time, account_merchant_num, ",
"profit_sharing_status, profit_sharing_record_id, whether_check, whether_rebate, ",
"exception_status, exception_content, ext_1, ext_2, ext_3, ext_4, ext_5, ext_6",
"exception_status, exception_content, company_name, promote_code, sec_user_id, ",
"ext_1, ext_2, ext_3, ext_4, ext_5, ext_6",
"from high_order",
"where id = #{id,jdbcType=BIGINT}"
})
@ -166,8 +168,6 @@ public interface HighOrderMapper extends HighOrderMapperExt {
@Result(column="search_title", property="searchTitle", jdbcType=JdbcType.VARCHAR),
@Result(column="product_type", property="productType", jdbcType=JdbcType.INTEGER),
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT),
@Result(column="company_name", property="companyName", jdbcType=JdbcType.VARCHAR),
@Result(column="promote_code", property="promoteCode", jdbcType=JdbcType.VARCHAR),
@Result(column="mem_discount_id", property="memDiscountId", jdbcType=JdbcType.BIGINT),
@Result(column="mem_discount_name", property="memDiscountName", jdbcType=JdbcType.VARCHAR),
@Result(column="mem_id", property="memId", jdbcType=JdbcType.BIGINT),
@ -180,16 +180,16 @@ public interface HighOrderMapper extends HighOrderMapperExt {
@Result(column="mem_card_type", property="memCardType", jdbcType=JdbcType.INTEGER),
@Result(column="mem_card_no", property="memCardNo", jdbcType=JdbcType.VARCHAR),
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="total_deduction_price", property="totalDeductionPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="deduction_coupon_price", property="deductionCouponPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="deduction_product_price", property="deductionProductPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="pay_gold", property="payGold", jdbcType=JdbcType.INTEGER),
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL),
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="order_status", property="orderStatus", jdbcType=JdbcType.INTEGER),
@Result(column="remarks", property="remarks", jdbcType=JdbcType.VARCHAR),
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="total_deduction_price", property="totalDeductionPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="deduction_coupon_price", property="deductionCouponPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="deduction_product_price", property="deductionProductPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="pay_gold", property="payGold", jdbcType=JdbcType.INTEGER),
@Result(column="surplus_refund_price", property="surplusRefundPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="surplus_refund_integral", property="surplusRefundIntegral", jdbcType=JdbcType.INTEGER),
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP),
@ -204,6 +204,9 @@ public interface HighOrderMapper extends HighOrderMapperExt {
@Result(column="whether_rebate", property="whetherRebate", jdbcType=JdbcType.BIT),
@Result(column="exception_status", property="exceptionStatus", jdbcType=JdbcType.BIT),
@Result(column="exception_content", property="exceptionContent", jdbcType=JdbcType.VARCHAR),
@Result(column="company_name", property="companyName", jdbcType=JdbcType.VARCHAR),
@Result(column="promote_code", property="promoteCode", jdbcType=JdbcType.VARCHAR),
@Result(column="sec_user_id", property="secUserId", jdbcType=JdbcType.BIGINT),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR),
@ -228,8 +231,6 @@ public interface HighOrderMapper extends HighOrderMapperExt {
"search_title = #{searchTitle,jdbcType=VARCHAR},",
"product_type = #{productType,jdbcType=INTEGER},",
"company_id = #{companyId,jdbcType=BIGINT},",
"company_name = #{companyName,jdbcType=VARCHAR},",
"promote_code = #{promoteCode,jdbcType=VARCHAR},",
"mem_discount_id = #{memDiscountId,jdbcType=BIGINT},",
"mem_discount_name = #{memDiscountName,jdbcType=VARCHAR},",
"mem_id = #{memId,jdbcType=BIGINT},",
@ -242,16 +243,16 @@ public interface HighOrderMapper extends HighOrderMapperExt {
"mem_card_type = #{memCardType,jdbcType=INTEGER},",
"mem_card_no = #{memCardNo,jdbcType=VARCHAR},",
"total_price = #{totalPrice,jdbcType=DECIMAL},",
"total_deduction_price = #{totalDeductionPrice,jdbcType=DECIMAL},",
"deduction_coupon_price = #{deductionCouponPrice,jdbcType=DECIMAL},",
"deduction_product_price = #{deductionProductPrice,jdbcType=DECIMAL},",
"pay_gold = #{payGold,jdbcType=INTEGER},",
"payable_price = #{payablePrice,jdbcType=DECIMAL},",
"pay_price = #{payPrice,jdbcType=DECIMAL},",
"pay_real_price = #{payRealPrice,jdbcType=DECIMAL},",
"order_status = #{orderStatus,jdbcType=INTEGER},",
"remarks = #{remarks,jdbcType=VARCHAR},",
"create_time = #{createTime,jdbcType=TIMESTAMP},",
"total_deduction_price = #{totalDeductionPrice,jdbcType=DECIMAL},",
"deduction_coupon_price = #{deductionCouponPrice,jdbcType=DECIMAL},",
"deduction_product_price = #{deductionProductPrice,jdbcType=DECIMAL},",
"pay_gold = #{payGold,jdbcType=INTEGER},",
"surplus_refund_price = #{surplusRefundPrice,jdbcType=DECIMAL},",
"surplus_refund_integral = #{surplusRefundIntegral,jdbcType=INTEGER},",
"pay_time = #{payTime,jdbcType=TIMESTAMP},",
@ -266,6 +267,9 @@ public interface HighOrderMapper extends HighOrderMapperExt {
"whether_rebate = #{whetherRebate,jdbcType=BIT},",
"exception_status = #{exceptionStatus,jdbcType=BIT},",
"exception_content = #{exceptionContent,jdbcType=VARCHAR},",
"company_name = #{companyName,jdbcType=VARCHAR},",
"promote_code = #{promoteCode,jdbcType=VARCHAR},",
"sec_user_id = #{secUserId,jdbcType=BIGINT},",
"ext_1 = #{ext1,jdbcType=VARCHAR},",
"ext_2 = #{ext2,jdbcType=VARCHAR},",
"ext_3 = #{ext3,jdbcType=VARCHAR},",

@ -44,14 +44,6 @@ public class HighOrderSqlProvider {
sql.VALUES("company_id", "#{companyId,jdbcType=BIGINT}");
}
if (record.getCompanyName() != null) {
sql.VALUES("company_name", "#{companyName,jdbcType=VARCHAR}");
}
if (record.getPromoteCode() != null) {
sql.VALUES("promote_code", "#{promoteCode,jdbcType=VARCHAR}");
}
if (record.getMemDiscountId() != null) {
sql.VALUES("mem_discount_id", "#{memDiscountId,jdbcType=BIGINT}");
}
@ -100,22 +92,6 @@ public class HighOrderSqlProvider {
sql.VALUES("total_price", "#{totalPrice,jdbcType=DECIMAL}");
}
if (record.getTotalDeductionPrice() != null) {
sql.VALUES("total_deduction_price", "#{totalDeductionPrice,jdbcType=DECIMAL}");
}
if (record.getDeductionCouponPrice() != null) {
sql.VALUES("deduction_coupon_price", "#{deductionCouponPrice,jdbcType=DECIMAL}");
}
if (record.getDeductionProductPrice() != null) {
sql.VALUES("deduction_product_price", "#{deductionProductPrice,jdbcType=DECIMAL}");
}
if (record.getPayGold() != null) {
sql.VALUES("pay_gold", "#{payGold,jdbcType=INTEGER}");
}
if (record.getPayablePrice() != null) {
sql.VALUES("payable_price", "#{payablePrice,jdbcType=DECIMAL}");
}
@ -140,6 +116,22 @@ public class HighOrderSqlProvider {
sql.VALUES("create_time", "#{createTime,jdbcType=TIMESTAMP}");
}
if (record.getTotalDeductionPrice() != null) {
sql.VALUES("total_deduction_price", "#{totalDeductionPrice,jdbcType=DECIMAL}");
}
if (record.getDeductionCouponPrice() != null) {
sql.VALUES("deduction_coupon_price", "#{deductionCouponPrice,jdbcType=DECIMAL}");
}
if (record.getDeductionProductPrice() != null) {
sql.VALUES("deduction_product_price", "#{deductionProductPrice,jdbcType=DECIMAL}");
}
if (record.getPayGold() != null) {
sql.VALUES("pay_gold", "#{payGold,jdbcType=INTEGER}");
}
if (record.getSurplusRefundPrice() != null) {
sql.VALUES("surplus_refund_price", "#{surplusRefundPrice,jdbcType=DECIMAL}");
}
@ -196,6 +188,18 @@ public class HighOrderSqlProvider {
sql.VALUES("exception_content", "#{exceptionContent,jdbcType=VARCHAR}");
}
if (record.getCompanyName() != null) {
sql.VALUES("company_name", "#{companyName,jdbcType=VARCHAR}");
}
if (record.getPromoteCode() != null) {
sql.VALUES("promote_code", "#{promoteCode,jdbcType=VARCHAR}");
}
if (record.getSecUserId() != null) {
sql.VALUES("sec_user_id", "#{secUserId,jdbcType=BIGINT}");
}
if (record.getExt1() != null) {
sql.VALUES("ext_1", "#{ext1,jdbcType=VARCHAR}");
}
@ -234,8 +238,6 @@ public class HighOrderSqlProvider {
sql.SELECT("search_title");
sql.SELECT("product_type");
sql.SELECT("company_id");
sql.SELECT("company_name");
sql.SELECT("promote_code");
sql.SELECT("mem_discount_id");
sql.SELECT("mem_discount_name");
sql.SELECT("mem_id");
@ -248,16 +250,16 @@ public class HighOrderSqlProvider {
sql.SELECT("mem_card_type");
sql.SELECT("mem_card_no");
sql.SELECT("total_price");
sql.SELECT("total_deduction_price");
sql.SELECT("deduction_coupon_price");
sql.SELECT("deduction_product_price");
sql.SELECT("pay_gold");
sql.SELECT("payable_price");
sql.SELECT("pay_price");
sql.SELECT("pay_real_price");
sql.SELECT("order_status");
sql.SELECT("remarks");
sql.SELECT("create_time");
sql.SELECT("total_deduction_price");
sql.SELECT("deduction_coupon_price");
sql.SELECT("deduction_product_price");
sql.SELECT("pay_gold");
sql.SELECT("surplus_refund_price");
sql.SELECT("surplus_refund_integral");
sql.SELECT("pay_time");
@ -272,6 +274,9 @@ public class HighOrderSqlProvider {
sql.SELECT("whether_rebate");
sql.SELECT("exception_status");
sql.SELECT("exception_content");
sql.SELECT("company_name");
sql.SELECT("promote_code");
sql.SELECT("sec_user_id");
sql.SELECT("ext_1");
sql.SELECT("ext_2");
sql.SELECT("ext_3");
@ -315,14 +320,6 @@ public class HighOrderSqlProvider {
sql.SET("company_id = #{record.companyId,jdbcType=BIGINT}");
}
if (record.getCompanyName() != null) {
sql.SET("company_name = #{record.companyName,jdbcType=VARCHAR}");
}
if (record.getPromoteCode() != null) {
sql.SET("promote_code = #{record.promoteCode,jdbcType=VARCHAR}");
}
if (record.getMemDiscountId() != null) {
sql.SET("mem_discount_id = #{record.memDiscountId,jdbcType=BIGINT}");
}
@ -371,22 +368,6 @@ public class HighOrderSqlProvider {
sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}");
}
if (record.getTotalDeductionPrice() != null) {
sql.SET("total_deduction_price = #{record.totalDeductionPrice,jdbcType=DECIMAL}");
}
if (record.getDeductionCouponPrice() != null) {
sql.SET("deduction_coupon_price = #{record.deductionCouponPrice,jdbcType=DECIMAL}");
}
if (record.getDeductionProductPrice() != null) {
sql.SET("deduction_product_price = #{record.deductionProductPrice,jdbcType=DECIMAL}");
}
if (record.getPayGold() != null) {
sql.SET("pay_gold = #{record.payGold,jdbcType=INTEGER}");
}
if (record.getPayablePrice() != null) {
sql.SET("payable_price = #{record.payablePrice,jdbcType=DECIMAL}");
}
@ -411,6 +392,22 @@ public class HighOrderSqlProvider {
sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}");
}
if (record.getTotalDeductionPrice() != null) {
sql.SET("total_deduction_price = #{record.totalDeductionPrice,jdbcType=DECIMAL}");
}
if (record.getDeductionCouponPrice() != null) {
sql.SET("deduction_coupon_price = #{record.deductionCouponPrice,jdbcType=DECIMAL}");
}
if (record.getDeductionProductPrice() != null) {
sql.SET("deduction_product_price = #{record.deductionProductPrice,jdbcType=DECIMAL}");
}
if (record.getPayGold() != null) {
sql.SET("pay_gold = #{record.payGold,jdbcType=INTEGER}");
}
if (record.getSurplusRefundPrice() != null) {
sql.SET("surplus_refund_price = #{record.surplusRefundPrice,jdbcType=DECIMAL}");
}
@ -467,6 +464,18 @@ public class HighOrderSqlProvider {
sql.SET("exception_content = #{record.exceptionContent,jdbcType=VARCHAR}");
}
if (record.getCompanyName() != null) {
sql.SET("company_name = #{record.companyName,jdbcType=VARCHAR}");
}
if (record.getPromoteCode() != null) {
sql.SET("promote_code = #{record.promoteCode,jdbcType=VARCHAR}");
}
if (record.getSecUserId() != null) {
sql.SET("sec_user_id = #{record.secUserId,jdbcType=BIGINT}");
}
if (record.getExt1() != null) {
sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}");
}
@ -504,8 +513,6 @@ public class HighOrderSqlProvider {
sql.SET("search_title = #{record.searchTitle,jdbcType=VARCHAR}");
sql.SET("product_type = #{record.productType,jdbcType=INTEGER}");
sql.SET("company_id = #{record.companyId,jdbcType=BIGINT}");
sql.SET("company_name = #{record.companyName,jdbcType=VARCHAR}");
sql.SET("promote_code = #{record.promoteCode,jdbcType=VARCHAR}");
sql.SET("mem_discount_id = #{record.memDiscountId,jdbcType=BIGINT}");
sql.SET("mem_discount_name = #{record.memDiscountName,jdbcType=VARCHAR}");
sql.SET("mem_id = #{record.memId,jdbcType=BIGINT}");
@ -518,16 +525,16 @@ public class HighOrderSqlProvider {
sql.SET("mem_card_type = #{record.memCardType,jdbcType=INTEGER}");
sql.SET("mem_card_no = #{record.memCardNo,jdbcType=VARCHAR}");
sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}");
sql.SET("total_deduction_price = #{record.totalDeductionPrice,jdbcType=DECIMAL}");
sql.SET("deduction_coupon_price = #{record.deductionCouponPrice,jdbcType=DECIMAL}");
sql.SET("deduction_product_price = #{record.deductionProductPrice,jdbcType=DECIMAL}");
sql.SET("pay_gold = #{record.payGold,jdbcType=INTEGER}");
sql.SET("payable_price = #{record.payablePrice,jdbcType=DECIMAL}");
sql.SET("pay_price = #{record.payPrice,jdbcType=DECIMAL}");
sql.SET("pay_real_price = #{record.payRealPrice,jdbcType=DECIMAL}");
sql.SET("order_status = #{record.orderStatus,jdbcType=INTEGER}");
sql.SET("remarks = #{record.remarks,jdbcType=VARCHAR}");
sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}");
sql.SET("total_deduction_price = #{record.totalDeductionPrice,jdbcType=DECIMAL}");
sql.SET("deduction_coupon_price = #{record.deductionCouponPrice,jdbcType=DECIMAL}");
sql.SET("deduction_product_price = #{record.deductionProductPrice,jdbcType=DECIMAL}");
sql.SET("pay_gold = #{record.payGold,jdbcType=INTEGER}");
sql.SET("surplus_refund_price = #{record.surplusRefundPrice,jdbcType=DECIMAL}");
sql.SET("surplus_refund_integral = #{record.surplusRefundIntegral,jdbcType=INTEGER}");
sql.SET("pay_time = #{record.payTime,jdbcType=TIMESTAMP}");
@ -542,6 +549,9 @@ public class HighOrderSqlProvider {
sql.SET("whether_rebate = #{record.whetherRebate,jdbcType=BIT}");
sql.SET("exception_status = #{record.exceptionStatus,jdbcType=BIT}");
sql.SET("exception_content = #{record.exceptionContent,jdbcType=VARCHAR}");
sql.SET("company_name = #{record.companyName,jdbcType=VARCHAR}");
sql.SET("promote_code = #{record.promoteCode,jdbcType=VARCHAR}");
sql.SET("sec_user_id = #{record.secUserId,jdbcType=BIGINT}");
sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}");
sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}");
sql.SET("ext_3 = #{record.ext3,jdbcType=VARCHAR}");
@ -574,14 +584,6 @@ public class HighOrderSqlProvider {
sql.SET("company_id = #{companyId,jdbcType=BIGINT}");
}
if (record.getCompanyName() != null) {
sql.SET("company_name = #{companyName,jdbcType=VARCHAR}");
}
if (record.getPromoteCode() != null) {
sql.SET("promote_code = #{promoteCode,jdbcType=VARCHAR}");
}
if (record.getMemDiscountId() != null) {
sql.SET("mem_discount_id = #{memDiscountId,jdbcType=BIGINT}");
}
@ -630,22 +632,6 @@ public class HighOrderSqlProvider {
sql.SET("total_price = #{totalPrice,jdbcType=DECIMAL}");
}
if (record.getTotalDeductionPrice() != null) {
sql.SET("total_deduction_price = #{totalDeductionPrice,jdbcType=DECIMAL}");
}
if (record.getDeductionCouponPrice() != null) {
sql.SET("deduction_coupon_price = #{deductionCouponPrice,jdbcType=DECIMAL}");
}
if (record.getDeductionProductPrice() != null) {
sql.SET("deduction_product_price = #{deductionProductPrice,jdbcType=DECIMAL}");
}
if (record.getPayGold() != null) {
sql.SET("pay_gold = #{payGold,jdbcType=INTEGER}");
}
if (record.getPayablePrice() != null) {
sql.SET("payable_price = #{payablePrice,jdbcType=DECIMAL}");
}
@ -670,6 +656,22 @@ public class HighOrderSqlProvider {
sql.SET("create_time = #{createTime,jdbcType=TIMESTAMP}");
}
if (record.getTotalDeductionPrice() != null) {
sql.SET("total_deduction_price = #{totalDeductionPrice,jdbcType=DECIMAL}");
}
if (record.getDeductionCouponPrice() != null) {
sql.SET("deduction_coupon_price = #{deductionCouponPrice,jdbcType=DECIMAL}");
}
if (record.getDeductionProductPrice() != null) {
sql.SET("deduction_product_price = #{deductionProductPrice,jdbcType=DECIMAL}");
}
if (record.getPayGold() != null) {
sql.SET("pay_gold = #{payGold,jdbcType=INTEGER}");
}
if (record.getSurplusRefundPrice() != null) {
sql.SET("surplus_refund_price = #{surplusRefundPrice,jdbcType=DECIMAL}");
}
@ -726,6 +728,18 @@ public class HighOrderSqlProvider {
sql.SET("exception_content = #{exceptionContent,jdbcType=VARCHAR}");
}
if (record.getCompanyName() != null) {
sql.SET("company_name = #{companyName,jdbcType=VARCHAR}");
}
if (record.getPromoteCode() != null) {
sql.SET("promote_code = #{promoteCode,jdbcType=VARCHAR}");
}
if (record.getSecUserId() != null) {
sql.SET("sec_user_id = #{secUserId,jdbcType=BIGINT}");
}
if (record.getExt1() != null) {
sql.SET("ext_1 = #{ext1,jdbcType=VARCHAR}");
}

@ -3,7 +3,6 @@ package com.hai.entity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
* high_order
@ -41,6 +40,9 @@ public class HighOrder implements Serializable {
7优惠券包
8汇联通充值
9话费充值
10:电影票
11:贵州中石化
12:实物商品
*/
private Integer productType;
@ -49,16 +51,6 @@ public class HighOrder implements Serializable {
*/
private Long companyId;
/**
* 公司名称
*/
private String companyName;
/**
* 推广码
*/
private String promoteCode;
/**
* 用户的优惠券high_discount_user_rel表的id
*/
@ -119,26 +111,6 @@ public class HighOrder implements Serializable {
*/
private BigDecimal totalPrice;
/**
* 交易总优惠金额优惠券优惠金额+商品优惠金额
*/
private BigDecimal totalDeductionPrice;
/**
* 优惠券优惠金额
*/
private BigDecimal deductionCouponPrice;
/**
* 产品优惠金额
*/
private BigDecimal deductionProductPrice;
/**
* 积分抵扣
*/
private Integer payGold;
/**
* 应付金额
*/
@ -169,6 +141,26 @@ public class HighOrder implements Serializable {
*/
private Date createTime;
/**
* 交易总优惠金额优惠券优惠金额+商品优惠金额
*/
private BigDecimal totalDeductionPrice;
/**
* 优惠券优惠金额
*/
private BigDecimal deductionCouponPrice;
/**
* 产品优惠金额
*/
private BigDecimal deductionProductPrice;
/**
* 积分抵扣
*/
private Integer payGold;
/**
* 可退款金额
*/
@ -239,6 +231,21 @@ public class HighOrder implements Serializable {
*/
private String exceptionContent;
/**
* 公司名称
*/
private String companyName;
/**
* 推广码
*/
private String promoteCode;
/**
* 后台用户ID
*/
private Long secUserId;
private String ext1;
private String ext2;
@ -249,40 +256,13 @@ public class HighOrder implements Serializable {
private String ext5;
/**
* 存实物 商品图片
*/
private String ext6;
private String time;
private String goodsTypeName;
public String getGoodsTypeName() {
return goodsTypeName;
}
public void setGoodsTypeName(String goodsTypeName) {
this.goodsTypeName = goodsTypeName;
}
public String getTime() {
return time;
}
public void setTime(String time) {
this.time = time;
}
private static final long serialVersionUID = 1L;
private List<HighChildOrder> highChildOrderList;
public List<HighChildOrder> getHighChildOrderList() {
return highChildOrderList;
}
public void setHighChildOrderList(List<HighChildOrder> highChildOrderList) {
this.highChildOrderList = highChildOrderList;
}
public Long getId() {
return id;
}
@ -323,22 +303,6 @@ public class HighOrder implements Serializable {
this.companyId = companyId;
}
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
public String getPromoteCode() {
return promoteCode;
}
public void setPromoteCode(String promoteCode) {
this.promoteCode = promoteCode;
}
public Long getMemDiscountId() {
return memDiscountId;
}
@ -435,38 +399,6 @@ public class HighOrder implements Serializable {
this.totalPrice = totalPrice;
}
public BigDecimal getTotalDeductionPrice() {
return totalDeductionPrice;
}
public void setTotalDeductionPrice(BigDecimal totalDeductionPrice) {
this.totalDeductionPrice = totalDeductionPrice;
}
public BigDecimal getDeductionCouponPrice() {
return deductionCouponPrice;
}
public void setDeductionCouponPrice(BigDecimal deductionCouponPrice) {
this.deductionCouponPrice = deductionCouponPrice;
}
public BigDecimal getDeductionProductPrice() {
return deductionProductPrice;
}
public void setDeductionProductPrice(BigDecimal deductionProductPrice) {
this.deductionProductPrice = deductionProductPrice;
}
public Integer getPayGold() {
return payGold;
}
public void setPayGold(Integer payGold) {
this.payGold = payGold;
}
public BigDecimal getPayablePrice() {
return payablePrice;
}
@ -515,6 +447,38 @@ public class HighOrder implements Serializable {
this.createTime = createTime;
}
public BigDecimal getTotalDeductionPrice() {
return totalDeductionPrice;
}
public void setTotalDeductionPrice(BigDecimal totalDeductionPrice) {
this.totalDeductionPrice = totalDeductionPrice;
}
public BigDecimal getDeductionCouponPrice() {
return deductionCouponPrice;
}
public void setDeductionCouponPrice(BigDecimal deductionCouponPrice) {
this.deductionCouponPrice = deductionCouponPrice;
}
public BigDecimal getDeductionProductPrice() {
return deductionProductPrice;
}
public void setDeductionProductPrice(BigDecimal deductionProductPrice) {
this.deductionProductPrice = deductionProductPrice;
}
public Integer getPayGold() {
return payGold;
}
public void setPayGold(Integer payGold) {
this.payGold = payGold;
}
public BigDecimal getSurplusRefundPrice() {
return surplusRefundPrice;
}
@ -627,6 +591,30 @@ public class HighOrder implements Serializable {
this.exceptionContent = exceptionContent;
}
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
public String getPromoteCode() {
return promoteCode;
}
public void setPromoteCode(String promoteCode) {
this.promoteCode = promoteCode;
}
public Long getSecUserId() {
return secUserId;
}
public void setSecUserId(Long secUserId) {
this.secUserId = secUserId;
}
public String getExt1() {
return ext1;
}
@ -692,8 +680,6 @@ public class HighOrder implements Serializable {
&& (this.getSearchTitle() == null ? other.getSearchTitle() == null : this.getSearchTitle().equals(other.getSearchTitle()))
&& (this.getProductType() == null ? other.getProductType() == null : this.getProductType().equals(other.getProductType()))
&& (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
&& (this.getCompanyName() == null ? other.getCompanyName() == null : this.getCompanyName().equals(other.getCompanyName()))
&& (this.getPromoteCode() == null ? other.getPromoteCode() == null : this.getPromoteCode().equals(other.getPromoteCode()))
&& (this.getMemDiscountId() == null ? other.getMemDiscountId() == null : this.getMemDiscountId().equals(other.getMemDiscountId()))
&& (this.getMemDiscountName() == null ? other.getMemDiscountName() == null : this.getMemDiscountName().equals(other.getMemDiscountName()))
&& (this.getMemId() == null ? other.getMemId() == null : this.getMemId().equals(other.getMemId()))
@ -706,16 +692,16 @@ public class HighOrder implements Serializable {
&& (this.getMemCardType() == null ? other.getMemCardType() == null : this.getMemCardType().equals(other.getMemCardType()))
&& (this.getMemCardNo() == null ? other.getMemCardNo() == null : this.getMemCardNo().equals(other.getMemCardNo()))
&& (this.getTotalPrice() == null ? other.getTotalPrice() == null : this.getTotalPrice().equals(other.getTotalPrice()))
&& (this.getTotalDeductionPrice() == null ? other.getTotalDeductionPrice() == null : this.getTotalDeductionPrice().equals(other.getTotalDeductionPrice()))
&& (this.getDeductionCouponPrice() == null ? other.getDeductionCouponPrice() == null : this.getDeductionCouponPrice().equals(other.getDeductionCouponPrice()))
&& (this.getDeductionProductPrice() == null ? other.getDeductionProductPrice() == null : this.getDeductionProductPrice().equals(other.getDeductionProductPrice()))
&& (this.getPayGold() == null ? other.getPayGold() == null : this.getPayGold().equals(other.getPayGold()))
&& (this.getPayablePrice() == null ? other.getPayablePrice() == null : this.getPayablePrice().equals(other.getPayablePrice()))
&& (this.getPayPrice() == null ? other.getPayPrice() == null : this.getPayPrice().equals(other.getPayPrice()))
&& (this.getPayRealPrice() == null ? other.getPayRealPrice() == null : this.getPayRealPrice().equals(other.getPayRealPrice()))
&& (this.getOrderStatus() == null ? other.getOrderStatus() == null : this.getOrderStatus().equals(other.getOrderStatus()))
&& (this.getRemarks() == null ? other.getRemarks() == null : this.getRemarks().equals(other.getRemarks()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getTotalDeductionPrice() == null ? other.getTotalDeductionPrice() == null : this.getTotalDeductionPrice().equals(other.getTotalDeductionPrice()))
&& (this.getDeductionCouponPrice() == null ? other.getDeductionCouponPrice() == null : this.getDeductionCouponPrice().equals(other.getDeductionCouponPrice()))
&& (this.getDeductionProductPrice() == null ? other.getDeductionProductPrice() == null : this.getDeductionProductPrice().equals(other.getDeductionProductPrice()))
&& (this.getPayGold() == null ? other.getPayGold() == null : this.getPayGold().equals(other.getPayGold()))
&& (this.getSurplusRefundPrice() == null ? other.getSurplusRefundPrice() == null : this.getSurplusRefundPrice().equals(other.getSurplusRefundPrice()))
&& (this.getSurplusRefundIntegral() == null ? other.getSurplusRefundIntegral() == null : this.getSurplusRefundIntegral().equals(other.getSurplusRefundIntegral()))
&& (this.getPayTime() == null ? other.getPayTime() == null : this.getPayTime().equals(other.getPayTime()))
@ -730,6 +716,9 @@ public class HighOrder implements Serializable {
&& (this.getWhetherRebate() == null ? other.getWhetherRebate() == null : this.getWhetherRebate().equals(other.getWhetherRebate()))
&& (this.getExceptionStatus() == null ? other.getExceptionStatus() == null : this.getExceptionStatus().equals(other.getExceptionStatus()))
&& (this.getExceptionContent() == null ? other.getExceptionContent() == null : this.getExceptionContent().equals(other.getExceptionContent()))
&& (this.getCompanyName() == null ? other.getCompanyName() == null : this.getCompanyName().equals(other.getCompanyName()))
&& (this.getPromoteCode() == null ? other.getPromoteCode() == null : this.getPromoteCode().equals(other.getPromoteCode()))
&& (this.getSecUserId() == null ? other.getSecUserId() == null : this.getSecUserId().equals(other.getSecUserId()))
&& (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1()))
&& (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2()))
&& (this.getExt3() == null ? other.getExt3() == null : this.getExt3().equals(other.getExt3()))
@ -747,8 +736,6 @@ public class HighOrder implements Serializable {
result = prime * result + ((getSearchTitle() == null) ? 0 : getSearchTitle().hashCode());
result = prime * result + ((getProductType() == null) ? 0 : getProductType().hashCode());
result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
result = prime * result + ((getCompanyName() == null) ? 0 : getCompanyName().hashCode());
result = prime * result + ((getPromoteCode() == null) ? 0 : getPromoteCode().hashCode());
result = prime * result + ((getMemDiscountId() == null) ? 0 : getMemDiscountId().hashCode());
result = prime * result + ((getMemDiscountName() == null) ? 0 : getMemDiscountName().hashCode());
result = prime * result + ((getMemId() == null) ? 0 : getMemId().hashCode());
@ -761,16 +748,16 @@ public class HighOrder implements Serializable {
result = prime * result + ((getMemCardType() == null) ? 0 : getMemCardType().hashCode());
result = prime * result + ((getMemCardNo() == null) ? 0 : getMemCardNo().hashCode());
result = prime * result + ((getTotalPrice() == null) ? 0 : getTotalPrice().hashCode());
result = prime * result + ((getTotalDeductionPrice() == null) ? 0 : getTotalDeductionPrice().hashCode());
result = prime * result + ((getDeductionCouponPrice() == null) ? 0 : getDeductionCouponPrice().hashCode());
result = prime * result + ((getDeductionProductPrice() == null) ? 0 : getDeductionProductPrice().hashCode());
result = prime * result + ((getPayGold() == null) ? 0 : getPayGold().hashCode());
result = prime * result + ((getPayablePrice() == null) ? 0 : getPayablePrice().hashCode());
result = prime * result + ((getPayPrice() == null) ? 0 : getPayPrice().hashCode());
result = prime * result + ((getPayRealPrice() == null) ? 0 : getPayRealPrice().hashCode());
result = prime * result + ((getOrderStatus() == null) ? 0 : getOrderStatus().hashCode());
result = prime * result + ((getRemarks() == null) ? 0 : getRemarks().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getTotalDeductionPrice() == null) ? 0 : getTotalDeductionPrice().hashCode());
result = prime * result + ((getDeductionCouponPrice() == null) ? 0 : getDeductionCouponPrice().hashCode());
result = prime * result + ((getDeductionProductPrice() == null) ? 0 : getDeductionProductPrice().hashCode());
result = prime * result + ((getPayGold() == null) ? 0 : getPayGold().hashCode());
result = prime * result + ((getSurplusRefundPrice() == null) ? 0 : getSurplusRefundPrice().hashCode());
result = prime * result + ((getSurplusRefundIntegral() == null) ? 0 : getSurplusRefundIntegral().hashCode());
result = prime * result + ((getPayTime() == null) ? 0 : getPayTime().hashCode());
@ -785,6 +772,9 @@ public class HighOrder implements Serializable {
result = prime * result + ((getWhetherRebate() == null) ? 0 : getWhetherRebate().hashCode());
result = prime * result + ((getExceptionStatus() == null) ? 0 : getExceptionStatus().hashCode());
result = prime * result + ((getExceptionContent() == null) ? 0 : getExceptionContent().hashCode());
result = prime * result + ((getCompanyName() == null) ? 0 : getCompanyName().hashCode());
result = prime * result + ((getPromoteCode() == null) ? 0 : getPromoteCode().hashCode());
result = prime * result + ((getSecUserId() == null) ? 0 : getSecUserId().hashCode());
result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode());
result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode());
result = prime * result + ((getExt3() == null) ? 0 : getExt3().hashCode());
@ -805,8 +795,6 @@ public class HighOrder implements Serializable {
sb.append(", searchTitle=").append(searchTitle);
sb.append(", productType=").append(productType);
sb.append(", companyId=").append(companyId);
sb.append(", companyName=").append(companyName);
sb.append(", promoteCode=").append(promoteCode);
sb.append(", memDiscountId=").append(memDiscountId);
sb.append(", memDiscountName=").append(memDiscountName);
sb.append(", memId=").append(memId);
@ -819,16 +807,16 @@ public class HighOrder implements Serializable {
sb.append(", memCardType=").append(memCardType);
sb.append(", memCardNo=").append(memCardNo);
sb.append(", totalPrice=").append(totalPrice);
sb.append(", totalDeductionPrice=").append(totalDeductionPrice);
sb.append(", deductionCouponPrice=").append(deductionCouponPrice);
sb.append(", deductionProductPrice=").append(deductionProductPrice);
sb.append(", payGold=").append(payGold);
sb.append(", payablePrice=").append(payablePrice);
sb.append(", payPrice=").append(payPrice);
sb.append(", payRealPrice=").append(payRealPrice);
sb.append(", orderStatus=").append(orderStatus);
sb.append(", remarks=").append(remarks);
sb.append(", createTime=").append(createTime);
sb.append(", totalDeductionPrice=").append(totalDeductionPrice);
sb.append(", deductionCouponPrice=").append(deductionCouponPrice);
sb.append(", deductionProductPrice=").append(deductionProductPrice);
sb.append(", payGold=").append(payGold);
sb.append(", surplusRefundPrice=").append(surplusRefundPrice);
sb.append(", surplusRefundIntegral=").append(surplusRefundIntegral);
sb.append(", payTime=").append(payTime);
@ -843,6 +831,9 @@ public class HighOrder implements Serializable {
sb.append(", whetherRebate=").append(whetherRebate);
sb.append(", exceptionStatus=").append(exceptionStatus);
sb.append(", exceptionContent=").append(exceptionContent);
sb.append(", companyName=").append(companyName);
sb.append(", promoteCode=").append(promoteCode);
sb.append(", secUserId=").append(secUserId);
sb.append(", ext1=").append(ext1);
sb.append(", ext2=").append(ext2);
sb.append(", ext3=").append(ext3);
@ -853,4 +844,4 @@ public class HighOrder implements Serializable {
sb.append("]");
return sb.toString();
}
}
}
Loading…
Cancel
Save