feat: 重构 AGV 对接与在制品查询,新增 PLC 手动监控功能

This commit is contained in:
SunYF
2026-10-17 17:49:47 +08:00
parent f65a52d9e1
commit f743cf21fb
96 changed files with 6130 additions and 1781 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ type UsageRow struct {
EffQty float64 `json:"effQty"` // 单台含损耗用量 = Σ 行单台用量×(1+损耗率/100),参与计算
}
// GetOrderUsage 按工单号查询单台用料(工位终端上线位领料确认 / 管理后台展示用)
// GetOrderUsage 按工单号查询单台用料(工位终端上线面板领料确认 / 管理后台展示用)
func (s *Service) GetOrderUsage(ctx context.Context, orderNo string) ([]UsageRow, error) {
if orderNo == "" {
return []UsageRow{}, nil