|
|
|
@ -40,8 +40,9 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
|
"insert into bs_order_meituan (order_no, child_order_no, ", |
|
|
|
|
"trade_no, sqt_biz_order_id, ", |
|
|
|
|
"mer_id, mer_name, user_id, ", |
|
|
|
|
"trade_no, third_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, ", |
|
|
|
@ -63,8 +64,9 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
|
"exception_msg, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{childOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{tradeNo,jdbcType=VARCHAR}, #{sqtBizOrderId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{tradeNo,jdbcType=VARCHAR}, #{thirdTradeNo,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}, ", |
|
|
|
|
"#{img,jdbcType=VARCHAR}, #{goodsName,jdbcType=VARCHAR}, ", |
|
|
|
@ -99,6 +101,7 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
|
@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="third_trade_no", property="thirdTradeNo", 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), |
|
|
|
@ -148,15 +151,15 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"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, notify_url, return_url, pay_real_price, ", |
|
|
|
|
"ent_pay_amount, trade_amount, business_discount_pay_amount, service_fee_amount, ", |
|
|
|
|
"service_price, 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, third_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, notify_url, return_url, ", |
|
|
|
|
"pay_real_price, ent_pay_amount, trade_amount, business_discount_pay_amount, ", |
|
|
|
|
"service_fee_amount, service_price, 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}" |
|
|
|
|
}) |
|
|
|
@ -165,6 +168,7 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
|
@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="third_trade_no", property="thirdTradeNo", 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), |
|
|
|
@ -226,6 +230,7 @@ public interface BsOrderMeituanMapper extends BsOrderMeituanMapperExt { |
|
|
|
|
"set order_no = #{orderNo,jdbcType=VARCHAR},", |
|
|
|
|
"child_order_no = #{childOrderNo,jdbcType=VARCHAR},", |
|
|
|
|
"trade_no = #{tradeNo,jdbcType=VARCHAR},", |
|
|
|
|
"third_trade_no = #{thirdTradeNo,jdbcType=VARCHAR},", |
|
|
|
|
"sqt_biz_order_id = #{sqtBizOrderId,jdbcType=VARCHAR},", |
|
|
|
|
"mer_id = #{merId,jdbcType=BIGINT},", |
|
|
|
|
"mer_name = #{merName,jdbcType=VARCHAR},", |
|
|
|
|