This commit is contained in:
linfso 2024-06-05 01:10:40 +08:00
parent e7870fb350
commit 5ce299fd51

View File

@ -522,7 +522,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
if("1".equals(emisWaybillSave.getBlGenSubbill()) ){
// 子单号拼接
StringBuilder sb = new StringBuilder();
for(int i=0;i<emisWaybillSave.getParcelQty().intValue() && i<50;i++){
for(int i=0;i<emisWaybillSave.getParcelQty().intValue() && i<20;i++){
sb.append(emisWaybillSave.getBillCode()+ StringUtils.leftPad(String.valueOf(i),4,"0")+",");
}
emisWaybillSave.setBillCodeSub(sb.toString());