|
|
@ -57,9 +57,9 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
"profit_sharing_status, profit_sharing_ratio, ", |
|
|
|
"profit_sharing_status, profit_sharing_ratio, ", |
|
|
|
"account_merchant_num, product_type, ", |
|
|
|
"account_merchant_num, product_type, ", |
|
|
|
"print_status, print_num, ", |
|
|
|
"print_status, print_num, ", |
|
|
|
"region_id, company_id, ", |
|
|
|
"whether_check, region_id, ", |
|
|
|
"merch_id, ext_1, ext_2, ", |
|
|
|
"company_id, merch_id, ", |
|
|
|
"ext_3)", |
|
|
|
"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}, ", |
|
|
@ -78,9 +78,9 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
"#{profitSharingStatus,jdbcType=BIT}, #{profitSharingRatio,jdbcType=DECIMAL}, ", |
|
|
|
"#{profitSharingStatus,jdbcType=BIT}, #{profitSharingRatio,jdbcType=DECIMAL}, ", |
|
|
|
"#{accountMerchantNum,jdbcType=VARCHAR}, #{productType,jdbcType=INTEGER}, ", |
|
|
|
"#{accountMerchantNum,jdbcType=VARCHAR}, #{productType,jdbcType=INTEGER}, ", |
|
|
|
"#{printStatus,jdbcType=BIT}, #{printNum,jdbcType=INTEGER}, ", |
|
|
|
"#{printStatus,jdbcType=BIT}, #{printNum,jdbcType=INTEGER}, ", |
|
|
|
"#{regionId,jdbcType=VARCHAR}, #{companyId,jdbcType=BIGINT}, ", |
|
|
|
"#{whetherCheck,jdbcType=BIT}, #{regionId,jdbcType=VARCHAR}, ", |
|
|
|
"#{merchId,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", |
|
|
|
"#{companyId,jdbcType=BIGINT}, #{merchId,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext3,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); |
|
|
@ -128,6 +128,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
@Result(column="product_type", property="productType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="product_type", property="productType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="print_status", property="printStatus", jdbcType=JdbcType.BIT), |
|
|
|
@Result(column="print_status", property="printStatus", jdbcType=JdbcType.BIT), |
|
|
|
@Result(column="print_num", property="printNum", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="print_num", property="printNum", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="whether_check", property="whetherCheck", jdbcType=JdbcType.BIT), |
|
|
|
@Result(column="region_id", property="regionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="region_id", property="regionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="merch_id", property="merchId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="merch_id", property="merchId", jdbcType=JdbcType.VARCHAR), |
|
|
@ -145,7 +146,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
"pay_time, cancel_time, cancel_remarks, finish_time, remarks, refund_no, refund_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, ", |
|
|
|
"refund_price, refund_content, refusal_refund_content, Identification_code, profit_sharing_status, ", |
|
|
|
"profit_sharing_ratio, account_merchant_num, product_type, print_status, print_num, ", |
|
|
|
"profit_sharing_ratio, account_merchant_num, product_type, print_status, print_num, ", |
|
|
|
"region_id, company_id, merch_id, ext_1, ext_2, ext_3", |
|
|
|
"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}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -187,6 +188,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
@Result(column="product_type", property="productType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="product_type", property="productType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="print_status", property="printStatus", jdbcType=JdbcType.BIT), |
|
|
|
@Result(column="print_status", property="printStatus", jdbcType=JdbcType.BIT), |
|
|
|
@Result(column="print_num", property="printNum", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="print_num", property="printNum", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="whether_check", property="whetherCheck", jdbcType=JdbcType.BIT), |
|
|
|
@Result(column="region_id", property="regionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="region_id", property="regionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="merch_id", property="merchId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="merch_id", property="merchId", jdbcType=JdbcType.VARCHAR), |
|
|
@ -243,6 +245,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
"product_type = #{productType,jdbcType=INTEGER},", |
|
|
|
"product_type = #{productType,jdbcType=INTEGER},", |
|
|
|
"print_status = #{printStatus,jdbcType=BIT},", |
|
|
|
"print_status = #{printStatus,jdbcType=BIT},", |
|
|
|
"print_num = #{printNum,jdbcType=INTEGER},", |
|
|
|
"print_num = #{printNum,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"whether_check = #{whetherCheck,jdbcType=BIT},", |
|
|
|
"region_id = #{regionId,jdbcType=VARCHAR},", |
|
|
|
"region_id = #{regionId,jdbcType=VARCHAR},", |
|
|
|
"company_id = #{companyId,jdbcType=BIGINT},", |
|
|
|
"company_id = #{companyId,jdbcType=BIGINT},", |
|
|
|
"merch_id = #{merchId,jdbcType=VARCHAR},", |
|
|
|
"merch_id = #{merchId,jdbcType=VARCHAR},", |
|
|
|