From 859278b5b141b6b6839891413633770e1e2341e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 21 Sep 2023 15:21:50 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 727b750e3..31ef52b58 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -824,7 +824,7 @@ func GetVendorStore(ctx *jxcontext.Context, vendorID int, vendorOrgCode, vendorS if !jxutils.IsLegalStoreID(retVal.ID) { retVal.ID = 0 } - if retVal.Status == model.StoreStatusDisabled { + if result.Status <= model.StoreStatusHaveRest { retVal.BussinessStatus = -1 } else { retVal.BussinessStatus = 1