我想问下,这个控件实现不同部门仅查看他们未确认的批数可以用case when吗?then后面可以接sql语句吗? SELECT lot FROM CT_EJLP_TB WHERE GMPNAME = '驴皮' AND lot = (case when '${OAID}' in ('4422') then 'select lot from CT_EJLP_TB WHERE GMPNAME = '驴皮' AND ZLQUEREN != '已确认' ' else '' end) 报错 ORA-00905: missing keyword |