Skip to content
Open
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 @@ -12,6 +12,7 @@ serviceMaps:
transactionCodeJsonPath: $.billNumber
auditAttributeBasePath: $.bill
queryMaps:
# on conflict do nothing change is done to support insert of billDetails batchwise. Every consecutive batch will have the same bill with different billDetails
- query: INSERT into health.eg_expense_bill (id, tenantid, localitycode, billdate, duedate, billnumber, totalamount, totalPaidAmount, businessservice, referenceId, fromperiod, toperiod, status, paymentStatus, createdby, createdTime, lastmodifiedby, lastModifiedTime, additionalDetails) values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ON CONFLICT (id, tenantid) DO NOTHING
basePath: $.bill
jsonMaps:
Expand Down
5 changes: 3 additions & 2 deletions works/egov-persister/expense-bill-payment-persister.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ serviceMaps:
transactionCodeJsonPath: $.billNumber
auditAttributeBasePath: $.bill
queryMaps:
- query: INSERT into eg_expense_bill (id, tenantid, billdate, duedate, billnumber, totalamount, totalPaidAmount, businessservice, referenceId, fromperiod, toperiod, status, paymentStatus, createdby, createdTime, lastmodifiedby, lastModifiedTime, additionalDetails) values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
# on conflict do nothing change is done to support insert of billDetails batchwise. Every consecutive batch will have the same bill with different billDetails
- query: INSERT into eg_expense_bill (id, tenantid, billdate, duedate, billnumber, totalamount, totalPaidAmount, businessservice, referenceId, fromperiod, toperiod, status, paymentStatus, createdby, createdTime, lastmodifiedby, lastModifiedTime, additionalDetails) values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ON CONFLICT (id, tenantid) DO NOTHING
basePath: $.bill
jsonMaps:

Expand Down Expand Up @@ -56,7 +57,7 @@ serviceMaps:


# insert into party from payer of bill
- query: INSERT into eg_expense_party (id, tenantid, type, identifier, parentId, status, createdby, createdTime, lastmodifiedby, lastModifiedTime) values(?,?,?,?,?,?,?,?,?,?)
- query: INSERT into eg_expense_party (id, tenantid, type, identifier, parentId, status, createdby, createdTime, lastmodifiedby, lastModifiedTime) values(?,?,?,?,?,?,?,?,?,?) ON CONFLICT (id, tenantid) DO NOTHING
basePath: $.bill.payer
jsonMaps:

Expand Down