日期:2014-05-17 浏览次数:20748 次
WHERE XXX IN(CASE WHEN @outOrNot = 'all' THEN (0,1,2,3,4) WHEN @outOrNot = 'out' THEN (3) WHEN @outOrNot = 'notOut' THEN (0,1,2,4)END)