|
|
@ -662,7 +662,7 @@ public class TradeLogServiceImpl implements TradeLogService {
|
|
|
|
public void exportTransFlow(TradeLogQuery query, JSONObject partner, HttpServletResponse response) throws Exception {
|
|
|
|
public void exportTransFlow(TradeLogQuery query, JSONObject partner, HttpServletResponse response) throws Exception {
|
|
|
|
JSONObject transFlow = listPartnerTransFlow(query, partner);
|
|
|
|
JSONObject transFlow = listPartnerTransFlow(query, partner);
|
|
|
|
JSONObject analysis = transFlow.getJSONObject("analysis");
|
|
|
|
JSONObject analysis = transFlow.getJSONObject("analysis");
|
|
|
|
JSONObject client = clientManager.getClientInfo(Integer.parseInt(query.getClient_ids()[0]));
|
|
|
|
JSONObject client = clientManager.getClientInfo(partner.getIntValue("client_id"));
|
|
|
|
if (!transFlow.getJSONArray("data").isEmpty()) {
|
|
|
|
if (!transFlow.getJSONArray("data").isEmpty()) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
List<JSONObject> dataList = transFlow.getJSONArray("data").toJavaList(JSONObject.class);
|
|
|
|
List<JSONObject> dataList = transFlow.getJSONArray("data").toJavaList(JSONObject.class);
|
|
|
|