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