kaiyu
2021-04-09 51c36e6f6b17862714fbd5c42da43386dc05d28a
screen-api/src/main/java/com/moral/api/utils/OperationLogUtils.java
@@ -31,7 +31,8 @@
        UserLog userLog = new UserLog();
        userLog.setIp(WebUtils.getIpAddr(request));
        userLog.setOperateId((Integer) currentUserInfo.get("userId"));
        userLog.setOrganizationId((Integer) currentUserInfo.get("organizationId"));
        Map<String, Object> orgInfo = (Map<String, Object>) currentUserInfo.get("organization");
        userLog.setOrganizationId((Integer) orgInfo.get("id"));
        userLog.setContent(content);
        userLogService.save(userLog);
    }