id, shop_id, min_num, max_num, handsel_num, handsel_type, is_del
delete from tb_activate
where id = #{id,jdbcType=INTEGER}
insert into tb_activate (id, shop_id, min_num,
max_num, handsel_num, handsel_type,
is_del)
values (#{id,jdbcType=INTEGER}, #{shopId,jdbcType=INTEGER}, #{minNum,jdbcType=INTEGER},
#{maxNum,jdbcType=INTEGER}, #{handselNum,jdbcType=DECIMAL}, #{handselType,jdbcType=VARCHAR},
#{isDel,jdbcType=VARCHAR})
insert into tb_activate
id,
shop_id,
min_num,
max_num,
handsel_num,
handsel_type,
is_del,
#{id,jdbcType=INTEGER},
#{shopId,jdbcType=INTEGER},
#{minNum,jdbcType=INTEGER},
#{maxNum,jdbcType=INTEGER},
#{handselNum,jdbcType=DECIMAL},
#{handselType,jdbcType=VARCHAR},
#{isDel,jdbcType=VARCHAR},
update tb_activate
shop_id = #{shopId,jdbcType=INTEGER},
min_num = #{minNum,jdbcType=INTEGER},
max_num = #{maxNum,jdbcType=INTEGER},
handsel_num = #{handselNum,jdbcType=DECIMAL},
handsel_type = #{handselType,jdbcType=VARCHAR},
is_del = #{isDel,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update tb_activate
set shop_id = #{shopId,jdbcType=INTEGER},
min_num = #{minNum,jdbcType=INTEGER},
max_num = #{maxNum,jdbcType=INTEGER},
handsel_num = #{handselNum,jdbcType=DECIMAL},
handsel_type = #{handselType,jdbcType=VARCHAR},
is_del = #{isDel,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}