From 7b7f52e057434bf7e2edc2273e1d334d87ba65f6 Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Fri, 25 Oct 2024 17:14:16 +0800
Subject: [PATCH] Merge branch 'gzdyh_test' into gzdyh_grid

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

diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoUnfoldMapper.xml b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoUnfoldMapper.xml
index de1ed1d..154deb1 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoUnfoldMapper.xml
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseInfoUnfoldMapper.xml
@@ -13,6 +13,8 @@
     <resultMap id="dataResult" type="cn.huge.module.cases.domain.po.CaseInfoUnfold">
             <result property="id" column="id"/>
             <result property="acceptTime" column="accept_time"/>
+            <result property="belongUnitId" column="belong_unit_id"/>
+            <result property="belongUnitName" column="belong_unit_name"/>
             <result property="mediateUnitId" column="mediate_unit_id"/>
             <result property="mediateUnitName" column="mediate_unit_name"/>
             <result property="mediateDeptId" column="mediate_dept_id"/>
@@ -65,6 +67,8 @@
     <sql id="column-part">
         id,
         accept_time,
+        belong_unit_id,
+        belong_unit_name,
         mediate_unit_id,
         mediate_unit_name,
         mediate_dept_id,
@@ -114,6 +118,8 @@
     <!-- 更新实体字段 -->
     <sql id="set-part">
             <if test="entity.acceptTime != null">accept_time = #{entity.acceptTime},</if>
+            <if test="entity.belongUnitId != null">belong_unit_id = #{entity.belongUnitId},</if>
+            <if test="entity.belongUnitName != null">belong_unit_name = #{entity.belongUnitName},</if>
             <if test="entity.mediateUnitId != null">mediate_unit_id = #{entity.mediateUnitId},</if>
             <if test="entity.mediateUnitName != null">mediate_unit_name = #{entity.mediateUnitName},</if>
             <if test="entity.mediateDeptId != null">mediate_dept_id = #{entity.mediateDeptId},</if>
@@ -170,6 +176,12 @@
                 <if test="terms.acceptTime != null and terms.acceptTime !=''">
                     and accept_time = #{terms.acceptTime}
                 </if>
+                <if test="terms.belongUnitId != null and terms.belongUnitId !=''">
+                    and belong_unit_id = #{terms.belongUnitId}
+                </if>
+                <if test="terms.belongUnitName != null and terms.belongUnitName !=''">
+                    and belong_unit_name = #{terms.belongUnitName}
+                </if>
                 <if test="terms.mediateUnitId != null and terms.mediateUnitId !=''">
                     and mediate_unit_id = #{terms.mediateUnitId}
                 </if>

--
Gitblit v1.8.0