update mom_ocean.device set state=0 where id in (${ids})