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