Kaynağa Gözat

analysis: 多维度受胎率分析

Yi 4 ay önce
ebeveyn
işleme
ae521dd14e

+ 1 - 1
go.mod

@@ -3,7 +3,7 @@ module kpt-pasture
 go 1.17
 
 require (
-	gitee.com/xuyiping_admin/go_proto v0.0.0-20241101012151-bbf157c372ed
+	gitee.com/xuyiping_admin/go_proto v0.0.0-20241104025928-e62a2d8db6d6
 	gitee.com/xuyiping_admin/pkg v0.0.0-20241029095841-aa1fe89b557a
 	github.com/dgrijalva/jwt-go v3.2.0+incompatible
 	github.com/eko/gocache v1.1.0

+ 4 - 0
go.sum

@@ -40,6 +40,10 @@ gitee.com/xuyiping_admin/go_proto v0.0.0-20241030093930-85784b846ab4 h1:7GYTs67b
 gitee.com/xuyiping_admin/go_proto v0.0.0-20241030093930-85784b846ab4/go.mod h1:BKrFW6YLDectlQcQk3FYKBeXvjEiodAKJ5rq7O/QiPE=
 gitee.com/xuyiping_admin/go_proto v0.0.0-20241101012151-bbf157c372ed h1:w4R1HdbIkcHhRunjPTPT8PPk4TybANIBy4OuC89Na4c=
 gitee.com/xuyiping_admin/go_proto v0.0.0-20241101012151-bbf157c372ed/go.mod h1:BKrFW6YLDectlQcQk3FYKBeXvjEiodAKJ5rq7O/QiPE=
+gitee.com/xuyiping_admin/go_proto v0.0.0-20241104023746-2df64dda0323 h1:lA3XTnnhg52VFLDM/typUJCypirbD7TmnMyIlWk5B70=
+gitee.com/xuyiping_admin/go_proto v0.0.0-20241104023746-2df64dda0323/go.mod h1:BKrFW6YLDectlQcQk3FYKBeXvjEiodAKJ5rq7O/QiPE=
+gitee.com/xuyiping_admin/go_proto v0.0.0-20241104025928-e62a2d8db6d6 h1:NqH5P8Sgm38m9RFb3cQnKIsX0qZqXefJrC7JjJUTB2g=
+gitee.com/xuyiping_admin/go_proto v0.0.0-20241104025928-e62a2d8db6d6/go.mod h1:BKrFW6YLDectlQcQk3FYKBeXvjEiodAKJ5rq7O/QiPE=
 gitee.com/xuyiping_admin/pkg v0.0.0-20241029095841-aa1fe89b557a h1:z6Pp4HmdcxEZ43avmbFoE3vwEYcWnIefqEEZZWCHfek=
 gitee.com/xuyiping_admin/pkg v0.0.0-20241029095841-aa1fe89b557a/go.mod h1:8tF25X6pE9WkFCczlNAC0K2mrjwKvhhp02I7o0HtDxY=
 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=

+ 26 - 0
http/handler/analysis/analysis.go

@@ -250,3 +250,29 @@ func SingleFactorInfantSurvivalRate(c *gin.Context) {
 	}
 	ginutil.JSONResp(c, res)
 }
+
+func MultiFactorInfantSurvivalRate(c *gin.Context) {
+	var req pasturePb.MultiFactorPregnancyRateRequest
+	if err := ginutil.BindProto(c, &req); err != nil {
+		apierr.AbortBadRequest(c, http.StatusBadRequest, err)
+		return
+	}
+
+	if err := valid.ValidateStruct(&req,
+		valid.Field(&req.StartDayTime, valid.Required),
+		valid.Field(&req.EndDayTime, valid.Required),
+		valid.Field(&req.CowType, valid.Required),
+		valid.Field(&req.XAxle, valid.Required),
+		valid.Field(&req.YAxle, valid.Required),
+	); err != nil {
+		apierr.AbortBadRequest(c, http.StatusBadRequest, err)
+		return
+	}
+
+	res, err := middleware.Dependency(c).StoreEventHub.OpsService.MultipleFactorAnalysis(c, &req)
+	if err != nil {
+		apierr.ClassifiedAbort(c, err)
+		return
+	}
+	ginutil.JSONResp(c, res)
+}

+ 1 - 0
http/route/analysis_api.go

@@ -23,5 +23,6 @@ func AnalysisAPI(opts ...func(engine *gin.Engine)) func(s *gin.Engine) {
 		pastureRoute.POST("/calving/report", analysis.CalvingReport)
 		pastureRoute.POST("/disease/cure/report", analysis.DiseaseCureReport)
 		pastureRoute.POST("/single/factor/pregnant/report", analysis.SingleFactorInfantSurvivalRate)
+		pastureRoute.POST("/multi/factor/pregnant/report", analysis.MultiFactorInfantSurvivalRate)
 	}
 }

+ 8 - 5
model/event_cow_same_time.go

