zxc 3 years ago
parent
commit
be0b2881e6
  1. 3
      epmet-user/epmet-user-server/src/main/resources/mapper/IcTripReportRecordDao.xml

3
epmet-user/epmet-user-server/src/main/resources/mapper/IcTripReportRecordDao.xml

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

Loading…
Cancel
Save