master
wangning 7 years ago
parent ea8a6fa275
commit 916c7fce3f

@ -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);
}
}

Loading…
Cancel
Save