dea060806d6a684a655c7b1d50a79e1c9ae06194
\351\235\236\346\255\243\345\274\217\347\211\210\346\234\254.md
| ... | ... | @@ -12,13 +12,20 @@ tips: |
| 12 | 12 | |
| 13 | 13 | # 后端 2.4.1-tongwei.20 |
| 14 | 14 | |
| 15 | -1.base.json修改多租户的版本为: |
|
| 16 | - sie-snest-tenant-v2.3.7-RELEASE.jar |
|
| 17 | - |
|
| 18 | -2.application-dev.properties 添加作用域模型配置: |
|
| 19 | - engine.scope.models=res_enterprise |
|
| 20 | - |
|
| 21 | -3.新版本作用域 |
|
| 15 | +1.base.json修改多租户的版本为: |
|
| 16 | +sie-snest-tenant-v2.3.7-RELEASE.jar |
|
| 17 | + |
|
| 18 | +2.在application-dev.properties 添加作用域模型:企业模型配置,多个用逗号,分隔. |
|
| 19 | +engine.scope.models=res_enterprise |
|
| 20 | + |
|
| 21 | +3.新版本作用域发版 |
|
| 22 | + |
|
| 23 | +4.工厂字段数据隔离配置: |
|
| 24 | +如果属性是Many2One或者slection 关联模型是res_enterprise,引擎会自动帮忙关联,APP不需要标注用哪一个字段隔离. |
|
| 25 | +如果不是上面的2个,需要手动的在属性上面标注:scopeModel = "res_enterprise" |
|
| 26 | + |
|
| 27 | +@Property(columnName = "factory_id", displayName = "工厂",scopeModel = "res_enterprise") |
|
| 28 | +private String factoryId; |
|
| 22 | 29 | |
| 23 | 30 | 镜像地址: harbor.devcenter.gushen.sieiot.com/iidp/sie-snest:2.4.1-tongwei.20 |
| 24 | 31 | 下载地址: http://idp.chinasie.com/download/repository/sie-snest-2.4.1-tongwei.20.tar |