and id = #{id} and device = #{device} and device_id = #{deviceId} and device_plc_id = #{devicePlcId} delete from wcs_device_error where "device" = #{device} and "device_id" = #{deviceId}