你这个写法错误的
看你截图,你在这个外面还有${}符号了
你把整个sql语句拷贝出来,我帮你看看
===========
${if(len(SCODE5) == 0, "", "AND V.员工编号 IN ( SELECT 员工编号 FROM YK_XM_HRMPX11_V WHERE 培训名称 IN ('" + SCODE5 + "') GROUP BY 员工编号 HAVING COUNT(DISTINCT 培训名称) ='" + len(split(SCODE5,"','")) + "') AND V.培训名称 IN ('" + SCODE5 + "')") }