diff --git a/src/main/resources/mapper/part/PartInformationMapper.xml b/src/main/resources/mapper/part/PartInformationMapper.xml index 96026e6f..ff232880 100644 --- a/src/main/resources/mapper/part/PartInformationMapper.xml +++ b/src/main/resources/mapper/part/PartInformationMapper.xml @@ -1380,7 +1380,7 @@ and a.test_part_no = b.project_id and b.site = #{query.site} and b.project_id = #{query.projectId} left join part as c on a.site = c.site and a.test_part_no = c.part_no - where b.site is null and c.show_in_query_flag = 'Y' + where a.site = #{query.site} and b.site is null and c.show_in_query_flag = 'Y' and c.part_no not in #{item}