|
|
|
@ -40,8 +40,7 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
|
"insert into bs_order_meituan (order_no, child_order_no, ", |
|
|
|
|
"trade_no, sqt_biz_order_id |
|
|
|
|
sqt_biz_order_id, ", |
|
|
|
|
"trade_no, sqt_biz_order_id, ", |
|
|
|
|
"mer_id, mer_name, user_id, ", |
|
|
|
|
"user_phone, first_business_type, ", |
|
|
|
|
"second_business_type, ent_id, ", |
|
|
|
@ -62,8 +61,7 @@ sqt_biz_order_id, ", |
|
|
|
|
"exception_msg, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{childOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{tradeNo,jdbcType=VARCHAR}, #{sqtBizOrderId |
|
|
|
|
sqtBizOrderId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{tradeNo,jdbcType=VARCHAR}, #{sqtBizOrderId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{userPhone,jdbcType=VARCHAR}, #{firstBusinessType,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{secondBusinessType,jdbcType=VARCHAR}, #{entId,jdbcType=BIGINT}, ", |
|
|
|
@ -97,9 +95,7 @@ sqtBizOrderId,jdbcType=VARCHAR}, ", |
|
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="child_order_no", property="childOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="trade_no", property="tradeNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="sqt_biz_order_id |
|
|
|
|
sqt_biz_order_id", property="sqtBizOrderId |
|
|
|
|
sqtBizOrderId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="sqt_biz_order_id", property="sqtBizOrderId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="mer_id", property="merId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="mer_name", property="merName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@ -144,15 +140,14 @@ sqtBizOrderId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, order_no, child_order_no, trade_no, sqt_biz_order_id |
|
|
|
|
sqt_biz_order_id, mer_id, ", |
|
|
|
|
"mer_name, 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, 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, staff_info, business_info, ", |
|
|
|
|
"trade_expiring_time, create_time, pay_time, cancel_time, refund_time, finish_time, ", |
|
|
|
|
"update_time, exception_status, exception_msg, ext_1, ext_2, ext_3", |
|
|
|
|
"id, order_no, child_order_no, trade_no, sqt_biz_order_id, mer_id, mer_name, ", |
|
|
|
|
"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, ", |
|
|
|
|
"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, ", |
|
|
|
|
"staff_info, business_info, trade_expiring_time, create_time, pay_time, cancel_time, ", |
|
|
|
|
"refund_time, finish_time, update_time, exception_status, exception_msg, ext_1, ", |
|
|
|
|
"ext_2, ext_3", |
|
|
|
|
"from bs_order_meituan", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -161,9 +156,7 @@ sqt_biz_order_id, mer_id, ", |
|
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="child_order_no", property="childOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="trade_no", property="tradeNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="sqt_biz_order_id |
|
|
|
|
sqt_biz_order_id", property="sqtBizOrderId |
|
|
|
|
sqtBizOrderId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="sqt_biz_order_id", property="sqtBizOrderId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="mer_id", property="merId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="mer_name", property="merName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@ -220,9 +213,7 @@ sqtBizOrderId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
"set order_no = #{orderNo,jdbcType=VARCHAR},", |
|
|
|
|
"child_order_no = #{childOrderNo,jdbcType=VARCHAR},", |
|
|
|
|
"trade_no = #{tradeNo,jdbcType=VARCHAR},", |
|
|
|
|
"sqt_biz_order_id |
|
|
|
|
sqt_biz_order_id = #{sqtBizOrderId |
|
|
|
|
sqtBizOrderId,jdbcType=VARCHAR},", |
|
|
|
|
"sqt_biz_order_id = #{sqtBizOrderId,jdbcType=VARCHAR},", |
|
|
|
|
"mer_id = #{merId,jdbcType=BIGINT},", |
|
|
|
|
"mer_name = #{merName,jdbcType=VARCHAR},", |
|
|
|
|
"user_id = #{userId,jdbcType=BIGINT},", |
|
|
|
|