Commit Graph

3 Commits

Author SHA1 Message Date
BXY
10034dbcee feat: add exact match search and handle freight template name conflicts 2026-10-29 09:58:01 +08:00
robinj0726
eeb3efa996 feat: add region indexing and rules validation for freight templates
- Implemented RegionIndex to manage region codes and their relationships from embedded region.json.
- Added ValidateRulesJSON function to validate freight rules against specified criteria, including region code existence and overlap checks.
- Created unit tests for rules validation covering various scenarios including valid rules, overlap detection, and error handling for invalid inputs.
- Updated freight_template_server to integrate rules validation during freight template creation and updates, ensuring compliance with the new rules structure.
2026-10-10 18:54:45 +08:00
robinj0726
f28df52a12 feat: implement freight template management and scheduled sales promotion 2026-10-02 00:59:46 +08:00