From 3a73d5c21bb96dde33c97a6d4d50f4632678b329 Mon Sep 17 00:00:00 2001
From: zhouxiantao <1026371446@qq.com>
Date: Wed, 09 Oct 2024 20:32:35 +0800
Subject: [PATCH] web查询个人来访记录

---
 dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CasePersonMapper.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CasePersonMapper.xml b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CasePersonMapper.xml
index 27a66ab..df5e756 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CasePersonMapper.xml
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CasePersonMapper.xml
@@ -441,4 +441,14 @@
         <include refid="table-name" />
         where case_id = #{caseId}
     </select>
+
+    <!--  根据纠纷编号查询人员编号  -->
+    <select id="listByCertiNo" resultMap="dataResult">
+        select
+        a.case_id,a.certi_no,a.per_type
+        from
+            dyh_case_person a INNER JOIN dyh_case_info b ON a.case_id = b.id
+        where a.certi_no = #{certiNo} and b.delete_status = 0
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0