微生物模块

This commit is contained in:
tangw 2025-11-19 15:13:56 +08:00
parent cce33a5111
commit c239143821

View File

@ -9,8 +9,8 @@
<select id="getLabResultMedInfo" resultType="com.czlis.common.core.domain.entity.lis.LabResultMed"> <select id="getLabResultMedInfo" resultType="com.czlis.common.core.domain.entity.lis.LabResultMed">
select a.*, select a.*,
case case
when isnull(a.mic)!='' then isnull(c.micref,d.micref) when isnull(a.mic,'')!='' then isnull(c.micref,d.micref)
when isnull(a.rad)!='' then isnull(c.radref,d.radref) when isnull(a.rad,'')!='' then isnull(c.radref,d.radref)
else '' end as ckz,e.bz as cp_bz from lab_resultmed a else '' end as ckz,e.bz as cp_bz from lab_resultmed a
join xm_info b on b.yq=a.yq and b.xmdh=a.xmdh join xm_info b on b.yq=a.yq and b.xmdh=a.xmdh
left join com_dict e on e.zdlb='germclass' and e.zddh=b.germclass left join com_dict e on e.zdlb='germclass' and e.zddh=b.germclass