|
|
|
@ -57,8 +57,8 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"profit_sharing_status, profit_sharing_ratio, ", |
|
|
|
|
"account_merchant_num, print_status, ", |
|
|
|
|
"print_num, region_id, ", |
|
|
|
|
"company_id, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"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}, ", |
|
|
|
@ -77,8 +77,8 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"#{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})" |
|
|
|
|
"#{companyId,jdbcType=BIGINT}, #{merchId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(HighOrder record); |
|
|
|
@ -127,6 +127,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@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="merch_id", property="merchId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@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) |
|
|
|
@ -141,7 +142,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"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, ext_1, ext_2, ext_3", |
|
|
|
|
"company_id, merch_id, ext_1, ext_2, ext_3", |
|
|
|
|
"from high_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -184,6 +185,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@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="merch_id", property="merchId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@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) |
|
|
|
@ -238,6 +240,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"print_num = #{printNum,jdbcType=INTEGER},", |
|
|
|
|
"region_id = #{regionId,jdbcType=VARCHAR},", |
|
|
|
|
"company_id = #{companyId,jdbcType=BIGINT},", |
|
|
|
|
"merch_id = #{merchId,jdbcType=VARCHAR},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR}", |
|
|
|
|