在本地测试没问题,到服务器预览就出现空指针异常(数据集预览是没问题的 )单选没问题,不选(全选就有问题)sql 有关参数部分WHERE T1.DELETE_FLG='N'--AND T4.DELETE_FLG='N'${IF(LEN(projName)==0,""," AND T1.PROJ_NAME='"+ projName+ "'")}${IF(LEN(projType)==0,""," AND T1.PROJ_TYPE='"+ projType+ "'")}${IF(LEN(AREA_NAME)==0,""," AND T4.AREA_NAME='"+ AREA_NAME+ "'")}${IF(LEN(regionName)==0,""," AND T4.REGION_NAME='"+ regionName+ "'")}${IF(LEN(landStatu)==0,""," AND T1.LAND_STATU='"+ landStatu+ "'")}