master
wangning 7 years ago
parent 58aba0f91b
commit 9ddcea613f

@ -206,6 +206,4 @@ VALUES
( (
'android_update' , 'android_update' ,
'true' 'true'
); );
ALTER table sys_clients_customers drop column update_time;

@ -230,6 +230,7 @@ public class CustomerImpressionServiceImpl implements CustomerImpressionService
client_customer.put("nick_name", userInfo.getString("nickname")); client_customer.put("nick_name", userInfo.getString("nickname"));
} }
client_customer.put("payment_times", 1); client_customer.put("payment_times", 1);
client_customer.put("update_time", now);
client_customer.put("total_amount", order.getBigDecimal("total_amount")); client_customer.put("total_amount", order.getBigDecimal("total_amount"));
client_customer.put("last_payment_time", order.getDate("confirm_time")); client_customer.put("last_payment_time", order.getDate("confirm_time"));
clientCustomersMapper.insert(client_customer); clientCustomersMapper.insert(client_customer);

Loading…
Cancel
Save