From 916c7fce3f735b4fcd2e10bddff67ffa9c7ab39f Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Fri, 5 Jan 2018 13:58:24 +0800 Subject: [PATCH] update --- .../payment/manage/apps/core/impls/CustomerImpressionImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/au/com/royalpay/payment/manage/apps/core/impls/CustomerImpressionImpl.java b/src/main/java/au/com/royalpay/payment/manage/apps/core/impls/CustomerImpressionImpl.java index 86db8f97e..d232ac72e 100644 --- a/src/main/java/au/com/royalpay/payment/manage/apps/core/impls/CustomerImpressionImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/apps/core/impls/CustomerImpressionImpl.java @@ -109,6 +109,7 @@ public class CustomerImpressionImpl implements CustomerImpression { client_customer.put("payment_times", order.getIntValue("payment_times")); client_customer.put("total_amount", order.getBigDecimal("total_amount")); client_customer.put("update_time", now); + client_customer.put("last_payment_time",order.getDate("confirm_time")); clientCustomersMapper.insert(client_customer); } else { clientCustomerInfo.put("payment_times", clientCustomerInfo.getIntValue("payment_times") + order.getIntValue("payment_times")); @@ -129,6 +130,7 @@ public class CustomerImpressionImpl implements CustomerImpression { clientCustomerInfo.put("channel", order.getString("channel")); clientCustomerInfo.put("tag","不活跃用户"); clientCustomerInfo.put("update_time",now); + clientCustomerInfo.put("last_payment_time",order.getDate("confirm_time")); clientCustomersMapper.update(clientCustomerInfo); } }