|
|
@ -41,18 +41,18 @@ public interface HighMerchantTripartitePlatformMapper extends HighMerchantTripar |
|
|
|
@Insert({ |
|
|
|
@Insert({ |
|
|
|
"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, ", |
|
|
|
"platform_mer_key, profit_sharing_status, ", |
|
|
|
"profit_sharing_receivers_number, profit_sharing_receivers_name, ", |
|
|
|
"profit_sharing_ratio, profit_sharing_receivers_number, ", |
|
|
|
"`status`, create_time, ", |
|
|
|
"profit_sharing_receivers_name, `status`, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"create_time, update_time, ", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"ext_1, 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}, ", |
|
|
|
"#{platformMerKey,jdbcType=VARCHAR}, #{profitSharingStatus,jdbcType=BIT}, ", |
|
|
|
"#{profitSharingReceiversNumber,jdbcType=VARCHAR}, #{profitSharingReceiversName,jdbcType=VARCHAR}, ", |
|
|
|
"#{profitSharingRatio,jdbcType=DECIMAL}, #{profitSharingReceiversNumber,jdbcType=VARCHAR}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{profitSharingReceiversName,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{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(HighMerchantTripartitePlatform record); |
|
|
|
int insert(HighMerchantTripartitePlatform record); |
|
|
@ -68,6 +68,7 @@ public interface HighMerchantTripartitePlatformMapper extends HighMerchantTripar |
|
|
|
@Result(column="platform_type", property="platformType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="platform_type", property="platformType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="platform_mer_name", property="platformMerName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="platform_mer_name", property="platformMerName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="platform_mer_number", property="platformMerNumber", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="platform_mer_number", property="platformMerNumber", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="platform_mer_key", property="platformMerKey", 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_number", property="profitSharingReceiversNumber", jdbcType=JdbcType.VARCHAR), |
|
|
@ -83,9 +84,10 @@ 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, platform_mer_key, ", |
|
|
|
"profit_sharing_ratio, profit_sharing_receivers_number, profit_sharing_receivers_name, ", |
|
|
|
"profit_sharing_status, profit_sharing_ratio, profit_sharing_receivers_number, ", |
|
|
|
"`status`, create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
"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}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -95,6 +97,7 @@ public interface HighMerchantTripartitePlatformMapper extends HighMerchantTripar |
|
|
|
@Result(column="platform_type", property="platformType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="platform_type", property="platformType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="platform_mer_name", property="platformMerName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="platform_mer_name", property="platformMerName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="platform_mer_number", property="platformMerNumber", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="platform_mer_number", property="platformMerNumber", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="platform_mer_key", property="platformMerKey", 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_number", property="profitSharingReceiversNumber", jdbcType=JdbcType.VARCHAR), |
|
|
@ -123,6 +126,7 @@ public interface HighMerchantTripartitePlatformMapper extends HighMerchantTripar |
|
|
|
"platform_type = #{platformType,jdbcType=INTEGER},", |
|
|
|
"platform_type = #{platformType,jdbcType=INTEGER},", |
|
|
|
"platform_mer_name = #{platformMerName,jdbcType=VARCHAR},", |
|
|
|
"platform_mer_name = #{platformMerName,jdbcType=VARCHAR},", |
|
|
|
"platform_mer_number = #{platformMerNumber,jdbcType=VARCHAR},", |
|
|
|
"platform_mer_number = #{platformMerNumber,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"platform_mer_key = #{platformMerKey,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_number = #{profitSharingReceiversNumber,jdbcType=VARCHAR},", |
|
|
|