
                with mv as (
                    select EvnPLDispDop13_IsSigned
                    from v_EvnPLDispDop13
                    where EvnPLDispDop13_id = '110101362511056'
                    limit 1
                )
                update Evn
                set Evn_IsSigned = (select case when mv.EvnPLDispDop13_IsSigned = 2 then 1 else mv.EvnPLDispDop13_IsSigned end from mv)
                where Evn_id = '110101362511056'
            
