eason.qian 7 years ago
parent 636ab2cf01
commit 106ca85bfb

@ -429,7 +429,7 @@ public class RetailAppServiceImp implements RetailAppService {
default: default:
break; 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_date = DateFormatUtils.format(calendar, "yyyy-MM-dd");
String trade_time = DateFormatUtils.format(calendar, "HH:mm:ss"); String trade_time = DateFormatUtils.format(calendar, "HH:mm:ss");
order.put("trade_date", trade_date); order.put("trade_date", trade_date);

Loading…
Cancel
Save