forked from gzzfw/backEnd/gz-dyh

liyj
2024-10-12 1bd2792d924c7c1a90dd76f07d54c39202ff7afc
dyh-service/dyh-disp/src/main/java/cn/huge/module/casedisp/dao/mapper/xml/DispNormCauseMapper.xml
@@ -164,10 +164,11 @@
    <!--  根据条件获取对应综治中心组织  -->
    <select id="getZzzxUnitByTerms" resultType="cn.huge.module.casedisp.domain.dto.ZzzxUnitDTO">
        SELECT
        id as 'unitId', unit_name as 'unitName'
        id as unitId, unit_name as unitName, unit_grade as unitGrade, unit_type as unitType
        FROM dyh_ct_unit
        where unit_type = 1
        <include refid="getZzzxUnitByTerms-where-part"/>
        limit 1
    </select>
    <!-- 根据条件获取对应综治中心组织-条件 -->
    <sql id="getZzzxUnitByTerms-where-part">