人工排产确认修改
This commit is contained in:
@@ -379,6 +379,7 @@ public class HfStationDeviceDriver extends AbstractOpcDeviceDriver implements De
|
|||||||
produceshiftorderService.update(dto);
|
produceshiftorderService.update(dto);
|
||||||
this.setRequireSucess(true);
|
this.setRequireSucess(true);
|
||||||
logServer.deviceInfo("人工排产确认", this.getDevice_code(), "人工排产确认成功!");
|
logServer.deviceInfo("人工排产确认", this.getDevice_code(), "人工排产确认成功!");
|
||||||
|
this.writing(3);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ public class ProduceshiftorderServiceImpl implements ProduceshiftorderService, A
|
|||||||
hfStationDeviceDriver.writing("to_order", dto.getOrder_code());
|
hfStationDeviceDriver.writing("to_order", dto.getOrder_code());
|
||||||
hfStationDeviceDriver.writing("to_order_num", String.valueOf(dto.getQty()));
|
hfStationDeviceDriver.writing("to_order_num", String.valueOf(dto.getQty()));
|
||||||
hfStationDeviceDriver.writing("to_product_number", dto.getMaterial_code());
|
hfStationDeviceDriver.writing("to_product_number", dto.getMaterial_code());
|
||||||
hfStationDeviceDriver.writing("to_command", "3");
|
// hfStationDeviceDriver.writing("to_command", "3");
|
||||||
}
|
}
|
||||||
JSONObject json = (JSONObject) JSONObject.toJSON(dto);
|
JSONObject json = (JSONObject) JSONObject.toJSON(dto);
|
||||||
wo.insert(json);
|
wo.insert(json);
|
||||||
|
|||||||
Reference in New Issue
Block a user