From 27704b0f33dfa3b22f11d36124a8d08b720461f8 Mon Sep 17 00:00:00 2001 From: fengjin <1435304038@qq.com> Date: 星期三, 19 十月 2022 13:27:20 +0800 Subject: [PATCH] Merge branch 'zigonggao_dev' into huacheng_test --- flower_city/src/main/resources/mapper/OrganizationChartMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/flower_city/src/main/resources/mapper/OrganizationChartMapper.xml b/flower_city/src/main/resources/mapper/OrganizationChartMapper.xml index 053640f..caa8798 100644 --- a/flower_city/src/main/resources/mapper/OrganizationChartMapper.xml +++ b/flower_city/src/main/resources/mapper/OrganizationChartMapper.xml @@ -94,7 +94,7 @@ <select id="selectByCode" resultMap="OrganizationChartResult"> <include refid="selectOrganizationChartVo"/> <where> - id=#{id} and (city=#{areaCode} or district= #{areaCode} or village=#{areaCode}) + ( id=#{id} or parent_id=#{id}) and (city=#{areaCode} or district= #{areaCode} or village=#{areaCode}) </where> </select> -- Gitblit v1.7.1