Browse Source

调度预案

lihui001 3 years ago
parent
commit
2086502d65

+ 1 - 2
zoniot-rmcp/zoniot-rmcp-core/src/main/java/com/zcxk/rmcp/core/mapper/CommunityMapper.xml

@@ -29,8 +29,7 @@
   </sql>
 
   <sql id="permissionCondition">
-    <if test="condition.tenantId != null">and sc.
-     = #{condition.tenantId}</if>
+    <if test="condition.tenantId != null">and sc.tenant_id = #{condition.tenantId}</if>
     <if test="condition.userType!=null and condition.userType!=-999 and condition.userType!=-9999 and  condition.programItems != null and condition.programItems.size() > 0">
       <if test="condition.permissionType == 5 or condition.permissionType == 2">
         and ( sc.dept_org_id in