|
|
@ -5,6 +5,7 @@ package org.nl.acs.ext.wms.rest; |
|
|
|
import cn.dev33.satoken.annotation.SaIgnore; |
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.nl.acs.ext.wms.data.one.CancelTaskRequest; |
|
|
@ -45,6 +46,20 @@ public class WmsToAcsController { |
|
|
|
return new ResponseEntity<>(wmstoacsService.cancelFromWms(reqs), HttpStatus.OK); |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("/switchInOut") |
|
|
|
@Log(value = "切换出入库模式") |
|
|
|
@SaIgnore |
|
|
|
public ResponseEntity<Object> switchInOut(@RequestBody JSONObject reqs) throws Exception { |
|
|
|
return new ResponseEntity<>(wmstoacsService.switchInOut(reqs), HttpStatus.OK); |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("/pinckStartStop") |
|
|
|
@Log(value = "拣选工位启停") |
|
|
|
@SaIgnore |
|
|
|
public ResponseEntity<Object> pinckStartStop(@RequestBody JSONObject reqs) throws Exception { |
|
|
|
return new ResponseEntity<>(wmstoacsService.pinkStartStop(reqs), HttpStatus.OK); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|