|
|
@ -42,12 +42,14 @@ public interface HighMerchantTripartitePlatformMapper extends HighMerchantTripar |
|
|
|
"insert into high_merchant_tripartite_platform (mer_id, platform_type, ", |
|
|
|
"insert into high_merchant_tripartite_platform (mer_id, platform_type, ", |
|
|
|
"platform_mer_name, platform_mer_number, ", |
|
|
|
"platform_mer_name, platform_mer_number, ", |
|
|
|
"profit_sharing_status, profit_sharing_ratio, ", |
|
|
|
"profit_sharing_status, profit_sharing_ratio, ", |
|
|
|
|
|
|
|
"profit_sharing_receivers_number, profit_sharing_receivers_name, ", |
|
|
|
"`status`, create_time, ", |
|
|
|
"`status`, create_time, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"values (#{merId,jdbcType=BIGINT}, #{platformType,jdbcType=INTEGER}, ", |
|
|
|
"values (#{merId,jdbcType=BIGINT}, #{platformType,jdbcType=INTEGER}, ", |
|
|
|
"#{platformMerName,jdbcType=VARCHAR}, #{platformMerNumber,jdbcType=VARCHAR}, ", |
|
|
|
"#{platformMerName,jdbcType=VARCHAR}, #{platformMerNumber,jdbcType=VARCHAR}, ", |
|
|
|
"#{profitSharingStatus,jdbcType=BIT}, #{profitSharingRatio,jdbcType=DECIMAL}, ", |
|
|
|
"#{profitSharingStatus,jdbcType=BIT}, #{profitSharingRatio,jdbcType=DECIMAL}, ", |
|
|
|
|
|
|
|
"#{profitSharingReceiversNumber,jdbcType=VARCHAR}, #{profitSharingReceiversName,jdbcType=VARCHAR}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
@ -68,6 +70,8 @@ public interface HighMerchantTripartitePlatformMapper extends HighMerchantTripar |
|
|
|
@Result(column="platform_mer_number", property="platformMerNumber", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="platform_mer_number", property="platformMerNumber", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="profit_sharing_status", property="profitSharingStatus", jdbcType=JdbcType.BIT), |
|
|
|
@Result(column="profit_sharing_status", property="profitSharingStatus", jdbcType=JdbcType.BIT), |
|
|
|
@Result(column="profit_sharing_ratio", property="profitSharingRatio", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="profit_sharing_ratio", property="profitSharingRatio", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="profit_sharing_receivers_number", property="profitSharingReceiversNumber", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="profit_sharing_receivers_name", property="profitSharingReceiversName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@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), |
|
|
@ -80,7 +84,8 @@ public interface HighMerchantTripartitePlatformMapper extends HighMerchantTripar |
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, mer_id, platform_type, platform_mer_name, platform_mer_number, profit_sharing_status, ", |
|
|
|
"id, mer_id, platform_type, platform_mer_name, platform_mer_number, profit_sharing_status, ", |
|
|
|
"profit_sharing_ratio, `status`, create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
"profit_sharing_ratio, profit_sharing_receivers_number, profit_sharing_receivers_name, ", |
|
|
|
|
|
|
|
"`status`, create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
"from high_merchant_tripartite_platform", |
|
|
|
"from high_merchant_tripartite_platform", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -92,6 +97,8 @@ public interface HighMerchantTripartitePlatformMapper extends HighMerchantTripar |
|
|
|
@Result(column="platform_mer_number", property="platformMerNumber", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="platform_mer_number", property="platformMerNumber", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="profit_sharing_status", property="profitSharingStatus", jdbcType=JdbcType.BIT), |
|
|
|
@Result(column="profit_sharing_status", property="profitSharingStatus", jdbcType=JdbcType.BIT), |
|
|
|
@Result(column="profit_sharing_ratio", property="profitSharingRatio", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="profit_sharing_ratio", property="profitSharingRatio", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="profit_sharing_receivers_number", property="profitSharingReceiversNumber", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="profit_sharing_receivers_name", property="profitSharingReceiversName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@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), |
|
|
@ -118,6 +125,8 @@ public interface HighMerchantTripartitePlatformMapper extends HighMerchantTripar |
|
|
|
"platform_mer_number = #{platformMerNumber,jdbcType=VARCHAR},", |
|
|
|
"platform_mer_number = #{platformMerNumber,jdbcType=VARCHAR},", |
|
|
|
"profit_sharing_status = #{profitSharingStatus,jdbcType=BIT},", |
|
|
|
"profit_sharing_status = #{profitSharingStatus,jdbcType=BIT},", |
|
|
|
"profit_sharing_ratio = #{profitSharingRatio,jdbcType=DECIMAL},", |
|
|
|
"profit_sharing_ratio = #{profitSharingRatio,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"profit_sharing_receivers_number = #{profitSharingReceiversNumber,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"profit_sharing_receivers_name = #{profitSharingReceiversName,jdbcType=VARCHAR},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|