cl
11 小时以前 8943a4e9f5ee1455c56ac4af60d941fa23731051
rsf-open-api/src/main/java/com/vincent/rsf/openApi/service/impl/WmsRcsServiceImpl.java
@@ -426,7 +426,7 @@
    @Transactional(rollbackFor = Exception.class)
    public R allocateLocation(LocationAllocateParams params) {
        log.info("========== 开始申请入库任务,分配库位 ==========");
        log.info("料箱码:{},入库站点:{},入库类型:{}", params.getBarcode(), params.getStaNo(), params.getType());
        log.info("料箱码:{},入库站点:{},入库类型:{},重量:{}", params.getBarcode(), params.getStaNo(), params.getType(), params.getWeight());
        
        // 调用WMS server内部接口进行库位分配
        String wmsUrl = getWmsBaseUrl() + "/rsf-server/wcs/allocate/location";
@@ -438,6 +438,9 @@
        requestParams.put("staNo", params.getStaNo());
        requestParams.put("type", params.getType());
        requestParams.put("full", params.getFull());
        if (params.getWeight() != null) {
            requestParams.put("weight", params.getWeight());
        }
        log.info("请求参数:{}", requestParams.toJSONString());
        
        HttpHeaders headers = new HttpHeaders();