Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
HIMSScannerService
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HIMSScanner
HIMSScannerService
Commits
4682b717
Commit
4682b717
authored
Dec 13, 2024
by
Krishna Reddy Tamatam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added one more parm for patient documents delete
parent
dbf15746
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
FTPManagementAPIController.cs
Controllers/FTPManagementAPIController.cs
+2
-2
FTPDataAdapter.cs
Services/FTPDataAdapter.cs
+2
-2
No files found.
Controllers/FTPManagementAPIController.cs
View file @
4682b717
...
...
@@ -238,14 +238,14 @@ namespace FTP_Services.Services.Controllers
// }
[
HttpPost
(
"DeletePatientDocument"
)]
public
string
DeletePatientDocument
(
int
DocumentID
)
public
string
DeletePatientDocument
(
int
DocumentID
,
int
UserID
)
{
log
.
Debug
(
"DeletePatientDocument ==> "
);
string
DeletePT
=
""
;
try
{
FTPDataAdapter
adapter
=
new
FTPDataAdapter
(
_appSettings
);
DeletePT
=
adapter
.
DeletePatientDocumentData
(
DocumentID
);
DeletePT
=
adapter
.
DeletePatientDocumentData
(
DocumentID
,
UserID
);
}
catch
(
Exception
ex
)
{
...
...
Services/FTPDataAdapter.cs
View file @
4682b717
...
...
@@ -317,7 +317,7 @@ namespace FTP_Services.Services
// return _Delete;
// }
public
string
DeletePatientDocumentData
(
int
SndPatDocRecID
)
public
string
DeletePatientDocumentData
(
int
SndPatDocRecID
,
int
SndUserID
)
{
string
result
=
string
.
Empty
;
try
...
...
@@ -326,7 +326,7 @@ namespace FTP_Services.Services
{
string
SQLStr
=
"SELECT * FROM \"SPScanTool_DeletePatientDocument\"("
+
SndPatDocRecID
+
SndPatDocRecID
+
','
+
SndUserID
+
");"
;
result
=
_repository
.
Single
<
string
>(
SQLStr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment