自动化立体仓库 - WMS系统
cl
1 天以前 9d6f25ca4a81cd7967c3089106e2419ee4bba988
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);