|
|
|
@ -40,13 +40,13 @@ public interface OutRechargeChildOrderMapper extends OutRechargeChildOrderMapper |
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
|
"insert into out_recharge_child_order (parent_order_id, order_no, ", |
|
|
|
|
"recharge_platform, create_time, ", |
|
|
|
|
"`status`, ext_1, ext_2, ", |
|
|
|
|
"ext_3)", |
|
|
|
|
"recharge_platform, update_time, ", |
|
|
|
|
"create_time, `status`, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"values (#{parentOrderId,jdbcType=BIGINT}, #{orderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{rechargePlatform,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{rechargePlatform,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(OutRechargeChildOrder record); |
|
|
|
@ -61,6 +61,7 @@ public interface OutRechargeChildOrderMapper extends OutRechargeChildOrderMapper |
|
|
|
|
@Result(column="parent_order_id", property="parentOrderId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="recharge_platform", property="rechargePlatform", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -71,8 +72,8 @@ public interface OutRechargeChildOrderMapper extends OutRechargeChildOrderMapper |
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, parent_order_id, order_no, recharge_platform, create_time, `status`, ext_1, ", |
|
|
|
|
"ext_2, ext_3", |
|
|
|
|
"id, parent_order_id, order_no, recharge_platform, update_time, create_time, ", |
|
|
|
|
"`status`, ext_1, ext_2, ext_3", |
|
|
|
|
"from out_recharge_child_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -81,6 +82,7 @@ public interface OutRechargeChildOrderMapper extends OutRechargeChildOrderMapper |
|
|
|
|
@Result(column="parent_order_id", property="parentOrderId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="recharge_platform", property="rechargePlatform", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -103,6 +105,7 @@ public interface OutRechargeChildOrderMapper extends OutRechargeChildOrderMapper |
|
|
|
|
"set parent_order_id = #{parentOrderId,jdbcType=BIGINT},", |
|
|
|
|
"order_no = #{orderNo,jdbcType=VARCHAR},", |
|
|
|
|
"recharge_platform = #{rechargePlatform,jdbcType=INTEGER},", |
|
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|