From c16a867c943e25a25d64f02fb95e755ef1a7c9f9 Mon Sep 17 00:00:00 2001
From: liyj <15602261488@163.com>
Date: Mon, 30 Sep 2024 18:03:25 +0800
Subject: [PATCH] 1、审核过程中申请记录的申请时间和申请人无法查看 2、审核联合处置申请在申请部门已办结后会报错,且无法继续审核 3、案件不予受理后在已办中无记录 4、上报的案件上级部门回退后下级部门接收不到 5、广州市综治中心纠纷依然可以选择上报,且点击上报后报错

---
 dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoMapper.xml |   25 ++++++++++++++++++++-----
 1 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoMapper.xml b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoMapper.xml
index 7edc11c..0508102 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoMapper.xml
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoMapper.xml
@@ -72,6 +72,7 @@
         <result property="processName" column="process_name"/>
         <result property="infoProcess" column="info_process"/>
         <result property="infoProcessName" column="info_process_name"/>
+        <result property="partyShow" column="party_show"/>
         <result property="wantUnitId" column="want_unit_id"/>
         <result property="wantUnitName" column="want_unit_name"/>
         <result property="wantUserId" column="want_user_id"/>
@@ -213,6 +214,7 @@
         want_unit_name,
         want_user_id,
         want_user_name,
+        party_show,
         delete_status,
         cust_id,
         create_time,
@@ -280,6 +282,7 @@
         <if test="entity.processName != null">process_name = #{entity.processName},</if>
         <if test="entity.infoProcess != null">info_process = #{entity.infoProcess},</if>
         <if test="entity.infoProcessName != null">info_process_name = #{entity.infoProcessName},</if>
+        <if test="entity.partyShow != null">party_show = #{entity.partyShow},</if>
         <if test="entity.wantUnitId != null">want_unit_id = #{entity.wantUnitId},</if>
         <if test="entity.wantUnitName != null">want_unit_name = #{entity.wantUnitName},</if>
         <if test="entity.wantUserId != null">want_user_id = #{entity.wantUserId},</if>
@@ -319,7 +322,7 @@
                     and a.input_unit_id = #{terms.inputUnitId}
                 </if>
                 <if test="terms.inputUnitName != null and terms.inputUnitName !=''">
-                    and a.input_unit_name = #{terms.inputUnitName}
+                    and a.input_unit_name like CONCAT('%', #{terms.inputUnitName}, '%')
                 </if>
                 <if test="terms.visitTimeStart != null and terms.visitTimeStart !='' and terms.visitTimeEnd != null and terms.visitTimeEnd !=''">
                     and (DATE_FORMAT(a.visit_time,'%Y-%m-%d %H:%i:%s') <![CDATA[ >= ]]> #{terms.visitTimeStart}
@@ -356,10 +359,10 @@
                     and a.case_ref = #{terms.caseRef}
                 </if>
                 <if test="terms.plaintiffs != null and terms.plaintiffs !=''">
-                    and a.plaintiffs = #{terms.plaintiffs}
+                    and a.plaintiffs like CONCAT('%', #{terms.plaintiffs}, '%')
                 </if>
                 <if test="terms.defendants != null and terms.defendants !=''">
-                    and a.defendants = #{terms.defendants}
+                    and a.defendants like CONCAT('%', #{terms.defendants}, '%')
                 </if>
                 <if test="terms.peopleNumStart != null and terms.peopleNumStart !=''">
                     and a.people_num  <![CDATA[ >= ]]> #{terms.peopleNumStart}
@@ -381,6 +384,15 @@
                 </if>
                 <if test="terms.assistUnitId != null and terms.assistUnitId !=''">
                     and b.assist_unit_id = #{terms.assistUnitId}
+                </if>
+                <if test="terms.mediateUnitName != null and terms.mediateUnitName !=''">
+                    and b.mediate_unit_name like CONCAT('%', #{terms.mediateUnitName}, '%')
+                </if>
+                <if test="terms.assistUnitName != null and terms.assistUnitName !=''">
+                    and b.assist_unit_name like CONCAT('%', #{terms.assistUnitName}, '%')
+                </if>
+                <if test="terms.mediResult != null and terms.mediResult !=''">
+                    and b.medi_result = #{terms.mediResult}
                 </if>
             </where>
         </if>
@@ -729,10 +741,10 @@
                     and t1.canal_name = #{terms.canalName}
                 </if>
                 <if test="terms.plaintiffs != null and terms.plaintiffs !=''">
-                    and t1.plaintiffs = #{terms.plaintiffs}
+                    and t1.plaintiffs like CONCAT('%', #{terms.plaintiffs}, '%')
                 </if>
                 <if test="terms.defendants != null and terms.defendants !=''">
-                    and t1.defendants = #{terms.defendants}
+                    and t1.defendants like CONCAT('%', #{terms.defendants}, '%')
                 </if>
                 <if test="terms.statusName != null and terms.statusName !=''">
                     and t1.status_name = #{terms.statusName}
@@ -740,6 +752,9 @@
                 <if test="terms.mediResultName != null and terms.mediResultName !=''">
                     and t2.medi_result_name = #{terms.mediResultName}
                 </if>
+                <if test="terms.mediResult != null and terms.mediResult !=''">
+                    and t2.medi_result = #{terms.mediResult}
+                </if>
             </where>
         </if>
     </sql>

--
Gitblit v1.8.0