|
|
|
@ -1209,6 +1209,9 @@ public class TradeLogServiceImpl implements TradeLogService {
|
|
|
|
|
String end = query.getDateto() == null ?"":query.getDateto();
|
|
|
|
|
String timezone = partner.getJSONObject("client").getString("timezone");
|
|
|
|
|
JSONObject params = query.toParams(timezone);
|
|
|
|
|
if (params.get("client_ids") == null) {
|
|
|
|
|
params.put("client_id",partner.getJSONObject("client").getString("client_id"));
|
|
|
|
|
}
|
|
|
|
|
List<JSONObject> clientOrderList = transactionMapper.getClientOrderByTransactionTime(params);
|
|
|
|
|
List<Integer> clientOrders = new ArrayList<>(clientOrderList.size());
|
|
|
|
|
clientOrderList.parallelStream().forEach(p->{
|
|
|
|
@ -1302,7 +1305,9 @@ public class TradeLogServiceImpl implements TradeLogService {
|
|
|
|
|
JSONObject client = partner.getJSONObject("client");
|
|
|
|
|
String timezone = client.getString("timezone");
|
|
|
|
|
JSONObject params = query.toParams(timezone);
|
|
|
|
|
params.put("client_id",client.getString("client_id"));
|
|
|
|
|
if (params.get("client_ids") == null) {
|
|
|
|
|
params.put("client_id",client.getString("client_id"));
|
|
|
|
|
}
|
|
|
|
|
List<JSONObject> clientOrderList = transactionMapper.getClientOrderByTransactionTime(params);
|
|
|
|
|
List<Integer> clientOrders = new ArrayList<>(clientOrderList.size());
|
|
|
|
|
clientOrderList.parallelStream().forEach(p->{
|
|
|
|
|