mybatis plus :https://mp.baomidou.com/guide/interceptor-tenant-line.html
如果最終執行的sql出現select查詢沒有租戶ID,而更新有租戶ID的情況下
需要看下是否
TenantLineInnerInterceptor 接口的
builderExpression和
parserMulti方法是否重寫
mybatis plus :https://mp.baomidou.com/guide/interceptor-tenant-line.html
如果最終執行的sql出現select查詢沒有租戶ID,而更新有租戶ID的情況下
需要看下是否
TenantLineInnerInterceptor 接口的
builderExpression和
parserMulti方法是否重寫
https://stackoverflow.com/questions/419163/what-does-if-name-main-do