|
|
|
@ -440,7 +440,7 @@ public class RiskBusinessServiceImpl implements RiskBusinessService, ManagerTodo
|
|
|
|
|
case 1:
|
|
|
|
|
case 2:
|
|
|
|
|
for(String orderId : orderIds){
|
|
|
|
|
JSONObject order = orderMapper.findOrderById(orderId,client.getIntValue("client"));
|
|
|
|
|
JSONObject order = orderMapper.findOrderById(orderId,client.getIntValue("client_id"));
|
|
|
|
|
if(order==null){
|
|
|
|
|
throw new BadRequestException("Order: "+orderId+" not exists");
|
|
|
|
|
}
|
|
|
|
@ -453,7 +453,7 @@ public class RiskBusinessServiceImpl implements RiskBusinessService, ManagerTodo
|
|
|
|
|
case 3:
|
|
|
|
|
String realOrderId = "";
|
|
|
|
|
for(String orderId : orderIds){
|
|
|
|
|
realOrderId = orderMapper.findOrderById(orderId,client.getIntValue("client")).getString("order_id");
|
|
|
|
|
realOrderId = orderMapper.findOrderById(orderId,client.getIntValue("client_id")).getString("order_id");
|
|
|
|
|
JSONObject order = tradeLogService.getOrderDetail(new JSONObject(), clientMoniker, realOrderId, null);
|
|
|
|
|
if(order==null){
|
|
|
|
|
throw new BadRequestException("Order: "+orderId+" not exists");
|
|
|
|
|