From 39b7d4ba41362b16fa0f91deb4f0cd6b17194186 Mon Sep 17 00:00:00 2001 From: Shubham Gupta <75482143+shubhamdevgupta@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:45:29 +0530 Subject: [PATCH] Update water-persist.yml update query --- egov-persister/water-persist.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egov-persister/water-persist.yml b/egov-persister/water-persist.yml index 9eef95d..ddcb1a3 100644 --- a/egov-persister/water-persist.yml +++ b/egov-persister/water-persist.yml @@ -179,7 +179,7 @@ serviceMaps: isTransaction: true queryMaps: - - query: INSERT INTO eg_ws_connection_audit SELECT * FROM eg_ws_connection WHERE id = ?; + - query: INSERT INTO eg_ws_connection_audit(applicationstatus,status, connectionno,ihlDetail, sbmAccountno, schemeId, schemeName, accesIhl, oldconnectionno, action, roadCuttingArea, roadType, adhocpenalty, adhocrebate,adhocpenaltyreason, adhocpenaltycomment, adhocrebatereason, adhocrebatecomment, lastModifiedBy, lastModifiedTime,dateEffectiveFrom, locality, previousReadingDate, isoldapplication, property_id, arrears, paymentType, penalty, advance, additionaldetails)SELECT applicationstatus,status, connectionno,ihlDetail, sbmAccountno, schemeId, schemeName, accesIhl, oldconnectionno, action, roadCuttingArea, roadType, adhocpenalty, adhocrebate,adhocpenaltyreason, adhocpenaltycomment, adhocrebatereason, adhocrebatecomment, lastModifiedBy, lastModifiedTime,dateEffectiveFrom, locality, previousReadingDate, isoldapplication, property_id, arrears, paymentType, penalty, advance, additionaldetails FROM eg_ws_connection WHERE id =?; basePath: $.WaterConnection jsonMaps: - jsonPath: $.WaterConnection.id @@ -469,7 +469,7 @@ serviceMaps: isTransaction: true queryMaps: - - query: INSERT INTO eg_ws_connection_audit SELECT * FROM eg_ws_connection WHERE id = ?; + - query: INSERT INTO eg_ws_connection_audit(applicationstatus,status, connectionno,ihlDetail, sbmAccountno, schemeId, schemeName, accesIhl, oldconnectionno, action, roadCuttingArea, roadType, adhocpenalty, adhocrebate,adhocpenaltyreason, adhocpenaltycomment, adhocrebatereason, adhocrebatecomment, lastModifiedBy, lastModifiedTime,dateEffectiveFrom, locality, previousReadingDate, isoldapplication, property_id, arrears, paymentType, penalty, advance, additionaldetails)SELECT applicationstatus,status, connectionno,ihlDetail, sbmAccountno, schemeId, schemeName, accesIhl, oldconnectionno, action, roadCuttingArea, roadType, adhocpenalty, adhocrebate,adhocpenaltyreason, adhocpenaltycomment, adhocrebatereason, adhocrebatecomment, lastModifiedBy, lastModifiedTime,dateEffectiveFrom, locality, previousReadingDate, isoldapplication, property_id, arrears, paymentType, penalty, advance, additionaldetails FROM eg_ws_connection WHERE id =?; basePath: $.WaterConnection jsonMaps: - jsonPath: $.WaterConnection.id