|
|
|
@ -52,7 +52,7 @@ public interface BsOrderChildMapper extends BsOrderChildMapperExt { |
|
|
|
|
"settle_account, settle_account_key, ", |
|
|
|
|
"create_time, update_time, ", |
|
|
|
|
"finish_time, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"ext_2, ext_3, channel_order_no)", |
|
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{childOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{merId,jdbcType=BIGINT}, #{productType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, ", |
|
|
|
@ -66,7 +66,7 @@ public interface BsOrderChildMapper extends BsOrderChildMapperExt { |
|
|
|
|
"#{settleAccount,jdbcType=VARCHAR}, #{settleAccountKey,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{finishTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{channelOrderNo,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(BsOrderChild record); |
|
|
|
@ -105,7 +105,8 @@ public interface BsOrderChildMapper extends BsOrderChildMapperExt { |
|
|
|
|
@Result(column="finish_time", property="finishTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@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) |
|
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="channel_order_no", property="channelOrderNo", jdbcType=JdbcType.VARCHAR) |
|
|
|
|
}) |
|
|
|
|
List<BsOrderChild> selectByExample(BsOrderChildExample example); |
|
|
|
|
|
|
|
|
@ -116,7 +117,7 @@ public interface BsOrderChildMapper extends BsOrderChildMapperExt { |
|
|
|
|
"product_total_price, total_deduction_price, coupon_discount_price, integral_discount_price, ", |
|
|
|
|
"product_actual_price, surplus_refund_count, surplus_refund_price, surplus_refund_integral, ", |
|
|
|
|
"`status`, settle_account, settle_account_key, create_time, update_time, finish_time, ", |
|
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
|
"ext_1, ext_2, ext_3, channel_order_no", |
|
|
|
|
"from bs_order_child", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -149,7 +150,8 @@ public interface BsOrderChildMapper extends BsOrderChildMapperExt { |
|
|
|
|
@Result(column="finish_time", property="finishTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@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) |
|
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="channel_order_no", property="channelOrderNo", jdbcType=JdbcType.VARCHAR) |
|
|
|
|
}) |
|
|
|
|
BsOrderChild selectByPrimaryKey(Long id); |
|
|
|
|
|
|
|
|
@ -191,7 +193,8 @@ public interface BsOrderChildMapper extends BsOrderChildMapperExt { |
|
|
|
|
"finish_time = #{finishTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR}", |
|
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR},", |
|
|
|
|
"channel_order_no = #{channelOrderNo,jdbcType=VARCHAR}", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
|
int updateByPrimaryKey(BsOrderChild record); |
|
|
|
|