no message
parent
ec98f790f2
commit
c17f8e991d
|
|
@ -20,5 +20,4 @@ public class ItemDate {
|
||||||
@ApiModelProperty(value = "需求工位", required = true)
|
@ApiModelProperty(value = "需求工位", required = true)
|
||||||
String station;
|
String station;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,16 +40,6 @@ public class MesController {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@PostMapping("/sjBom")
|
|
||||||
@Log("mes-散件BOM同步")
|
|
||||||
@ApiOperation("mes-散件BOM同步")
|
|
||||||
@AnonymousAccess
|
|
||||||
public ResponseEntity<Object> sjBom(@Validated @RequestBody SjBom sjBom) {
|
|
||||||
|
|
||||||
return new ResponseEntity<>(ApiResult.result(200, "成功", null), HttpStatus.OK);
|
|
||||||
}
|
|
||||||
|
|
||||||
@PostMapping("/zpjlZj")
|
@PostMapping("/zpjlZj")
|
||||||
@Log("mes-其他整件叫料")
|
@Log("mes-其他整件叫料")
|
||||||
@ApiOperation("mes-其他整件叫料")
|
@ApiOperation("mes-其他整件叫料")
|
||||||
|
|
@ -98,13 +88,11 @@ public class MesController {
|
||||||
@ApiOperation("mes-搬运任务")
|
@ApiOperation("mes-搬运任务")
|
||||||
@AnonymousAccess
|
@AnonymousAccess
|
||||||
public ResponseEntity<Object> transTask(@Validated @RequestBody TransTask transTask) {
|
public ResponseEntity<Object> transTask(@Validated @RequestBody TransTask transTask) {
|
||||||
|
|
||||||
return new ResponseEntity<>(ApiResult.result(200, "成功", null), HttpStatus.OK);
|
return new ResponseEntity<>(ApiResult.result(200, "成功", null), HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private ResponseEntity<Object> badResponse(String message) {
|
private ResponseEntity<Object> badResponse(String message) {
|
||||||
|
|
||||||
return new ResponseEntity<>(ApiResult.fail(BAD_REQUEST.value(), message, ""), HttpStatus.BAD_REQUEST);
|
return new ResponseEntity<>(ApiResult.fail(BAD_REQUEST.value(), message, ""), HttpStatus.BAD_REQUEST);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue