Files
erp-next/ruoyi-system/src/main
wangyu 608ee0ed61 feat: multi-dim comparison + clustering + per-supplier PDF export
Backend:
- BizComparisonVO: add composite score fields (priceScore, deliveryScore,
  qualityScore, serviceScore, compositeScore, rankBadge) + SupplierPlan cluster VO
- Mapper: join biz_supplier_evaluation for quality/service history scores
- Service: weighted scoring (price 40%/delivery 25%/quality 20%/service 15%),
  greedy clustering assigns each item to best-score supplier, groups into plans
- Controller: returns CompareResult with items + recommendedPlans

Frontend:
- Tab 1 (多维度比价): supplier rank cards with 4-dim progress bars
- Tab 2 (智能推荐方案): per-supplier cluster cards with explanation + PDF export
- PDF: logo header, score legend, items table, cluster reason per supplier
2026-05-22 11:19:29 +08:00
..