forked from gzzfw/backEnd/gz-dyh

zhouxiantao
2024-10-09 3a73d5c21bb96dde33c97a6d4d50f4632678b329
dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CasePersonMapper.xml
@@ -441,4 +441,14 @@
        <include refid="table-name" />
        where case_id = #{caseId}
    </select>
    <!--  根据纠纷编号查询人员编号  -->
    <select id="listByCertiNo" resultMap="dataResult">
        select
        a.case_id,a.certi_no,a.per_type
        from
            dyh_case_person a INNER JOIN dyh_case_info b ON a.case_id = b.id
        where a.certi_no = #{certiNo} and b.delete_status = 0
    </select>
</mapper>