jskim-node #39

Merged
jskim merged 3 commits from jskim-node into main 2026-04-28 11:20:32 +00:00

3 Commits

Author SHA1 Message Date
86ad6690a6 Merge branch 'main' into jskim-node 2026-04-28 11:20:27 +00:00
kjs
bb17cd0c33 Merge branch 'jskim-node' of https://g.wace.me/jskim/vexplor_dev into jskim-node 2026-04-28 20:20:11 +09:00
kjs
5dfae5e6b6 Refactor analytics report data retrieval and enhance equipment report logic
- Updated the `getQualityReportData` function to improve item name retrieval logic by using `NULLIF` for better handling of empty values.
- Refactored the `getEquipmentReportData` function to include company and date filters for equipment statistics, ensuring accurate data aggregation.
- Enhanced the SQL queries for both quality and equipment reports to utilize lateral joins and improve performance.
- Improved loading states in frontend components for inspection records and inspection results across multiple companies.

This refactor enhances data accuracy and user experience in the analytics module.
2026-04-28 20:20:10 +09:00