|
|
|
@ -386,8 +386,13 @@ public class TradeLogServiceImpl implements TradeLogService {
|
|
|
|
|
TimeZoneUtils.switchTimeZone(order, timezone, "create_time", "confirm_time", "transaction_time");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JSONObject customer = customerMapper.findCustomerByOpenId(order.getString("customer_id"));
|
|
|
|
|
if (customer != null) {
|
|
|
|
|
JSONObject customer = new JSONObject();
|
|
|
|
|
if (order.getString("customer_id").startsWith("olH")){
|
|
|
|
|
customer = customerMapper.findCustomerGlobalpayByOpenId(order.getString("customer_id"));
|
|
|
|
|
}else {
|
|
|
|
|
customer = customerMapper.findCustomerByOpenId(order.getString("customer_id"));
|
|
|
|
|
}
|
|
|
|
|
if (customer != null && !customer.isEmpty()) {
|
|
|
|
|
order.put("headimg", customer.getString("headimg"));
|
|
|
|
|
order.put("nickname", customer.getString("nickname"));
|
|
|
|
|
}
|
|
|
|
|