update patient_script set `status` = #{status} ,`res_image` = #{resImage} ,`res_info` = #{resInfo} where id = #{id} delete from patient_script where id in #{id} insert into patient_script patient_name, patient_age, patient_sex, patient_card, scan_time, scan_position, scan_doctor, file_path, repetition_time, scanning_order, bl_order, zd_doctor, sh_doctor, slice_number, fibre_number, min_length, max_length, angle_adjustment, usage_method, `type`, `status`, `res_image`, `res_info`, `is_all`, create_time, create_id, #{patientName}, #{patientAge}, #{patientSex}, #{patientCard}, #{scanTime}, #{scanPosition}, #{scanDoctor}, #{filePath}, #{repetitionTime}, #{scanningOrder}, #{blOrder}, #{zdDoctor}, #{shDoctor}, #{sliceNumber}, #{fibreNumber}, #{minLength}, #{maxLength}, #{angleAdjustment}, #{usageMethod}, #{type}, #{status}, #{resImage}, #{resInfo}, #{isAll}, #{createTime}, create_id,