From 41dc1bfb0fd8884bf76b82a3762021e18079f973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 6 Apr 2021 10:22:09 +0800 Subject: [PATCH] aa --- business/jxstore/report/report.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxstore/report/report.go b/business/jxstore/report/report.go index e25ce2c66..8dd31f8d7 100644 --- a/business/jxstore/report/report.go +++ b/business/jxstore/report/report.go @@ -448,6 +448,9 @@ func RefreshStoreManageState(ctx *jxcontext.Context) { } storeDetail, _ := dao.GetStoreDetail(db, storeMap.StoreID, vendorID, storeMap.VendorOrgCode) storeManage := buildStoreManageState(ctx, db, storeMap, storeDetail, messageFlag) + if storeManage == nil { + return retVal, err + } dao.CreateEntity(db, storeManage) return retVal, err }, createList)