人工确认排产单时序修改

This commit is contained in:
张江玮
2022-12-29 14:18:26 +08:00
parent 3e22e4d742
commit 7ee18189ba
3 changed files with 8 additions and 28 deletions

View File

@@ -378,8 +378,8 @@ public class HfStationDeviceDriver extends AbstractOpcDeviceDriver implements De
dto.setUpdate_time(DateUtil.now());
produceshiftorderService.update(dto);
this.setRequireSucess(true);
this.writing(8);
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);