|
|
|
@ -43,12 +43,14 @@ public interface BsIntegralRebateMapper extends BsIntegralRebateMapperExt { |
|
|
|
|
"product_id, percentage, ", |
|
|
|
|
"operator_id, operator_name, ", |
|
|
|
|
"create_time, update_time, ", |
|
|
|
|
"start_time, end_time, ", |
|
|
|
|
"`status`, ext_1, ext_2, ", |
|
|
|
|
"ext_3)", |
|
|
|
|
"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}, ", |
|
|
|
|
"#{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
@ -70,6 +72,8 @@ public interface BsIntegralRebateMapper extends BsIntegralRebateMapperExt { |
|
|
|
|
@Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="start_time", property="startTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="end_time", property="endTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -80,7 +84,7 @@ public interface BsIntegralRebateMapper extends BsIntegralRebateMapperExt { |
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, company_id, `type`, product_id, percentage, operator_id, operator_name, ", |
|
|
|
|
"create_time, update_time, `status`, ext_1, ext_2, ext_3", |
|
|
|
|
"create_time, update_time, start_time, end_time, `status`, ext_1, ext_2, ext_3", |
|
|
|
|
"from bs_integral_rebate", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -94,6 +98,8 @@ public interface BsIntegralRebateMapper extends BsIntegralRebateMapperExt { |
|
|
|
|
@Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="start_time", property="startTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="end_time", property="endTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -120,6 +126,8 @@ public interface BsIntegralRebateMapper extends BsIntegralRebateMapperExt { |
|
|
|
|
"operator_name = #{operatorName,jdbcType=VARCHAR},", |
|
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"start_time = #{startTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"end_time = #{endTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
|