@@ -112,11 +112,14 @@ func (s EventCowSameTimeSlice) ToPB() []*pasturePb.EventSameTime {
 	res := make([]*pasturePb.EventSameTime, len(s))
 	for i, v := range s {
 		res[i] = &pasturePb.EventSameTime{
-			CowId:      fmt.Sprintf("%d", v.CowId),
-			DrugsId:    int32(v.DrugsId),
-			Usage:      v.Usage,
-			Lact:       v.Lact,
-			SameTimeId: int32(v.SameTimeId),
+			CowId:            fmt.Sprintf("%d", v.CowId),
+			PenId:            v.PenId,
+			DrugsId:          int32(v.DrugsId),
+			Usage:            v.Usage,
+			Lact:             v.Lact,
+			SameTimeId:       int32(v.SameTimeId),
+			SameTimeType:     v.SameTimeType,
+			SameTimeTypeName: "",
 		}
 	}
 	return res

+ 126 - 35
module/backend/analysis_breed.go

@@ -181,19 +181,19 @@ func (s *StoreEntry) SingleFactorAnalysisMethodMonths(ctx context.Context, req *
 
 	if req.LactInterval > 0 {
 		switch req.LactInterval {
-		case pasturePb.LactIntervalSymbol_Less_Than:
+		case pasturePb.CompareSymbol_Less_Than:
 			pref.Where("lact < ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Less_Than_Or_Equal_To:
+		case pasturePb.CompareSymbol_Less_Than_Or_Equal_To:
 			pref.Where("lact <= ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Greater_Than:
+		case pasturePb.CompareSymbol_Greater_Than:
 			pref.Where("lact > ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Greater_Than_Or_Equal_To:
+		case pasturePb.CompareSymbol_Greater_Than_Or_Equal_To:
 			pref.Where("lact >= ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Equal_To:
+		case pasturePb.CompareSymbol_Equal_To:
 			pref.Where("lact = ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Not_Equal_To:
+		case pasturePb.CompareSymbol_Not_Equal_To:
 			pref.Where("lact != ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Between:
+		case pasturePb.CompareSymbol_Between:
 			pref.Where("lact BETWEEN ? AND ? ", req.LactIntervalStartValue, req.LactIntervalEndValue)
 		default:
 			return nil, xerr.Custom("错误的胎次区间符号")
@@ -279,19 +279,19 @@ func (s *StoreEntry) SingleFactorAnalysisMethodBreedingCompany(ctx context.Conte
 
 	if req.LactInterval > 0 {
 		switch req.LactInterval {
-		case pasturePb.LactIntervalSymbol_Less_Than:
+		case pasturePb.CompareSymbol_Less_Than:
 			pref.Where("a.lact < ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Less_Than_Or_Equal_To:
+		case pasturePb.CompareSymbol_Less_Than_Or_Equal_To:
 			pref.Where("a.lact <= ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Greater_Than:
+		case pasturePb.CompareSymbol_Greater_Than:
 			pref.Where("a.lact > ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Greater_Than_Or_Equal_To:
+		case pasturePb.CompareSymbol_Greater_Than_Or_Equal_To:
 			pref.Where("a.lact >= ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Equal_To:
+		case pasturePb.CompareSymbol_Equal_To:
 			pref.Where("a.lact = ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Not_Equal_To:
+		case pasturePb.CompareSymbol_Not_Equal_To:
 			pref.Where("a.lact != ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Between:
+		case pasturePb.CompareSymbol_Between:
 			pref.Where("a.lact BETWEEN ? AND ? ", req.LactIntervalStartValue, req.LactIntervalEndValue)
 		default:
 			return nil, xerr.Custom("错误的胎次区间符号")
@@ -335,19 +335,19 @@ func (s *StoreEntry) SingleFactorAnalysisMethodOperation(ctx context.Context, re
 
 	if req.LactInterval > 0 {
 		switch req.LactInterval {
-		case pasturePb.LactIntervalSymbol_Less_Than:
+		case pasturePb.CompareSymbol_Less_Than:
 			pref.Where("lact < ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Less_Than_Or_Equal_To:
+		case pasturePb.CompareSymbol_Less_Than_Or_Equal_To:
 			pref.Where("lact <= ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Greater_Than:
+		case pasturePb.CompareSymbol_Greater_Than:
 			pref.Where("lact > ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Greater_Than_Or_Equal_To:
+		case pasturePb.CompareSymbol_Greater_Than_Or_Equal_To:
 			pref.Where("lact >= ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Equal_To:
+		case pasturePb.CompareSymbol_Equal_To:
 			pref.Where("lact = ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Not_Equal_To:
+		case pasturePb.CompareSymbol_Not_Equal_To:
 			pref.Where("lact != ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Between:
+		case pasturePb.CompareSymbol_Between:
 			pref.Where("lact BETWEEN ? AND ? ", req.LactIntervalStartValue, req.LactIntervalEndValue)
 		default:
 			return nil, xerr.Custom("错误的胎次区间符号")
@@ -397,19 +397,19 @@ func (s *StoreEntry) SingleFactorAnalysisMethodBull(ctx context.Context, req *pa
 
 	if req.LactInterval > 0 {
 		switch req.LactInterval {
-		case pasturePb.LactIntervalSymbol_Less_Than:
+		case pasturePb.CompareSymbol_Less_Than:
 			pref.Where("lact < ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Less_Than_Or_Equal_To:
+		case pasturePb.CompareSymbol_Less_Than_Or_Equal_To:
 			pref.Where("lact <= ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Greater_Than:
+		case pasturePb.CompareSymbol_Greater_Than:
 			pref.Where("lact > ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Greater_Than_Or_Equal_To:
+		case pasturePb.CompareSymbol_Greater_Than_Or_Equal_To:
 			pref.Where("lact >= ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Equal_To:
+		case pasturePb.CompareSymbol_Equal_To:
 			pref.Where("lact = ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Not_Equal_To:
+		case pasturePb.CompareSymbol_Not_Equal_To:
 			pref.Where("lact != ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Between:
+		case pasturePb.CompareSymbol_Between:
 			pref.Where("lact BETWEEN ? AND ? ", req.LactIntervalStartValue, req.LactIntervalEndValue)
 		default:
 			return nil, xerr.Custom("错误的胎次区间符号")
@@ -469,19 +469,19 @@ func (s *StoreEntry) SingleFactorAnalysisMethodWeek(ctx context.Context, req *pa
 
 	if req.LactInterval > 0 {
 		switch req.LactInterval {
-		case pasturePb.LactIntervalSymbol_Less_Than:
+		case pasturePb.CompareSymbol_Less_Than:
 			pref.Where("lact < ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Less_Than_Or_Equal_To:
+		case pasturePb.CompareSymbol_Less_Than_Or_Equal_To:
 			pref.Where("lact <= ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Greater_Than:
+		case pasturePb.CompareSymbol_Greater_Than:
 			pref.Where("lact > ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Greater_Than_Or_Equal_To:
+		case pasturePb.CompareSymbol_Greater_Than_Or_Equal_To:
 			pref.Where("lact >= ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Equal_To:
+		case pasturePb.CompareSymbol_Equal_To:
 			pref.Where("lact = ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Not_Equal_To:
+		case pasturePb.CompareSymbol_Not_Equal_To:
 			pref.Where("lact != ?", req.LactIntervalStartValue)
-		case pasturePb.LactIntervalSymbol_Between:
+		case pasturePb.CompareSymbol_Between:
 			pref.Where("lact BETWEEN ? AND ? ", req.LactIntervalStartValue, req.LactIntervalEndValue)
 		default:
 			return nil, xerr.Custom("错误的胎次区间符号")
@@ -533,3 +533,94 @@ func (s *StoreEntry) SingleFactorAnalysisMethodLact(ctx context.Context, req *pa
 
 	return res, nil
 }
+
+func (s *StoreEntry) MultipleFactorAnalysis(ctx context.Context, req *pasturePb.MultiFactorPregnancyRateRequest) (*pasturePb.MultiFactorPregnancyRateResponse, error) {
+	startTimeUnix := util.TimeParseLocalUnix(req.StartDayTime)
+	endTimeUnix := util.TimeParseLocalEndUnix(req.EndDayTime)
+	if startTimeUnix == 0 || endTimeUnix == 0 || endTimeUnix <= startTimeUnix {
+		return nil, xerr.Custom("开始时间不能大于结束时间")
+	}
+
+	if req.XAxle == req.YAxle {
+		return nil, xerr.Custom("X轴和Y轴不能相同")
+	}
+
+	if req.XAxle == 0 || req.YAxle == 0 {
+		return nil, xerr.Custom("错误的XY轴数据")
+	}
+
+	pref := s.DB.Model(new(model.EventMating)).
+		Where("status = ?", pasturePb.IsShow_Ok).
+		Where("cow_type = ?", req.CowType)
+
+	if req.LactCompareSymbol > 0 {
+		switch req.LactCompareSymbol {
+		case pasturePb.CompareSymbol_Less_Than:
+			pref.Where("lact < ?", req.LactStartValue)
+		case pasturePb.CompareSymbol_Less_Than_Or_Equal_To:
+			pref.Where("lact <= ?", req.LactStartValue)
+		case pasturePb.CompareSymbol_Greater_Than:
+			pref.Where("lact > ?", req.LactStartValue)
+		case pasturePb.CompareSymbol_Greater_Than_Or_Equal_To:
+			pref.Where("lact >= ?", req.LactStartValue)
+		case pasturePb.CompareSymbol_Equal_To:
+			pref.Where("lact = ?", req.LactStartValue)
+		case pasturePb.CompareSymbol_Not_Equal_To:
+			pref.Where("lact != ?", req.LactStartValue)
+		case pasturePb.CompareSymbol_Between:
+			pref.Where("lact BETWEEN ? AND ? ", req.LactStartValue, req.LactEndValue)
+		}
+	}
+
+	if req.MatingTimesCompareSymbol > 0 {
+		switch req.MatingTimesCompareSymbol {
+		case pasturePb.CompareSymbol_Less_Than:
+			pref.Where("mating_number < ?", req.LactStartValue)
+		case pasturePb.CompareSymbol_Less_Than_Or_Equal_To:
+			pref.Where("mating_number <= ?", req.LactStartValue)
+		case pasturePb.CompareSymbol_Greater_Than:
+			pref.Where("mating_number > ?", req.LactStartValue)
+		case pasturePb.CompareSymbol_Greater_Than_Or_Equal_To:
+			pref.Where("mating_number >= ?", req.LactStartValue)
+		case pasturePb.CompareSymbol_Equal_To:
+			pref.Where("mating_number = ?", req.LactStartValue)
+		case pasturePb.CompareSymbol_Not_Equal_To:
+			pref.Where("mating_number != ?", req.LactStartValue)
+		case pasturePb.CompareSymbol_Between:
+			pref.Where("mating_number BETWEEN ? AND ? ", req.LactStartValue, req.LactEndValue)
+		}
+	}
+
+	if req.XAxle > 0 {
+		switch req.XAxle {
+		case pasturePb.MultiFactorAnalysisMethod_Months:
+			pref.Select(`
+				DATE_FORMAT(reality_day, '%Y-%m') AS statistic_method,
+				COUNT(DISTINCT CASE WHEN mating_result = ? AND mating_result_at > 0 THEN cow_id END) AS pregnant_count, -- 怀孕头数  
+				COUNT(DISTINCT CASE WHEN mating_result = ? AND mating_result_at > 0 THEN cow_id END) AS empty_pregnant_count, -- 空怀头数  
+				COUNT(DISTINCT CASE WHEN mating_result = ? AND mating_result_at > 0 THEN cow_id END) AS abortion_count, -- 流产头数
+			`)
+
+		}
+	}
+
+	list := make([]*pasturePb.MultiFactorPregnancyRateList, 0)
+	if err := pref.Group("statistic_method").Find(&list).Error; err != nil {
+		return nil, xerr.WithStack(err)
+	}
+
+	chart := &pasturePb.MultiFactorPregnancyRateChart{
+		Headers:      make([]string, 0),
+		PregnantRate: make(map[string]*pasturePb.PregnancyRate),
+	}
+
+	return &pasturePb.MultiFactorPregnancyRateResponse{
+		Code:    http.StatusOK,
+		Message: "ok",
+		Data: &pasturePb.MultiFactorPregnancyRateData{
+			Total: int32(len(list)),
+			List:  list,
+			Chart: chart,
+		},
+	}, nil
+}

+ 7 - 7
module/backend/config_data_breed.go

@@ -140,31 +140,31 @@ func (s *StoreEntry) SingleFactorAnalysisMethodEnumList(isAll string) []*pasture
 func (s *StoreEntry) LactIntervalSymbolEnumList(isAll string) []*pasturePb.ConfigOptionsList {
 	configOptions := make([]*pasturePb.ConfigOptionsList, 0)
 	configOptions = append(configOptions, &pasturePb.ConfigOptionsList{
-		Value:    int32(pasturePb.LactIntervalSymbol_Less_Than),
+		Value:    int32(pasturePb.CompareSymbol_Less_Than),
 		Label:    "<",
 		Disabled: true,
 	}, &pasturePb.ConfigOptionsList{
-		Value:    int32(pasturePb.LactIntervalSymbol_Less_Than_Or_Equal_To),
+		Value:    int32(pasturePb.CompareSymbol_Less_Than_Or_Equal_To),
 		Label:    "<=",
 		Disabled: true,
 	}, &pasturePb.ConfigOptionsList{
-		Value:    int32(pasturePb.LactIntervalSymbol_Greater_Than),
+		Value:    int32(pasturePb.CompareSymbol_Greater_Than),
 		Label:    ">",
 		Disabled: true,
 	}, &pasturePb.ConfigOptionsList{
-		Value:    int32(pasturePb.LactIntervalSymbol_Greater_Than_Or_Equal_To),
+		Value:    int32(pasturePb.CompareSymbol_Greater_Than_Or_Equal_To),
 		Label:    ">=",
 		Disabled: true,
 	}, &pasturePb.ConfigOptionsList{
-		Value:    int32(pasturePb.LactIntervalSymbol_Equal_To),
+		Value:    int32(pasturePb.CompareSymbol_Equal_To),
 		Label:    "=",
 		Disabled: true,
 	}, &pasturePb.ConfigOptionsList{
-		Value:    int32(pasturePb.LactIntervalSymbol_Not_Equal_To),
+		Value:    int32(pasturePb.CompareSymbol_Not_Equal_To),
 		Label:    "!=",
 		Disabled: true,
 	}, &pasturePb.ConfigOptionsList{
-		Value:    int32(pasturePb.LactIntervalSymbol_Between),
+		Value:    int32(pasturePb.CompareSymbol_Between),
 		Label:    "区间",
 		Disabled: true,
 	})

+ 6 - 1
module/backend/cow.go

@@ -14,13 +14,18 @@ import (
 func (s *StoreEntry) CowList(ctx context.Context, req *pasturePb.SearchEventRequest, pagination *pasturePb.PaginationModel) (*pasturePb.SearchCowListResponse, error) {
 	cowList := make([]*model.Cow, 0)
 	var count int64 = 0
-	pref := s.DB.Model(&model.Cow{}).Where("admission_status = ?", pasturePb.AdmissionStatus_Admission)
+	pref := s.DB.Model(&model.Cow{}).
+		Where("admission_status = ?", pasturePb.AdmissionStatus_Admission)
 
 	if len(req.CowId) > 0 {
 		cowIds := strings.Split(req.CowId, ",")
 		pref.Where("id IN ?", cowIds)
 	}
 
+	if req.EarNumber != "" {
+		pref.Where("ear_number LIKE ?", "%"+req.EarNumber+"%")
+	}
+
 	if err := pref.Order("id desc").
 		Count(&count).Limit(int(pagination.PageSize)).
 		Offset(int(pagination.PageOffset)).

+ 1 - 0
module/backend/interface.go

@@ -217,6 +217,7 @@ type AnalyseService interface {
 	CalvingReport(ctx context.Context, req *pasturePb.CalvingReportRequest) (*pasturePb.CalvingReportResponse, error)
 	DiseaseCureReport(ctx context.Context, req *pasturePb.DiseaseCureRateRequest) (*pasturePb.DiseaseCureRateResponse, error)
 	SingleFactorInfantSurvivalRateAnalysis(ctx context.Context, req *pasturePb.SingleFactorPregnancyRateRequest) (*pasturePb.SingleFactorPregnancyRateResponse, error)
+	MultipleFactorAnalysis(ctx context.Context, req *pasturePb.MultiFactorPregnancyRateRequest) (*pasturePb.MultiFactorPregnancyRateResponse, error)
 }
 
 //go:generate mockgen -destination mock/DashboardService.go -package kptservicemock kpt-pasture/module/backend DashboardService

+ 0 - 1319
module/backend/mock/kptservice.go

@@ -1,1319 +0,0 @@
-// Code generated by MockGen. DO NOT EDIT.
-// Source: kpt-pasture/module/backend (interfaces: KptService)
-
-// Package kptservicemock is a generated GoMock package.
-package kptservicemock
-
-import (
-	context "context"
-	reflect "reflect"
-
-	cowPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow"
-	gomock "github.com/golang/mock/gomock"
-)
-
-// MockKptService is a mock of KptService interface.
-type MockKptService struct {
-	ctrl     *gomock.Controller
-	recorder *MockKptServiceMockRecorder
-}
-
-// MockKptServiceMockRecorder is the mock recorder for MockKptService.
-type MockKptServiceMockRecorder struct {
-	mock *MockKptService
-}
-
-// NewMockKptService creates a new mock instance.
-func NewMockKptService(ctrl *gomock.Controller) *MockKptService {
-	mock := &MockKptService{ctrl: ctrl}
-	mock.recorder = &MockKptServiceMockRecorder{mock}
-	return mock
-}
-
-// EXPECT returns an object that allows the caller to indicate expected use.
-func (m *MockKptService) EXPECT() *MockKptServiceMockRecorder {
-	return m.recorder
-}
-
-// Bar mocks base method.
-func (m *MockKptService) Bar(arg0 context.Context) (*cowPb.BarCowStructResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "Bar", arg0)
-	ret0, _ := ret[0].(*cowPb.BarCowStructResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// Bar indicates an expected call of Bar.
-func (mr *MockKptServiceMockRecorder) Bar(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bar", reflect.TypeOf((*MockKptService)(nil).Bar), arg0)
-}
-
-// BarnListOptions mocks base method.
-func (m *MockKptService) BarnListOptions(arg0 context.Context, arg1 int) (*cowPb.ConfigOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "BarnListOptions", arg0, arg1)
-	ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// BarnListOptions indicates an expected call of BarnListOptions.
-func (mr *MockKptServiceMockRecorder) BarnListOptions(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnListOptions", reflect.TypeOf((*MockKptService)(nil).BarnListOptions), arg0, arg1)
-}
-
-// BarnTypeOptions mocks base method.
-func (m *MockKptService) BarnTypeOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "BarnTypeOptions", arg0)
-	ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// BarnTypeOptions indicates an expected call of BarnTypeOptions.
-func (mr *MockKptServiceMockRecorder) BarnTypeOptions(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnTypeOptions", reflect.TypeOf((*MockKptService)(nil).BarnTypeOptions), arg0)
-}
-
-// BodyScoreList mocks base method.
-func (m *MockKptService) BodyScoreList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBodyScoreEventResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "BodyScoreList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchBodyScoreEventResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// BodyScoreList indicates an expected call of BodyScoreList.
-func (mr *MockKptServiceMockRecorder) BodyScoreList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BodyScoreList", reflect.TypeOf((*MockKptService)(nil).BodyScoreList), arg0, arg1, arg2)
-}
-
-// BreedStatusOptions mocks base method.
-func (m *MockKptService) BreedStatusOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "BreedStatusOptions", arg0)
-	ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// BreedStatusOptions indicates an expected call of BreedStatusOptions.
-func (mr *MockKptServiceMockRecorder) BreedStatusOptions(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BreedStatusOptions", reflect.TypeOf((*MockKptService)(nil).BreedStatusOptions), arg0)
-}
-
-// BullOptions mocks base method.
-func (m *MockKptService) BullOptions(arg0 context.Context) (*cowPb.BullOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "BullOptions", arg0)
-	ret0, _ := ret[0].(*cowPb.BullOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// BullOptions indicates an expected call of BullOptions.
-func (mr *MockKptServiceMockRecorder) BullOptions(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BullOptions", reflect.TypeOf((*MockKptService)(nil).BullOptions), arg0)
-}
-
-// CalvingCreate mocks base method.
-func (m *MockKptService) CalvingCreate(arg0 context.Context, arg1 *cowPb.CalvingEventRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CalvingCreate", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CalvingCreate indicates an expected call of CalvingCreate.
-func (mr *MockKptServiceMockRecorder) CalvingCreate(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingCreate", reflect.TypeOf((*MockKptService)(nil).CalvingCreate), arg0, arg1)
-}
-
-// CalvingList mocks base method.
-func (m *MockKptService) CalvingList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchLavingEventResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CalvingList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchLavingEventResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// CalvingList indicates an expected call of CalvingList.
-func (mr *MockKptServiceMockRecorder) CalvingList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingList", reflect.TypeOf((*MockKptService)(nil).CalvingList), arg0, arg1, arg2)
-}
-
-// CowKindOptions mocks base method.
-func (m *MockKptService) CowKindOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CowKindOptions", arg0)
-	ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// CowKindOptions indicates an expected call of CowKindOptions.
-func (mr *MockKptServiceMockRecorder) CowKindOptions(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowKindOptions", reflect.TypeOf((*MockKptService)(nil).CowKindOptions), arg0)
-}
-
-// CowList mocks base method.
-func (m *MockKptService) CowList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchCowListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CowList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchCowListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// CowList indicates an expected call of CowList.
-func (mr *MockKptServiceMockRecorder) CowList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowList", reflect.TypeOf((*MockKptService)(nil).CowList), arg0, arg1, arg2)
-}
-
-// CowSourceOptions mocks base method.
-func (m *MockKptService) CowSourceOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CowSourceOptions", arg0)
-	ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// CowSourceOptions indicates an expected call of CowSourceOptions.
-func (mr *MockKptServiceMockRecorder) CowSourceOptions(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowSourceOptions", reflect.TypeOf((*MockKptService)(nil).CowSourceOptions), arg0)
-}
-
-// CowStatusOptions mocks base method.
-func (m *MockKptService) CowStatusOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CowStatusOptions", arg0)
-	ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// CowStatusOptions indicates an expected call of CowStatusOptions.
-func (mr *MockKptServiceMockRecorder) CowStatusOptions(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowStatusOptions", reflect.TypeOf((*MockKptService)(nil).CowStatusOptions), arg0)
-}
-
-// CowTransferPenReasonOptions mocks base method.
-func (m *MockKptService) CowTransferPenReasonOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CowTransferPenReasonOptions", arg0)
-	ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// CowTransferPenReasonOptions indicates an expected call of CowTransferPenReasonOptions.
-func (mr *MockKptServiceMockRecorder) CowTransferPenReasonOptions(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTransferPenReasonOptions", reflect.TypeOf((*MockKptService)(nil).CowTransferPenReasonOptions), arg0)
-}
-
-// CowTypeOptions mocks base method.
-func (m *MockKptService) CowTypeOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CowTypeOptions", arg0)
-	ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// CowTypeOptions indicates an expected call of CowTypeOptions.
-func (mr *MockKptServiceMockRecorder) CowTypeOptions(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTypeOptions", reflect.TypeOf((*MockKptService)(nil).CowTypeOptions), arg0)
-}
-
-// CreateBodyScore mocks base method.
-func (m *MockKptService) CreateBodyScore(arg0 context.Context, arg1 *cowPb.BodyScoreEventRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateBodyScore", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateBodyScore indicates an expected call of CreateBodyScore.
-func (mr *MockKptServiceMockRecorder) CreateBodyScore(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBodyScore", reflect.TypeOf((*MockKptService)(nil).CreateBodyScore), arg0, arg1)
-}
-
-// CreateEnter mocks base method.
-func (m *MockKptService) CreateEnter(arg0 context.Context, arg1 *cowPb.SearchEnterData) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateEnter", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateEnter indicates an expected call of CreateEnter.
-func (mr *MockKptServiceMockRecorder) CreateEnter(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateEnter", reflect.TypeOf((*MockKptService)(nil).CreateEnter), arg0, arg1)
-}
-
-// CreateGroupTransfer mocks base method.
-func (m *MockKptService) CreateGroupTransfer(arg0 context.Context, arg1 *cowPb.TransferGroupEventRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateGroupTransfer", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateGroupTransfer indicates an expected call of CreateGroupTransfer.
-func (mr *MockKptServiceMockRecorder) CreateGroupTransfer(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGroupTransfer", reflect.TypeOf((*MockKptService)(nil).CreateGroupTransfer), arg0, arg1)
-}
-
-// CreateOrUpdateBarn mocks base method.
-func (m *MockKptService) CreateOrUpdateBarn(arg0 context.Context, arg1 *cowPb.SearchBarnList) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdateBarn", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdateBarn indicates an expected call of CreateOrUpdateBarn.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateBarn(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBarn", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBarn), arg0, arg1)
-}
-
-// CreateOrUpdateBarnType mocks base method.
-func (m *MockKptService) CreateOrUpdateBarnType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdateBarnType", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdateBarnType indicates an expected call of CreateOrUpdateBarnType.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateBarnType(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBarnType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBarnType), arg0, arg1)
-}
-
-// CreateOrUpdateBreedStatus mocks base method.
-func (m *MockKptService) CreateOrUpdateBreedStatus(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdateBreedStatus", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdateBreedStatus indicates an expected call of CreateOrUpdateBreedStatus.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateBreedStatus(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBreedStatus", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBreedStatus), arg0, arg1)
-}
-
-// CreateOrUpdateCowKind mocks base method.
-func (m *MockKptService) CreateOrUpdateCowKind(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdateCowKind", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdateCowKind indicates an expected call of CreateOrUpdateCowKind.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowKind(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowKind", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowKind), arg0, arg1)
-}
-
-// CreateOrUpdateCowSource mocks base method.
-func (m *MockKptService) CreateOrUpdateCowSource(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdateCowSource", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdateCowSource indicates an expected call of CreateOrUpdateCowSource.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowSource(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowSource", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowSource), arg0, arg1)
-}
-
-// CreateOrUpdateCowStatus mocks base method.
-func (m *MockKptService) CreateOrUpdateCowStatus(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdateCowStatus", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdateCowStatus indicates an expected call of CreateOrUpdateCowStatus.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowStatus(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowStatus", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowStatus), arg0, arg1)
-}
-
-// CreateOrUpdateCowType mocks base method.
-func (m *MockKptService) CreateOrUpdateCowType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdateCowType", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdateCowType indicates an expected call of CreateOrUpdateCowType.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowType(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowType), arg0, arg1)
-}
-
-// CreateOrUpdateDisease mocks base method.
-func (m *MockKptService) CreateOrUpdateDisease(arg0 context.Context, arg1 *cowPb.SearchDiseaseList) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdateDisease", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdateDisease indicates an expected call of CreateOrUpdateDisease.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateDisease(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateDisease", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateDisease), arg0, arg1)
-}
-
-// CreateOrUpdateDiseaseType mocks base method.
-func (m *MockKptService) CreateOrUpdateDiseaseType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdateDiseaseType", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdateDiseaseType indicates an expected call of CreateOrUpdateDiseaseType.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateDiseaseType(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateDiseaseType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateDiseaseType), arg0, arg1)
-}
-
-// CreateOrUpdatePrescription mocks base method.
-func (m *MockKptService) CreateOrUpdatePrescription(arg0 context.Context, arg1 *cowPb.PrescriptionRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdatePrescription", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdatePrescription indicates an expected call of CreateOrUpdatePrescription.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdatePrescription(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdatePrescription", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdatePrescription), arg0, arg1)
-}
-
-// CreateOrUpdateSemeTime mocks base method.
-func (m *MockKptService) CreateOrUpdateSemeTime(arg0 context.Context, arg1 *cowPb.SemeTimeRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdateSemeTime", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdateSemeTime indicates an expected call of CreateOrUpdateSemeTime.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateSemeTime(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateSemeTime", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateSemeTime), arg0, arg1)
-}
-
-// CreateOrUpdateSystemMenu mocks base method.
-func (m *MockKptService) CreateOrUpdateSystemMenu(arg0 context.Context, arg1 *cowPb.SearchMenuRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdateSystemMenu", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdateSystemMenu indicates an expected call of CreateOrUpdateSystemMenu.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateSystemMenu(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateSystemMenu", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateSystemMenu), arg0, arg1)
-}
-
-// CreateOrUpdateTransferPenReason mocks base method.
-func (m *MockKptService) CreateOrUpdateTransferPenReason(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateOrUpdateTransferPenReason", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateOrUpdateTransferPenReason indicates an expected call of CreateOrUpdateTransferPenReason.
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateTransferPenReason(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateTransferPenReason", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateTransferPenReason), arg0, arg1)
-}
-
-// CreateWeight mocks base method.
-func (m *MockKptService) CreateWeight(arg0 context.Context, arg1 *cowPb.WeightEventRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreateWeight", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreateWeight indicates an expected call of CreateWeight.
-func (mr *MockKptServiceMockRecorder) CreateWeight(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateWeight", reflect.TypeOf((*MockKptService)(nil).CreateWeight), arg0, arg1)
-}
-
-// CreatedOrUpdateImmunization mocks base method.
-func (m *MockKptService) CreatedOrUpdateImmunization(arg0 context.Context, arg1 *cowPb.ImmunizationRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "CreatedOrUpdateImmunization", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// CreatedOrUpdateImmunization indicates an expected call of CreatedOrUpdateImmunization.
-func (mr *MockKptServiceMockRecorder) CreatedOrUpdateImmunization(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatedOrUpdateImmunization", reflect.TypeOf((*MockKptService)(nil).CreatedOrUpdateImmunization), arg0, arg1)
-}
-
-// DeleteSystemMenu mocks base method.
-func (m *MockKptService) DeleteSystemMenu(arg0 context.Context, arg1 int64) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "DeleteSystemMenu", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// DeleteSystemMenu indicates an expected call of DeleteSystemMenu.
-func (mr *MockKptServiceMockRecorder) DeleteSystemMenu(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemMenu", reflect.TypeOf((*MockKptService)(nil).DeleteSystemMenu), arg0, arg1)
-}
-
-// DeleteSystemRole mocks base method.
-func (m *MockKptService) DeleteSystemRole(arg0 context.Context, arg1 int64) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "DeleteSystemRole", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// DeleteSystemRole indicates an expected call of DeleteSystemRole.
-func (mr *MockKptServiceMockRecorder) DeleteSystemRole(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemRole", reflect.TypeOf((*MockKptService)(nil).DeleteSystemRole), arg0, arg1)
-}
-
-// DeleteSystemUser mocks base method.
-func (m *MockKptService) DeleteSystemUser(arg0 context.Context, arg1 int64) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "DeleteSystemUser", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// DeleteSystemUser indicates an expected call of DeleteSystemUser.
-func (mr *MockKptServiceMockRecorder) DeleteSystemUser(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemUser", reflect.TypeOf((*MockKptService)(nil).DeleteSystemUser), arg0, arg1)
-}
-
-// DiseaseOptions mocks base method.
-func (m *MockKptService) DiseaseOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "DiseaseOptions", arg0)
-	ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// DiseaseOptions indicates an expected call of DiseaseOptions.
-func (mr *MockKptServiceMockRecorder) DiseaseOptions(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseOptions", reflect.TypeOf((*MockKptService)(nil).DiseaseOptions), arg0)
-}
-
-// DiseaseTypeOptions mocks base method.
-func (m *MockKptService) DiseaseTypeOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "DiseaseTypeOptions", arg0)
-	ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// DiseaseTypeOptions indicates an expected call of DiseaseTypeOptions.
-func (mr *MockKptServiceMockRecorder) DiseaseTypeOptions(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseTypeOptions", reflect.TypeOf((*MockKptService)(nil).DiseaseTypeOptions), arg0)
-}
-
-// DrugsCreate mocks base method.
-func (m *MockKptService) DrugsCreate(arg0 context.Context, arg1 *cowPb.SearchDrugsList) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "DrugsCreate", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// DrugsCreate indicates an expected call of DrugsCreate.
-func (mr *MockKptServiceMockRecorder) DrugsCreate(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsCreate", reflect.TypeOf((*MockKptService)(nil).DrugsCreate), arg0, arg1)
-}
-
-// DrugsList mocks base method.
-func (m *MockKptService) DrugsList(arg0 context.Context, arg1 *cowPb.SearchDrugsRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDrugsResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "DrugsList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchDrugsResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// DrugsList indicates an expected call of DrugsList.
-func (mr *MockKptServiceMockRecorder) DrugsList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsList", reflect.TypeOf((*MockKptService)(nil).DrugsList), arg0, arg1, arg2)
-}
-
-// EnterList mocks base method.
-func (m *MockKptService) EnterList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchEnterEventResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "EnterList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchEnterEventResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// EnterList indicates an expected call of EnterList.
-func (mr *MockKptServiceMockRecorder) EnterList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnterList", reflect.TypeOf((*MockKptService)(nil).EnterList), arg0, arg1, arg2)
-}
-
-// EstrusCreate mocks base method.
-func (m *MockKptService) EstrusCreate(arg0 context.Context, arg1 *cowPb.EstrusEventRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "EstrusCreate", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// EstrusCreate indicates an expected call of EstrusCreate.
-func (mr *MockKptServiceMockRecorder) EstrusCreate(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstrusCreate", reflect.TypeOf((*MockKptService)(nil).EstrusCreate), arg0, arg1)
-}
-
-// EstrusList mocks base method.
-func (m *MockKptService) EstrusList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.EstrusEventResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "EstrusList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.EstrusEventResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// EstrusList indicates an expected call of EstrusList.
-func (mr *MockKptServiceMockRecorder) EstrusList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstrusList", reflect.TypeOf((*MockKptService)(nil).EstrusList), arg0, arg1, arg2)
-}
-
-// FrozenSemenCreate mocks base method.
-func (m *MockKptService) FrozenSemenCreate(arg0 context.Context, arg1 *cowPb.SearchFrozenSemenList) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "FrozenSemenCreate", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// FrozenSemenCreate indicates an expected call of FrozenSemenCreate.
-func (mr *MockKptServiceMockRecorder) FrozenSemenCreate(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FrozenSemenCreate", reflect.TypeOf((*MockKptService)(nil).FrozenSemenCreate), arg0, arg1)
-}
-
-// FrozenSemenList mocks base method.
-func (m *MockKptService) FrozenSemenList(arg0 context.Context, arg1 *cowPb.FrozenSemenRequest, arg2 *cowPb.PaginationModel) (*cowPb.FrozenSemenResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "FrozenSemenList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.FrozenSemenResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// FrozenSemenList indicates an expected call of FrozenSemenList.
-func (mr *MockKptServiceMockRecorder) FrozenSemenList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FrozenSemenList", reflect.TypeOf((*MockKptService)(nil).FrozenSemenList), arg0, arg1, arg2)
-}
-
-// GetCurrentUserName mocks base method.
-func (m *MockKptService) GetCurrentUserName(arg0 context.Context) (string, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "GetCurrentUserName", arg0)
-	ret0, _ := ret[0].(string)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// GetCurrentUserName indicates an expected call of GetCurrentUserName.
-func (mr *MockKptServiceMockRecorder) GetCurrentUserName(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentUserName", reflect.TypeOf((*MockKptService)(nil).GetCurrentUserName), arg0)
-}
-
-// GetRoleMenuList mocks base method.
-func (m *MockKptService) GetRoleMenuList(arg0 context.Context, arg1 int64) (*cowPb.SystemRoleMenuResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "GetRoleMenuList", arg0, arg1)
-	ret0, _ := ret[0].(*cowPb.SystemRoleMenuResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// GetRoleMenuList indicates an expected call of GetRoleMenuList.
-func (mr *MockKptServiceMockRecorder) GetRoleMenuList(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRoleMenuList", reflect.TypeOf((*MockKptService)(nil).GetRoleMenuList), arg0, arg1)
-}
-
-// GetSystemUserMenu mocks base method.
-func (m *MockKptService) GetSystemUserMenu(arg0 context.Context) (*cowPb.SystemUserMenuTreeResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "GetSystemUserMenu", arg0)
-	ret0, _ := ret[0].(*cowPb.SystemUserMenuTreeResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// GetSystemUserMenu indicates an expected call of GetSystemUserMenu.
-func (mr *MockKptServiceMockRecorder) GetSystemUserMenu(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSystemUserMenu", reflect.TypeOf((*MockKptService)(nil).GetSystemUserMenu), arg0)
-}
-
-// GroupTransferList mocks base method.
-func (m *MockKptService) GroupTransferList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchTransferGroupEventResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "GroupTransferList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchTransferGroupEventResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// GroupTransferList indicates an expected call of GroupTransferList.
-func (mr *MockKptServiceMockRecorder) GroupTransferList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GroupTransferList", reflect.TypeOf((*MockKptService)(nil).GroupTransferList), arg0, arg1, arg2)
-}
-
-// GrowthCurve mocks base method.
-func (m *MockKptService) GrowthCurve(arg0 context.Context, arg1 *cowPb.SearchGrowthCurvesRequest) (*cowPb.GrowthCurvesResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "GrowthCurve", arg0, arg1)
-	ret0, _ := ret[0].(*cowPb.GrowthCurvesResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// GrowthCurve indicates an expected call of GrowthCurve.
-func (mr *MockKptServiceMockRecorder) GrowthCurve(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GrowthCurve", reflect.TypeOf((*MockKptService)(nil).GrowthCurve), arg0, arg1)
-}
-
-// ImmunizationIsShow mocks base method.
-func (m *MockKptService) ImmunizationIsShow(arg0 context.Context, arg1 int64) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "ImmunizationIsShow", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// ImmunizationIsShow indicates an expected call of ImmunizationIsShow.
-func (mr *MockKptServiceMockRecorder) ImmunizationIsShow(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImmunizationIsShow", reflect.TypeOf((*MockKptService)(nil).ImmunizationIsShow), arg0, arg1)
-}
-
-// ImmunizationList mocks base method.
-func (m *MockKptService) ImmunizationList(arg0 context.Context, arg1 *cowPb.ImmunizationRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchImmunizationResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "ImmunizationList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchImmunizationResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// ImmunizationList indicates an expected call of ImmunizationList.
-func (mr *MockKptServiceMockRecorder) ImmunizationList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImmunizationList", reflect.TypeOf((*MockKptService)(nil).ImmunizationList), arg0, arg1, arg2)
-}
-
-// IsShowSystemRole mocks base method.
-func (m *MockKptService) IsShowSystemRole(arg0 context.Context, arg1 int64) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "IsShowSystemRole", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// IsShowSystemRole indicates an expected call of IsShowSystemRole.
-func (mr *MockKptServiceMockRecorder) IsShowSystemRole(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemRole", reflect.TypeOf((*MockKptService)(nil).IsShowSystemRole), arg0, arg1)
-}
-
-// IsShowSystemUser mocks base method.
-func (m *MockKptService) IsShowSystemUser(arg0 context.Context, arg1 int64) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "IsShowSystemUser", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// IsShowSystemUser indicates an expected call of IsShowSystemUser.
-func (mr *MockKptServiceMockRecorder) IsShowSystemUser(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemUser", reflect.TypeOf((*MockKptService)(nil).IsShowSystemUser), arg0, arg1)
-}
-
-// Login mocks base method.
-func (m *MockKptService) Login(arg0 context.Context, arg1 *cowPb.SearchUserRequest) (*cowPb.SystemUserResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "Login", arg0, arg1)
-	ret0, _ := ret[0].(*cowPb.SystemUserResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// Login indicates an expected call of Login.
-func (mr *MockKptServiceMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Login", reflect.TypeOf((*MockKptService)(nil).Login), arg0, arg1)
-}
-
-// MatingCreate mocks base method.
-func (m *MockKptService) MatingCreate(arg0 context.Context, arg1 *cowPb.MatingEventRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "MatingCreate", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// MatingCreate indicates an expected call of MatingCreate.
-func (mr *MockKptServiceMockRecorder) MatingCreate(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingCreate", reflect.TypeOf((*MockKptService)(nil).MatingCreate), arg0, arg1)
-}
-
-// MatingList mocks base method.
-func (m *MockKptService) MatingList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.MatingEventResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "MatingList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.MatingEventResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// MatingList indicates an expected call of MatingList.
-func (mr *MockKptServiceMockRecorder) MatingList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingList", reflect.TypeOf((*MockKptService)(nil).MatingList), arg0, arg1, arg2)
-}
-
-// PregnantCheckCreate mocks base method.
-func (m *MockKptService) PregnantCheckCreate(arg0 context.Context, arg1 *cowPb.PregnantCheckEventRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "PregnantCheckCreate", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// PregnantCheckCreate indicates an expected call of PregnantCheckCreate.
-func (mr *MockKptServiceMockRecorder) PregnantCheckCreate(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnantCheckCreate", reflect.TypeOf((*MockKptService)(nil).PregnantCheckCreate), arg0, arg1)
-}
-
-// PregnantCheckList mocks base method.
-func (m *MockKptService) PregnantCheckList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.PregnantCheckEventResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "PregnantCheckList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.PregnantCheckEventResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// PregnantCheckList indicates an expected call of PregnantCheckList.
-func (mr *MockKptServiceMockRecorder) PregnantCheckList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnantCheckList", reflect.TypeOf((*MockKptService)(nil).PregnantCheckList), arg0, arg1, arg2)
-}
-
-// ResetPasswordSystemUser mocks base method.
-func (m *MockKptService) ResetPasswordSystemUser(arg0 context.Context, arg1 *cowPb.ResetUserPasswordRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "ResetPasswordSystemUser", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// ResetPasswordSystemUser indicates an expected call of ResetPasswordSystemUser.
-func (mr *MockKptServiceMockRecorder) ResetPasswordSystemUser(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetPasswordSystemUser", reflect.TypeOf((*MockKptService)(nil).ResetPasswordSystemUser), arg0, arg1)
-}
-
-// RoleMenuSave mocks base method.
-func (m *MockKptService) RoleMenuSave(arg0 context.Context, arg1 *cowPb.SystemRoleMenuRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "RoleMenuSave", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// RoleMenuSave indicates an expected call of RoleMenuSave.
-func (mr *MockKptServiceMockRecorder) RoleMenuSave(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RoleMenuSave", reflect.TypeOf((*MockKptService)(nil).RoleMenuSave), arg0, arg1)
-}
-
-// SearchBarnList mocks base method.
-func (m *MockKptService) SearchBarnList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBarnResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchBarnList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchBarnResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchBarnList indicates an expected call of SearchBarnList.
-func (mr *MockKptServiceMockRecorder) SearchBarnList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBarnList", reflect.TypeOf((*MockKptService)(nil).SearchBarnList), arg0, arg1, arg2)
-}
-
-// SearchBarnTypeList mocks base method.
-func (m *MockKptService) SearchBarnTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchBarnTypeList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchBarnTypeList indicates an expected call of SearchBarnTypeList.
-func (mr *MockKptServiceMockRecorder) SearchBarnTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBarnTypeList", reflect.TypeOf((*MockKptService)(nil).SearchBarnTypeList), arg0, arg1, arg2)
-}
-
-// SearchBreedStatusList mocks base method.
-func (m *MockKptService) SearchBreedStatusList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchBreedStatusList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchBreedStatusList indicates an expected call of SearchBreedStatusList.
-func (mr *MockKptServiceMockRecorder) SearchBreedStatusList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBreedStatusList", reflect.TypeOf((*MockKptService)(nil).SearchBreedStatusList), arg0, arg1, arg2)
-}
-
-// SearchCowKindList mocks base method.
-func (m *MockKptService) SearchCowKindList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchCowKindList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchCowKindList indicates an expected call of SearchCowKindList.
-func (mr *MockKptServiceMockRecorder) SearchCowKindList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowKindList", reflect.TypeOf((*MockKptService)(nil).SearchCowKindList), arg0, arg1, arg2)
-}
-
-// SearchCowSourceList mocks base method.
-func (m *MockKptService) SearchCowSourceList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchCowSourceList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchCowSourceList indicates an expected call of SearchCowSourceList.
-func (mr *MockKptServiceMockRecorder) SearchCowSourceList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowSourceList", reflect.TypeOf((*MockKptService)(nil).SearchCowSourceList), arg0, arg1, arg2)
-}
-
-// SearchCowStatusList mocks base method.
-func (m *MockKptService) SearchCowStatusList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchCowStatusList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchCowStatusList indicates an expected call of SearchCowStatusList.
-func (mr *MockKptServiceMockRecorder) SearchCowStatusList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowStatusList", reflect.TypeOf((*MockKptService)(nil).SearchCowStatusList), arg0, arg1, arg2)
-}
-
-// SearchCowTypeList mocks base method.
-func (m *MockKptService) SearchCowTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchCowTypeList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchCowTypeList indicates an expected call of SearchCowTypeList.
-func (mr *MockKptServiceMockRecorder) SearchCowTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowTypeList", reflect.TypeOf((*MockKptService)(nil).SearchCowTypeList), arg0, arg1, arg2)
-}
-
-// SearchDiseaseList mocks base method.
-func (m *MockKptService) SearchDiseaseList(arg0 context.Context, arg1 *cowPb.SearchDiseaseRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDiseaseResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchDiseaseList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchDiseaseResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchDiseaseList indicates an expected call of SearchDiseaseList.
-func (mr *MockKptServiceMockRecorder) SearchDiseaseList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchDiseaseList", reflect.TypeOf((*MockKptService)(nil).SearchDiseaseList), arg0, arg1, arg2)
-}
-
-// SearchDiseaseTypeList mocks base method.
-func (m *MockKptService) SearchDiseaseTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchDiseaseTypeList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchDiseaseTypeList indicates an expected call of SearchDiseaseTypeList.
-func (mr *MockKptServiceMockRecorder) SearchDiseaseTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchDiseaseTypeList", reflect.TypeOf((*MockKptService)(nil).SearchDiseaseTypeList), arg0, arg1, arg2)
-}
-
-// SearchPrescriptionList mocks base method.
-func (m *MockKptService) SearchPrescriptionList(arg0 context.Context, arg1 *cowPb.SearchPrescriptionRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchPrescriptionResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchPrescriptionList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchPrescriptionResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchPrescriptionList indicates an expected call of SearchPrescriptionList.
-func (mr *MockKptServiceMockRecorder) SearchPrescriptionList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchPrescriptionList", reflect.TypeOf((*MockKptService)(nil).SearchPrescriptionList), arg0, arg1, arg2)
-}
-
-// SearchSemeTimeList mocks base method.
-func (m *MockKptService) SearchSemeTimeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SemeTimeEventResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchSemeTimeList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SemeTimeEventResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchSemeTimeList indicates an expected call of SearchSemeTimeList.
-func (mr *MockKptServiceMockRecorder) SearchSemeTimeList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSemeTimeList", reflect.TypeOf((*MockKptService)(nil).SearchSemeTimeList), arg0, arg1, arg2)
-}
-
-// SearchSystemDeptList mocks base method.
-func (m *MockKptService) SearchSystemDeptList(arg0 context.Context, arg1 *cowPb.SearchDeptRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDeptResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchSystemDeptList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchDeptResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchSystemDeptList indicates an expected call of SearchSystemDeptList.
-func (mr *MockKptServiceMockRecorder) SearchSystemDeptList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemDeptList", reflect.TypeOf((*MockKptService)(nil).SearchSystemDeptList), arg0, arg1, arg2)
-}
-
-// SearchSystemMenuList mocks base method.
-func (m *MockKptService) SearchSystemMenuList(arg0 context.Context, arg1 *cowPb.SearchMenuRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchMenuResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchSystemMenuList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchMenuResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchSystemMenuList indicates an expected call of SearchSystemMenuList.
-func (mr *MockKptServiceMockRecorder) SearchSystemMenuList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemMenuList", reflect.TypeOf((*MockKptService)(nil).SearchSystemMenuList), arg0, arg1, arg2)
-}
-
-// SearchSystemRoleList mocks base method.
-func (m *MockKptService) SearchSystemRoleList(arg0 context.Context, arg1 *cowPb.SearchRoleRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchRoleResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchSystemRoleList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchRoleResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchSystemRoleList indicates an expected call of SearchSystemRoleList.
-func (mr *MockKptServiceMockRecorder) SearchSystemRoleList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemRoleList", reflect.TypeOf((*MockKptService)(nil).SearchSystemRoleList), arg0, arg1, arg2)
-}
-
-// SearchSystemUserList mocks base method.
-func (m *MockKptService) SearchSystemUserList(arg0 context.Context, arg1 *cowPb.SearchUserRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchUserResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchSystemUserList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchUserResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchSystemUserList indicates an expected call of SearchSystemUserList.
-func (mr *MockKptServiceMockRecorder) SearchSystemUserList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemUserList", reflect.TypeOf((*MockKptService)(nil).SearchSystemUserList), arg0, arg1, arg2)
-}
-
-// SearchTransferPenReasonList mocks base method.
-func (m *MockKptService) SearchTransferPenReasonList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SearchTransferPenReasonList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SearchTransferPenReasonList indicates an expected call of SearchTransferPenReasonList.
-func (mr *MockKptServiceMockRecorder) SearchTransferPenReasonList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchTransferPenReasonList", reflect.TypeOf((*MockKptService)(nil).SearchTransferPenReasonList), arg0, arg1, arg2)
-}
-
-// SemeTimeDetail mocks base method.
-func (m *MockKptService) SemeTimeDetail(arg0 context.Context, arg1 int64) (*cowPb.SemeTimeDetailResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SemeTimeDetail", arg0, arg1)
-	ret0, _ := ret[0].(*cowPb.SemeTimeDetailResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SemeTimeDetail indicates an expected call of SemeTimeDetail.
-func (mr *MockKptServiceMockRecorder) SemeTimeDetail(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SemeTimeDetail", reflect.TypeOf((*MockKptService)(nil).SemeTimeDetail), arg0, arg1)
-}
-
-// SystemBaseConfigOptions mocks base method.
-func (m *MockKptService) SystemBaseConfigOptions(arg0 context.Context, arg1 string) (*cowPb.ConfigOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SystemBaseConfigOptions", arg0, arg1)
-	ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SystemBaseConfigOptions indicates an expected call of SystemBaseConfigOptions.
-func (mr *MockKptServiceMockRecorder) SystemBaseConfigOptions(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBaseConfigOptions", reflect.TypeOf((*MockKptService)(nil).SystemBaseConfigOptions), arg0, arg1)
-}
-
-// SystemDepDelete mocks base method.
-func (m *MockKptService) SystemDepDelete(arg0 context.Context, arg1 int64) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SystemDepDelete", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// SystemDepDelete indicates an expected call of SystemDepDelete.
-func (mr *MockKptServiceMockRecorder) SystemDepDelete(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemDepDelete", reflect.TypeOf((*MockKptService)(nil).SystemDepDelete), arg0, arg1)
-}
-
-// SystemDeptCreateOrUpdate mocks base method.
-func (m *MockKptService) SystemDeptCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchDeptRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SystemDeptCreateOrUpdate", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// SystemDeptCreateOrUpdate indicates an expected call of SystemDeptCreateOrUpdate.
-func (mr *MockKptServiceMockRecorder) SystemDeptCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemDeptCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemDeptCreateOrUpdate), arg0, arg1)
-}
-
-// SystemMenuTree mocks base method.
-func (m *MockKptService) SystemMenuTree(arg0 context.Context) (*cowPb.SystemMenuTreeResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SystemMenuTree", arg0)
-	ret0, _ := ret[0].(*cowPb.SystemMenuTreeResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SystemMenuTree indicates an expected call of SystemMenuTree.
-func (mr *MockKptServiceMockRecorder) SystemMenuTree(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemMenuTree", reflect.TypeOf((*MockKptService)(nil).SystemMenuTree), arg0)
-}
-
-// SystemRoleCreateOrUpdate mocks base method.
-func (m *MockKptService) SystemRoleCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchRoleRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SystemRoleCreateOrUpdate", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// SystemRoleCreateOrUpdate indicates an expected call of SystemRoleCreateOrUpdate.
-func (mr *MockKptServiceMockRecorder) SystemRoleCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemRoleCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemRoleCreateOrUpdate), arg0, arg1)
-}
-
-// SystemRoleList mocks base method.
-func (m *MockKptService) SystemRoleList(arg0 context.Context) (*cowPb.GetRoleListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SystemRoleList", arg0)
-	ret0, _ := ret[0].(*cowPb.GetRoleListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SystemRoleList indicates an expected call of SystemRoleList.
-func (mr *MockKptServiceMockRecorder) SystemRoleList(arg0 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemRoleList", reflect.TypeOf((*MockKptService)(nil).SystemRoleList), arg0)
-}
-
-// SystemUserCreateOrUpdate mocks base method.
-func (m *MockKptService) SystemUserCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchUserRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SystemUserCreateOrUpdate", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// SystemUserCreateOrUpdate indicates an expected call of SystemUserCreateOrUpdate.
-func (mr *MockKptServiceMockRecorder) SystemUserCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemUserCreateOrUpdate), arg0, arg1)
-}
-
-// SystemUserOptions mocks base method.
-func (m *MockKptService) SystemUserOptions(arg0 context.Context, arg1 int) (*cowPb.ConfigOptionsListResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SystemUserOptions", arg0, arg1)
-	ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SystemUserOptions indicates an expected call of SystemUserOptions.
-func (mr *MockKptServiceMockRecorder) SystemUserOptions(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserOptions", reflect.TypeOf((*MockKptService)(nil).SystemUserOptions), arg0, arg1)
-}
-
-// SystemUserRole mocks base method.
-func (m *MockKptService) SystemUserRole(arg0 context.Context, arg1 int64) (*cowPb.SystemUserRoleResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SystemUserRole", arg0, arg1)
-	ret0, _ := ret[0].(*cowPb.SystemUserRoleResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// SystemUserRole indicates an expected call of SystemUserRole.
-func (mr *MockKptServiceMockRecorder) SystemUserRole(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserRole", reflect.TypeOf((*MockKptService)(nil).SystemUserRole), arg0, arg1)
-}
-
-// SystemUserRoleSave mocks base method.
-func (m *MockKptService) SystemUserRoleSave(arg0 context.Context, arg1 *cowPb.SystemUserRoleRequest) error {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "SystemUserRoleSave", arg0, arg1)
-	ret0, _ := ret[0].(error)
-	return ret0
-}
-
-// SystemUserRoleSave indicates an expected call of SystemUserRoleSave.
-func (mr *MockKptServiceMockRecorder) SystemUserRoleSave(arg0, arg1 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserRoleSave", reflect.TypeOf((*MockKptService)(nil).SystemUserRoleSave), arg0, arg1)
-}
-
-// WeightList mocks base method.
-func (m *MockKptService) WeightList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchWeightEventResponse, error) {
-	m.ctrl.T.Helper()
-	ret := m.ctrl.Call(m, "WeightList", arg0, arg1, arg2)
-	ret0, _ := ret[0].(*cowPb.SearchWeightEventResponse)
-	ret1, _ := ret[1].(error)
-	return ret0, ret1
-}
-
-// WeightList indicates an expected call of WeightList.
-func (mr *MockKptServiceMockRecorder) WeightList(arg0, arg1, arg2 interface{}) *gomock.Call {
-	mr.mock.ctrl.T.Helper()
-	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeightList", reflect.TypeOf((*MockKptService)(nil).WeightList), arg0, arg1, arg2)
-}