diff --git a/src/main/resources/mapper/pda/PdaOrderMapper.xml b/src/main/resources/mapper/pda/PdaOrderMapper.xml index 83f16af..f68811e 100644 --- a/src/main/resources/mapper/pda/PdaOrderMapper.xml +++ b/src/main/resources/mapper/pda/PdaOrderMapper.xml @@ -67,7 +67,7 @@ diff --git a/src/main/resources/mapper/pda/ToolDetailMapper.xml b/src/main/resources/mapper/pda/ToolDetailMapper.xml index 260e2b8..8304bee 100644 --- a/src/main/resources/mapper/pda/ToolDetailMapper.xml +++ b/src/main/resources/mapper/pda/ToolDetailMapper.xml @@ -647,7 +647,7 @@ from PartSubPropertiesValueHeader a left join PropertiesModelDetail b on a.CodeNo=b.CodeNo left join PartSubPropertiesValue c on c.Site=#{site} and c.PartNo=#{toolId} and c.RecordType='T' and b.ItemNo=c.ItemNo left join PropertiesItem e on b.PropertiesItemNo=e.ItemNo - where c.ItemNo is null and a.RecordType='T' and a.PartNo=#{toolId} and a.site= #{site} + where c.ItemNo is null and a.RecordType='T' and a.PartNo=#{toolId} and a.site= #{site} AND B.SITE IS NOT NULL