This commit is contained in:
suyl
2021-09-26 11:15:38 +08:00
parent 240fcb6dcb
commit 745608cb94
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}

View File

@@ -1337,7 +1337,7 @@ func GetStoreMapAudit(db *DaoDB, storeIDs, vendorIDs, auditStatuss []int, fromTi
}
type GetBrandUserResult struct {
*model.BrandUser
model.BrandUser
Name string `json:"name"`
}