修改fill方法 原来的 添加修改的操作人存的是账号,现在改成ID了

This commit is contained in:
2025-11-01 12:35:49 +08:00
parent 4e8fd1f38e
commit 9cc6647027

View File

@@ -27,7 +27,7 @@ public abstract class BaseServiceImpl {
String currentUserId = ""; String currentUserId = "";
Long deptId = 0L; Long deptId = 0L;
if(loginUser != null){ if(loginUser != null){
currentUserId = String.valueOf(loginUser.getUsername()); currentUserId = String.valueOf(loginUser.getUserId());
if (currentUserId == null || "".equals(currentUserId)) { if (currentUserId == null || "".equals(currentUserId)) {
currentUserId = "system"; currentUserId = "system";
} }