|
|
|
@ -434,6 +434,13 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
|
String trade_time = DateFormatUtils.format(calendar, "HH:mm:ss");
|
|
|
|
|
order.put("trade_date", trade_date);
|
|
|
|
|
order.put("trade_time", trade_time);
|
|
|
|
|
//todo
|
|
|
|
|
if ("Debit".equals(order.getString("transaction_type"))){
|
|
|
|
|
order.put("currency","AUD");
|
|
|
|
|
}
|
|
|
|
|
if ("CNY".equals(order.getString("currency"))){
|
|
|
|
|
order.put("clearing_amount",order.getBigDecimal("total_amount"));
|
|
|
|
|
}
|
|
|
|
|
if (!date_contains.contains(trade_date)) {
|
|
|
|
|
String re_date = trade_date.replaceAll("-", "");
|
|
|
|
|
TradeLogQuery date_query = new TradeLogQuery();
|
|
|
|
|