Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix dept level bug #306

Merged
merged 2 commits into from
Jul 11, 2024
Merged

fix dept level bug #306

merged 2 commits into from
Jul 11, 2024

Conversation

ShaBaoFa
Copy link
Contributor

#244 menu同样问题,但是因为
vendor/xmo/mine-core/src/Traits/ModelMacroTrait.phpgetUserDataScope里的代码逻辑,使用了
120行

->orWhere('level', 'like', $deptId . ',%')
->orWhere('level', 'like', '%,' . $deptId)
->orWhere('level', 'like', '%,' . $deptId . ',%');

建议尽早修复。

修改了部分可能导致歧义的参数名

fix dept level bug
修改参数名防止歧义
@boring-cyborg boring-cyborg bot added the System label Jul 10, 2024
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. bug labels Jul 10, 2024
@zds-s zds-s merged commit 3f11af4 into mineadmin:master Jul 11, 2024
9 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug size:M This PR changes 30-99 lines, ignoring generated files. System
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants