This commit is contained in:
邹宗楠
2024-01-22 18:13:02 +08:00
parent 25991694ef
commit 2f41887ff6
2 changed files with 4 additions and 2 deletions

View File

@@ -294,9 +294,10 @@ func (s *DefScheduler) CreateWaybillOnProvidersEx(ctx *jxcontext.Context, vendor
delete(allDelivery, v)
}
}
for _, v := range allDelivery {
excludeCourierVendorIDs = append(excludeCourierVendorIDs, v)
for k, _ := range allDelivery {
excludeCourierVendorIDs = append(excludeCourierVendorIDs, k)
}
globals.SugarLogger.Debugf("===========")
billFunc := func() {
bills, err = func() (bills []*model.Waybill, err error) {