系统支持切换单位来实时过滤业务数据的查询条件

This commit is contained in:
陈博文
2025-06-23 16:06:42 +08:00
parent d63ca6a1d8
commit 1109127cb9
13 changed files with 296 additions and 11 deletions

View File

@@ -9,6 +9,7 @@ import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* 登录用户信息
@@ -62,6 +63,8 @@ public class LoginUser {
*/
private Long visitTenantId;
private Set<Long> visitDeptIds;
public void setContext(String key, Object value) {
if (context == null) {
context = new HashMap<>();