md
This commit is contained in:
parent
d218cc9a84
commit
c0780a1ae0
@ -1509,13 +1509,11 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 保存货物图片
|
// 保存货物图片
|
||||||
if(!StringUtils.isEmpty(emisWaybillSave.getGoodsPics())){
|
if(!StringUtils.isEmpty(emisWaybillSave.getGoodsPics())){
|
||||||
// 删除历史图片,重新插入图片
|
// 删除历史图片,重新插入图片
|
||||||
emisWaybillAttachmentMapper.deleteByBillCodeAndAttachType(emisWaybillSave.getBillCode(),WaybillAttachType.GOODS_PIC.typeCode);
|
emisWaybillAttachmentMapper.deleteByBillCodeAndAttachType(emisWaybillSave.getBillCode(),WaybillAttachType.GOODS_PIC.typeCode);
|
||||||
|
|
||||||
if(CollectionUtil.isEmpty(emisWaybillSave.getAttachmentList() )){
|
|
||||||
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());
|
||||||
@ -1524,7 +1522,6 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
goodsPicAttachment.setBillCode(emisWaybillSave.getBillCode());
|
goodsPicAttachment.setBillCode(emisWaybillSave.getBillCode());
|
||||||
emisWaybillAttachmentMapper.insertEmisWaybillAttachment(goodsPicAttachment);
|
emisWaybillAttachmentMapper.insertEmisWaybillAttachment(goodsPicAttachment);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// 占用进仓单号
|
// 占用进仓单号
|
||||||
if(!StringUtils.isEmpty(emisWaybillSave.getWarehouseInNo())) {
|
if(!StringUtils.isEmpty(emisWaybillSave.getWarehouseInNo())) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user