goods_id, postion, name, star
delete from goods
where goods_id = #{goodsId,jdbcType=BIGINT}
insert into goods (goods_id, postion, name,
star)
values (#{goodsId,jdbcType=BIGINT}, #{postion,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{star,jdbcType=INTEGER})
insert into goods
goods_id,
postion,
name,
star,
#{goodsId,jdbcType=BIGINT},
#{postion,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{star,jdbcType=INTEGER},
update goods
postion = #{postion,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
star = #{star,jdbcType=INTEGER},
where goods_id = #{goodsId,jdbcType=BIGINT}
update goods
set postion = #{postion,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
star = #{star,jdbcType=INTEGER}
where goods_id = #{goodsId,jdbcType=BIGINT}