Commit f40273d5 by wutong

刷单状态判断条件更改

parent 19372f9d
......@@ -570,7 +570,8 @@ public class OrderSyncJob extends PointJob {
List<OrderException> orderExceptions = omsResult.getOrderExceptions();
if (orderExceptions != null && orderExceptions.size() > 0) {
for (OrderException orderException : orderExceptions) {
if (StringUtils.isNotBlank(orderException.getExceptionType()) && orderException.getExceptionType().equals(OrderExceptionType.Scalp.value())) {
//type是Scalp 且status不是Finished才是刷单订单
if (StringUtils.isNotBlank(orderException.getExceptionType()) && StringUtils.isNotBlank(orderException.getStatus()) && orderException.getExceptionType().equals(OrderExceptionType.Scalp.value()) && !orderException.getStatus().equals("Finished")) {
dcBaseOmsOrder.setHasScalp(true);
}
}
......
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