From 913ca3547a117f3b0a591c59ca96207110b908ab Mon Sep 17 00:00:00 2001
From: 18792927508 <1322446236@qq.com>
Date: Sun, 15 Oct 2023 18:38:28 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E5=90=88=E5=B9=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../wisdomarbitrate/CaseApplicationMapper.xml | 69 ++++++++++++++++++-
1 file changed, 67 insertions(+), 2 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml b/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml
index 2c77c8a..c26c59d 100644
--- a/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml
@@ -59,7 +59,72 @@
c.update_by ,c.update_time , c.arbitrator_name,d.dept_name as applicantName,c.register_date,c.filearbitra_url
from case_application c
LEFT JOIN case_affiliate ca ON ca.case_appli_id = c.id and ca.identity_type=1
- LEFT JOIN sys_dept d ON ca.NAME = d.dept_id and ca.name=d.dept_id
+
+
+ AND c.case_status = #{caseStatus}
+
+
+ AND c.case_num = #{caseNum}
+
+
+ and c.case_status in
+
+ #{caseStatus}
+
+
+
+ ) t
+
+
+ or ( t.application_organ_id = #{nameId} AND t.identity_type=1 )
+
+
+
+ or (t.identity_num=#{idCard} AND t.identity_type=2)
+
+
+
+ or instr (t.arbitrator_id,#{userId})>0
+
+
+
+ or t.name
+ in
+
+ #{item}
+
+
+
+
+ ) t1
+
+
+
+ and ( t1.applicationOrganId = #{nameId} AND t1.identity_type=1 )
+
+
+ order by t1.create_time desc,t1.case_num desc
+
+