完善生产异常维修与备件管理功能

This commit is contained in:
2026-09-01 19:17:09 +08:00
parent 02a429af66
commit 32f1486f5e
49 changed files with 1765 additions and 121 deletions
@@ -0,0 +1,7 @@
# 维修备件按使用频率排序
维修备件选项接口现在统计历史维修记录中各备件的使用数量,按使用频率从高到低排序;频率相同时按商品编码升序排列,保证列表稳定。
统计来源为维修记录 `parts` JSON 中的商品编码和数量字段,筛选、分页仍按原有接口参数执行。
验证:`php -l backend/plugin/produce/app/api/controller/DataEntryController.php` 通过。