- 优化DefScheduler.updateOrderByBill,避免设置bill的WaybillVendorID和VendorWaybillID
This commit is contained in:
@@ -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 != ""
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user