This commit is contained in:
邹宗楠
2023-10-11 15:13:38 +08:00
parent 72f0b2358a
commit 0d5c284c21
5 changed files with 29 additions and 17 deletions

View File

@@ -112,6 +112,9 @@ func (s *DefScheduler) SelfDeliveringAndUpdateStatus(ctx *jxcontext.Context, ven
VendorOrgCode: order.VendorOrgCode,
}
err = dao.CreateEntity(dao.GetDB(), bill)
order.VendorWaybillID = order.VendorOrderID
order.WaybillVendorID = model.VendorJXFakeWL
dao.UpdateEntity(dao.GetDB(), order, "VendorWaybillID", "WaybillVendorID")
}
return err
}()