Commit c5e222fe authored by Krishna Reddy Tamatam's avatar Krishna Reddy Tamatam

For Release

parent 76e0bbc7
......@@ -333,13 +333,13 @@ namespace FTP_Services.Services.Controllers
}
[HttpGet("GetPatientDocuments")]
public IActionResult GetPatientDocuments(int SPatientID, int SLocationID, int SAppointmentID, int SAdmissionID, int SDocID, string SDueFrom, string SDueTO)
public IActionResult GetPatientDocuments(int SPatientID, int SLocationID, int SAppointmentID, int SAdmissionID, int SDocID, int RecType, string SDueFrom, string SDueTO)
{
log.Debug("GetPatientDocuments ==> ");
try
{
FTPDataAdapter adapter = new FTPDataAdapter(_appSettings);
List<object>? RequestsList = adapter.PatientDocuments(SPatientID, SLocationID, SAppointmentID, SAdmissionID, SDocID, SDueFrom, SDueTO);
List<object>? RequestsList = adapter.PatientDocuments(SPatientID, SLocationID, SAppointmentID, SAdmissionID, SDocID,RecType, SDueFrom, SDueTO);
return Ok(RequestsList);
}
catch (Exception ex)
......
......@@ -138,8 +138,8 @@ if (app.Environment.IsDevelopment())
}
else
{
app.Run(); //For Test Site
//app.Run("http://*:4708"); // For Production
//app.Run(); //For Test Site
app.Run("http://*:4708"); // For Production
//app.Run("http://*:4709"); // For Admin
}
......
......@@ -594,7 +594,7 @@ namespace FTP_Services.Services
}
}
public List<object>? PatientDocuments(int SPatientID, int SLocationID, int SAppointmentID, int SAdmissionID, int SDocID, string? SDueFrom, string? SDueTO)
public List<object>? PatientDocuments(int SPatientID, int SLocationID, int SAppointmentID, int SAdmissionID, int SDocID,int RecType, string? SDueFrom, string? SDueTO)
{
List<object>? PatientDocumentsData = null;
try
......@@ -611,6 +611,7 @@ namespace FTP_Services.Services
{SAppointmentID},
{SAdmissionID},
{SDocID},
{RecType},
{dueFromSql},
{dueToSql}
);";
......@@ -922,7 +923,7 @@ namespace FTP_Services.Services
+ ");";
result = _repository.Single<string>(SQLStr);
result = "";
GC.Collect();
tx.Complete();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment