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

set createdtime and createdby in audit details #975

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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 @@ -228,7 +228,10 @@ public DemandResponse updateAsync(DemandRequest demandRequest, PaymentBackUpdate

RequestInfo requestInfo = demandRequest.getRequestInfo();
List<Demand> demands = demandRequest.getDemands();
AuditDetails currAuditDetails=demands.get(0).getAuditDetails();
AuditDetails auditDetail = util.getAuditDetail(requestInfo);
auditDetail.setCreatedTime(currAuditDetails.getCreatedTime());
auditDetail.setCreatedBy(currAuditDetails.getCreatedBy());

List<Demand> newDemands = new ArrayList<>();

Expand Down