master
wangning 7 years ago
commit f14dbf84ae

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

Loading…
Cancel
Save