ID,OLD_TRACE_CODE,NEW_TRACE_CODE, STATUS,ERRORCOUNT UPDATE REPLACE_RELATIONSHIP STATUS = #{status}, ERRORCOUNT= #{errorcount} WHERE id = #{id}