|
|
@ -50,16 +50,16 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
"coupon_discount_price, integral_discount_price, ", |
|
|
|
"coupon_discount_price, integral_discount_price, ", |
|
|
|
"platform_code, pay_real_price, ", |
|
|
|
"platform_code, pay_real_price, ", |
|
|
|
"ent_pay_amount, business_discount_pay_amount, ", |
|
|
|
"ent_pay_amount, business_discount_pay_amount, ", |
|
|
|
"service_fee_amount, pay_channel, ", |
|
|
|
"service_fee_amount, service_price, ", |
|
|
|
"pay_serial_no, pay_type, ", |
|
|
|
"pay_channel, pay_serial_no, ", |
|
|
|
"`status`, meituan_status, ", |
|
|
|
"pay_type, `status`, ", |
|
|
|
"staff_info, business_info, ", |
|
|
|
"meituan_status, staff_info, ", |
|
|
|
"trade_expiring_time, create_time, ", |
|
|
|
"business_info, trade_expiring_time, ", |
|
|
|
"pay_time, cancel_time, ", |
|
|
|
"create_time, pay_time, ", |
|
|
|
"refund_time, finish_time, ", |
|
|
|
"cancel_time, refund_time, ", |
|
|
|
"update_time, exception_status, ", |
|
|
|
"finish_time, update_time, ", |
|
|
|
"exception_msg, ext_1, ", |
|
|
|
"exception_status, exception_msg, ", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{childOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{childOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{tradeNo,jdbcType=VARCHAR}, #{sqtBizOrderId,jdbcType=VARCHAR}, ", |
|
|
|
"#{tradeNo,jdbcType=VARCHAR}, #{sqtBizOrderId,jdbcType=VARCHAR}, ", |
|
|
|
"#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
"#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
@ -71,16 +71,16 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
"#{couponDiscountPrice,jdbcType=DECIMAL}, #{integralDiscountPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{couponDiscountPrice,jdbcType=DECIMAL}, #{integralDiscountPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{platformCode,jdbcType=VARCHAR}, #{payRealPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{platformCode,jdbcType=VARCHAR}, #{payRealPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{entPayAmount,jdbcType=DECIMAL}, #{businessDiscountPayAmount,jdbcType=DECIMAL}, ", |
|
|
|
"#{entPayAmount,jdbcType=DECIMAL}, #{businessDiscountPayAmount,jdbcType=DECIMAL}, ", |
|
|
|
"#{serviceFeeAmount,jdbcType=DECIMAL}, #{payChannel,jdbcType=INTEGER}, ", |
|
|
|
"#{serviceFeeAmount,jdbcType=DECIMAL}, #{servicePrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{paySerialNo,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
"#{payChannel,jdbcType=INTEGER}, #{paySerialNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{meituanStatus,jdbcType=INTEGER}, ", |
|
|
|
"#{payType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{staffInfo,jdbcType=VARCHAR}, #{businessInfo,jdbcType=VARCHAR}, ", |
|
|
|
"#{meituanStatus,jdbcType=INTEGER}, #{staffInfo,jdbcType=VARCHAR}, ", |
|
|
|
"#{tradeExpiringTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{businessInfo,jdbcType=VARCHAR}, #{tradeExpiringTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{refundTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{exceptionStatus,jdbcType=BIT}, ", |
|
|
|
"#{finishTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{exceptionMsg,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{exceptionStatus,jdbcType=BIT}, #{exceptionMsg,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext2,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(BsOrderMeituan record); |
|
|
|
int insert(BsOrderMeituan record); |
|
|
@ -116,6 +116,7 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
@Result(column="ent_pay_amount", property="entPayAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="ent_pay_amount", property="entPayAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="business_discount_pay_amount", property="businessDiscountPayAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="business_discount_pay_amount", property="businessDiscountPayAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="service_fee_amount", property="serviceFeeAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="service_fee_amount", property="serviceFeeAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="service_price", property="servicePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_channel", property="payChannel", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_channel", property="payChannel", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
@ -144,10 +145,10 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
"user_id, user_phone, first_business_type, second_business_type, ent_id, img, ", |
|
|
|
"user_id, user_phone, first_business_type, second_business_type, ent_id, img, ", |
|
|
|
"goods_name, trace_id, goods_count, total_price, total_deduction_price, coupon_discount_price, ", |
|
|
|
"goods_name, trace_id, goods_count, total_price, total_deduction_price, coupon_discount_price, ", |
|
|
|
"integral_discount_price, platform_code, pay_real_price, ent_pay_amount, business_discount_pay_amount, ", |
|
|
|
"integral_discount_price, platform_code, pay_real_price, ent_pay_amount, business_discount_pay_amount, ", |
|
|
|
"service_fee_amount, pay_channel, pay_serial_no, pay_type, `status`, meituan_status, ", |
|
|
|
"service_fee_amount, service_price, pay_channel, pay_serial_no, pay_type, `status`, ", |
|
|
|
"staff_info, business_info, trade_expiring_time, create_time, pay_time, cancel_time, ", |
|
|
|
"meituan_status, staff_info, business_info, trade_expiring_time, create_time, ", |
|
|
|
"refund_time, finish_time, update_time, exception_status, exception_msg, ext_1, ", |
|
|
|
"pay_time, cancel_time, refund_time, finish_time, update_time, exception_status, ", |
|
|
|
"ext_2, ext_3", |
|
|
|
"exception_msg, ext_1, ext_2, ext_3", |
|
|
|
"from bs_order_meituan", |
|
|
|
"from bs_order_meituan", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -177,6 +178,7 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
@Result(column="ent_pay_amount", property="entPayAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="ent_pay_amount", property="entPayAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="business_discount_pay_amount", property="businessDiscountPayAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="business_discount_pay_amount", property="businessDiscountPayAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="service_fee_amount", property="serviceFeeAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="service_fee_amount", property="serviceFeeAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="service_price", property="servicePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_channel", property="payChannel", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_channel", property="payChannel", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
@ -234,6 +236,7 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
"ent_pay_amount = #{entPayAmount,jdbcType=DECIMAL},", |
|
|
|
"ent_pay_amount = #{entPayAmount,jdbcType=DECIMAL},", |
|
|
|
"business_discount_pay_amount = #{businessDiscountPayAmount,jdbcType=DECIMAL},", |
|
|
|
"business_discount_pay_amount = #{businessDiscountPayAmount,jdbcType=DECIMAL},", |
|
|
|
"service_fee_amount = #{serviceFeeAmount,jdbcType=DECIMAL},", |
|
|
|
"service_fee_amount = #{serviceFeeAmount,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"service_price = #{servicePrice,jdbcType=DECIMAL},", |
|
|
|
"pay_channel = #{payChannel,jdbcType=INTEGER},", |
|
|
|
"pay_channel = #{payChannel,jdbcType=INTEGER},", |
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
"pay_type = #{payType,jdbcType=INTEGER},", |
|
|
|
"pay_type = #{payType,jdbcType=INTEGER},", |
|
|
|