From dc4ade8c4a6062ea9a9c7856516327d9ea2aba4b Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期三, 07 八月 2024 11:26:46 +0800
Subject: [PATCH] 调试+添加注解

---
 inspect-server/src/main/resources/mapper/InsSampleMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
index c48f143..9e80068 100644
--- a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
@@ -271,7 +271,8 @@
           and state = 1
           and ins_fiber_id is null
           and ins_fibers_id is null
-          and isa.sample_code NOT REGEXP '/'
+          and <!--isa.sample_code NOT REGEXP '/'-->
+            isa.id in(select id1 from (select is2.id id1 ,ip.id from ins_sample is2 left join ins_product ip on is2.id = ip.ins_sample_id where ip.id is not null)s )
     </select>
     <select id="getInsOrderAndSample" resultMap="sampleDto">
         select isa.*,

--
Gitblit v1.9.3