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)