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 mp.id = #{id}
+ where mp.id = #{id} 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
@@ -98,6 +99,7 @@
and p.did = #{did}
+ and p.state != 3
@@ -110,6 +112,7 @@
and depository_id = #{depositoryId}
+ and pstate != 3
@@ -193,14 +196,14 @@
SELECT
- FROM place p WHERE 1 = 1 and p.did = #{did}
+ FROM place p WHERE 1 = 1 and p.did = #{did} and p.state != 3
SELECT
- FROM materialandplace mp left join place p on p.id = mp.pid WHERE 1 = 1 and mp.mid = #{mid}
+ FROM materialandplace mp left join place p on p.id = mp.pid WHERE 1 = 1 and mp.mid = #{mid} and p.state != 3
@@ -219,7 +222,7 @@
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
SELECT
FROM materialandplace mp left join place p on p.id = mp.pid
- where mp.id = #{id}
+ where mp.id = #{id} and p.state != 3
@@ -382,6 +386,7 @@
and did = #{did}
+
\ No newline at end of file