From 272ecbda1384128fd90d84a53bf0838267caa1c7 Mon Sep 17 00:00:00 2001 From: Leeza Baidar Date: Fri, 8 Dec 2023 18:20:12 +0545 Subject: [PATCH] #changes for account validation --- GMENepal/GMENepalAPIService/GMENepalAPI.cs | 2 +- Repository/DAO/ThirdParty/ThirdPartyRepo.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GMENepal/GMENepalAPIService/GMENepalAPI.cs b/GMENepal/GMENepalAPIService/GMENepalAPI.cs index d209d93..c03923d 100644 --- a/GMENepal/GMENepalAPIService/GMENepalAPI.cs +++ b/GMENepal/GMENepalAPIService/GMENepalAPI.cs @@ -303,7 +303,7 @@ namespace GMENepal.GMENepalAPIService else { ThirdPartyRepo thirdPartyRepo = new ThirdPartyRepo(); - var resp = thirdPartyRepo.SyncTxnAsComment(gS.PartnerId, gS.ControlNo, gS.ControlNo, "", response.Msg); + var resp = thirdPartyRepo.SyncTxnAsComment(sendTransaction.ProviderId, sendTransaction.TranId.ToString(), gS.ControlNo, "", response.Msg); _response.ResponseCode = response.ResponseCode; _response.Msg = response.Msg; diff --git a/Repository/DAO/ThirdParty/ThirdPartyRepo.cs b/Repository/DAO/ThirdParty/ThirdPartyRepo.cs index 3e75f2d..d09c526 100644 --- a/Repository/DAO/ThirdParty/ThirdPartyRepo.cs +++ b/Repository/DAO/ThirdParty/ThirdPartyRepo.cs @@ -1013,7 +1013,7 @@ namespace Repository.DAO.ThirdParty public TPResponse SyncTxnAsComment(string provider, string tranId, string ControlNo, string status, string msg) { - string sql = "EXEC PROC_TP_TXN_PUSH @flag='add-api-comment'"; + string sql = "EXEC PROC_TP_TXN_PUSH @flag='add-job-txn-comment'"; sql += ",@PROVIDER = " + FilterString(provider); sql += ",@TRAN_ID = " + FilterString(tranId); sql += ",@message = " + FilterString(msg);