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