cl
1 天以前 91831843f3b9fa4c9f29e518e10dae5d3f9aead8
rsf-server/src/main/java/com/vincent/rsf/server/api/controller/CloudWmsMockController.java
@@ -13,7 +13,8 @@
import java.util.Map;
/**
 * 云仓模拟接口。platform.erp.base-url 指向本服务时,Feign 会请求下列 DAP 风格路径。
 * 云仓模拟接口。{@code platform.erp.base-url} 指向本服务时 Feign 请求此处;
 * 入/出库回馈路径与真实鼎捷一致(同 {@code platform.erp.api.stock-in/out-completed-path})。
 */
@Slf4j
@RestController
@@ -48,20 +49,27 @@
        return map;
    }
    @ApiOperation("鼎捷-入库完成反馈(模拟)")
    @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/IKWebService/cusInventoryCompletionReport", consumes = MediaType.APPLICATION_JSON_VALUE)
    @ApiOperation("入库完成反馈(模拟,路径同 ICusStockService/stockInCompleted)")
    @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/ICusStockService/stockInCompleted", consumes = MediaType.APPLICATION_JSON_VALUE)
    public Map<String, Object> mockInventoryCompletion(@RequestBody DapIlcwmsCompletionRequest body) {
        log.info("云仓模拟-入库完成反馈,行数={}", body != null && body.getData() != null ? body.getData().size() : 0);
        return dapOkEnvelope();
    }
    @ApiOperation("鼎捷-出库完成反馈(模拟)")
    @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/IKWebService/cusOutboundCompletionReport", consumes = MediaType.APPLICATION_JSON_VALUE)
    @ApiOperation("出库完成反馈(模拟,路径同 ICusStockService/stockOutCompleted)")
    @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/ICusStockService/stockOutCompleted", consumes = MediaType.APPLICATION_JSON_VALUE)
    public Map<String, Object> mockOutboundCompletion(@RequestBody DapIlcwmsCompletionRequest body) {
        log.info("云仓模拟-出库完成反馈,行数={}", body != null && body.getData() != null ? body.getData().size() : 0);
        return dapOkEnvelope();
    }
    @ApiOperation("鼎捷-调拨完成反馈(模拟)")
    @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/ICusStockService/stockTransferCompleted", consumes = MediaType.APPLICATION_JSON_VALUE)
    public Map<String, Object> mockStockTransferCompleted(@RequestBody DapIlcwmsCompletionRequest body) {
        log.info("云仓模拟-调拨完成反馈,行数={}", body != null && body.getData() != null ? body.getData().size() : 0);
        return dapOkEnvelope();
    }
    /** 9.2 库存调整主动上报 - 模拟(路径不变,body 为 {data:[]}) */
    @ApiOperation("库存调整上报(模拟)")
    @PostMapping(value = "/api/report/inventoryAdjust", consumes = MediaType.APPLICATION_JSON_VALUE)