|
|
@@ -1,6 +1,64 @@
|
|
|
# 更新日志 (Changelog)
|
|
|
|
|
|
此文件记录所有构建版本的变更。
|
|
|
+## v1.0.277 (2026-07-13)
|
|
|
+
|
|
|
+### Bug 修复
|
|
|
+- SupplyManageController detail/update/delete robust id parsing
|
|
|
+- api.js repurchase-reminders GET→POST + click tracking
|
|
|
+
|
|
|
+### 其他
|
|
|
+- JSON string rather than a number. Added type-safe parsing that
|
|
|
+- handles both Number and String id values across the supplier
|
|
|
+- management endpoints.
|
|
|
+- Co-authored-by: Sisyphus <sisyphus@omo.codes>
|
|
|
+-
|
|
|
+- implementation plan for dimension-products, repurchase-reminders,
|
|
|
+- scheduled task, and frontend fixes
|
|
|
+- - 2026-07-13-dan-assessment-phase2-5.md: pending Phase 2-5 plan
|
|
|
+- referencing assessment-market-plan.md — quota system, dual-channel
|
|
|
+- reports, plan generation engine, and review→confirm→execute loop
|
|
|
+- Co-authored-by: Sisyphus <sisyphus@omo.codes>
|
|
|
+-
|
|
|
+- @PostMapping convention. DimensionProductList.goProduct() fires
|
|
|
+- clickRepurchaseReminder() before navigation for repurchase-type
|
|
|
+- products.
|
|
|
+- Co-authored-by: Sisyphus <sisyphus@omo.codes>
|
|
|
+-
|
|
|
+- RecommendationService.generateDailyRepurchaseReminders() to scan
|
|
|
+- paid/received orders and generate repurchase reminders based on
|
|
|
+- repurchase_reminder_config rules (category/reminderDays/maxReminders).
|
|
|
+- Co-authored-by: Sisyphus <sisyphus@omo.codes>
|
|
|
+-
|
|
|
+- - getDimensionProducts() — query product_dimension_mapping by
|
|
|
+- dimensionCode, join products, filter status=上架/stock>0
|
|
|
+- - getRepurchaseReminders() — query user's unpurchased reminders
|
|
|
+- - markRepurchaseClicked() — update clicked=1 on reminder record
|
|
|
+- - generateDailyRepurchaseReminders() — scan paid/received orders,
|
|
|
+- apply repurchase_reminder_config rules, insert reminders
|
|
|
+- Injects ProductDimensionMappingMapper, RepurchaseReminderRecordMapper,
|
|
|
+- RepurchaseReminderConfigMapper, ProductOrderMapper.
|
|
|
+- Co-authored-by: Sisyphus <sisyphus@omo.codes>
|
|
|
+-
|
|
|
+- RecommendationController adds 3 @PostMapping endpoints:
|
|
|
+- - /dimension-products — query products by dimension code, sorted by matchScore
|
|
|
+- - /repurchase-reminders — list user's pending repurchase reminders
|
|
|
+- - /repurchase-reminder/{id}/click — mark reminder as clicked
|
|
|
+- Co-authored-by: Sisyphus <sisyphus@omo.codes>
|
|
|
+-
|
|
|
+
|
|
|
+### 文档
|
|
|
+- supplier-system gap-fix plan + DAN Phase 2-5 framework
|
|
|
+
|
|
|
+### 新功能
|
|
|
+- RepurchaseReminderScheduledTask runs daily at 2 AM
|
|
|
+- dimension-product query + repurchase-reminder service logic
|
|
|
+- add dimension-products + repurchase-reminders endpoints with DTO fields
|
|
|
+
|
|
|
+
|
|
|
+## v1.0.276 (2026-07-13)
|
|
|
+
|
|
|
+
|
|
|
## v1.0.275 (2026-07-13)
|
|
|
|
|
|
### 新功能
|