From b7760ab3eec64c9c23db976ec104e7d09cfae041 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期一, 20 四月 2026 10:22:59 +0800
Subject: [PATCH] fix(customer): 解决客户档案删除时私海数据未清理问题

---
 src/main/java/com/ruoyi/framework/security/LoginUser.java |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/ruoyi/framework/security/LoginUser.java b/src/main/java/com/ruoyi/framework/security/LoginUser.java
index bb91be1..168202f 100644
--- a/src/main/java/com/ruoyi/framework/security/LoginUser.java
+++ b/src/main/java/com/ruoyi/framework/security/LoginUser.java
@@ -79,7 +79,9 @@
     /**
      * 褰撳墠閮ㄩ棬id
      */
-    private Long currentDeptId;
+    private Long currentDeptId;
+
+    private String dataScope;
 
     public LoginUser()
     {
@@ -314,7 +316,15 @@
         return currentDeptId;
     }
 
-    public void setCurrentDeptId(Long currentDeptId) {
-        this.currentDeptId = currentDeptId;
-    }
-}
+    public void setCurrentDeptId(Long currentDeptId) {
+        this.currentDeptId = currentDeptId;
+    }
+
+    public String getDataScope() {
+        return dataScope;
+    }
+
+    public void setDataScope(String dataScope) {
+        this.dataScope = dataScope;
+    }
+}

--
Gitblit v1.9.3