
                update RegistryESData
                set RegistryESDataStatus_id = case when  Evn_id in (140101024168185, 140101024748539, 140101024748987, 140101024749401, 140101024749442)  then 2 else 3 end
                where
                    RegistryES_id = '140101000083643'
                    and RegistryESDataStatus_id = 1
            
