This commit is contained in:
张怡蓉
2025-12-11 14:20:02 +08:00
parent 2fa7a06e76
commit 337ffd8ef4
7 changed files with 217 additions and 40 deletions

View File

@@ -3,12 +3,10 @@ package com.ruoyi.api.controller;
import com.ruoyi.api.domain.wcs2wms.JobParam;
import com.ruoyi.api.domain.wcs2wms.ReceiveJob;
import com.ruoyi.api.service.IApiService;
import com.ruoyi.bas.port.service.IWcsPortService;
import com.ruoyi.common.core.domain.AjaxResult;
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.*;
@RestController
@RequestMapping("/wcs2Wms/api")
@@ -16,6 +14,8 @@ public class Wcs2WmsController {
@Autowired
private IApiService apiService;
@Autowired
private IWcsPortService wcsPortService;
/**
* 接收出库任务
@@ -52,5 +52,15 @@ public class Wcs2WmsController {
}
/**
* 查询缓存点
* @param jobParam
* @return
*/
@PostMapping("/selectWcsPort")
@ResponseBody
public AjaxResult selectWcsPort(@RequestBody JobParam jobParam) {
return apiService.selectWcsPort(jobParam);
}
}