UPDATE
  tms.tlk_qualify_person_apply
SET
  LASTMODIFIED = '#{LASTMODIFIED}',
  ITEM_BACKGROUNDSTATUS = '#{ITEM_BACKGROUNDSTATUS}',
  ITEM_APPLYSTATUS = '#{ITEM_APPLYSTATUS}'
WHERE
  ID = REPLACE (
    '#{ID}',
    '__btCmLDlw8qaZvjlKLf4',
    '__3p4Ro0NJIbAnbx6tmEc'
  )
  and ITEM_BACKGROUNDSTATUS = '5'