|
@@ -341,14 +341,16 @@ func (s *StoreEntry) FeedFormulaDetailInsert(ctx context.Context, groupPasture *
|
|
|
if data.Id <= 0 {
|
|
|
continue
|
|
|
}
|
|
|
+
|
|
|
res = append(res, &model.FeedFormulaDetail{
|
|
|
PastureId: groupPasture.PastureId,
|
|
|
PastureName: groupPasture.Name,
|
|
|
PastureDataId: data.Id,
|
|
|
- ForgeId: data.FId,
|
|
|
+ ForageId: data.FId,
|
|
|
FeedFormulaId: data.FtId,
|
|
|
Weight: int32(data.FWeight * 100),
|
|
|
ForageGroupName: data.FeedGroup,
|
|
|
+ ForageName: data.FName,
|
|
|
StirDelay: data.AutoSecond,
|
|
|
AllowError: data.Deviation,
|
|
|
IsShow: operationPb.IsShow_OK,
|