diff --git a/src/main/resources/mapper/Archive_MasterMapper.xml b/src/main/resources/mapper/Archive_MasterMapper.xml index 8b131b4..9913fed 100644 --- a/src/main/resources/mapper/Archive_MasterMapper.xml +++ b/src/main/resources/mapper/Archive_MasterMapper.xml @@ -102,7 +102,7 @@ on m.dept_admission_to=d.code LEFT JOIN (select code,name from emr_dictionary where parent_id='dept_code') f on m.dept_name=f.code - where 1=1 and YEAR(m.discharge_date_time) = '1801' + where 1=1 and m.c1='I' and m.dept_name in