ids-svc-product/internal/repository
BXY 6f6887f0d2 Refactor product category schema and server logic
- Updated the product_category table schema to remove tenant_id and store_id, and added new fields: priority, rule_id, category_type, channel_list, has_children, has_prop_required, extra, cert_status_code, cert_status_pass, and cert_status_msg.
- Modified SQL scripts to drop and recreate product_category and product_category_bindings tables with the new schema.
- Refactored the ProductServer methods to remove store scope requirements and adjust to the new product category structure.
- Updated error handling and validation in Create, Update, and Delete product category methods.
- Added new patch handling for product categories to accommodate the updated schema.
- Introduced a new SQL script to rebuild the standard product category tree, ensuring a clean migration to the new structure.
2026-10-08 14:56:54 +08:00
..
catalog_master_repository.go feat: add suppliers and brands management to product catalog 2026-09-23 16:34:15 +08:00
category_binding_test.go feat: add AddProductsToCategory method and update AddProductsToGroup for category and group bindings 2026-09-23 13:35:14 +08:00
freight_template_repository.go feat: implement freight template management and scheduled sales promotion 2026-10-02 00:59:46 +08:00
product_batch_test.go feat: add catalog category list filter and batch product writes 2026-10-01 23:47:53 +08:00
product_batch.go feat: add catalog category list filter and batch product writes 2026-10-01 23:47:53 +08:00
product_category_repository.go Refactor product category schema and server logic 2026-10-08 14:56:54 +08:00
product_repository_test.go feat: add product category validation and update product list filter to use ProductCategoryID 2026-10-07 19:40:07 +08:00
product_repository.go Refactor product category schema and server logic 2026-10-08 14:56:54 +08:00
store_scope_test.go feat: implement store scope validation and enforce it in product repository 2026-09-13 00:12:44 +08:00
store_scope.go feat: implement store scope validation and enforce it in product repository 2026-09-13 00:12:44 +08:00