Redeem 1 год назад
Родитель
Сommit
1bb189f529
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/main/resources/com/steerinfo/dil/mapper/UniversalMapper.xml

+ 1 - 2
src/main/resources/com/steerinfo/dil/mapper/UniversalMapper.xml

@@ -162,8 +162,7 @@
             </if>
             )
             <where>
-            <if test="companyType != null and companyType == '业务单位'">
-                <include refid="com.steerinfo.dil.mapper.CommonMapper.rootCompanyFilter"></include>
+            <if test="companyType != null and companyType == '业务单位' and isListed == null">
                 <include refid="com.steerinfo.dil.mapper.CommonMapper.filterCompanyData"></include>
             </if>
             </where>