fix: 载具类型添加

This commit is contained in:
2024-03-21 17:20:22 +08:00
parent d1571b8284
commit 6119fed7f7
2 changed files with 2 additions and 1 deletions

View File

@@ -589,7 +589,7 @@ public class BeltConveyorDeviceDriver extends AbstractOpcDeviceDriver implements
list.add(map2);
Map map3 = new HashMap();
map3.put("code", "to_container_type");
map3.put("value", "1");
map3.put("value", inst.getVehicle_type());
list.add(map3);
Map map4 = new HashMap();
map4.put("code", "to_container_no");

View File

@@ -1026,6 +1026,7 @@ public class InstructionServiceImpl extends CommonServiceImpl<InstructionMapper,
instdto.setTask_id(acsTask.getTask_id());
instdto.setTask_code(acsTask.getTask_code());
instdto.setVehicle_code(acsTask.getVehicle_code());
instdto.setVehicle_type(acsTask.getVehicle_type());
String now = DateUtil.now();
instdto.setCreate_time(now);
instdto.setCreate_by(SecurityUtils.getCurrentNickName());