|
|
|
@ -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},", |
|
|
|
|