自动化立体仓库 - WMS系统
cl
2 天以前 5447196180588be1a47c99ca5255ecd8735f4513
src/main/java/com/zy/api/controller/WcsApiController.java
@@ -10,8 +10,10 @@
import com.zy.asrs.entity.WaitPakin;
import com.zy.asrs.service.WaitPakinService;
import com.zy.asrs.utils.Utils;
import com.alibaba.fastjson.JSON;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -22,6 +24,7 @@
@Api("WCS交互接口")
@RequestMapping("/wcs")
@RestController
@Slf4j
public class WcsApiController {
    @Autowired
@@ -53,6 +56,7 @@
        if (Objects.isNull(params)) {
            return R.error("参数不能为空!!");
        }
        log.info("[receviceTaskFromWcs] cache: {}", JSON.toJSONString(params));
        request.setAttribute("cache", params);
        return wcsApiService.receviceTaskFromWcs(params);