作者 Your Name

更新

@@ -27,6 +27,7 @@ type ProductCapacitiesInfo struct { @@ -27,6 +27,7 @@ type ProductCapacitiesInfo struct {
27 WorkerId int `json:"workerId" ` //员工 27 WorkerId int `json:"workerId" ` //员工
28 WorkerName string `json:"workerName"` // 28 WorkerName string `json:"workerName"` //
29 Weigh float64 `json:"weigh"` //产量重量 29 Weigh float64 `json:"weigh"` //产量重量
  30 + ProductPlanId int `json:"productPlanId"` //
30 BatchNumber string `json:"batchNumber"` //批次号 31 BatchNumber string `json:"batchNumber"` //批次号
31 ProductName string `json:"productName"` //产品名称 32 ProductName string `json:"productName"` //产品名称
32 ParticipateType int `json:"participateType"` //参与类型 1:正常 2:支援 33 ParticipateType int `json:"participateType"` //参与类型 1:正常 2:支援
@@ -232,9 +232,9 @@ func (productRecordService *ProductRecordService) GetProductCapacities(operateIn @@ -232,9 +232,9 @@ func (productRecordService *ProductRecordService) GetProductCapacities(operateIn
232 Weigh: recordData.ProductRecordInfo.Weigh, 232 Weigh: recordData.ProductRecordInfo.Weigh,
233 BatchNumber: recordData.ProductRecordInfo.BatchNumber, 233 BatchNumber: recordData.ProductRecordInfo.BatchNumber,
234 ProductName: recordData.ProductRecordInfo.PlanProductName, 234 ProductName: recordData.ProductRecordInfo.PlanProductName,
235 - // ParticipateType: recordData.ParticipateType,  
236 - RecordDate: recordData.CreatedAt.Format("2006-01-02"),  
237 - WorkOn: recordData.ProductRecordInfo.WorkOn, 235 + ProductPlanId: recordData.ProductRecordInfo.ProductPlanId,
  236 + RecordDate: recordData.CreatedAt.Format("2006-01-02"),
  237 + WorkOn: recordData.ProductRecordInfo.WorkOn,
238 } 238 }
239 239
240 return &result, nil 240 return &result, nil