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