From 106ca85bfbcbd717da9b887f49b3a494d49fbf5c Mon Sep 17 00:00:00 2001 From: "eason.qian" Date: Fri, 2 Mar 2018 11:15:25 +0800 Subject: [PATCH] fix --- .../manage/appclient/core/impls/RetailAppServiceImp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailAppServiceImp.java b/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailAppServiceImp.java index a5e397364..efeb6d09a 100644 --- a/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailAppServiceImp.java +++ b/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailAppServiceImp.java @@ -429,7 +429,7 @@ public class RetailAppServiceImp implements RetailAppService { default: break; } - Calendar calendar = (Calendar) order.get("create_time"); + Calendar calendar = (Calendar) order.get("transaction_time"); String trade_date = DateFormatUtils.format(calendar, "yyyy-MM-dd"); String trade_time = DateFormatUtils.format(calendar, "HH:mm:ss"); order.put("trade_date", trade_date);