帆软中如何实现${lb}' = '文件'时才执行这一段(AND xh >= 10 OR LEFT(DM, 2) = 'NY')
${if(lb=="文件","(AND xh >= 10 OR LEFT(DM, 2) = 'NY')","")}
where 1=1
${if(lb="文件","AND xh >= 10 OR LEFT(DM, 2) = 'NY'","")}