Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
ISTE-44: Added demand change audit db script from ws-calculator service
Browse files Browse the repository at this point in the history
  • Loading branch information
debasishchakraborty-egovt committed May 24, 2024
1 parent 5c04bbe commit f47749b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,9 @@ private List<Demand> createDemand(RequestInfo requestInfo, List<Calculation> cal
data(demand).
createdby(requestInfo.getUserInfo().getUuid()).
createdtime(System.currentTimeMillis()).build();
log.info("wsDemandChangeAuditRequest:"+wsDemandChangeAuditRequest);
producer.push(config.getSaveDemandAudit(), wsDemandChangeAuditRequest);
WsDemandChangeAuditRequestWrapper wsDemandChangeAuditRequestWrapper = WsDemandChangeAuditRequestWrapper.builder().wsDemandChangeAuditRequest(wsDemandChangeAuditRequest).build();
log.info("WsDemandChangeAuditRequestWrapper:"+wsDemandChangeAuditRequestWrapper);
producer.push(config.getSaveDemandAudit(), wsDemandChangeAuditRequestWrapper);
});
}
demandRes = demandRepository.saveDemand(requestInfo, demands);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package org.egov.wscalculation.web.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.*;

@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
public class WsDemandChangeAuditRequestWrapper {

@JsonProperty("WsDemandChangeAuditRequestWrapper")
private WsDemandChangeAuditRequest wsDemandChangeAuditRequest;
}

0 comments on commit f47749b

Please sign in to comment.