|
|
|
@ -58,9 +58,9 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"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)", |
|
|
|
|
"whether_rebate, 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}, ", |
|
|
|
@ -80,9 +80,9 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"#{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})" |
|
|
|
|
"#{whetherRebate,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); |
|
|
|
@ -132,6 +132,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="whether_check", property="whetherCheck", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="whether_rebate", property="whetherRebate", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="region_id", property="regionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="merch_id", property="merchId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -149,8 +150,8 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"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", |
|
|
|
|
"product_type, print_status, print_num, whether_check, whether_rebate, region_id, ", |
|
|
|
|
"company_id, merch_id, ext_1, ext_2, ext_3", |
|
|
|
|
"from high_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -194,6 +195,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="whether_check", property="whetherCheck", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="whether_rebate", property="whetherRebate", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="region_id", property="regionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="merch_id", property="merchId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -252,6 +254,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"print_status = #{printStatus,jdbcType=BIT},", |
|
|
|
|
"print_num = #{printNum,jdbcType=INTEGER},", |
|
|
|
|
"whether_check = #{whetherCheck,jdbcType=BIT},", |
|
|
|
|
"whether_rebate = #{whetherRebate,jdbcType=BIT},", |
|
|
|
|
"region_id = #{regionId,jdbcType=VARCHAR},", |
|
|
|
|
"company_id = #{companyId,jdbcType=BIGINT},", |
|
|
|
|
"merch_id = #{merchId,jdbcType=VARCHAR},", |
|
|
|
|