feat: 重构 AGV 对接与在制品查询,新增 PLC 手动监控功能
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user