Commit 5e9da1c9 by Wyh

7.03 打開錢箱報錯修改

parent 4372b0d8
......@@ -427,12 +427,14 @@ public abstract class PrinterRoot implements PrintSocketHolder.OnStateChangedLis
}
private PrinterDeviceBean getDefaultPrintInList(List<PrinterDeviceBean> printerDeviceBeans) {
if (printerDeviceBeans != null) {
for (PrinterDeviceBean printerDeviceBean : printerDeviceBeans) {
if (printerDeviceBean.getStatus() == 2) {
//默認打印機
return printerDeviceBean;
}
}
}
return null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment