This commit is contained in:
linfso 2024-04-28 09:10:17 +08:00
parent 3a3dfb617c
commit 770752eb49

View File

@ -256,7 +256,7 @@ public class EmisWaybillServiceImpl implements IEmisWaybillService
} }
// 插入商品信息 // 插入商品信息
if(!CollectionUtil.isNotEmpty(emisWaybillNew.getCargoList() )){ if(!CollectionUtil.isEmpty(emisWaybillNew.getCargoList() )){
List<EmisWaybillCargo> cargoList=emisWaybillNew.getCargoList(); List<EmisWaybillCargo> cargoList=emisWaybillNew.getCargoList();
for (EmisWaybillCargo cargoItem:cargoList) { for (EmisWaybillCargo cargoItem:cargoList) {
cargoItem.setWaybillId(emisWaybillNew.getId()); cargoItem.setWaybillId(emisWaybillNew.getId());
@ -265,7 +265,7 @@ public class EmisWaybillServiceImpl implements IEmisWaybillService
} }
// 插入附件信息 // 插入附件信息
if(!CollectionUtil.isNotEmpty(emisWaybillNew.getAttachmentList() )){ if(!CollectionUtil.isEmpty(emisWaybillNew.getAttachmentList() )){
List<EmisWaybillAttachment> attachmentList=emisWaybillNew.getAttachmentList(); List<EmisWaybillAttachment> attachmentList=emisWaybillNew.getAttachmentList();
for (EmisWaybillAttachment attachmentItem:attachmentList) { for (EmisWaybillAttachment attachmentItem:attachmentList) {
attachmentItem.setWaybillId(emisWaybillNew.getId()); attachmentItem.setWaybillId(emisWaybillNew.getId());