用户52076492(提问者)是嵌套那一部分 全部双引号吗?
比如这下面
${if(c1=\'集团\',\'and 1=1\',
if(c2=1,\"and FNUMBER in (select distinct fbbm from dim_fb where qygs in (select bbqx from dim_qx_sj where gh =\'\"+fine_username+\"\'))\",
\"and FNUMBER in (select distinct fbbm from dim_fb where fbjc1 in (select bbqx from dim_qx_sj where gh =\'\"+fine_username+\"\'))\"))}
and a.fnumber<>\'103\') a