|
|
|
@ -51,12 +51,13 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"create_time, pay_time, ", |
|
|
|
|
"cancel_time, cancel_remarks, ", |
|
|
|
|
"finish_time, remarks, ", |
|
|
|
|
"refund_time, refund_price, ", |
|
|
|
|
"refund_content, refusal_refund_content, ", |
|
|
|
|
"Identification_code, profit_sharing_status, ", |
|
|
|
|
"profit_sharing_ratio, account_merchant_num, ", |
|
|
|
|
"print_status, print_num, ", |
|
|
|
|
"region_id, ext_1, ", |
|
|
|
|
"refund_no, refund_time, ", |
|
|
|
|
"refund_price, refund_content, ", |
|
|
|
|
"refusal_refund_content, Identification_code, ", |
|
|
|
|
"profit_sharing_status, profit_sharing_ratio, ", |
|
|
|
|
"account_merchant_num, print_status, ", |
|
|
|
|
"print_num, region_id, ", |
|
|
|
|
"company_id, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{memDiscountId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{memDiscountName,jdbcType=VARCHAR}, #{memId,jdbcType=BIGINT}, ", |
|
|
|
@ -70,12 +71,13 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{cancelRemarks,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{finishTime,jdbcType=TIMESTAMP}, #{remarks,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}, ", |
|
|
|
|
"#{printStatus,jdbcType=BIT}, #{printNum,jdbcType=INTEGER}, ", |
|
|
|
|
"#{regionId,jdbcType=VARCHAR}, #{ext1,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}, #{printStatus,jdbcType=BIT}, ", |
|
|
|
|
"#{printNum,jdbcType=INTEGER}, #{regionId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{companyId,jdbcType=BIGINT}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@ -112,6 +114,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="cancel_remarks", property="cancelRemarks", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="finish_time", property="finishTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="remarks", property="remarks", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_no", property="refundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_content", property="refundContent", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -123,6 +126,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="print_status", property="printStatus", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="print_num", property="printNum", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="region_id", property="regionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="company_id", property="companyId", 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) |
|
|
|
@ -134,10 +138,10 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"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_time, refund_price, ", |
|
|
|
|
"refund_content, refusal_refund_content, Identification_code, profit_sharing_status, ", |
|
|
|
|
"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, print_status, print_num, region_id, ", |
|
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
|
"company_id, ext_1, ext_2, ext_3", |
|
|
|
|
"from high_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -167,6 +171,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="cancel_remarks", property="cancelRemarks", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="finish_time", property="finishTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="remarks", property="remarks", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_no", property="refundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_content", property="refundContent", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -178,6 +183,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="print_status", property="printStatus", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="print_num", property="printNum", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="region_id", property="regionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="company_id", property="companyId", 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) |
|
|
|
@ -219,6 +225,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"cancel_remarks = #{cancelRemarks,jdbcType=VARCHAR},", |
|
|
|
|
"finish_time = #{finishTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"remarks = #{remarks,jdbcType=VARCHAR},", |
|
|
|
|
"refund_no = #{refundNo,jdbcType=VARCHAR},", |
|
|
|
|
"refund_time = #{refundTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"refund_price = #{refundPrice,jdbcType=DECIMAL},", |
|
|
|
|
"refund_content = #{refundContent,jdbcType=VARCHAR},", |
|
|
|
@ -230,6 +237,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"print_status = #{printStatus,jdbcType=BIT},", |
|
|
|
|
"print_num = #{printNum,jdbcType=INTEGER},", |
|
|
|
|
"region_id = #{regionId,jdbcType=VARCHAR},", |
|
|
|
|
"company_id = #{companyId,jdbcType=BIGINT},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR}", |
|
|
|
|