cl
5 天以前 4532ca7e676b510c35855bfadf10106ba7bd12e8
rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/CloudWmsReportServiceImpl.java
@@ -20,7 +20,7 @@
import java.util.Map;
/**
 * 立库侧请求云仓:9.1 鼎捷 ilcwmsplus 入/出库两接口;9.2 仍为 /api/report/inventoryAdjust,报文与 9.1 同为 {data:[]}。
 * 立库侧请求云仓:ICusStockService 入库/出库/调拨完成反馈;9.2 增减调整仍为 /api/report/inventoryAdjust,报文同为 {data:[]}。
 */
@Slf4j
@Service
@@ -94,8 +94,12 @@
        } else {
            return resultMap(400, "不支持的 changeType:" + changeType, null);
        }
        Map<String, Object> raw = cloudWmsErpFeignClient.reportInventoryAdjust(req);
        return DapIlcwmsResponseNormalizer.toNotifyFormatFlexible(raw);
        Map<String, Object> raw = changeType == 3
                ? cloudWmsErpFeignClient.stockTransferCompleted(req)
                : cloudWmsErpFeignClient.reportInventoryAdjust(req);
        return changeType == 3
                ? DapIlcwmsResponseNormalizer.toNotifyFormat(raw)
                : DapIlcwmsResponseNormalizer.toNotifyFormatFlexible(raw);
    }
    private DapIlcwmsCompletionLine buildInOutLine(InOutResultReportParam param, boolean inbound) {