rev:wms获取重量

This commit is contained in:
2026-02-10 13:43:34 +08:00
parent d84f68eae7
commit 5dce1929e5
3 changed files with 58 additions and 947 deletions

View File

@@ -104,4 +104,12 @@ public class WmsToAcsController {
return new ResponseEntity<>(wmstoacsService.notifyAcs(param), HttpStatus.OK);
}
@PostMapping("/getWeigh")
@Log("wms获取重量")
/** wms获取重量 */
@SaIgnore
public ResponseEntity<Object> getWeigh(@RequestBody JSONObject param) {
return new ResponseEntity<>(wmstoacsService.getWeigh(param), HttpStatus.OK);
}
}

View File

@@ -103,4 +103,17 @@ public interface WmsToAcsService {
JSONObject notifyAcs(JSONObject param);
/**
* wms获取重量
* @param param
* {
* device_code 设备编码
* }
* @return {
* data: {
* weigh: 重量
* }
* }
*/
CreateTaskResponse getWeigh(JSONObject param);
}