|
|
|
@ -55,10 +55,11 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"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, merch_id, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"account_merchant_num, product_type, ", |
|
|
|
|
"print_status, print_num, ", |
|
|
|
|
"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}, ", |
|
|
|
@ -75,10 +76,11 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"#{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}, #{merchId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{accountMerchantNum,jdbcType=VARCHAR}, #{productType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{printStatus,jdbcType=BIT}, #{printNum,jdbcType=INTEGER}, ", |
|
|
|
|
"#{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); |
|
|
|
@ -123,6 +125,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="profit_sharing_status", property="profitSharingStatus", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="profit_sharing_ratio", property="profitSharingRatio", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="account_merchant_num", property="accountMerchantNum", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="product_type", property="productType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@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), |
|
|
|
@ -141,8 +144,8 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"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, print_status, print_num, region_id, ", |
|
|
|
|
"company_id, merch_id, ext_1, ext_2, ext_3", |
|
|
|
|
"profit_sharing_ratio, account_merchant_num, product_type, print_status, print_num, ", |
|
|
|
|
"region_id, company_id, merch_id, ext_1, ext_2, ext_3", |
|
|
|
|
"from high_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -181,6 +184,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="profit_sharing_status", property="profitSharingStatus", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="profit_sharing_ratio", property="profitSharingRatio", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="account_merchant_num", property="accountMerchantNum", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="product_type", property="productType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@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), |
|
|
|
@ -236,6 +240,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"profit_sharing_status = #{profitSharingStatus,jdbcType=BIT},", |
|
|
|
|
"profit_sharing_ratio = #{profitSharingRatio,jdbcType=DECIMAL},", |
|
|
|
|
"account_merchant_num = #{accountMerchantNum,jdbcType=VARCHAR},", |
|
|
|
|
"product_type = #{productType,jdbcType=INTEGER},", |
|
|
|
|
"print_status = #{printStatus,jdbcType=BIT},", |
|
|
|
|
"print_num = #{printNum,jdbcType=INTEGER},", |
|
|
|
|
"region_id = #{regionId,jdbcType=VARCHAR},", |
|
|
|
|