From 745608cb94e24b07f8d06052c63d928b2d1066d4 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Sun, 26 Sep 2021 11:15:38 +0800 Subject: [PATCH] aa --- business/jxstore/cms/store.go | 2 +- business/model/dao/store.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index e91019b79..53864b610 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -5169,7 +5169,7 @@ func UpdateBrandUser(ctx *jxcontext.Context, brandID int, userID string, isDel b } brandUser := brandUsers[0].BrandUser brandUser.DeletedAt = time.Now() - dao.UpdateEntity(db, brandUser, "DeletedAt") + dao.UpdateEntity(db, &brandUser, "DeletedAt") } return err } diff --git a/business/model/dao/store.go b/business/model/dao/store.go index 559adba94..27119cd39 100644 --- a/business/model/dao/store.go +++ b/business/model/dao/store.go @@ -1337,7 +1337,7 @@ func GetStoreMapAudit(db *DaoDB, storeIDs, vendorIDs, auditStatuss []int, fromTi } type GetBrandUserResult struct { - *model.BrandUser + model.BrandUser Name string `json:"name"` }