if语句中,嵌套的查询语句含有if,怎么调整使他生效
${if(v_date>'2019-10-11',"select * from s产品 where 1=1 "+if(len(gacc)==0,""," and left(gacc,4) in ('"+gacc+"')")+"","select * from s产品")}