|
@@ -143,6 +143,11 @@ func (e *Entry) CowEstrusWarning(pastureId int64, xToday *XToday, nowTime time.T
|
|
|
zaplog.Error("CowEstrusWarning", zap.Any("FindCowInfoByCowId", cowId))
|
|
|
continue
|
|
|
}
|
|
|
+
|
|
|
+ if cowInfo.Sex == pasturePb.Genders_Male {
|
|
|
+ continue
|
|
|
+ }
|
|
|
+
|
|
|
isShow := pasturePb.IsShow_Ok
|
|
|
if cowInfo != nil && cowInfo.IsPregnant == pasturePb.IsShow_Ok && level == pasturePb.EstrusLevel_Low {
|
|
|
isShow = pasturePb.IsShow_No
|