瀏覽代碼

只返回一级场景

wangyangyang 4 年之前
父節點
當前提交
c50e3df325
共有 1 個文件被更改,包括 1 次插入1 次删除
  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">