|
|
@ -43,18 +43,20 @@ public interface BsMerLedgerReceiverMapper extends BsMerLedgerReceiverMapperExt |
|
|
|
"platform_type, platform_no, ", |
|
|
|
"platform_type, platform_no, ", |
|
|
|
"cup_no, receiver_no, ", |
|
|
|
"cup_no, receiver_no, ", |
|
|
|
"receiver_name, entrust_file_name, ", |
|
|
|
"receiver_name, entrust_file_name, ", |
|
|
|
"entrust_file_path, `status`, ", |
|
|
|
"entrust_file_path, relieve_entrust_file_name, ", |
|
|
|
"reject_reason, create_time, ", |
|
|
|
"relieve_entrust_file_path, `status`, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"audit_status, reject_reason, ", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"create_time, update_time, ", |
|
|
|
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"values (#{merId,jdbcType=BIGINT}, #{merLedgerId,jdbcType=BIGINT}, ", |
|
|
|
"values (#{merId,jdbcType=BIGINT}, #{merLedgerId,jdbcType=BIGINT}, ", |
|
|
|
"#{platformType,jdbcType=INTEGER}, #{platformNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{platformType,jdbcType=INTEGER}, #{platformNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{cupNo,jdbcType=VARCHAR}, #{receiverNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{cupNo,jdbcType=VARCHAR}, #{receiverNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{receiverName,jdbcType=VARCHAR}, #{entrustFileName,jdbcType=VARCHAR}, ", |
|
|
|
"#{receiverName,jdbcType=VARCHAR}, #{entrustFileName,jdbcType=VARCHAR}, ", |
|
|
|
"#{entrustFilePath,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{entrustFilePath,jdbcType=VARCHAR}, #{relieveEntrustFileName,jdbcType=VARCHAR}, ", |
|
|
|
"#{rejectReason,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{relieveEntrustFilePath,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{auditStatus,jdbcType=INTEGER}, #{rejectReason,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(BsMerLedgerReceiver record); |
|
|
|
int insert(BsMerLedgerReceiver record); |
|
|
@ -75,7 +77,10 @@ public interface BsMerLedgerReceiverMapper extends BsMerLedgerReceiverMapperExt |
|
|
|
@Result(column="receiver_name", property="receiverName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="receiver_name", property="receiverName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="entrust_file_name", property="entrustFileName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="entrust_file_name", property="entrustFileName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="entrust_file_path", property="entrustFilePath", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="entrust_file_path", property="entrustFilePath", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="relieve_entrust_file_name", property="relieveEntrustFileName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="relieve_entrust_file_path", property="relieveEntrustFilePath", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="audit_status", property="auditStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="reject_reason", property="rejectReason", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="reject_reason", property="rejectReason", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -88,8 +93,9 @@ public interface BsMerLedgerReceiverMapper extends BsMerLedgerReceiverMapperExt |
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, mer_id, mer_ledger_id, platform_type, platform_no, cup_no, receiver_no, ", |
|
|
|
"id, mer_id, mer_ledger_id, platform_type, platform_no, cup_no, receiver_no, ", |
|
|
|
"receiver_name, entrust_file_name, entrust_file_path, `status`, reject_reason, ", |
|
|
|
"receiver_name, entrust_file_name, entrust_file_path, relieve_entrust_file_name, ", |
|
|
|
"create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
"relieve_entrust_file_path, `status`, audit_status, reject_reason, create_time, ", |
|
|
|
|
|
|
|
"update_time, ext_1, ext_2, ext_3", |
|
|
|
"from bs_mer_ledger_receiver", |
|
|
|
"from bs_mer_ledger_receiver", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -104,7 +110,10 @@ public interface BsMerLedgerReceiverMapper extends BsMerLedgerReceiverMapperExt |
|
|
|
@Result(column="receiver_name", property="receiverName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="receiver_name", property="receiverName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="entrust_file_name", property="entrustFileName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="entrust_file_name", property="entrustFileName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="entrust_file_path", property="entrustFilePath", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="entrust_file_path", property="entrustFilePath", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="relieve_entrust_file_name", property="relieveEntrustFileName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="relieve_entrust_file_path", property="relieveEntrustFilePath", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="audit_status", property="auditStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="reject_reason", property="rejectReason", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="reject_reason", property="rejectReason", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -134,7 +143,10 @@ public interface BsMerLedgerReceiverMapper extends BsMerLedgerReceiverMapperExt |
|
|
|
"receiver_name = #{receiverName,jdbcType=VARCHAR},", |
|
|
|
"receiver_name = #{receiverName,jdbcType=VARCHAR},", |
|
|
|
"entrust_file_name = #{entrustFileName,jdbcType=VARCHAR},", |
|
|
|
"entrust_file_name = #{entrustFileName,jdbcType=VARCHAR},", |
|
|
|
"entrust_file_path = #{entrustFilePath,jdbcType=VARCHAR},", |
|
|
|
"entrust_file_path = #{entrustFilePath,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"relieve_entrust_file_name = #{relieveEntrustFileName,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"relieve_entrust_file_path = #{relieveEntrustFilePath,jdbcType=VARCHAR},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"audit_status = #{auditStatus,jdbcType=INTEGER},", |
|
|
|
"reject_reason = #{rejectReason,jdbcType=VARCHAR},", |
|
|
|
"reject_reason = #{rejectReason,jdbcType=VARCHAR},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|