From 313667604af97af8d5358b879e211ed2f0f7ba00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 17 Mar 2021 14:39:16 +0800 Subject: [PATCH] aa --- business/jxstore/report/report.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/report/report.go b/business/jxstore/report/report.go index eeddde1f8..2828f8ae7 100644 --- a/business/jxstore/report/report.go +++ b/business/jxstore/report/report.go @@ -449,7 +449,7 @@ func RefreshStoreManageState(ctx *jxcontext.Context) { } storeDetail, _ := dao.GetStoreDetail(db, storeMap.StoreID, vendorID, storeMap.VendorOrgCode) storeManage := buildStoreManageState(ctx, db, storeMap, storeDetail, messageFlag) - dao.UpdateEntity(db, storeManage) + dao.CreateEntity(db, storeManage) return retVal, err }, createList) tasksch.HandleTask(task3, task, true).Run() @@ -462,7 +462,7 @@ func RefreshStoreManageState(ctx *jxcontext.Context) { } storeDetail, _ := dao.GetStoreDetail(db, storeMap.StoreID, vendorID, storeMap.VendorOrgCode) storeManage := buildStoreManageState(ctx, db, storeMap, storeDetail, messageFlag) - dao.CreateEntity(db, storeManage) + dao.UpdateEntity(db, storeManage) return retVal, err }, updateList) tasksch.HandleTask(task4, task, true).Run()