123
This commit is contained in:
@@ -3,11 +3,14 @@ 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.domain.WcsPort;
|
||||
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.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/wcs2Wms/api")
|
||||
public class Wcs2WmsController {
|
||||
@@ -54,13 +57,22 @@ public class Wcs2WmsController {
|
||||
|
||||
/**
|
||||
* 查询缓存点
|
||||
* @param jobParam
|
||||
* @param wcsPort
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/selectWcsPort")
|
||||
@ResponseBody
|
||||
public AjaxResult selectWcsPort(@RequestBody JobParam jobParam) {
|
||||
return apiService.selectWcsPort(jobParam);
|
||||
public AjaxResult selectWcsPort(@RequestBody WcsPort wcsPort) {
|
||||
return apiService.selectWcsPort(wcsPort);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改缓存点状态
|
||||
* @param wcsPort
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/updateWcsPort")
|
||||
public AjaxResult updateWcsPort(@RequestBody WcsPort wcsPort) {
|
||||
return apiService.updateWcsPort(wcsPort);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user