From 47f5108eac3976e9492fafce0d066a0af4b9d0a1 Mon Sep 17 00:00:00 2001 From: ruanqi Date: Wed, 20 Sep 2023 17:35:22 +0800 Subject: [PATCH] 66 --- src/main/resources/mapper/pda/PdaOrderMapper.xml | 2 +- src/main/resources/mapper/pda/ToolDetailMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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