select id, calibration_time, calibration_user, instrument_id, standardgases_id, zerogas_concentration, zerogas_calibration, standardgases_calibration, drift_check, filter_check, airtightness_check, flow_check, pressure, remarks, dept_id, del_flag, creater_code, createdate, updater_code, updatedate from t_check_calibration insert into t_check_calibration calibration_time, calibration_user, instrument_id, standardgases_id, zerogas_concentration, zerogas_calibration, standardgases_calibration, drift_check, filter_check, airtightness_check, flow_check, pressure, remarks, dept_id, del_flag, creater_code, createdate, updater_code, updatedate, #{calibrationTime}, #{calibrationUser}, #{instrumentId}, #{standardgasesId}, #{zerogasConcentration}, #{zerogasCalibration}, #{standardgasesCalibration}, #{driftCheck}, #{filterCheck}, #{airtightnessCheck}, #{flowCheck}, #{pressure}, #{remarks}, #{deptId}, #{delFlag}, #{createrCode}, #{createdate}, #{updaterCode}, #{updatedate}, update t_check_calibration calibration_time = #{calibrationTime}, calibration_user = #{calibrationUser}, instrument_id = #{instrumentId}, standardgases_id = #{standardgasesId}, zerogas_concentration = #{zerogasConcentration}, zerogas_calibration = #{zerogasCalibration}, standardgases_calibration = #{standardgasesCalibration}, drift_check = #{driftCheck}, filter_check = #{filterCheck}, airtightness_check = #{airtightnessCheck}, flow_check = #{flowCheck}, pressure = #{pressure}, remarks = #{remarks}, dept_id = #{deptId}, del_flag = #{delFlag}, creater_code = #{createrCode}, createdate = #{createdate}, updater_code = #{updaterCode}, updatedate = #{updatedate}, where id = #{id} update t_check_calibration set del_flag=1 where id = #{id} update t_check_calibration set del_flag=1 where id in #{id}