md
This commit is contained in:
parent
6ab9ba84d8
commit
a31237c91e
@ -2717,28 +2717,28 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 保存货物图片
|
// 保存货物图片
|
||||||
if(!StringUtils.isEmpty(emisWaybillSave.getGoodsPics())){
|
// if(!StringUtils.isEmpty(emisWaybillSave.getGoodsPics())){
|
||||||
if(CollectionUtil.isEmpty(emisWaybillSave.getAttachmentList() )){
|
// if(CollectionUtil.isEmpty(emisWaybillSave.getAttachmentList() )){
|
||||||
List<EmisWaybillAttachment> attachmentList = new ArrayList<EmisWaybillAttachment>();
|
// List<EmisWaybillAttachment> attachmentList = new ArrayList<EmisWaybillAttachment>();
|
||||||
EmisWaybillAttachment goodsPicAttachment = new EmisWaybillAttachment();
|
// EmisWaybillAttachment goodsPicAttachment = new EmisWaybillAttachment();
|
||||||
goodsPicAttachment.setAttachType(WaybillAttachType.GOODS_PIC.typeCode);
|
// goodsPicAttachment.setAttachType(WaybillAttachType.GOODS_PIC.typeCode);
|
||||||
goodsPicAttachment.setBillCode(emisWaybillSave.getBillCode());
|
// goodsPicAttachment.setBillCode(emisWaybillSave.getBillCode());
|
||||||
goodsPicAttachment.setFileUrl(emisWaybillSave.getGoodsPics());
|
// goodsPicAttachment.setFileUrl(emisWaybillSave.getGoodsPics());
|
||||||
attachmentList.add(goodsPicAttachment);
|
// attachmentList.add(goodsPicAttachment);
|
||||||
emisWaybillSave.setAttachmentList(attachmentList);
|
// emisWaybillSave.setAttachmentList(attachmentList);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 插入附件信息
|
// 插入附件信息
|
||||||
if(!CollectionUtil.isEmpty(emisWaybillSave.getAttachmentList() )){
|
// if(!CollectionUtil.isEmpty(emisWaybillSave.getAttachmentList() )){
|
||||||
// 商品附件图片插入到附件
|
// // 商品附件图片插入到附件
|
||||||
List<EmisWaybillAttachment> attachmentList=emisWaybillSave.getAttachmentList();
|
// List<EmisWaybillAttachment> attachmentList=emisWaybillSave.getAttachmentList();
|
||||||
for (EmisWaybillAttachment attachmentItem:attachmentList) {
|
// for (EmisWaybillAttachment attachmentItem:attachmentList) {
|
||||||
attachmentItem.setWaybillId(emisWaybillSave.getId());
|
// attachmentItem.setWaybillId(emisWaybillSave.getId());
|
||||||
attachmentItem.setBillCode(emisWaybillSave.getBillCode());
|
// attachmentItem.setBillCode(emisWaybillSave.getBillCode());
|
||||||
emisWaybillAttachmentMapper.insertEmisWaybillAttachment(attachmentItem);
|
// emisWaybillAttachmentMapper.insertEmisWaybillAttachment(attachmentItem);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 通知网点有新的订单
|
// 通知网点有新的订单
|
||||||
// 用户新下单
|
// 用户新下单
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user