|
@@ -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
|