fix(用户管理): 修复用户查询时名字中间隔号被 HTML 实体转义的问题
将查询参数中的 · 转义回 · 后再执行查询 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
8f00d07377
commit
63cc815022
+2
@@ -192,6 +192,8 @@ public class HealthUserEmployeeExServiceImpl extends ServiceImpl<HealthUserEmplo
|
|||||||
}
|
}
|
||||||
List<String> orgCodes = GlobalUtils.getManagedCodes(filter.getOrgCode());
|
List<String> orgCodes = GlobalUtils.getManagedCodes(filter.getOrgCode());
|
||||||
filter.setOrgCodes(orgCodes);
|
filter.setOrgCodes(orgCodes);
|
||||||
|
// 20260330 · 名字中包含·需要转义回·
|
||||||
|
filter.setRealname(filter.getRealname().replaceAll("·", "·"));
|
||||||
IPage<UserEmployee> userEmployeeIPage = healthUserEmployeeExMapper.queryUserEmployeeList(page, filter);
|
IPage<UserEmployee> userEmployeeIPage = healthUserEmployeeExMapper.queryUserEmployeeList(page, filter);
|
||||||
if (CollectionUtils.isEmpty(userEmployeeIPage.getRecords())) {
|
if (CollectionUtils.isEmpty(userEmployeeIPage.getRecords())) {
|
||||||
return userEmployeeIPage;
|
return userEmployeeIPage;
|
||||||
|
|||||||
Reference in New Issue
Block a user