|
|
|
@ -45,7 +45,7 @@ public interface BsIntegralRebateMapper extends BsIntegralRebateMapperExt { |
|
|
|
|
"create_time, update_time, ", |
|
|
|
|
"`status`, ext_1, ext_2, ", |
|
|
|
|
"ext_3)", |
|
|
|
|
"values (#{companyId,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, ", |
|
|
|
|
"values (#{companyId,jdbcType=BIGINT}, #{type,jdbcType=INTEGER}, ", |
|
|
|
|
"#{productId,jdbcType=BIGINT}, #{percentage,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{operatorId,jdbcType=BIGINT}, #{operatorName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
@ -63,7 +63,7 @@ public interface BsIntegralRebateMapper extends BsIntegralRebateMapperExt { |
|
|
|
|
@Results({ |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="product_id", property="productId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="percentage", property="percentage", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="operator_id", property="operatorId", jdbcType=JdbcType.BIGINT), |
|
|
|
@ -87,7 +87,7 @@ public interface BsIntegralRebateMapper extends BsIntegralRebateMapperExt { |
|
|
|
|
@Results({ |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="product_id", property="productId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="percentage", property="percentage", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="operator_id", property="operatorId", jdbcType=JdbcType.BIGINT), |
|
|
|
@ -113,7 +113,7 @@ public interface BsIntegralRebateMapper extends BsIntegralRebateMapperExt { |
|
|
|
|
@Update({ |
|
|
|
|
"update bs_integral_rebate", |
|
|
|
|
"set company_id = #{companyId,jdbcType=BIGINT},", |
|
|
|
|
"`type` = #{type,jdbcType=VARCHAR},", |
|
|
|
|
"`type` = #{type,jdbcType=INTEGER},", |
|
|
|
|
"product_id = #{productId,jdbcType=BIGINT},", |
|
|
|
|
"percentage = #{percentage,jdbcType=DECIMAL},", |
|
|
|
|
"operator_id = #{operatorId,jdbcType=BIGINT},", |
|
|
|
|