
            with curDT as (select dbo.tzGetDate() as curDate)
            update BedState
            set BedState_endDate = '2022-03-09 08:24:09'
            where BedState_id = '500801000234112'
        
