数据权限的修改

This commit is contained in:
1745237360-cloud
2026-01-10 16:39:33 +08:00
parent 29b24e8450
commit 4b427e1b2e
97 changed files with 3056 additions and 466 deletions
@@ -703,7 +703,10 @@
<!-- </foreach>-->
<!-- </if>-->
<if test="userDriverDO.organizationId != null"> and b.organization_id = #{userDriverDO.organizationId}</if>
<if test="userDriverDO.organizationId != null">
and b.organization_id = #{userDriverDO.organizationId}
and b.organization_name IS NOT NULL
</if>
<if test="userDriverDO.createBy != null">
and (b.create_by = #{userDriverDO.createBy}
or b.user_id = #{userDriverDO.createBy}