From ecb8ee9c13ef1d4b7c0324dcd39e3ae34d9ce5b5 Mon Sep 17 00:00:00 2001
From: liyj <1003249715@qq.com>
Date: Sat, 14 Sep 2024 23:21:05 +0800
Subject: [PATCH] 1、自行受理bug修复2 2、流程进度展示bug修复2

---
 dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseWindupApplyMapper.xml |   29 +++++++++++++++--------------
 1 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseWindupApplyMapper.xml b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseWindupApplyMapper.xml
index 4ebcae5..4e03003 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseWindupApplyMapper.xml
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseWindupApplyMapper.xml
@@ -34,7 +34,7 @@
             <result property="auditTime" column="audit_time"/>
             <result property="auditResult" column="audit_result"/>
             <result property="auditResultName" column="audit_result_name"/>
-            <result property="audit_content" column="audit__content"/>
+            <result property="auditContent" column="audit_content"/>
             <result property="deleteStatus" column="delete_status"/>
             <result property="custId" column="cust_id"/>
             <result property="createTime" column="create_time"/>
@@ -67,7 +67,7 @@
         audit_time,
         audit_result,
         audit_result_name,
-        audit__content,
+        audit_content,
         delete_status,
         cust_id,
         create_time,
@@ -97,7 +97,7 @@
             <if test="entity.auditTime != null">audit_time = #{entity.auditTime},</if>
             <if test="entity.auditResult != null">audit_result = #{entity.auditResult},</if>
             <if test="entity.auditResultName != null">audit_result_name = #{entity.auditResultName},</if>
-            <if test="entity.audit_content != null">audit__content = #{entity.audit_content},</if>
+            <if test="entity.auditContent != null">audit_content = #{entity.auditContent},</if>
             <if test="entity.deleteStatus != null">delete_status = #{entity.deleteStatus},</if>
             <if test="entity.custId != null">cust_id = #{entity.custId},</if>
             <if test="entity.createTime != null">create_time = #{entity.createTime},</if>
@@ -176,8 +176,8 @@
                 <if test="terms.auditResultName != null and terms.auditResultName !=''">
                     and audit_result_name = #{terms.auditResultName}
                 </if>
-                <if test="terms.audit_content != null and terms.audit_content !=''">
-                    and audit__content = #{terms.audit_content}
+                <if test="terms.auditContent != null and terms.auditContent !=''">
+                    and audit_content = #{terms.auditContent}
                 </if>
                 <if test="terms.deleteStatus = null and terms.deleteStatus =''">
                     and delete_status = 0
@@ -279,6 +279,7 @@
 
     <!-- 首页-待审核结果集 -->
     <resultMap id="MyTaskApplyReviewResult" type="cn.huge.module.cases.domain.dto.FrontPageListDTO">
+        <result property="windupId" column="windupId"/>
         <result property="ownerId" column="ownerId"/>
         <result property="caseId" column="caseId"/>
         <result property="turnaroundTime" column="turnaroundTime"/>
@@ -315,12 +316,12 @@
             and DATE_FORMAT(t1.apply_time,'%Y-%m-%d') <![CDATA[ <= ]]> #{terms.timeEnd})
         </if>
         <if test="terms.partyName != null and terms.partyName !=''">
-            and (concat(t2.plaintiffs, t2.pagents, t2.defendants, t2.dagents) like concat('%', #{terms.partyName}, '%')
+            and concat(t2.plaintiffs, t2.pagents, t2.defendants, t2.dagents) like concat('%', #{terms.partyName}, '%')
         </if>
     </select>
     <!--  首页-待审核分页查询  -->
-    <select id="pageMyTaskApplyReview" resultMap="MyTaskApplyReviewResult">
-        SELECT t1.case_task_id as ownerId, t1.case_id as caseId,
+    <select id="listMyTaskApplyReview" resultMap="MyTaskApplyReviewResult">
+        SELECT t1.id as windupId, t1.case_task_id as ownerId, t1.case_id as caseId,
         t1.apply_time as turnaroundTime, t1.apply_unit_name as organizingUnit, t1.medi_result_name as mediResult,
                t1.fail_reason as reason, t2.case_level as caseGrade, t2.canal_name as caseSource,
                t2.case_type_name as caseType, concat(t2.plaintiffs, t2.pagents) as plaintiffs,
@@ -336,7 +337,7 @@
             and DATE_FORMAT(t1.apply_time,'%Y-%m-%d') <![CDATA[ <= ]]> #{terms.timeEnd})
         </if>
         <if test="terms.partyName != null and terms.partyName !=''">
-            and (concat(t2.plaintiffs, t2.pagents, t2.defendants, t2.dagents) like concat('%', #{terms.partyName}, '%')
+            and concat(t2.plaintiffs, t2.pagents, t2.defendants, t2.dagents) like concat('%', #{terms.partyName}, '%')
         </if>
         <if test="page.sort != null">
             <foreach collection="page.sort" item="s" index="index" separator="," open="order by ">
@@ -364,14 +365,14 @@
             and DATE_FORMAT(t1.apply_time,'%Y-%m-%d') <![CDATA[ <= ]]> #{terms.timeEnd})
         </if>
         <if test="terms.partyName != null and terms.partyName !=''">
-            and (concat(t2.plaintiffs, t2.pagents, t2.defendants, t2.dagents) like concat('%', #{terms.partyName}, '%')
+            and concat(t2.plaintiffs, t2.pagents, t2.defendants, t2.dagents) like concat('%', #{terms.partyName}, '%')
         </if>
     </select>
     <!--  首页-结案申请分页查询  -->
-    <select id="pageMySubmitApplyReview" resultMap="MyTaskApplyReviewResult">
-        SELECT t1.case_task_id as ownerId, t1.case_id as caseId, t2.process_name as process,
+    <select id="listMySubmitApplyReview" resultMap="MyTaskApplyReviewResult">
+        SELECT t1.id as windupId, t1.case_task_id as ownerId, t1.case_id as caseId, t2.process_name as process,
         t1.apply_time as turnaroundTime, t2.case_level as caseGrade, t2.canal_name as caseSource, t2.case_type_name as caseType,
-               t1.apply_unit_name as organizingUnit, t1.medi_result_name as mediResult,t1.fail_reason as reason,
+             t1.medi_result_name as mediResult,t1.fail_reason as reason,
          concat(t2.plaintiffs, t2.pagents) as plaintiffs,
         concat(t2.defendants, t2.dagents) as defendants
         FROM
@@ -385,7 +386,7 @@
             and DATE_FORMAT(t1.apply_time,'%Y-%m-%d') <![CDATA[ <= ]]> #{terms.timeEnd})
         </if>
         <if test="terms.partyName != null and terms.partyName !=''">
-            and (concat(t2.plaintiffs, t2.pagents, t2.defendants, t2.dagents) like concat('%', #{terms.partyName}, '%')
+            and concat(t2.plaintiffs, t2.pagents, t2.defendants, t2.dagents) like concat('%', #{terms.partyName}, '%')
         </if>
         <if test="page.sort != null">
             <foreach collection="page.sort" item="s" index="index" separator="," open="order by ">

--
Gitblit v1.8.0