aa
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -1337,7 +1337,7 @@ func GetStoreMapAudit(db *DaoDB, storeIDs, vendorIDs, auditStatuss []int, fromTi
|
||||
}
|
||||
|
||||
type GetBrandUserResult struct {
|
||||
*model.BrandUser
|
||||
model.BrandUser
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user