fix(后台管理): 租户条件逻辑优化,优化默认添加tenant_id = NULL改为不添加任何条件
This commit is contained in:
@@ -29,7 +29,7 @@ knife4j:
|
||||
zlt:
|
||||
#多租户配置
|
||||
tenant:
|
||||
enable: false
|
||||
enable: true
|
||||
ignoreTables:
|
||||
- edit_task
|
||||
- home_carousel
|
||||
@@ -40,16 +40,14 @@ zlt:
|
||||
- profit_sharing
|
||||
- order_statistics
|
||||
ignoreSqls:
|
||||
# 查询全部列表
|
||||
# - com.central.order.mapper.OrderMapper.findList
|
||||
# 获取某个订单
|
||||
# - com.central.order.mapper.OrderMapper.getOrderByNumber
|
||||
# 移除所有ignoreSqls配置,让所有SQL都经过租户过滤处理
|
||||
# 这样webApp租户的特殊处理逻辑才能生效
|
||||
noIgnoreSqls:
|
||||
- com.central.order.mapper.OrderMapper.findList
|
||||
- com.central.order.mapper.TourismMapper.findList
|
||||
- com.central.order.mapper.OrderFileMapper.findList
|
||||
- com.central.order.mapper.QrCodeMapper.findList
|
||||
- com.central.order.mapper.QrCodeMapper.save
|
||||
# 移除所有noIgnoreSqls配置,让所有SQL都经过租户过滤处理
|
||||
# - com.central.order.mapper.TourismMapper.findList
|
||||
# - com.central.order.mapper.OrderFileMapper.findList
|
||||
# - com.central.order.mapper.QrCodeMapper.findList
|
||||
# - com.central.order.mapper.QrCodeMapper.save
|
||||
# 微信支付商户号
|
||||
tencent:
|
||||
merchantId: ${zlt.wxpay.merchantId}
|
||||
@@ -140,4 +138,4 @@ cdn:
|
||||
# 日志配置
|
||||
logging:
|
||||
level:
|
||||
com.central.order.controller.OrderFileController: DEBUG
|
||||
com.central.order.controller.OrderFileController: DEBUG
|
||||
|
||||
Reference in New Issue
Block a user