This commit is contained in:
linfso 2024-06-15 22:12:15 +08:00
parent 1b97a1afd6
commit 852cf24faf

View File

@ -161,6 +161,12 @@ public class EmisWaybillAttachmentController extends EmisBaseController
*/
public AjaxResult addAttachment(EmisWaybillAttachment emisWaybillAttachment)
{
if(StringUtils.isEmpty(emisWaybillAttachment.getFileUrl())){
return AjaxResult.error("附件路径为空!");
}
// 0-GOODS_PIC 1-揽收底单 2-签收底单
if(WaybillAttachType.SIGNED_PIC.typeCode.equals(emisWaybillAttachment.getAttachType())){
// 检查运单是否签收,如果没有签收需要做图片签收