fix: 字段修改

This commit is contained in:
2024-05-11 09:02:16 +08:00
parent 10dcb6f9a5
commit 45d609fb33
2 changed files with 3 additions and 3 deletions

View File

@@ -439,9 +439,9 @@ public class BoxStorageManipulatorDeviceDriver extends AbstractOpcDeviceDriver i
map4.put("value", task);
list.add(map4);
if (ObjectUtil.isNotEmpty(interactionJsonDTO)) {
if (ObjectUtil.isNotEmpty(interactionJsonDTO.getWeight())) {
if (ObjectUtil.isNotEmpty(interactionJsonDTO.getWidth())) {
map5.put("code", "to_width");
map5.put("value", interactionJsonDTO.getWeight());
map5.put("value", interactionJsonDTO.getWidth());
list.add(map5);
}
if (ObjectUtil.isNotEmpty(interactionJsonDTO.getLength())) {

View File

@@ -12,7 +12,7 @@ public class InteractionJsonDTO {
/**
*木箱宽度
*/
private String weight;
private String width;
/**
*木箱高度
*/