|
|
|
@ -56,7 +56,8 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"Identification_code, profit_sharing_status, ", |
|
|
|
|
"profit_sharing_ratio, account_merchant_num, ", |
|
|
|
|
"print_status, print_num, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"region_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}, ", |
|
|
|
@ -74,7 +75,8 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"#{identificationCode,jdbcType=BIGINT}, #{profitSharingStatus,jdbcType=BIT}, ", |
|
|
|
|
"#{profitSharingRatio,jdbcType=DECIMAL}, #{accountMerchantNum,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{printStatus,jdbcType=BIT}, #{printNum,jdbcType=INTEGER}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{regionId,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(HighOrder record); |
|
|
|
@ -120,6 +122,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="account_merchant_num", property="accountMerchantNum", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@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="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) |
|
|
|
@ -133,8 +136,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_time, refund_price, ", |
|
|
|
|
"refund_content, refusal_refund_content, Identification_code, profit_sharing_status, ", |
|
|
|
|
"profit_sharing_ratio, account_merchant_num, print_status, print_num, ext_1, ", |
|
|
|
|
"ext_2, ext_3", |
|
|
|
|
"profit_sharing_ratio, account_merchant_num, print_status, print_num, region_id, ", |
|
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
|
"from high_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -174,6 +177,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="account_merchant_num", property="accountMerchantNum", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@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="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) |
|
|
|
@ -225,6 +229,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"account_merchant_num = #{accountMerchantNum,jdbcType=VARCHAR},", |
|
|
|
|
"print_status = #{printStatus,jdbcType=BIT},", |
|
|
|
|
"print_num = #{printNum,jdbcType=INTEGER},", |
|
|
|
|
"region_id = #{regionId,jdbcType=VARCHAR},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR}", |
|
|
|
|