From 00012cef52efd7766185557310bf8583f81b25b2 Mon Sep 17 00:00:00 2001 From: MahanCh Date: Sat, 12 Jul 2025 16:29:14 +0330 Subject: [PATCH] Add RoleName Ro CurrentAccountInfo Add Payment Transaction Time in Query --- 0_Framework/Application/AuthHelper.cs | 2 +- .../Repository/PaymentTransactionRepository.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/0_Framework/Application/AuthHelper.cs b/0_Framework/Application/AuthHelper.cs index 453c6cb8..50e221b2 100644 --- a/0_Framework/Application/AuthHelper.cs +++ b/0_Framework/Application/AuthHelper.cs @@ -41,7 +41,7 @@ public class AuthHelper : IAuthHelper result.SubAccountId = long.Parse(claims.FirstOrDefault(x => x.Type == "SubAccountId").Value); result.WorkshopName = claims.FirstOrDefault(x => x is { Type: "WorkshopName" })?.Value; result.Permissions = Tools.DeserializeFromBsonList(claims.FirstOrDefault(x => x is { Type: "permissions" })?.Value); - + result.RoleName = claims.FirstOrDefault(x => x is { Type: "RoleName" })?.Value; return result; } diff --git a/CompanyManagment.EFCore/Repository/PaymentTransactionRepository.cs b/CompanyManagment.EFCore/Repository/PaymentTransactionRepository.cs index 274f55b7..2f8d2405 100644 --- a/CompanyManagment.EFCore/Repository/PaymentTransactionRepository.cs +++ b/CompanyManagment.EFCore/Repository/PaymentTransactionRepository.cs @@ -82,6 +82,7 @@ public class PaymentTransactionRepository:RepositoryBase