Commit Graph

3 Commits

Author SHA1 Message Date
Ho Ngoc Hai
90debb3e94 fix(superadmin): resolve merchant admin query EF Core translation errors
- Fix IsDeleted/CreatedAt/BusinessName private field access in LINQ queries
  using EF.Property<T>() instead of public computed properties (which are
  Ignored in EF config due to DDD pattern)
- Fix Shop.MerchantId private field in GroupBy shop count query
- Split merchant list query into 2 steps (fetch + batch shop counts)
  to avoid untranslatable subquery in Join+Select
- Fix BFF SuperAdminController: remove duplicate auth header setting
  (AuthForwardingHandler already reads bff_session cookie)
- Fix frontend DTO field names to match API response (ShopsCount, Type)
- Fix frontend response format handling for direct {items} without {data} wrapper

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 23:39:26 +07:00
Ho Ngoc Hai
244e0fc7cc refactor: Tối ưu truy vấn cửa hàng, điều chỉnh các lệnh quản lý người bán và tinh gọn bộ kiểm thử chức năng dịch vụ xã hội. 2026-01-16 00:51:50 +07:00
Ho Ngoc Hai
99d57efed1 feat: Thêm các tính năng quản lý merchant và shop cho admin, đồng thời bổ sung các unit và functional test cho tính năng chặn người dùng và quan hệ trong social service. 2026-01-16 00:44:53 +07:00