装配线叫料调整

main
HUOJIN\92525 2024-06-13 15:27:47 +08:00
parent 575050abff
commit 9b9453fe11
2 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ import lombok.Data;
* 线
*/
@Data
public class AssemblyLineCall {
public class CallAssemblyLine {
@ApiModelProperty(value = "工单号")
String orderNo;

View File

@ -2,7 +2,7 @@ package com.youchain.appupdate.rest;
import com.youchain.annotation.AnonymousAccess;
import com.youchain.annotation.Log;
import com.youchain.appupdate.inputJson.AssemblyLineCall;
import com.youchain.appupdate.inputJson.CallAssemblyLine;
import com.youchain.appupdate.inputJson.CallStock;
import com.youchain.appupdate.inputJson.ContainerIn;
import com.youchain.appupdate.inputJson.BindStock;
@ -77,16 +77,16 @@ public class BydAppController {
return successRequest("入库成功!");
}
@PostMapping("/assemblyLineCall")
@PostMapping("/callAssemblyLine")
@Log("装配线叫料")
@ApiOperation("装配线叫料")
@AnonymousAccess
public ResponseEntity<Object> assemblyLineCall(@RequestBody AssemblyLineCall assemblyLineCall) {
public ResponseEntity<Object> callAssemblyLine(@RequestBody CallAssemblyLine callAssemblyLine) {
try {
String orderNo = assemblyLineCall.getOrderNo();//工单号
String itemCode = assemblyLineCall.getItemCode();//物料编号
String workStation = assemblyLineCall.getWorkStation();//需求工位
String pointCode = assemblyLineCall.getPointCode();//需求点位;
String orderNo = callAssemblyLine.getOrderNo();//工单号
String itemCode = callAssemblyLine.getItemCode();//物料编号
String workStation = callAssemblyLine.getWorkStation();//需求工位
String pointCode = callAssemblyLine.getPointCode();//需求点位;
} catch (Exception e) {
return badRequest(e.getMessage());