This commit is contained in:
苏尹岚
2021-03-17 14:39:16 +08:00
parent 385d15fd52
commit 313667604a

View File

@@ -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()