Details
diff --git a/payment/src/main/resources/com/ning/billing/payment/dao/PaymentAttemptSqlDao.sql.stg b/payment/src/main/resources/com/ning/billing/payment/dao/PaymentAttemptSqlDao.sql.stg
index 17692e2..505feae 100644
--- a/payment/src/main/resources/com/ning/billing/payment/dao/PaymentAttemptSqlDao.sql.stg
+++ b/payment/src/main/resources/com/ning/billing/payment/dao/PaymentAttemptSqlDao.sql.stg
@@ -66,6 +66,8 @@ update <tableName()>
set processing_status = :processingStatus
, gateway_error_code = :gatewayErrorCode
, gateway_error_msg = :gatewayErrorMsg
+, updated_by = :createdBy
+, updated_date = :createdDate
where id = :id
<AND_CHECK_TENANT()>
;
diff --git a/payment/src/main/resources/com/ning/billing/payment/dao/PaymentMethodSqlDao.sql.stg b/payment/src/main/resources/com/ning/billing/payment/dao/PaymentMethodSqlDao.sql.stg
index 8652152..bd5ef48 100644
--- a/payment/src/main/resources/com/ning/billing/payment/dao/PaymentMethodSqlDao.sql.stg
+++ b/payment/src/main/resources/com/ning/billing/payment/dao/PaymentMethodSqlDao.sql.stg
@@ -32,6 +32,8 @@ tableValues() ::= <<
markPaymentMethodAsDeleted(id) ::= <<
update <tableName()>
set is_active = 0
+, updated_by = :createdBy
+, updated_date = :createdDate
where id = :id
<AND_CHECK_TENANT()>
;
@@ -41,6 +43,8 @@ unmarkPaymentMethodAsDeleted(id) ::= <<
update <tableName()>
set is_active = 1
where id = :id
+, updated_by = :createdBy
+, updated_date = :createdDate
<AND_CHECK_TENANT()>
;
>>
diff --git a/payment/src/main/resources/com/ning/billing/payment/dao/PaymentSqlDao.sql.stg b/payment/src/main/resources/com/ning/billing/payment/dao/PaymentSqlDao.sql.stg
index 871d641..7e45391 100644
--- a/payment/src/main/resources/com/ning/billing/payment/dao/PaymentSqlDao.sql.stg
+++ b/payment/src/main/resources/com/ning/billing/payment/dao/PaymentSqlDao.sql.stg
@@ -84,6 +84,8 @@ update payments
set payment_status = :paymentStatus
, processed_amount = :processedAmount
, processed_currency = :processedCurrency
+, updated_by = :createdBy
+, updated_date = :createdDate
where id = :id
<AND_CHECK_TENANT()>
;
@@ -95,6 +97,8 @@ update <tableName()>
set amount = :amount
, effective_date = :effectiveDate
, payment_method_id= :paymentMethodId
+, updated_by = :createdBy
+, updated_date = :createdDate
where id = :id
<AND_CHECK_TENANT()>
;
diff --git a/payment/src/main/resources/com/ning/billing/payment/dao/RefundSqlDao.sql.stg b/payment/src/main/resources/com/ning/billing/payment/dao/RefundSqlDao.sql.stg
index 4efb97d..d0f701e 100644
--- a/payment/src/main/resources/com/ning/billing/payment/dao/RefundSqlDao.sql.stg
+++ b/payment/src/main/resources/com/ning/billing/payment/dao/RefundSqlDao.sql.stg
@@ -39,6 +39,8 @@ update <tableName()>
set refund_status = :refundStatus
, processed_amount = :processedAmount
, processed_currency = :processedCurrency
+, updated_by = :createdBy
+, updated_date = :createdDate
where id = :id
<AND_CHECK_TENANT()>
;