|
|
|
@ -43,48 +43,52 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"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, company_name, ", |
|
|
|
|
"promote_code, sec_user_id, ", |
|
|
|
|
"ext_1, ext_2, ext_3, ", |
|
|
|
|
"ext_4, ext_5, ext_6)", |
|
|
|
|
"combine_order_no, order_no, ", |
|
|
|
|
"pay_serial_no, pay_type, ", |
|
|
|
|
"mem_card_id, mem_card_type, ", |
|
|
|
|
"mem_card_no, freight_price, ", |
|
|
|
|
"goods_total_price, 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, ", |
|
|
|
|
"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}, ", |
|
|
|
|
"#{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}, #{payablePrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{payPrice,jdbcType=DECIMAL}, #{payRealPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{orderStatus,jdbcType=INTEGER}, #{remarks,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{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}, #{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})" |
|
|
|
|
"#{combineOrderNo,jdbcType=VARCHAR}, #{orderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{paySerialNo,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{memCardId,jdbcType=BIGINT}, #{memCardType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{memCardNo,jdbcType=VARCHAR}, #{freightPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{goodsTotalPrice,jdbcType=DECIMAL}, #{totalPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{payablePrice,jdbcType=DECIMAL}, #{payPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{payRealPrice,jdbcType=DECIMAL}, #{orderStatus,jdbcType=INTEGER}, ", |
|
|
|
|
"#{remarks,jdbcType=VARCHAR}, #{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}, ", |
|
|
|
|
"#{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); |
|
|
|
@ -105,12 +109,15 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="mem_id", property="memId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="mem_name", property="memName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="mem_phone", property="memPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="combine_order_no", property="combineOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="mem_card_id", property="memCardId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="mem_card_type", property="memCardType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="mem_card_no", property="memCardNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="freight_price", property="freightPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="goods_total_price", property="goodsTotalPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@ -151,14 +158,14 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"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, company_name, promote_code, sec_user_id, ", |
|
|
|
|
"ext_1, ext_2, ext_3, ext_4, ext_5, ext_6", |
|
|
|
|
"mem_id, mem_name, mem_phone, combine_order_no, order_no, pay_serial_no, pay_type, ", |
|
|
|
|
"mem_card_id, mem_card_type, mem_card_no, freight_price, goods_total_price, 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, 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}" |
|
|
|
|
}) |
|
|
|
@ -173,12 +180,15 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="mem_id", property="memId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="mem_name", property="memName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="mem_phone", property="memPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="combine_order_no", property="combineOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="mem_card_id", property="memCardId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="mem_card_type", property="memCardType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="mem_card_no", property="memCardNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="freight_price", property="freightPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="goods_total_price", property="goodsTotalPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@ -236,12 +246,15 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"mem_id = #{memId,jdbcType=BIGINT},", |
|
|
|
|
"mem_name = #{memName,jdbcType=VARCHAR},", |
|
|
|
|
"mem_phone = #{memPhone,jdbcType=VARCHAR},", |
|
|
|
|
"combine_order_no = #{combineOrderNo,jdbcType=VARCHAR},", |
|
|
|
|
"order_no = #{orderNo,jdbcType=VARCHAR},", |
|
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
|
"pay_type = #{payType,jdbcType=INTEGER},", |
|
|
|
|
"mem_card_id = #{memCardId,jdbcType=BIGINT},", |
|
|
|
|
"mem_card_type = #{memCardType,jdbcType=INTEGER},", |
|
|
|
|
"mem_card_no = #{memCardNo,jdbcType=VARCHAR},", |
|
|
|
|
"freight_price = #{freightPrice,jdbcType=DECIMAL},", |
|
|
|
|
"goods_total_price = #{goodsTotalPrice,jdbcType=DECIMAL},", |
|
|
|
|
"total_price = #{totalPrice,jdbcType=DECIMAL},", |
|
|
|
|
"payable_price = #{payablePrice,jdbcType=DECIMAL},", |
|
|
|
|
"pay_price = #{payPrice,jdbcType=DECIMAL},", |
|
|
|
|