id,pro_id,item,
deleted
${alias}.id,
${alias}.pro_id,
${alias}.item,
${alias}.deleted
delete from plt_product_quality_inspection_items
where id = #{id,jdbcType=BIGINT}
insert into plt_product_quality_inspection_items
( id,pro_id,item
,deleted)
values (#{id,jdbcType=BIGINT},#{proId,jdbcType=BIGINT},#{item,jdbcType=VARCHAR}
,#{deleted,jdbcType=TINYINT})
insert into plt_product_quality_inspection_items
id,
pro_id,
item,
deleted,
#{id,jdbcType=BIGINT},
#{proId,jdbcType=BIGINT},
#{item,jdbcType=VARCHAR},
#{deleted,jdbcType=TINYINT},
update plt_product_quality_inspection_items
pro_id = #{proId,jdbcType=BIGINT},
item = #{item,jdbcType=VARCHAR},
deleted = #{deleted,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}
update plt_product_quality_inspection_items
set
pro_id = #{proId,jdbcType=BIGINT},
item = #{item,jdbcType=VARCHAR},
deleted = #{deleted,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}
update plt_product_quality_inspection_items set deleted = 1
where id = #{id}