This commit is contained in:
linfso 2024-08-23 16:49:02 +08:00
parent d851eb9ca0
commit c98c342a48
2 changed files with 97 additions and 55 deletions

View File

@ -2043,7 +2043,19 @@ public class EmisBaseService {
order.put("qrCodeText",extData.toJSONString());
order.put("goodsInfo", WaybillHelper.removeUnSeeChar(waybill.getGoodsInfo()));
order.put("remark", WaybillHelper.removeUnSeeChar(waybill.getRemark()));
String remark= WaybillHelper.removeUnSeeChar(waybill.getRemark());
order.put("remark",remark);
// 地址拆分为多行
String[] remark=WordUtils.wrap(remark,40).split("\n");
for(int i=0;i<4;i++) {
try{
order.put("remark"+(i+1),sAddrArr[i]);
}catch (Exception ex){
order.put("remark"+(i+1),"");
}
}
String billWeight="0.0";
String totalVolume="0.0";

File diff suppressed because one or more lines are too long