select id, makings, price, specifications, is_calculation, deleted, create_by, create_time, update_by, update_time from tj_consumables insert into tj_consumables makings, price, specifications, is_calculation, deleted, create_by, create_time, update_by, update_time, #{makings}, #{price}, #{specifications}, #{isCalculation}, #{deleted}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update tj_consumables makings = #{makings}, price = #{price}, specifications = #{specifications}, is_calculation = #{isCalculation}, deleted = #{deleted}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where id = #{id} delete from tj_consumables where id = #{id} delete from tj_consumables where id in #{id}