소스 검색

调度预案

lihui001 3 년 전
부모
커밋
2086502d65
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      zoniot-rmcp/zoniot-rmcp-core/src/main/java/com/zcxk/rmcp/core/mapper/CommunityMapper.xml

+ 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