yzm302462(提问者) 回复 Covidselect e.khzq,t.zf,e.kh_type,t.dept_name,e.kh_xm,e.kh_bz,e.kh_value,
case when e.kh_xm like \'%专项%\' then e.kh_value end as zxkf
from dic_dept t
left join DOC_RULE_dept e on t.dept_name=e.doc_id
where (e.khzq=\'${khzq}\' or e.khzq is null)
order by e.khzq