|
|
|
@ -44,43 +44,45 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"mem_name, mem_phone, ", |
|
|
|
|
"mem_card_id, mem_card_type, ", |
|
|
|
|
"mem_card_no, pay_model, ", |
|
|
|
|
"pay_type, pay_gold, ", |
|
|
|
|
"pay_price, pay_real_price, ", |
|
|
|
|
"pay_serial_no, deduction_price, ", |
|
|
|
|
"order_status, total_price, ", |
|
|
|
|
"create_time, pay_time, ", |
|
|
|
|
"cancel_time, cancel_remarks, ", |
|
|
|
|
"finish_time, remarks, ", |
|
|
|
|
"refund_no, refund_time, ", |
|
|
|
|
"refund_price, refund_content, ", |
|
|
|
|
"refusal_refund_content, Identification_code, ", |
|
|
|
|
"profit_sharing_status, profit_sharing_ratio, ", |
|
|
|
|
"account_merchant_num, product_type, ", |
|
|
|
|
"print_status, print_num, ", |
|
|
|
|
"whether_check, region_id, ", |
|
|
|
|
"company_id, merch_id, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"pay_type, payable_price, ", |
|
|
|
|
"pay_gold, pay_price, ", |
|
|
|
|
"pay_real_price, pay_serial_no, ", |
|
|
|
|
"deduction_price, order_status, ", |
|
|
|
|
"total_price, create_time, ", |
|
|
|
|
"pay_time, cancel_time, ", |
|
|
|
|
"cancel_remarks, finish_time, ", |
|
|
|
|
"remarks, refund_no, ", |
|
|
|
|
"refund_time, refund_price, ", |
|
|
|
|
"refund_content, refusal_refund_content, ", |
|
|
|
|
"Identification_code, profit_sharing_status, ", |
|
|
|
|
"profit_sharing_ratio, account_merchant_num, ", |
|
|
|
|
"product_type, print_status, ", |
|
|
|
|
"print_num, whether_check, ", |
|
|
|
|
"region_id, company_id, ", |
|
|
|
|
"merch_id, ext_1, ext_2, ", |
|
|
|
|
"ext_3)", |
|
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{memDiscountId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{memDiscountName,jdbcType=VARCHAR}, #{memId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{memName,jdbcType=VARCHAR}, #{memPhone,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{memCardId,jdbcType=BIGINT}, #{memCardType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{memCardNo,jdbcType=VARCHAR}, #{payModel,jdbcType=INTEGER}, ", |
|
|
|
|
"#{payType,jdbcType=INTEGER}, #{payGold,jdbcType=INTEGER}, ", |
|
|
|
|
"#{payPrice,jdbcType=DECIMAL}, #{payRealPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{paySerialNo,jdbcType=VARCHAR}, #{deductionPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{orderStatus,jdbcType=INTEGER}, #{totalPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{cancelRemarks,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{finishTime,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundNo,jdbcType=VARCHAR}, #{refundTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{refundPrice,jdbcType=DECIMAL}, #{refundContent,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refusalRefundContent,jdbcType=VARCHAR}, #{identificationCode,jdbcType=BIGINT}, ", |
|
|
|
|
"#{profitSharingStatus,jdbcType=BIT}, #{profitSharingRatio,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{accountMerchantNum,jdbcType=VARCHAR}, #{productType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{printStatus,jdbcType=BIT}, #{printNum,jdbcType=INTEGER}, ", |
|
|
|
|
"#{whetherCheck,jdbcType=BIT}, #{regionId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{companyId,jdbcType=BIGINT}, #{merchId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{payType,jdbcType=INTEGER}, #{payablePrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{payGold,jdbcType=INTEGER}, #{payPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{payRealPrice,jdbcType=DECIMAL}, #{paySerialNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{deductionPrice,jdbcType=DECIMAL}, #{orderStatus,jdbcType=INTEGER}, ", |
|
|
|
|
"#{totalPrice,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{cancelRemarks,jdbcType=VARCHAR}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{remarks,jdbcType=VARCHAR}, #{refundNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{refundPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{refundContent,jdbcType=VARCHAR}, #{refusalRefundContent,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{identificationCode,jdbcType=BIGINT}, #{profitSharingStatus,jdbcType=BIT}, ", |
|
|
|
|
"#{profitSharingRatio,jdbcType=DECIMAL}, #{accountMerchantNum,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{productType,jdbcType=INTEGER}, #{printStatus,jdbcType=BIT}, ", |
|
|
|
|
"#{printNum,jdbcType=INTEGER}, #{whetherCheck,jdbcType=BIT}, ", |
|
|
|
|
"#{regionId,jdbcType=VARCHAR}, #{companyId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{merchId,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(HighOrder record); |
|
|
|
@ -103,6 +105,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="mem_card_no", property="memCardNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_model", property="payModel", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_gold", property="payGold", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@ -141,12 +144,13 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, order_no, mem_discount_id, mem_discount_name, mem_id, mem_name, mem_phone, ", |
|
|
|
|
"mem_card_id, mem_card_type, mem_card_no, pay_model, pay_type, pay_gold, pay_price, ", |
|
|
|
|
"pay_real_price, pay_serial_no, deduction_price, order_status, total_price, create_time, ", |
|
|
|
|
"pay_time, cancel_time, cancel_remarks, finish_time, remarks, refund_no, refund_time, ", |
|
|
|
|
"refund_price, refund_content, refusal_refund_content, Identification_code, profit_sharing_status, ", |
|
|
|
|
"profit_sharing_ratio, account_merchant_num, product_type, print_status, print_num, ", |
|
|
|
|
"whether_check, region_id, company_id, merch_id, ext_1, ext_2, ext_3", |
|
|
|
|
"mem_card_id, mem_card_type, mem_card_no, pay_model, pay_type, payable_price, ", |
|
|
|
|
"pay_gold, pay_price, pay_real_price, pay_serial_no, deduction_price, order_status, ", |
|
|
|
|
"total_price, create_time, pay_time, cancel_time, cancel_remarks, finish_time, ", |
|
|
|
|
"remarks, refund_no, refund_time, refund_price, refund_content, refusal_refund_content, ", |
|
|
|
|
"Identification_code, profit_sharing_status, profit_sharing_ratio, account_merchant_num, ", |
|
|
|
|
"product_type, print_status, print_num, whether_check, region_id, company_id, ", |
|
|
|
|
"merch_id, ext_1, ext_2, ext_3", |
|
|
|
|
"from high_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -163,6 +167,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="mem_card_no", property="memCardNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_model", property="payModel", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_gold", property="payGold", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@ -220,6 +225,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"mem_card_no = #{memCardNo,jdbcType=VARCHAR},", |
|
|
|
|
"pay_model = #{payModel,jdbcType=INTEGER},", |
|
|
|
|
"pay_type = #{payType,jdbcType=INTEGER},", |
|
|
|
|
"payable_price = #{payablePrice,jdbcType=DECIMAL},", |
|
|
|
|
"pay_gold = #{payGold,jdbcType=INTEGER},", |
|
|
|
|
"pay_price = #{payPrice,jdbcType=DECIMAL},", |
|
|
|
|
"pay_real_price = #{payRealPrice,jdbcType=DECIMAL},", |
|
|
|
|