|  | @@ -80,12 +80,13 @@ func (s *StoreEntry) NeckRingWarningEstrusOrAbortionCowList(ctx context.Context,
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +	list := model.NeckRingEstrusWarningSlice(neckRingEstrusList).ToPB(cowMap, eventLogMap, req.MatingWindowPeriod)
 | 
	
		
			
				|  |  |  	return &pasturePb.EstrusResponse{
 | 
	
		
			
				|  |  |  		Code: http.StatusOK,
 | 
	
		
			
				|  |  |  		Msg:  "ok",
 | 
	
		
			
				|  |  |  		Data: &pasturePb.EstrusData{
 | 
	
		
			
				|  |  | -			List:     model.NeckRingEstrusWarningSlice(neckRingEstrusList).ToPB(cowMap, eventLogMap, req.MatingWindowPeriod),
 | 
	
		
			
				|  |  | -			Total:    int32(count),
 | 
	
		
			
				|  |  | +			List:     list,
 | 
	
		
			
				|  |  | +			Total:    int32(len(list)),
 | 
	
		
			
				|  |  |  			PageSize: pagination.PageSize,
 | 
	
		
			
				|  |  |  			Page:     pagination.Page,
 | 
	
		
			
				|  |  |  		},
 | 
	
	
		
			
				|  | @@ -300,7 +301,7 @@ func (s *StoreEntry) NeckRingNoDiseaseBatch(ctx context.Context, req *pasturePb.
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  func (s *StoreEntry) EstrusWarningQuery(ctx context.Context, pastureId int64) (*gorm.DB, error) {
 | 
	
		
			
				|  |  |  	nowTime := time.Now().Local()
 | 
	
		
			
				|  |  | -	startTime := time.Unix(util.TimeParseLocalUnix(nowTime.AddDate(0, 0, -1).Format(model.LayoutDate2)), 0).Format(model.LayoutTime)
 | 
	
		
			
				|  |  | +	startTime := time.Unix(util.TimeParseLocalUnix(nowTime.Format(model.LayoutDate2)), 0).Format(model.LayoutTime)
 | 
	
		
			
				|  |  |  	entTime := time.Unix(util.TimeParseLocalEndUnix(nowTime.Format(model.LayoutDate2)), 0).Format(model.LayoutTime)
 | 
	
		
			
				|  |  |  	systemBasic, err := s.FindSystemBasic(ctx, pastureId, model.EstrusWaringDays)
 | 
	
		
			
				|  |  |  	if err != nil {
 |