From 9b4dd6222e50e878327179261e7eb477548c2ece Mon Sep 17 00:00:00 2001 From: erdanergou Date: Fri, 3 Mar 2023 11:31:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=98=E7=9B=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../depository_manage/mapper/PlaceMapper.xml | 13 +++++++++---- .../depository_manage/mapper/PlaceMapper.xml | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/dreamchaser/depository_manage/mapper/PlaceMapper.xml b/src/main/java/com/dreamchaser/depository_manage/mapper/PlaceMapper.xml index 5db040f4..4b09f514 100644 --- a/src/main/java/com/dreamchaser/depository_manage/mapper/PlaceMapper.xml +++ b/src/main/java/com/dreamchaser/depository_manage/mapper/PlaceMapper.xml @@ -86,6 +86,7 @@ and ( p.did = #{did} or p.did = 0) + and p.state != 3 @@ -193,14 +196,14 @@ SELECT - FROM materialandplace mp left join place p on p.id = mp.pid WHERE 1 = 1 and p.id = #{id} + FROM materialandplace mp left join place p on p.id = mp.pid WHERE 1 = 1 and p.id = #{id} and p.state != 3 @@ -234,12 +237,13 @@ and mp.pid = #{pid} + and p.state != 3 @@ -382,6 +386,7 @@ and did = #{did} + \ No newline at end of file diff --git a/target/classes/com/dreamchaser/depository_manage/mapper/PlaceMapper.xml b/target/classes/com/dreamchaser/depository_manage/mapper/PlaceMapper.xml index 5db040f4..4b09f514 100644 --- a/target/classes/com/dreamchaser/depository_manage/mapper/PlaceMapper.xml +++ b/target/classes/com/dreamchaser/depository_manage/mapper/PlaceMapper.xml @@ -86,6 +86,7 @@ and ( p.did = #{did} or p.did = 0) + and p.state != 3 @@ -193,14 +196,14 @@ SELECT - FROM materialandplace mp left join place p on p.id = mp.pid WHERE 1 = 1 and p.id = #{id} + FROM materialandplace mp left join place p on p.id = mp.pid WHERE 1 = 1 and p.id = #{id} and p.state != 3 @@ -234,12 +237,13 @@ and mp.pid = #{pid} + and p.state != 3 @@ -382,6 +386,7 @@ and did = #{did} + \ No newline at end of file