暂存一下,防止丢失

This commit is contained in:
2026-07-24 16:07:18 +08:00
parent 5d6e23f1a5
commit a18ed8bc8d
180 changed files with 13597 additions and 1986 deletions

View File

@@ -263,7 +263,7 @@ func (s *AccountStore) GetPrimaryAccountsByShopIDs(ctx context.Context, shopIDs
Where("shop_id IN ? AND is_primary = ?", shopIDs, true)
// 注意:此处不再应用数据权限过滤
// 因为调用方Service 层)已经保证了 shopIDs 的合法性
// 在 ListShopFundSummary 场景中,店铺列表已由 Service 层过滤
// 在资金概况等批量投影场景中,调用方已经保证 shopIDs 位于当前数据范围内
if err := query.Find(&accounts).Error; err != nil {
return nil, err
}