# 从 R2.6.6.3.33 升级到 R2.6.6.3.34
# 更新时间
2025 年 5 月 9 日
# 更新内容
- 修复偶尔从缓存中获取数据为null的问题。
- 修复导出时的异常报错。
- 免密指定业务单元、业务岗位的匹配逻辑升级。
# 后端升级步骤
- 在根 pom 文件中修改
hos-app-dependencies
的版本号为R2.6.6.3.34
,修改hos-starter-dependencies
的版本号为R1.5.7.12
,修改hos-security-dependencies
的版本号为R1.0.8.25
。
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.mediway.hos</groupId>
<artifactId>hos-app-dependencies</artifactId>
<version>R2.6.6.3.34</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.mediway.hos</groupId>
<artifactId>hos-starter-dependencies</artifactId>
<version>R1.5.7.12</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.mediway.hos</groupId>
<artifactId>hos-security-dependencies</artifactId>
<version>R1.0.8.25</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
- 请修改系统参数 编码为
free-login-null-error
配置项的值为true
。
# 补充说明
免密指定参数对应的表字段说明
buUnitCode(业务单元编码)---> hos_org_business_unit(业务单元表code字段)
buPostCode(业务岗位编码)---> hos_org_post(业务岗位表code字段)
免密指定参数
1、如果传了【业务单元编码】,【业务岗位编码】表示 是希望使用固定的 业务单元+业务岗位登录,如果未找到提示【无业务单元xx与业务岗位xx权限】
2、如果传了【业务单元编码】,表示希望使用固定的业务单元登录,业务岗位不敏感,如果未找到提示【无业务单元xx权限】
3、如果传了【业务岗位编码】,表示希望使用固定业务岗位登录, 业务单元不敏感,如果未找到提示【无业务岗位xx权限】
4、如果都不传,表示业务单元不敏感,业务岗位也不敏感,取第一个登录位置。