id, orderIdFk, productId, code, `status` delete from inv_count_codes where id = #{id,jdbcType=INTEGER} insert into inv_count_codes (orderIdFk, productId, code, `status`) values (#{orderIdFk,jdbcType=VARCHAR}, #{productId,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{status,jdbcType=BOOLEAN}) insert into inv_count_codes orderIdFk, productId, code, `status`, #{orderIdFk,jdbcType=VARCHAR}, #{productId,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{status,jdbcType=BOOLEAN}, update inv_count_codes orderIdFk = #{orderIdFk,jdbcType=VARCHAR}, productId = #{productId,jdbcType=VARCHAR}, code = #{code,jdbcType=VARCHAR}, `status` = #{status,jdbcType=BOOLEAN}, where id = #{id,jdbcType=INTEGER} update inv_count_codes set orderIdFk = #{orderIdFk,jdbcType=VARCHAR}, productId = #{productId,jdbcType=VARCHAR}, code = #{code,jdbcType=VARCHAR}, `status` = #{status,jdbcType=BOOLEAN} where id = #{id,jdbcType=INTEGER} update inv_count_codes when id = #{item.id,jdbcType=INTEGER} then #{item.orderIdFk,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.productId,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.code,jdbcType=VARCHAR} when id = #{item.id,jdbcType=INTEGER} then #{item.status,jdbcType=BOOLEAN} where id in #{item.id,jdbcType=INTEGER} insert into inv_count_codes (orderIdFk, productId, code, `status`) values (#{item.orderIdFk,jdbcType=VARCHAR}, #{item.productId,jdbcType=VARCHAR}, #{item.code,jdbcType=VARCHAR}, #{item.status,jdbcType=BOOLEAN})