Fixed upload document external system issue

This commit is contained in:
rajesh
2026-03-05 16:53:51 +05:30
parent eb5e0f73e2
commit 0669d2c928

View File

@@ -1240,9 +1240,9 @@ public class AppointmentDao {
if (documentAttachmentId!=null) { if (documentAttachmentId!=null) {
// If the documentAttachmentId is already set, return the response // If the documentAttachmentId is already set, return the response
log.info("Document already uploaded with documentAttachmentId: {}", systemDoc.getDocumentAttachmentId()); log.info("Document already uploaded with documentAttachmentId: {}", documentAttachmentId);
DocumentUploadResponse response = new DocumentUploadResponse(); DocumentUploadResponse response = new DocumentUploadResponse();
response.setDocumentAttachmentId(systemDoc.getDocumentAttachmentId()); response.setDocumentAttachmentId(documentAttachmentId);
return response; return response;
} }
// Check if a thread is already running for this document upload // Check if a thread is already running for this document upload