From 944cc6f562cd6ff848a3c46a69d38a15b54793b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 18 Dec 2020 11:43:34 +0800 Subject: [PATCH] jiandian --- business/jxstore/tempop/tempop.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index c5c2991fb..4070f864f 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1842,10 +1842,17 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { _, err = cms.UpdateOrCreateCourierStores(ctx, v.ID, false, false, false) if err != nil { 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) return err