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

data-system-service依赖问题 #764

Open
yuanshuaidev opened this issue Sep 19, 2024 · 0 comments
Open

data-system-service依赖问题 #764

yuanshuaidev opened this issue Sep 19, 2024 · 0 comments

Comments

@yuanshuaidev
Copy link

data-system-service的roleController中用到了RoleEntity,我在代码中找到了两个RoleEntity,分别在common-service-api和data-system-service-api,字段相同,包名称相同,但是表不同;
其中common-service-api中使用的sys_market_role这张表,而data-system-service-api使用的sys_role这张表;
image

在实际项目运行中,用arthas发现加载的类是common-service-api中的RoleEntity,
image

data-system-service的pom中并未依赖common-service-api, 而是是其依赖的common-log引入的。

问题1:data-system-service是否应该使用data-system-service-api中的RoleEntity?

问题2:sys_market_role及其相关几张表的业务逻辑是什么?我发现目录权限管理左侧角色树查询的是上述服务,并且返回的是sys_market_role中的数据。

问题3:data-system-service-api中的RoleEntity配置的表sys_role,实际表中字段与代码中并不相符,而是与另一个system-service服务中com.platform.modules.system.domain.Role相符,这是什么情况?如果真的执行其查询不会报错吗?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant