Comments (8)
没看懂你说的啥意思,这种感觉跟业务挂钩很多的,得各业务自己实现吧。
from fenix.
https://www.jianshu.com/p/3103871d5907 类似于这种情况
from fenix.
每个业务开发人对这种数据权限的处理都不同,如果可以使用注解实现数据的就更适合大部分使用场景,减少开发的问题了。
现在登录使用了satoken,感觉它的权限校验逻辑就很有参考价意义。
https://sa-token.dev33.cn/doc/index.html#/use/at-check
from fenix.
看了下和本框架的初衷有些不符,暂时不会投入时间去做这个。
from fenix.
或者会不会支持mybatis plus 支持的多租户
https://www.mybatis-plus.com/guide/interceptor-tenant-line.html#tenantlineinnerinterceptor
from fenix.
或者已经实现了FenixJpaSpecificationExecutor的封装,是不是可以提供一下实现全局自定义拦截的接口,方便使用时定义
from fenix.
后续可能会考虑吧,理论上 MyBatis Plus 的优秀功能都可以借鉴实现。我近期肯定是没时间实现这个了,你们可以实现然后提 pr,代码没啥大的问题的话,会考虑合并的。
from fenix.
干掉MP
from fenix.
Related Issues (20)
- 使用sqlProvider方式,自定义select 字段报转换异常 HOT 1
- 2.7.0新特性Entity序列化问题 HOT 2
- xml配置文件不支持update操作吗?
- 条件生成需要有优先级怎么写 HOT 2
- 多数据源 配置报错 HOT 3
- @QueryFenix 注解原生SQL的分页查询中没有去掉ORDER BY HOT 2
- 动态sql语句xml 标签感觉有点过度设计 HOT 3
- 建议主键生成策略做成枚举 HOT 3
- 请问3.0啥时候发布,迫不及待了 HOT 6
- 模糊查询带%会查出所有内容,xml,javaApi都有这个问题 HOT 2
- 关于同个参数多个不同标签解析like问题 HOT 1
- 基于 Specification 的 Java API 方式 怎么or
- Jakarta EE apis 导致的 java.lang.NoClassDefFoundError: javax/persistence/EntityManager HOT 4
- count语句错误的截取了from关键字
- 给有适配springboot3.0.2计划呀? HOT 1
- spring boot 多数据源如何配置
- 并发一高,连接数上不去。求问 这块连接数怎么配置 HOT 1
- 怎么接受不定字段的返回值 用 List<HashMap<String,Object>>接受不到 HOT 1
- mvel解析xml内的sql语句性能不太好,希望能优化
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fenix.