From d4776113950b58d447bc3cfc5ed57ab4d8e1ee3e Mon Sep 17 00:00:00 2001
From: liyj <15602261488@163.com>
Date: Tue, 24 Sep 2024 14:35:51 +0800
Subject: [PATCH] 1、大厅来访登记,添加当事人法人信息,选择企业接口2
---
dyh-service/dyh-mediate/src/main/java/cn/huge/module/draft/dao/mapper/xml/CasedraftPersonMapper.xml | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/draft/dao/mapper/xml/CasedraftPersonMapper.xml b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/draft/dao/mapper/xml/CasedraftPersonMapper.xml
index b15f3bc..dfd0b70 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/draft/dao/mapper/xml/CasedraftPersonMapper.xml
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/draft/dao/mapper/xml/CasedraftPersonMapper.xml
@@ -4,8 +4,8 @@
* @title: 纠纷当事人信息草稿表
* @description: 自定义sql,请自行实现业务逻辑
* @company: hugeinfo
- * @author: wangwh
- * @time:2024-08-27 10:48:18
+ * @author: liyj
+ * @time:2024-09-24 14:23:44
* @version 1.0.0
-->
<mapper namespace="cn.huge.module.draft.dao.mapper.CasedraftPersonMapper">
@@ -14,6 +14,7 @@
<result property="id" column="id"/>
<result property="caseId" column="case_id"/>
<result property="partyUserId" column="party_user_id"/>
+ <result property="companyId" column="company_id"/>
<result property="perType" column="per_type"/>
<result property="perTypeName" column="per_type_name"/>
<result property="perClass" column="per_class"/>
@@ -49,6 +50,7 @@
<result property="placeVillage" column="place_village"/>
<result property="placeVillageName" column="place_village_name"/>
<result property="placeAddr" column="place_addr"/>
+ <result property="workUnitId" column="work_unit_id"/>
<result property="workUnit" column="work_unit"/>
<result property="nation" column="nation"/>
<result property="nationName" column="nation_name"/>
@@ -72,6 +74,7 @@
id,
case_id,
party_user_id,
+ company_id,
per_type,
per_type_name,
per_class,
@@ -107,6 +110,7 @@
place_village,
place_village_name,
place_addr,
+ work_unit_id,
work_unit,
nation,
nation_name,
@@ -127,6 +131,7 @@
<sql id="set-part">
<if test="entity.caseId != null">case_id = #{entity.caseId},</if>
<if test="entity.partyUserId != null">party_user_id = #{entity.partyUserId},</if>
+ <if test="entity.companyId != null">company_id = #{entity.companyId},</if>
<if test="entity.perType != null">per_type = #{entity.perType},</if>
<if test="entity.perTypeName != null">per_type_name = #{entity.perTypeName},</if>
<if test="entity.perClass != null">per_class = #{entity.perClass},</if>
@@ -162,6 +167,7 @@
<if test="entity.placeVillage != null">place_village = #{entity.placeVillage},</if>
<if test="entity.placeVillageName != null">place_village_name = #{entity.placeVillageName},</if>
<if test="entity.placeAddr != null">place_addr = #{entity.placeAddr},</if>
+ <if test="entity.workUnitId != null">work_unit_id = #{entity.workUnitId},</if>
<if test="entity.workUnit != null">work_unit = #{entity.workUnit},</if>
<if test="entity.nation != null">nation = #{entity.nation},</if>
<if test="entity.nationName != null">nation_name = #{entity.nationName},</if>
@@ -190,6 +196,9 @@
</if>
<if test="terms.partyUserId != null and terms.partyUserId !=''">
and party_user_id = #{terms.partyUserId}
+ </if>
+ <if test="terms.companyId != null and terms.companyId !=''">
+ and company_id = #{terms.companyId}
</if>
<if test="terms.perType != null and terms.perType !=''">
and per_type = #{terms.perType}
@@ -295,6 +304,9 @@
</if>
<if test="terms.placeAddr != null and terms.placeAddr !=''">
and place_addr = #{terms.placeAddr}
+ </if>
+ <if test="terms.workUnitId != null and terms.workUnitId !=''">
+ and work_unit_id = #{terms.workUnitId}
</if>
<if test="terms.workUnit != null and terms.workUnit !=''">
and work_unit = #{terms.workUnit}
@@ -420,4 +432,5 @@
<include refid="table-name" />
where case_id = #{caseId}
</select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0