|
|
|
@ -42,17 +42,19 @@ public interface HighRefundAuditMapper extends HighRefundAuditMapperExt { |
|
|
|
|
"insert into high_refund_audit (refund_source, refund_price, ", |
|
|
|
|
"pay_type, source_order_no, ", |
|
|
|
|
"pay_time, created_user_id, ", |
|
|
|
|
"created_time, updated_user_id, ", |
|
|
|
|
"created_time, created_user_name, ", |
|
|
|
|
"updated_user_id, updated_user_name, ", |
|
|
|
|
"updated_time, remark, ", |
|
|
|
|
"`status`, ext_1, ext_2, ", |
|
|
|
|
"ext_3)", |
|
|
|
|
"`status`, compan_id, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"values (#{refundSource,jdbcType=INTEGER}, #{refundPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{payType,jdbcType=INTEGER}, #{sourceOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{createdUserId,jdbcType=INTEGER}, ", |
|
|
|
|
"#{createdTime,jdbcType=TIMESTAMP}, #{updatedUserId,jdbcType=INTEGER}, ", |
|
|
|
|
"#{createdTime,jdbcType=TIMESTAMP}, #{createdUserName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{updatedUserId,jdbcType=INTEGER}, #{updatedUserName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{updatedTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{status,jdbcType=INTEGER}, #{companId,jdbcType=INTEGER}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(HighRefundAudit record); |
|
|
|
@ -71,10 +73,13 @@ public interface HighRefundAuditMapper extends HighRefundAuditMapperExt { |
|
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="created_user_id", property="createdUserId", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="created_time", property="createdTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="created_user_name", property="createdUserName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="updated_user_id", property="updatedUserId", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="updated_user_name", property="updatedUserName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="updated_time", property="updatedTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="compan_id", property="companId", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@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) |
|
|
|
@ -84,8 +89,8 @@ public interface HighRefundAuditMapper extends HighRefundAuditMapperExt { |
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, refund_source, refund_price, pay_type, source_order_no, pay_time, created_user_id, ", |
|
|
|
|
"created_time, updated_user_id, updated_time, remark, `status`, ext_1, ext_2, ", |
|
|
|
|
"ext_3", |
|
|
|
|
"created_time, created_user_name, updated_user_id, updated_user_name, updated_time, ", |
|
|
|
|
"remark, `status`, compan_id, ext_1, ext_2, ext_3", |
|
|
|
|
"from high_refund_audit", |
|
|
|
|
"where id = #{id,jdbcType=INTEGER}" |
|
|
|
|
}) |
|
|
|
@ -98,10 +103,13 @@ public interface HighRefundAuditMapper extends HighRefundAuditMapperExt { |
|
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="created_user_id", property="createdUserId", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="created_time", property="createdTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="created_user_name", property="createdUserName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="updated_user_id", property="updatedUserId", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="updated_user_name", property="updatedUserName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="updated_time", property="updatedTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="compan_id", property="companId", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@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) |
|
|
|
@ -126,10 +134,13 @@ public interface HighRefundAuditMapper extends HighRefundAuditMapperExt { |
|
|
|
|
"pay_time = #{payTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"created_user_id = #{createdUserId,jdbcType=INTEGER},", |
|
|
|
|
"created_time = #{createdTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"created_user_name = #{createdUserName,jdbcType=VARCHAR},", |
|
|
|
|
"updated_user_id = #{updatedUserId,jdbcType=INTEGER},", |
|
|
|
|
"updated_user_name = #{updatedUserName,jdbcType=VARCHAR},", |
|
|
|
|
"updated_time = #{updatedTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"remark = #{remark,jdbcType=VARCHAR},", |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
"compan_id = #{companId,jdbcType=INTEGER},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR}", |
|
|
|
|