From 0fd098b8b9b846d71f50fb82a63f25945026a283 Mon Sep 17 00:00:00 2001
From: liyj <15602261488@163.com>
Date: Fri, 25 Oct 2024 10:43:28 +0800
Subject: [PATCH] 1、案件信息扩展表优化
---
dyh-service/dyh-disp/src/main/java/cn/huge/module/casedisp/dao/mapper/xml/DispNormCauseMapper.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dyh-service/dyh-disp/src/main/java/cn/huge/module/casedisp/dao/mapper/xml/DispNormCauseMapper.xml b/dyh-service/dyh-disp/src/main/java/cn/huge/module/casedisp/dao/mapper/xml/DispNormCauseMapper.xml
index dfdad1d..6eb885e 100644
--- a/dyh-service/dyh-disp/src/main/java/cn/huge/module/casedisp/dao/mapper/xml/DispNormCauseMapper.xml
+++ b/dyh-service/dyh-disp/src/main/java/cn/huge/module/casedisp/dao/mapper/xml/DispNormCauseMapper.xml
@@ -166,8 +166,9 @@
SELECT
id as unitId, unit_name as unitName, unit_grade as unitGrade, unit_type as unitType
FROM dyh_ct_unit
- where unit_type = 1
+ where unit_type = 101
<include refid="getZzzxUnitByTerms-where-part"/>
+ limit 1
</select>
<!-- 根据条件获取对应综治中心组织-条件 -->
<sql id="getZzzxUnitByTerms-where-part">
--
Gitblit v1.8.0