|
|
|
@ -42,19 +42,19 @@ public interface BsMerLedgerMapper extends BsMerLedgerMapperExt { |
|
|
|
|
"insert into bs_mer_ledger (mer_id, mer_name, ", |
|
|
|
|
"platform_type, platform_no, ", |
|
|
|
|
"cup_no, receiver_no, ", |
|
|
|
|
"split_lowest_ratio, split_entrust_file_name, ", |
|
|
|
|
"split_entrust_file_path, `status`, ", |
|
|
|
|
"reject_reason, create_time, ", |
|
|
|
|
"update_time, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"receiver_status, split_lowest_ratio, ", |
|
|
|
|
"split_entrust_file_name, split_entrust_file_path, ", |
|
|
|
|
"`status`, reject_reason, ", |
|
|
|
|
"create_time, update_time, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"values (#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{platformType,jdbcType=INTEGER}, #{platformNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{cupNo,jdbcType=VARCHAR}, #{receiverNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{splitLowestRatio,jdbcType=DECIMAL}, #{splitEntrustFileName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{splitEntrustFilePath,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
|
"#{rejectReason,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{receiverStatus,jdbcType=BIT}, #{splitLowestRatio,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{splitEntrustFileName,jdbcType=VARCHAR}, #{splitEntrustFilePath,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{status,jdbcType=INTEGER}, #{rejectReason,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(BsMerLedger record); |
|
|
|
@ -72,6 +72,7 @@ public interface BsMerLedgerMapper extends BsMerLedgerMapperExt { |
|
|
|
|
@Result(column="platform_no", property="platformNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="cup_no", property="cupNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="receiver_no", property="receiverNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="receiver_status", property="receiverStatus", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="split_lowest_ratio", property="splitLowestRatio", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="split_entrust_file_name", property="splitEntrustFileName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="split_entrust_file_path", property="splitEntrustFilePath", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -87,9 +88,9 @@ public interface BsMerLedgerMapper extends BsMerLedgerMapperExt { |
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, mer_id, mer_name, platform_type, platform_no, cup_no, receiver_no, split_lowest_ratio, ", |
|
|
|
|
"split_entrust_file_name, split_entrust_file_path, `status`, reject_reason, create_time, ", |
|
|
|
|
"update_time, ext_1, ext_2, ext_3", |
|
|
|
|
"id, mer_id, mer_name, platform_type, platform_no, cup_no, receiver_no, receiver_status, ", |
|
|
|
|
"split_lowest_ratio, split_entrust_file_name, split_entrust_file_path, `status`, ", |
|
|
|
|
"reject_reason, create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
|
"from bs_mer_ledger", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -101,6 +102,7 @@ public interface BsMerLedgerMapper extends BsMerLedgerMapperExt { |
|
|
|
|
@Result(column="platform_no", property="platformNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="cup_no", property="cupNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="receiver_no", property="receiverNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="receiver_status", property="receiverStatus", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="split_lowest_ratio", property="splitLowestRatio", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="split_entrust_file_name", property="splitEntrustFileName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="split_entrust_file_path", property="splitEntrustFilePath", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -131,6 +133,7 @@ public interface BsMerLedgerMapper extends BsMerLedgerMapperExt { |
|
|
|
|
"platform_no = #{platformNo,jdbcType=VARCHAR},", |
|
|
|
|
"cup_no = #{cupNo,jdbcType=VARCHAR},", |
|
|
|
|
"receiver_no = #{receiverNo,jdbcType=VARCHAR},", |
|
|
|
|
"receiver_status = #{receiverStatus,jdbcType=BIT},", |
|
|
|
|
"split_lowest_ratio = #{splitLowestRatio,jdbcType=DECIMAL},", |
|
|
|
|
"split_entrust_file_name = #{splitEntrustFileName,jdbcType=VARCHAR},", |
|
|
|
|
"split_entrust_file_path = #{splitEntrustFilePath,jdbcType=VARCHAR},", |
|
|
|
|