select id, good_id, type_id, title, price, unit, created_at, updated_at from quote_material insert into quote_material good_id, type_id, title, price, unit, created_at, updated_at #{goodId}, #{typeId}, #{title}, #{price}, #{unit}, NOW(), NOW() update quote_material good_id = #{goodId}, type_id = #{typeId}, title = #{title}, price = #{price}, unit = #{unit}, updated_at = NOW() where id = #{id} delete from quote_material where id = #{id} delete from quote_material where id in #{id}