Browse Source

#changes for account validation

feature/Redmine-17825-Email_Template
Leeza Baidar 10 months ago
parent
commit
272ecbda13
  1. 2
      GMENepal/GMENepalAPIService/GMENepalAPI.cs
  2. 2
      Repository/DAO/ThirdParty/ThirdPartyRepo.cs

2
GMENepal/GMENepalAPIService/GMENepalAPI.cs

@ -303,7 +303,7 @@ namespace GMENepal.GMENepalAPIService
else else
{ {
ThirdPartyRepo thirdPartyRepo = new ThirdPartyRepo(); 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.ResponseCode = response.ResponseCode;
_response.Msg = response.Msg; _response.Msg = response.Msg;

2
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) 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 += ",@PROVIDER = " + FilterString(provider);
sql += ",@TRAN_ID = " + FilterString(tranId); sql += ",@TRAN_ID = " + FilterString(tranId);
sql += ",@message = " + FilterString(msg); sql += ",@message = " + FilterString(msg);

Loading…
Cancel
Save