This commit is contained in:
linfso 2024-06-15 22:27:42 +08:00
parent da20e82fbf
commit 28114f50ab

View File

@ -166,14 +166,17 @@ public class EmisWaybillAttachmentController extends EmisBaseController
return AjaxResult.error("附件fileUrl必传"); return AjaxResult.error("附件fileUrl必传");
} }
// 0-GOODS_PIC 1-揽收底单 2-签收底单
if(WaybillAttachType.SIGNED_PIC.typeCode.equals(emisWaybillAttachment.getAttachType())){
// 检查运单是否签收,如果没有签收需要做图片签收 // 检查运单是否签收,如果没有签收需要做图片签收
EmisWaybill waybill=emisBaseService.getWaybillByBillCode(emisWaybillAttachment.getBillCode()); EmisWaybill waybill=emisBaseService.getWaybillByBillCode(emisWaybillAttachment.getBillCode());
if(waybill==null){ if(waybill==null){
return AjaxResult.error("运单不存在"); return AjaxResult.error("运单不存在");
} }
emisWaybillAttachment.setWaybillId(waybill.getId());
// 0-GOODS_PIC 1-揽收底单 2-签收底单
if(WaybillAttachType.SIGNED_PIC.typeCode.equals(emisWaybillAttachment.getAttachType())){
// 签收扫描登记 // 签收扫描登记
/* /*
{ {