diff --git a/src/main/java/com/glxp/api/controller/sync/SpsSyncDownloadController.java b/src/main/java/com/glxp/api/controller/sync/SpsSyncDownloadController.java index e0d6ffca..898c5880 100644 --- a/src/main/java/com/glxp/api/controller/sync/SpsSyncDownloadController.java +++ b/src/main/java/com/glxp/api/controller/sync/SpsSyncDownloadController.java @@ -751,8 +751,8 @@ public class SpsSyncDownloadController { } } else { // 更新业务详情 - if (orderEntity.getCheckStatus() != null) - orderService.update(orderEntity); +// if (orderEntity.getCheckStatus() != null) +// orderService.update(orderEntity); //更新业务详情 if (CollUtil.isNotEmpty(syncDataResponse.getOrderDetailBizEntities())) { List orderDetailBizEntities = syncDataResponse.getOrderDetailBizEntities(); diff --git a/src/main/java/com/glxp/api/service/inout/impl/IoOrderServiceImpl.java b/src/main/java/com/glxp/api/service/inout/impl/IoOrderServiceImpl.java index 9a7e0b32..b4bd9bf4 100644 --- a/src/main/java/com/glxp/api/service/inout/impl/IoOrderServiceImpl.java +++ b/src/main/java/com/glxp/api/service/inout/impl/IoOrderServiceImpl.java @@ -585,8 +585,14 @@ public class IoOrderServiceImpl implements IoOrderService { IoOrderResponse response = new IoOrderResponse(); BeanUtil.copyProperties(orderEntity, response); if (orderEntity.getStatus().equals(ConstantStatus.ORDER_STATUS_AUDITED) && checkBusTypeSupplementOrder(orderEntity) - && StrUtil.isEmpty(orderEntity.getSupplementNo())) { - response.setEnableSupplementOrder(true); + && StrUtil.isEmpty(orderEntity.getSupplementNo()) + ) { + if (orderEntity.getFromType() == ConstantStatus.FROM_UDISP) { + if (orderEntity.getOutChangeEnable()) { + response.setEnableSupplementOrder(true); + } + } else + response.setEnableSupplementOrder(true); } result.add(response); } catch (Exception e) {