总是出java.lang.NullPointerException,求各位大佬看看为啥出错 代码如下 select CS2,code,name,jg from (select case when ("'${pz}'" = "'115'" or "'${pz}'" ="'103'" ) then jg_q else jg_c end as jg, CS2,code,name from (select a.code, a.name, a.jg_q, a.jg_c ,b.CS2 from app_yp.jc_ORC a join ALL_D05.ERP_GRAPH_ORC b on a.code= b.zxnjg where A.CALDAY = REPLACE('${date}' ,'-','') ${IF(pz=="",""," AND A.CS2 IN ("+pz+")")} group by b.CS2) group by CS2) |