diff --git a/src/main/resources/mapper/Archive_MasterMapper.xml b/src/main/resources/mapper/Archive_MasterMapper.xml index 7fa77d1f..26eed5da 100644 --- a/src/main/resources/mapper/Archive_MasterMapper.xml +++ b/src/main/resources/mapper/Archive_MasterMapper.xml @@ -414,6 +414,7 @@ on m.id=s.archive_detail_id LEFT JOIN archive_other ao on m.id=ao.masterID + and ao.sysFlag='1' LEFT JOIN (select MasterID,COUNT(*) num from archive_printInfo group by MasterID) printTable on m.id=printTable.MasterID where 1=1 and ArchiveState in('初审')