现场调试更改
This commit is contained in:
@@ -10,10 +10,9 @@ import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.log.domain.RequestLog;
|
||||
import com.ruoyi.log.service.IRequestLogService;
|
||||
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.*;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/wmsService/wcs")
|
||||
@@ -37,6 +36,19 @@ public class WcsServiceController extends BaseController {
|
||||
return ajaxResult;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 手动指定货位出库
|
||||
*/
|
||||
@PostMapping("/stockoutByManual")
|
||||
public AjaxResult stockoutByManual(@RequestBody Map<String, String> params) {
|
||||
AjaxResult ajaxResult = apiWcsService.stockoutByManual(params);
|
||||
RequestLog requestLog = requestLogService.getRequestLog(JSONUtil.toJsonStr(params), "创建入库任务请求", ajaxResult);
|
||||
requestLogService.insertRequestLog(requestLog);
|
||||
return ajaxResult;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 请求补码作业
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user