From a31237c91e585ee72baa72b4659d9d98774b76a1 Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 18 Dec 2024 10:23:40 +0800 Subject: [PATCH] md --- .../service/impl/EmisWaybillServiceImpl.java | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java index 608e0c7fa..74e500272 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java @@ -2717,28 +2717,28 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb } // 保存货物图片 - if(!StringUtils.isEmpty(emisWaybillSave.getGoodsPics())){ - if(CollectionUtil.isEmpty(emisWaybillSave.getAttachmentList() )){ - List attachmentList = new ArrayList(); - EmisWaybillAttachment goodsPicAttachment = new EmisWaybillAttachment(); - goodsPicAttachment.setAttachType(WaybillAttachType.GOODS_PIC.typeCode); - goodsPicAttachment.setBillCode(emisWaybillSave.getBillCode()); - goodsPicAttachment.setFileUrl(emisWaybillSave.getGoodsPics()); - attachmentList.add(goodsPicAttachment); - emisWaybillSave.setAttachmentList(attachmentList); - } - } +// if(!StringUtils.isEmpty(emisWaybillSave.getGoodsPics())){ +// if(CollectionUtil.isEmpty(emisWaybillSave.getAttachmentList() )){ +// List attachmentList = new ArrayList(); +// EmisWaybillAttachment goodsPicAttachment = new EmisWaybillAttachment(); +// goodsPicAttachment.setAttachType(WaybillAttachType.GOODS_PIC.typeCode); +// goodsPicAttachment.setBillCode(emisWaybillSave.getBillCode()); +// goodsPicAttachment.setFileUrl(emisWaybillSave.getGoodsPics()); +// attachmentList.add(goodsPicAttachment); +// emisWaybillSave.setAttachmentList(attachmentList); +// } +// } // 插入附件信息 - if(!CollectionUtil.isEmpty(emisWaybillSave.getAttachmentList() )){ - // 商品附件图片插入到附件 - List attachmentList=emisWaybillSave.getAttachmentList(); - for (EmisWaybillAttachment attachmentItem:attachmentList) { - attachmentItem.setWaybillId(emisWaybillSave.getId()); - attachmentItem.setBillCode(emisWaybillSave.getBillCode()); - emisWaybillAttachmentMapper.insertEmisWaybillAttachment(attachmentItem); - } - } +// if(!CollectionUtil.isEmpty(emisWaybillSave.getAttachmentList() )){ +// // 商品附件图片插入到附件 +// List attachmentList=emisWaybillSave.getAttachmentList(); +// for (EmisWaybillAttachment attachmentItem:attachmentList) { +// attachmentItem.setWaybillId(emisWaybillSave.getId()); +// attachmentItem.setBillCode(emisWaybillSave.getBillCode()); +// emisWaybillAttachmentMapper.insertEmisWaybillAttachment(attachmentItem); +// } +// } // 通知网点有新的订单 // 用户新下单