日期:2014-05-18 浏览次数:20441 次
select ProName,BeginTime,EndTime,[Status] from L_UsePro WHERE CASE status WHEN status1 THEN CHARINDEX(LTRIM(值),ReterId) WHEN status2 THEN CHARINDEX(LTRIM(值),ByReterId) END > 0