insert into goaf_sensor goaf_sensor_id, oc_id, goaf_sensor_name, sensor_code, modbus_id, sensor_baudrate, goaf_sensor_ip, goaf_dev_name, goaf_dev_typename, goaf_sensor_location, goaf_check_time_interval, goaf_install_time, goaf_sensor_status, thv_acc_x, thv_acc_y, thv_acc_z, thv_vel_x, thv_vel_y, thv_vel_z, thv_dis_x, thv_dis_y, thv_dis_z, thv_temperature, ew_acc_x_1, ew_acc_x_2, ew_acc_x_3, ew_acc_x_4, ew_acc_y_1, ew_acc_y_2, ew_acc_y_3, ew_acc_y_4, ew_acc_z_1, ew_acc_z_2, ew_acc_z_3, ew_acc_z_4, #{goafSensorId, jdbcType=BIGINT}, #{ocId, jdbcType=BIGINT}, #{goafSensorName, jdbcType=VARCHAR}, #{sensorCode, jdbcType=BIGINT}, #{modbusId, jdbcType=BIGINT}, #{sensorBaudrate, jdbcType=BIGINT}, #{goafSensorIp, jdbcType=VARCHAR}, #{goafDevName, jdbcType=VARCHAR}, #{goafDevTypename, jdbcType=VARCHAR}, #{goafSensorLocation, jdbcType=VARCHAR}, #{goafCheckTimeInterval, jdbcType=BIGINT}, #{goafInstallTime, jdbcType=TIMESTAMP}, #{goafSensorStatus, jdbcType=BIGINT}, #{thvAccX, jdbcType=BIGINT}, #{thvAccY, jdbcType=BIGINT}, #{thvAccZ, jdbcType=BIGINT}, #{thvVelX, jdbcType=BIGINT}, #{thvVelY, jdbcType=BIGINT}, #{thvVelZ, jdbcType=BIGINT}, #{thvDisX, jdbcType=BIGINT}, #{thvDisY, jdbcType=BIGINT}, #{thvDisZ, jdbcType=BIGINT}, #{thvTemperature, jdbcType=BIGINT}, #{ewAccX1, jdbcType=BIGINT}, #{ewAccX2, jdbcType=BIGINT}, #{ewAccX3, jdbcType=BIGINT}, #{ewAccX4, jdbcType=BIGINT}, #{ewAccY1, jdbcType=BIGINT}, #{ewAccY2, jdbcType=BIGINT}, #{ewAccY3, jdbcType=BIGINT}, #{ewAccY4, jdbcType=BIGINT}, #{ewAccZ1, jdbcType=BIGINT}, #{ewAccZ2, jdbcType=BIGINT}, #{ewAccZ3, jdbcType=BIGINT}, #{ewAccZ4, jdbcType=BIGINT}, UPDATE goaf_sensor goaf_sensor_name = #{goafSensorName, jdbcType=VARCHAR}, sensor_code = #{sensorCode, jdbcType=BIGINT}, modbus_id = #{modbusId, jdbcType=BIGINT}, sensor_baudrate = #{sensorBaudrate, jdbcType=BIGINT}, goaf_sensor_ip = #{goafSensorIp, jdbcType=VARCHAR}, goaf_dev_name = #{goafDevName, jdbcType=VARCHAR}, goaf_dev_typename = #{goafDevTypename, jdbcType=VARCHAR}, goaf_sensor_location = #{goafSensorLocation, jdbcType=VARCHAR}, goaf_check_time_interval = #{goafCheckTimeInterval, jdbcType=BIGINT}, goaf_install_time = #{goafInstallTime, jdbcType=TIMESTAMP}, goaf_sensor_status = #{goafSensorStatus, jdbcType=BIGINT}, thv_acc_x = #{thvAccX, jdbcType=BIGINT}, thv_acc_y = #{thvAccY, jdbcType=BIGINT}, thv_acc_z = #{thvAccZ, jdbcType=BIGINT}, thv_vel_x = #{thvVelX, jdbcType=BIGINT}, thv_vel_y = #{thvVelY, jdbcType=BIGINT}, thv_vel_z = #{thvVelZ, jdbcType=BIGINT}, thv_dis_x = #{thvDisX, jdbcType=BIGINT}, thv_dis_y = #{thvDisY, jdbcType=BIGINT}, thv_dis_z = #{thvDisZ, jdbcType=BIGINT}, thv_temperature = #{thvTemperature, jdbcType=BIGINT}, ew_acc_x_1 = #{ewAccX1, jdbcType=BIGINT}, ew_acc_x_2 = #{ewAccX2, jdbcType=BIGINT}, ew_acc_x_3 = #{ewAccX3, jdbcType=BIGINT}, ew_acc_x_4 = #{ewAccX4, jdbcType=BIGINT}, ew_acc_y_1 = #{ewAccY1, jdbcType=BIGINT}, ew_acc_y_2 = #{ewAccY2, jdbcType=BIGINT}, ew_acc_y_3 = #{ewAccY3, jdbcType=BIGINT}, ew_acc_y_4 = #{ewAccY4, jdbcType=BIGINT}, ew_acc_z_1 = #{ewAccZ1, jdbcType=BIGINT}, ew_acc_z_2 = #{ewAccZ2, jdbcType=BIGINT}, ew_acc_z_3 = #{ewAccZ3, jdbcType=BIGINT}, ew_acc_z_4 = #{ewAccZ4, jdbcType=BIGINT}, WHERE goaf_sensor_id = #{goafSensorId, jdbcType=BIGINT} DELETE FROM goaf_sensor WHERE goaf_sensor_id = #{goafSensorId, jdbcType=BIGINT}