killbill-uncached

Fix mistake createdBy -> updatedBy

12/20/2013 3:31:43 PM

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 505feae..87ebd96 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,7 +66,7 @@ update <tableName()>
 set processing_status = :processingStatus
 , gateway_error_code = :gatewayErrorCode
 , gateway_error_msg = :gatewayErrorMsg
-, updated_by = :createdBy
+, updated_by = :updatedBy
 , 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 bd5ef48..1a55de0 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,7 +32,7 @@ tableValues() ::= <<
 markPaymentMethodAsDeleted(id) ::= <<
 update <tableName()>
 set is_active = 0
-, updated_by = :createdBy
+, updated_by = :updatedBy
 , updated_date = :createdDate
 where  id = :id
 <AND_CHECK_TENANT()>
@@ -43,7 +43,7 @@ unmarkPaymentMethodAsDeleted(id) ::= <<
 update <tableName()>
 set is_active = 1
 where  id = :id
-, updated_by = :createdBy
+, updated_by = :updatedBy
 , 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 7e45391..3f9624c 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,7 +84,7 @@ update payments
 set payment_status = :paymentStatus
 , processed_amount = :processedAmount
 , processed_currency = :processedCurrency
-, updated_by = :createdBy
+, updated_by = :updatedBy
 , updated_date = :createdDate
 where id = :id
 <AND_CHECK_TENANT()>
@@ -97,7 +97,7 @@ update <tableName()>
 set amount = :amount
 , effective_date = :effectiveDate
 , payment_method_id= :paymentMethodId
-, updated_by = :createdBy
+, updated_by = :updatedBy
 , 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 d0f701e..a288ea5 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,7 +39,7 @@ update <tableName()>
 set refund_status = :refundStatus
 , processed_amount = :processedAmount
 , processed_currency = :processedCurrency
-, updated_by = :createdBy
+, updated_by = :updatedBy
 , updated_date = :createdDate
 where id = :id
 <AND_CHECK_TENANT()>