|
@@ -77,7 +77,8 @@ public class JMPrintThread implements Runnable {
|
|
|
" 船名: " + printBO.getWWB_VLS_VCNNM() + "\n" +
|
|
|
" 船次: " + printBO.getWWB_VIW_VOYAGE() + " \n" +
|
|
|
" 唛头: " + printBO.getWB_MARKERNO() + " \n" +
|
|
|
- " 电子单号: " + printBO.getWWB_ID() + " \n" +
|
|
|
+ " 磅单号: " + printBO.getWWB_ID() + " \n" +
|
|
|
+ " 申请单号: " + printBO.getWWB_WB_BANO() + " \n" +
|
|
|
" 货名: " + printBO.getWWB_GOODSNAME() + "\n" +
|
|
|
" 车号: " + printBO.getWWB_TRUCKNO() + "\n" +
|
|
|
" 毛重: " + printBO.getWWB_CAR_GW() + "吨\n" +
|
|
@@ -85,8 +86,7 @@ public class JMPrintThread implements Runnable {
|
|
|
" 净重: " + printBO.getWWB_CAR_NW() + "吨\n" +
|
|
|
" 过磅地点: " + printBO.getWWB_PLACE_CODE() + "\n" +
|
|
|
" 二次过磅时间: " + printBO.getWWB_DATE_SEC() + "\n" +
|
|
|
- " 客户备注: " + printBO.getTK_REMARK() + "\n" +
|
|
|
- " 地磅备注: " + printBO.getWWB_REMARK();
|
|
|
+ " 客户备注: " + printBO.getTK_REMARK();
|
|
|
int len = text.length();
|
|
|
byte[] printData = new byte[]{};
|
|
|
for (int i = 0; i < len; i++) {
|
|
@@ -120,6 +120,7 @@ public class JMPrintThread implements Runnable {
|
|
|
log.info("print done======:{}", JSONUtil.toJsonStr(printBO));
|
|
|
ledFactory.handler(SysConfig.serialSetting.getLed().getBrand()).sendMsg("已成功打印小票,请取走小票", options);
|
|
|
} catch (IOException e) {
|
|
|
+ ledFactory.handler(SysConfig.serialSetting.getLed().getBrand()).sendMsg("小票打印失败", options);
|
|
|
throw new RuntimeException(e);
|
|
|
}
|
|
|
|