- 优化DefScheduler.updateOrderByBill,避免设置bill的WaybillVendorID和VendorWaybillID

This commit is contained in:
gazebo
2019-05-15 23:10:47 +08:00
parent 30d4aec63a
commit 4586ede2dc
5 changed files with 26 additions and 52 deletions

View File

@@ -245,7 +245,7 @@ func IsSpecialOrderPlatformWaybill(bill *Waybill) bool {
}
// 订单是否已经有了有效运单
func IsOrderHasWaybill(order *GoodsOrder) bool {
func IsOrderHaveWaybill(order *GoodsOrder) bool {
return order.WaybillVendorID != VendorIDUnknown && order.VendorWaybillID != ""
}