diff --git a/src/main/resources/mapper/part/PartInformationMapper.xml b/src/main/resources/mapper/part/PartInformationMapper.xml index ad410e6f..30092078 100644 --- a/src/main/resources/mapper/part/PartInformationMapper.xml +++ b/src/main/resources/mapper/part/PartInformationMapper.xml @@ -1435,10 +1435,11 @@ left join plm_project_part as b on a.site = b.site and a.plm_part_no = b.test_part_no left join plm_project_part as c on a.site = c.site and a.ifs_part_no = c.test_part_no where a.site = #{query.site} - and a.active = 'Y' - and b.test_part_no is null - and c.test_part_no is null - and a.part_no not in + and a.active = 'Y' + and a.show_in_query_flag = 'Y' + and b.test_part_no is null + and c.test_part_no is null + and a.part_no not in #{item}