你必须连接WHERE子句AND,而不是,:
AND
,
WHERE o.Status = 'Open' AND MAXReceiveDate <= @90daysago AND MAXDateEnt <= @90daysago AND PartNo = '72347'