Commit 1dd7c5c2 by wutong

修复刷单异常记录没有重置的问题.

parent a194ed61
...@@ -395,6 +395,7 @@ public class OrderSyncJob extends PointJob { ...@@ -395,6 +395,7 @@ public class OrderSyncJob extends PointJob {
} }
private void listOrderExceptions( OmsResult omsResult, DcBaseOmsOrder dcBaseOmsOrder) { private void listOrderExceptions( OmsResult omsResult, DcBaseOmsOrder dcBaseOmsOrder) {
dcBaseOmsOrder.setHasScalp(false);
List<OrderException> orderExceptions = omsResult.getOrderExceptions(); List<OrderException> orderExceptions = omsResult.getOrderExceptions();
if (orderExceptions != null && orderExceptions.size() > 0) { if (orderExceptions != null && orderExceptions.size() > 0) {
for (OrderException orderException : orderExceptions) { for (OrderException orderException : orderExceptions) {
......
...@@ -78,7 +78,7 @@ public class OmsOrderTest { ...@@ -78,7 +78,7 @@ public class OmsOrderTest {
LinkedHashMap<String, String> map = new LinkedHashMap<>(4); LinkedHashMap<String, String> map = new LinkedHashMap<>(4);
map.put("pageIndex", "1"); map.put("pageIndex", "1");
map.put("pageCount", "100"); map.put("pageCount", "100");
map.put("OriginOrderNo", "273575005722-2138181383017"); map.put("OriginOrderNo", "190413111223FT5");
Request request = new Request.Builder() Request request = new Request.Builder()
.get() .get()
.url(OkHttpUtil.attachHttpGetParams("http://oms.bailuntec.com/apiV2/bailunOrder/getBailunOrders", map)) .url(OkHttpUtil.attachHttpGetParams("http://oms.bailuntec.com/apiV2/bailunOrder/getBailunOrders", map))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment