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