select a.id, a.medicine_id, a.inventory, a.create_by, a.create_time, a.update_by, a.update_time, a.del_flag, a.remark from health_medicine_realtime_stock a insert into health_medicine_realtime_stock id, medicine_id, inventory, create_by, create_time, update_by, update_time, del_flag, remark, #{id}, #{medicineId}, #{inventory}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{delFlag}, #{remark}, update health_medicine_realtime_stock medicine_id = #{medicineId}, inventory = #{inventory}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, del_flag = #{delFlag}, remark = #{remark}, where id = #{id} delete from health_medicine_realtime_stock where id = #{id} delete from health_medicine_realtime_stock where id in #{id} update health_medicine_realtime_stock set del_flag='1' where id = #{id} update health_medicine_realtime_stock set del_flag='1' where id in #{id}