This commit is contained in:
苏尹岚
2020-12-18 11:43:34 +08:00
parent 7b27513b76
commit 944cc6f562

View File

@@ -1842,10 +1842,17 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
_, err = cms.UpdateOrCreateCourierStores(ctx, v.ID, false, false, false) _, err = cms.UpdateOrCreateCourierStores(ctx, v.ID, false, false, false)
if err != nil { if err != nil {
storeIDs = append(storeIDs, v.ID) storeIDs = append(storeIDs, v.ID)
} else {
csList, _ := dao.GetStoreCourierList(db, []int{v.ID}, []int{model.VendorIDFengNiao}, model.StoreStatusAll, model.StoreAuditStatusAll)
if len(csList) > 0 {
csList[0].Status = 0
dao.UpdateEntity(db, csList[0], "Status")
}
} }
} }
} }
} }
break
} }
fmt.Println("errrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr", storeIDs) fmt.Println("errrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr", storeIDs)
return err return err