Refactor billing options retrieval to include data permissions and add effective date handling for product imports

This commit is contained in:
wuweihua
2026-10-09 09:27:28 +08:00
parent fea34d1d10
commit c95a9861cc
42 changed files with 984 additions and 219 deletions
@@ -0,0 +1,8 @@
-- product / product_country: effective_date & expire_date support hour precision
ALTER TABLE product
MODIFY COLUMN effective_date datetime DEFAULT NULL COMMENT '目录生效时间(到小时)',
MODIFY COLUMN expire_date datetime DEFAULT NULL COMMENT '产品失效时间(空=长期;下一版生效时间=本版失效时间)';
ALTER TABLE product_country
MODIFY COLUMN effective_date datetime DEFAULT NULL COMMENT '产品价表生效时间(到小时)',
MODIFY COLUMN expire_date datetime DEFAULT NULL COMMENT '失效时间(空=开放;下一版导入生效时间=本版失效时间)';