id,pro_id,item,
deleted,disabled,sort
delete from plt_product_test_inspection_items
where id = #{id,jdbcType=BIGINT}
insert into plt_product_test_inspection_items
( id,pro_id,item
,deleted,disabled,sort
)
values (#{id,jdbcType=BIGINT},#{proId,jdbcType=BIGINT},#{item,jdbcType=VARCHAR}
,#{deleted,jdbcType=TINYINT},#{disabled,jdbcType=TINYINT},#{sort,jdbcType=INTEGER}
)
insert into plt_product_test_inspection_items
id,
pro_id,
item,
deleted,
disabled,
sort,
#{id,jdbcType=BIGINT},
#{proId,jdbcType=BIGINT},
#{item,jdbcType=VARCHAR},
#{deleted,jdbcType=TINYINT},
#{disabled,jdbcType=TINYINT},
#{sort,jdbcType=INTEGER},
update plt_product_test_inspection_items
pro_id = #{proId,jdbcType=BIGINT},
item = #{item,jdbcType=VARCHAR},
deleted = #{deleted,jdbcType=TINYINT},
disabled = #{disabled,jdbcType=TINYINT},
sort = #{sort,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update plt_product_test_inspection_items
set
pro_id = #{proId,jdbcType=BIGINT},
item = #{item,jdbcType=VARCHAR},
deleted = #{deleted,jdbcType=TINYINT},
disabled = #{disabled,jdbcType=TINYINT},
sort = #{sort,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
update plt_product_test_inspection_items set deleted = 1
where id = #{id}