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