|
|
@ -268,7 +268,14 @@ public class TradeLogServiceImpl implements TradeLogService {
|
|
|
|
add(query.getGatewayChild());
|
|
|
|
add(query.getGatewayChild());
|
|
|
|
}});
|
|
|
|
}});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
PageList<JSONObject> logs = orderMapper.listIncrementalOrders(params, new PageBounds(query.getPage(), query.getLimit(), Order.formString("create_time.desc")));
|
|
|
|
PageList<JSONObject> logs = orderMapper.listIncrementalOrdersNew(params, new PageBounds(query.getPage(), query.getLimit(), Order.formString("create_time.desc")));
|
|
|
|
|
|
|
|
logs.stream().forEach(log->{
|
|
|
|
|
|
|
|
JSONObject client= clientManager.getClientInfo(log.getInteger("client_id"));
|
|
|
|
|
|
|
|
if(client!=null){
|
|
|
|
|
|
|
|
log.put("short_name",client.getString("short_name"));
|
|
|
|
|
|
|
|
log.put("client_moniker",client.getString("client_moniker"));
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
});
|
|
|
|
JSONObject result = PageListUtils.buildPageListResult(logs);
|
|
|
|
JSONObject result = PageListUtils.buildPageListResult(logs);
|
|
|
|
JSONObject analysis = orderMapper.analysisOrders(params);
|
|
|
|
JSONObject analysis = orderMapper.analysisOrders(params);
|
|
|
|
result.put("analysis", analysis);
|
|
|
|
result.put("analysis", analysis);
|
|
|
|