|
|
@ -42,8 +42,9 @@ public interface BsOrderGoodsMapper extends BsOrderGoodsMapperExt { |
|
|
|
"insert into bs_order_goods (logistics_no, freight_price, ", |
|
|
|
"insert into bs_order_goods (logistics_no, freight_price, ", |
|
|
|
"delivery_address_id, delivery_address, ", |
|
|
|
"delivery_address_id, delivery_address, ", |
|
|
|
"order_no, child_order_no, ", |
|
|
|
"order_no, child_order_no, ", |
|
|
|
"mer_id, user_id, user_phone, ", |
|
|
|
"mer_id, mer_name, user_id, ", |
|
|
|
"goods_id, img, goods_name, ", |
|
|
|
"user_phone, goods_id, ", |
|
|
|
|
|
|
|
"img, goods_name, ", |
|
|
|
"goods_type_id, goods_type_name, ", |
|
|
|
"goods_type_id, goods_type_name, ", |
|
|
|
"goods_brand_id, goods_brand_name, ", |
|
|
|
"goods_brand_id, goods_brand_name, ", |
|
|
|
"goods_specs_id, goods_specs_name, ", |
|
|
|
"goods_specs_id, goods_specs_name, ", |
|
|
@ -62,8 +63,9 @@ public interface BsOrderGoodsMapper extends BsOrderGoodsMapperExt { |
|
|
|
"values (#{logisticsNo,jdbcType=VARCHAR}, #{freightPrice,jdbcType=DECIMAL}, ", |
|
|
|
"values (#{logisticsNo,jdbcType=VARCHAR}, #{freightPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{deliveryAddressId,jdbcType=BIGINT}, #{deliveryAddress,jdbcType=VARCHAR}, ", |
|
|
|
"#{deliveryAddressId,jdbcType=BIGINT}, #{deliveryAddress,jdbcType=VARCHAR}, ", |
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{childOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{childOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{merId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{userPhone,jdbcType=VARCHAR}, ", |
|
|
|
"#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
"#{goodsId,jdbcType=BIGINT}, #{img,jdbcType=VARCHAR}, #{goodsName,jdbcType=VARCHAR}, ", |
|
|
|
"#{userPhone,jdbcType=VARCHAR}, #{goodsId,jdbcType=BIGINT}, ", |
|
|
|
|
|
|
|
"#{img,jdbcType=VARCHAR}, #{goodsName,jdbcType=VARCHAR}, ", |
|
|
|
"#{goodsTypeId,jdbcType=BIGINT}, #{goodsTypeName,jdbcType=VARCHAR}, ", |
|
|
|
"#{goodsTypeId,jdbcType=BIGINT}, #{goodsTypeName,jdbcType=VARCHAR}, ", |
|
|
|
"#{goodsBrandId,jdbcType=BIGINT}, #{goodsBrandName,jdbcType=VARCHAR}, ", |
|
|
|
"#{goodsBrandId,jdbcType=BIGINT}, #{goodsBrandName,jdbcType=VARCHAR}, ", |
|
|
|
"#{goodsSpecsId,jdbcType=BIGINT}, #{goodsSpecsName,jdbcType=VARCHAR}, ", |
|
|
|
"#{goodsSpecsId,jdbcType=BIGINT}, #{goodsSpecsName,jdbcType=VARCHAR}, ", |
|
|
@ -97,6 +99,7 @@ public interface BsOrderGoodsMapper extends BsOrderGoodsMapperExt { |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="child_order_no", property="childOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="child_order_no", property="childOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="mer_id", property="merId", jdbcType=JdbcType.BIGINT), |
|
|
|
@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), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), |
|
|
@ -138,9 +141,9 @@ public interface BsOrderGoodsMapper extends BsOrderGoodsMapperExt { |
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, logistics_no, freight_price, delivery_address_id, delivery_address, order_no, ", |
|
|
|
"id, logistics_no, freight_price, delivery_address_id, delivery_address, order_no, ", |
|
|
|
"child_order_no, mer_id, user_id, user_phone, goods_id, img, goods_name, goods_type_id, ", |
|
|
|
"child_order_no, mer_id, mer_name, user_id, user_phone, goods_id, img, goods_name, ", |
|
|
|
"goods_type_name, goods_brand_id, goods_brand_name, goods_specs_id, goods_specs_name, ", |
|
|
|
"goods_type_id, goods_type_name, goods_brand_id, goods_brand_name, goods_specs_id, ", |
|
|
|
"goods_specs_original_price, goods_count, total_price, total_deduction_price, ", |
|
|
|
"goods_specs_name, goods_specs_original_price, goods_count, total_price, total_deduction_price, ", |
|
|
|
"coupon_discount_price, integral_discount_price, pay_real_price, pay_channel, ", |
|
|
|
"coupon_discount_price, integral_discount_price, pay_real_price, pay_channel, ", |
|
|
|
"pay_serial_no, pay_type, `status`, logistics_status_desc, logistics_status, ", |
|
|
|
"pay_serial_no, pay_type, `status`, logistics_status_desc, logistics_status, ", |
|
|
|
"create_time, pay_time, cancel_time, refund_time, finish_time, update_time, exception_status, ", |
|
|
|
"create_time, pay_time, cancel_time, refund_time, finish_time, update_time, exception_status, ", |
|
|
@ -157,6 +160,7 @@ public interface BsOrderGoodsMapper extends BsOrderGoodsMapperExt { |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="child_order_no", property="childOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="child_order_no", property="childOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="mer_id", property="merId", jdbcType=JdbcType.BIGINT), |
|
|
|
@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), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), |
|
|
@ -213,6 +217,7 @@ public interface BsOrderGoodsMapper extends BsOrderGoodsMapperExt { |
|
|
|
"order_no = #{orderNo,jdbcType=VARCHAR},", |
|
|
|
"order_no = #{orderNo,jdbcType=VARCHAR},", |
|
|
|
"child_order_no = #{childOrderNo,jdbcType=VARCHAR},", |
|
|
|
"child_order_no = #{childOrderNo,jdbcType=VARCHAR},", |
|
|
|
"mer_id = #{merId,jdbcType=BIGINT},", |
|
|
|
"mer_id = #{merId,jdbcType=BIGINT},", |
|
|
|
|
|
|
|
"mer_name = #{merName,jdbcType=VARCHAR},", |
|
|
|
"user_id = #{userId,jdbcType=BIGINT},", |
|
|
|
"user_id = #{userId,jdbcType=BIGINT},", |
|
|
|
"user_phone = #{userPhone,jdbcType=VARCHAR},", |
|
|
|
"user_phone = #{userPhone,jdbcType=VARCHAR},", |
|
|
|
"goods_id = #{goodsId,jdbcType=BIGINT},", |
|
|
|
"goods_id = #{goodsId,jdbcType=BIGINT},", |
|
|
|