Browse Source

只返回一级场景

wangyangyang 3 years ago
parent
commit
c50e3df325
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sms_water/src/main/resources/mapper/AppReportMonitorMapper.xml

+ 1 - 1
sms_water/src/main/resources/mapper/AppReportMonitorMapper.xml

@@ -13,7 +13,7 @@
         <if test="sceneType != null and sceneType !=''">
           and st.SCENE_TYPE_NAME =#{sceneType}
         </if>
-        and  s.COMPANY_ORG_ID = #{companyOrgId}
+        and  s.COMPANY_ORG_ID = #{companyOrgId} and s.PARENT_SCENE_ID=0
         and s.TENANT_ID = #{tenantId}
         <if test="userType!=null and userType!=-999 and userType!=-9999 and  programItems != null and programItems.size() > 0">
             <if test="permissonType == 5 or permissonType == 2">