skyouc
2025-01-11 645da5e4e48dd94b760ea4dcbf80e22bf2a3f33c
zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/controller/OutStockController.java
@@ -9,10 +9,7 @@
import io.netty.util.internal.StringUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@Slf4j
@RestController
@@ -63,5 +60,19 @@
    }
    /**
     * 容器流动通知
     * @param code 容器编码
     * @return
     */
    @GetMapping("/container/converyor/{code}")
    public R containerConveyor(@PathVariable String code) {
        if (StringUtil.isNullOrEmpty(code)) {
            return R.error("容器编码不能为空!!!");
        }
        return wcsApiService.containerConveryor(code);
    }
}