From 16a0ac4137c3f2d06c88237195fcad06acc683e0 Mon Sep 17 00:00:00 2001 From: Taniya-eGov Date: Fri, 11 Oct 2024 14:43:18 +0530 Subject: [PATCH] set createdtime and createdby in audit details --- .../src/main/java/org/egov/demand/service/DemandService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business-services/billing-service/src/main/java/org/egov/demand/service/DemandService.java b/business-services/billing-service/src/main/java/org/egov/demand/service/DemandService.java index 47728c986..b686e9421 100644 --- a/business-services/billing-service/src/main/java/org/egov/demand/service/DemandService.java +++ b/business-services/billing-service/src/main/java/org/egov/demand/service/DemandService.java @@ -228,7 +228,10 @@ public DemandResponse updateAsync(DemandRequest demandRequest, PaymentBackUpdate RequestInfo requestInfo = demandRequest.getRequestInfo(); List demands = demandRequest.getDemands(); + AuditDetails currAuditDetails=demands.get(0).getAuditDetails(); AuditDetails auditDetail = util.getAuditDetail(requestInfo); + auditDetail.setCreatedTime(currAuditDetails.getCreatedTime()); + auditDetail.setCreatedBy(currAuditDetails.getCreatedBy()); List newDemands = new ArrayList<>();