|
|
@ -407,7 +407,7 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
params.put("client_id", client_id);
|
|
|
|
params.put("client_id", client_id);
|
|
|
|
|
|
|
|
|
|
|
|
PageList<JSONObject> orders = orderMapper.listTransactionsForApp(params,
|
|
|
|
PageList<JSONObject> orders = orderMapper.listTransactionsForApp(params,
|
|
|
|
new PageBounds(query.getPage(), query.getLimit(), Order.formString("create_time.desc")));
|
|
|
|
new PageBounds(query.getPage(), query.getLimit(), Order.formString("transaction_time.desc")));
|
|
|
|
TimeZoneUtils.switchTimeZone(orders, query.getTimezone(), "create_time", "transaction_time", "confirm_time");
|
|
|
|
TimeZoneUtils.switchTimeZone(orders, query.getTimezone(), "create_time", "transaction_time", "confirm_time");
|
|
|
|
ArrayList<String> date_contains = new ArrayList<>();
|
|
|
|
ArrayList<String> date_contains = new ArrayList<>();
|
|
|
|
for (JSONObject order : orders) {
|
|
|
|
for (JSONObject order : orders) {
|
|
|
@ -445,7 +445,7 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
JSONObject date_params = date_query.toParams(query.getTimezone());
|
|
|
|
JSONObject date_params = date_query.toParams(query.getTimezone());
|
|
|
|
date_params.put("client_id", device.getIntValue("client_id"));
|
|
|
|
date_params.put("client_id", device.getIntValue("client_id"));
|
|
|
|
JSONObject analysis = orderMapper.analysisOrders(date_params);
|
|
|
|
JSONObject analysis = transactionAnalysisMapper.getClientTransaction(date_params);
|
|
|
|
order.put("date_total", analysis);
|
|
|
|
order.put("date_total", analysis);
|
|
|
|
date_contains.add(trade_date);
|
|
|
|
date_contains.add(trade_date);
|
|
|
|
}
|
|
|
|
}
|
|
|
|