人工排产确认修改

This commit is contained in:
张江玮
2022-12-27 14:06:45 +08:00
parent a4dfdf1a98
commit faf23f1e10
2 changed files with 2 additions and 1 deletions

View File

@@ -379,6 +379,7 @@ public class HfStationDeviceDriver extends AbstractOpcDeviceDriver implements De
produceshiftorderService.update(dto);
this.setRequireSucess(true);
logServer.deviceInfo("人工排产确认", this.getDevice_code(), "人工排产确认成功!");
this.writing(3);
}
return true;
}

View File

@@ -140,7 +140,7 @@ public class ProduceshiftorderServiceImpl implements ProduceshiftorderService, A
hfStationDeviceDriver.writing("to_order", dto.getOrder_code());
hfStationDeviceDriver.writing("to_order_num", String.valueOf(dto.getQty()));
hfStationDeviceDriver.writing("to_product_number", dto.getMaterial_code());
hfStationDeviceDriver.writing("to_command", "3");
// hfStationDeviceDriver.writing("to_command", "3");
}
JSONObject json = (JSONObject) JSONObject.toJSON(dto);
wo.insert(json);