id,product_id,stock_quantity, tax_inclusive_price,tax_inclusive_total,tax_rate, tax_exclusive_total,inbound_person delete from stock_management where id = #{id,jdbcType=INTEGER} insert into stock_management ( id,product_id,stock_quantity ,tax_inclusive_price,tax_inclusive_total,tax_rate ,tax_exclusive_total,inbound_person) values (#{id,jdbcType=INTEGER},#{productId,jdbcType=INTEGER},#{stockQuantity,jdbcType=INTEGER} ,#{taxInclusivePrice,jdbcType=DECIMAL},#{taxInclusiveTotal,jdbcType=DECIMAL},#{taxRate,jdbcType=DECIMAL} ,#{taxExclusiveTotal,jdbcType=DECIMAL},#{inboundPerson,jdbcType=VARCHAR}) insert into stock_management id, product_id, stock_quantity, tax_inclusive_price, tax_inclusive_total, tax_rate, tax_exclusive_total, inbound_person, #{id,jdbcType=INTEGER}, #{productId,jdbcType=INTEGER}, #{stockQuantity,jdbcType=INTEGER}, #{taxInclusivePrice,jdbcType=DECIMAL}, #{taxInclusiveTotal,jdbcType=DECIMAL}, #{taxRate,jdbcType=DECIMAL}, #{taxExclusiveTotal,jdbcType=DECIMAL}, #{inboundPerson,jdbcType=VARCHAR}, update stock_management product_id = #{productId,jdbcType=INTEGER}, stock_quantity = #{stockQuantity,jdbcType=INTEGER}, tax_inclusive_price = #{taxInclusivePrice,jdbcType=DECIMAL}, tax_inclusive_total = #{taxInclusiveTotal,jdbcType=DECIMAL}, tax_rate = #{taxRate,jdbcType=DECIMAL}, tax_exclusive_total = #{taxExclusiveTotal,jdbcType=DECIMAL}, inbound_person = #{inboundPerson,jdbcType=VARCHAR}, where id = #{id,jdbcType=INTEGER} update stock_management set product_id = #{productId,jdbcType=INTEGER}, stock_quantity = #{stockQuantity,jdbcType=INTEGER}, tax_inclusive_price = #{taxInclusivePrice,jdbcType=DECIMAL}, tax_inclusive_total = #{taxInclusiveTotal,jdbcType=DECIMAL}, tax_rate = #{taxRate,jdbcType=DECIMAL}, tax_exclusive_total = #{taxExclusiveTotal,jdbcType=DECIMAL}, inbound_person = #{inboundPerson,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER}