Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ public class GrievanceWorklistDTO implements Serializable {
private String age;
private Boolean retryNeeded;
private Integer callCounter;
private Timestamp lastCall;
private Timestamp lastCall;
private Boolean beneficiaryConsent;

public GrievanceWorklistDTO(String complaintID,Long grievanceId, String subjectOfComplaint, String complaint,
Long beneficiaryRegID, Integer providerServiceMapID,String primaryNumber,String severety,String state,
Integer userId, Boolean deleted, String createdBy, Timestamp createdDate, Timestamp lastModDate,
Boolean isCompleted,String firstName, String lastName, String gender, String district, Long beneficiaryID, String age,
Boolean retryNeeded, Integer callCounter, Timestamp lastCall) {
Boolean retryNeeded, Integer callCounter, Timestamp lastCall, Boolean beneficiaryConsent) {
super();
this.complaintID = complaintID;
this.grievanceId = grievanceId;
Expand All @@ -71,6 +72,7 @@ public GrievanceWorklistDTO(String complaintID,Long grievanceId, String subjectO
this.retryNeeded = retryNeeded;
this.callCounter = callCounter;
this.lastCall = lastCall;
this.beneficiaryConsent = beneficiaryConsent;
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public List<GrievanceWorklistDTO> getFormattedGrievanceData(String request) thro

// Loop through the worklist data and format the response
for (Object[] row : worklistData) {
if (row == null || row.length < 22)
if (row == null || row.length < 24)
{
logger.warn("invalid row data received");
continue;
Expand Down Expand Up @@ -334,7 +334,8 @@ public List<GrievanceWorklistDTO> getFormattedGrievanceData(String request) thro
ageFormatted,
(Boolean) row[21], // retryNeeded
(Integer) row[22], // callCounter
(Timestamp) row[13] //lastCall
(Timestamp) row[13], // lastCall
(Boolean) row[23] //beneficiaryConsent

);

Expand Down
Loading