|
@ -90,6 +90,9 @@ |
|
|
(case when nat_outcome = '1' then '阳性' when nat_outcome = '0' then '阴性' else '阴性' end) as natOutComeName |
|
|
(case when nat_outcome = '1' then '阳性' when nat_outcome = '0' then '阴性' else '阴性' end) as natOutComeName |
|
|
FROM ic_trip_report_record |
|
|
FROM ic_trip_report_record |
|
|
WHERE DEL_FLAG = '0' |
|
|
WHERE DEL_FLAG = '0' |
|
|
|
|
|
<if test='null != id and id != "" '> |
|
|
|
|
|
AND id = #{id} |
|
|
|
|
|
</if> |
|
|
<if test='null != agencyId and agencyId != "" '> |
|
|
<if test='null != agencyId and agencyId != "" '> |
|
|
AND CONCAT(PIDS,':',AGENCY_ID) LIKE CONCAT('%',#{agencyId},'%') |
|
|
AND CONCAT(PIDS,':',AGENCY_ID) LIKE CONCAT('%',#{agencyId},'%') |
|
|
</if> |
|
|
</if> |
|
|