作者 Your Name

更新

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