Updated code

This commit is contained in:
nisha
2024-12-13 17:54:42 +05:30
parent 709d40e032
commit 7ad6e6c2cc
2 changed files with 5 additions and 2 deletions

View File

@@ -204,7 +204,8 @@ public class ApplicationEvaluationDao {
documentResponseBean.setFilePath(documentEntity.getFilePath()); documentResponseBean.setFilePath(documentEntity.getFilePath());
documentResponseBean.setCreatedDate(documentEntity.getCreatedDate()); documentResponseBean.setCreatedDate(documentEntity.getCreatedDate());
documentResponseBean.setUpdatedDate(documentEntity.getUpdatedDate()); documentResponseBean.setUpdatedDate(documentEntity.getUpdatedDate());
evaluationDocResponse.setFileValue(documentResponseBean); documentResponseBean.setDocumentAttachmentId(documentEntity.getDocumentAttachmentId());
evaluationDocResponse.setFileValue(List.of(documentResponseBean));
evaluationDocResponse.setNameValue(doc.getNameValue()); evaluationDocResponse.setNameValue(doc.getNameValue());
evaluationDocResponse.setValid(doc.getValid()); evaluationDocResponse.setValid(doc.getValid());
evaluationDocResponse.setFieldId(doc.getFieldId()); evaluationDocResponse.setFieldId(doc.getFieldId());

View File

@@ -2,11 +2,13 @@ package net.gepafin.tendermanagement.model.response;
import lombok.Data; import lombok.Data;
import java.util.List;
@Data @Data
public class EvaluationDocumentResponse { public class EvaluationDocumentResponse {
private String fieldId; private String fieldId;
private String nameValue; private String nameValue;
private Boolean valid; private Boolean valid;
private DocumentResponseBean fileValue ; private List<DocumentResponseBean> fileValue ;
} }