|
@@ -50,18 +50,18 @@ func (mr *MockKptServiceMockRecorder) AbortionCreate(arg0, arg1 interface{}) *go
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortionCreate", reflect.TypeOf((*MockKptService)(nil).AbortionCreate), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-func (m *MockKptService) AbortionCreateSlice(arg0 context.Context, arg1 *cowPb.EventAbortionSlice) error {
|
|
|
+
|
|
|
+func (m *MockKptService) AbortionCreateBatch(arg0 context.Context, arg1 *cowPb.EventAbortionBatch) error {
|
|
|
m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "AbortionCreateSlice", arg0, arg1)
|
|
|
+ ret := m.ctrl.Call(m, "AbortionCreateBatch", arg0, arg1)
|
|
|
ret0, _ := ret[0].(error)
|
|
|
return ret0
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-func (mr *MockKptServiceMockRecorder) AbortionCreateSlice(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) AbortionCreateBatch(arg0, arg1 interface{}) *gomock.Call {
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortionCreateSlice", reflect.TypeOf((*MockKptService)(nil).AbortionCreateSlice), arg0, arg1)
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortionCreateBatch", reflect.TypeOf((*MockKptService)(nil).AbortionCreateBatch), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
|
|
@@ -139,6 +139,21 @@ func (mr *MockKptServiceMockRecorder) BarnTypeOptions(arg0 interface{}) *gomock.
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnTypeOptions", reflect.TypeOf((*MockKptService)(nil).BarnTypeOptions), arg0)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) BehaviorCurve(arg0 context.Context, arg1 *cowPb.CowBehaviorCurveRequest) (*model.CowBehaviorCurveResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "BehaviorCurve", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(*model.CowBehaviorCurveResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) BehaviorCurve(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BehaviorCurve", reflect.TypeOf((*MockKptService)(nil).BehaviorCurve), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) BodyScoreList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBodyScoreEventResponse, error) {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -229,6 +244,21 @@ func (mr *MockKptServiceMockRecorder) CalendarToDoList(arg0, arg1, arg2 interfac
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalendarToDoList", reflect.TypeOf((*MockKptService)(nil).CalendarToDoList), arg0, arg1, arg2)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) CalvingCowList(arg0 context.Context, arg1 *cowPb.ItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.CalvingItemsResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "CalvingCowList", arg0, arg1, arg2)
|
|
|
+ ret0, _ := ret[0].(*cowPb.CalvingItemsResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) CalvingCowList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingCowList", reflect.TypeOf((*MockKptService)(nil).CalvingCowList), arg0, arg1, arg2)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) CalvingCreate(arg0 context.Context, arg1 *cowPb.EventCalving) error {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -274,17 +304,17 @@ func (mr *MockKptServiceMockRecorder) CalvingReport(arg0, arg1 interface{}) *gom
|
|
|
}
|
|
|
|
|
|
|
|
|
-func (m *MockKptService) CowDiseaseCreate(arg0 context.Context, arg1 *cowPb.EventCowDiseaseRequest) error {
|
|
|
+func (m *MockKptService) CowDiseaseCreate(arg0 context.Context, arg1 *cowPb.EventCowDiseaseRequest, arg2 string) error {
|
|
|
m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CowDiseaseCreate", arg0, arg1)
|
|
|
+ ret := m.ctrl.Call(m, "CowDiseaseCreate", arg0, arg1, arg2)
|
|
|
ret0, _ := ret[0].(error)
|
|
|
return ret0
|
|
|
}
|
|
|
|
|
|
|
|
|
-func (mr *MockKptServiceMockRecorder) CowDiseaseCreate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+func (mr *MockKptServiceMockRecorder) CowDiseaseCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseCreate", reflect.TypeOf((*MockKptService)(nil).CowDiseaseCreate), arg0, arg1)
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseCreate", reflect.TypeOf((*MockKptService)(nil).CowDiseaseCreate), arg0, arg1, arg2)
|
|
|
}
|
|
|
|
|
|
|
|
@@ -359,6 +389,35 @@ func (mr *MockKptServiceMockRecorder) CowDiseaseTreatmentDetail(arg0, arg1, arg2
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseTreatmentDetail", reflect.TypeOf((*MockKptService)(nil).CowDiseaseTreatmentDetail), arg0, arg1, arg2)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) CowEarNumberUpdate(arg0 context.Context, arg1 *cowPb.EventReplaceEarNumber) error {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "CowEarNumberUpdate", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(error)
|
|
|
+ return ret0
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) CowEarNumberUpdate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowEarNumberUpdate", reflect.TypeOf((*MockKptService)(nil).CowEarNumberUpdate), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (m *MockKptService) CowGrowthCurve(arg0 context.Context, arg1 *cowPb.CowGrowthCurveRequest) (*cowPb.CowGrowthCurveResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "CowGrowthCurve", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(*cowPb.CowGrowthCurveResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) CowGrowthCurve(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowGrowthCurve", reflect.TypeOf((*MockKptService)(nil).CowGrowthCurve), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) CowKindOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -374,19 +433,18 @@ func (mr *MockKptServiceMockRecorder) CowKindOptions(arg0 interface{}) *gomock.C
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowKindOptions", reflect.TypeOf((*MockKptService)(nil).CowKindOptions), arg0)
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-func (m *MockKptService) CowList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchCowListResponse, error) {
|
|
|
+
|
|
|
+func (m *MockKptService) CowNeckRingNumberBound(arg0 context.Context, arg1 *cowPb.PaginationModel) 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
|
|
|
+ ret := m.ctrl.Call(m, "CowNeckRingNumberBound", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(error)
|
|
|
+ return ret0
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-func (mr *MockKptServiceMockRecorder) CowList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) CowNeckRingNumberBound(arg0, arg1 interface{}) *gomock.Call {
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowList", reflect.TypeOf((*MockKptService)(nil).CowList), arg0, arg1, arg2)
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowNeckRingNumberBound", reflect.TypeOf((*MockKptService)(nil).CowNeckRingNumberBound), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
|
|
@@ -714,6 +772,20 @@ func (mr *MockKptServiceMockRecorder) DeleteSystemUser(arg0, arg1 interface{}) *
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemUser", reflect.TypeOf((*MockKptService)(nil).DeleteSystemUser), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) DepartureBatch(arg0 context.Context, arg1 *cowPb.EventDepartureBatch) error {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "DepartureBatch", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(error)
|
|
|
+ return ret0
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) DepartureBatch(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DepartureBatch", reflect.TypeOf((*MockKptService)(nil).DepartureBatch), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) DiseaseCureReport(arg0 context.Context, arg1 *cowPb.DiseaseCureRateRequest) (*cowPb.DiseaseCureRateResponse, error) {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -744,6 +816,21 @@ func (mr *MockKptServiceMockRecorder) DiseaseOptions(arg0 interface{}) *gomock.C
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseOptions", reflect.TypeOf((*MockKptService)(nil).DiseaseOptions), arg0)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) DiseaseSuggestPrescription(arg0 context.Context, arg1 int64) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "DiseaseSuggestPrescription", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) DiseaseSuggestPrescription(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseSuggestPrescription", reflect.TypeOf((*MockKptService)(nil).DiseaseSuggestPrescription), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) DiseaseTypeOptions(arg0 context.Context, arg1 string) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -803,25 +890,25 @@ func (mr *MockKptServiceMockRecorder) EnterList(arg0, arg1, arg2 interface{}) *g
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnterList", reflect.TypeOf((*MockKptService)(nil).EnterList), arg0, arg1, arg2)
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-func (m *MockKptService) EstrusCreate(arg0 context.Context, arg1 *cowPb.EventEstrus) error {
|
|
|
+
|
|
|
+func (m *MockKptService) EstrusBatchMating(arg0 context.Context, arg1 *cowPb.EventEstrus) error {
|
|
|
m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "EstrusCreate", arg0, arg1)
|
|
|
+ ret := m.ctrl.Call(m, "EstrusBatchMating", arg0, arg1)
|
|
|
ret0, _ := ret[0].(error)
|
|
|
return ret0
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-func (mr *MockKptServiceMockRecorder) EstrusCreate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) EstrusBatchMating(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)
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstrusBatchMating", reflect.TypeOf((*MockKptService)(nil).EstrusBatchMating), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
|
|
|
-func (m *MockKptService) EstrusList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.EstrusEventResponse, error) {
|
|
|
+func (m *MockKptService) EstrusList(arg0 context.Context, arg1 *cowPb.EstrusItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.EstrusItemsResponse, error) {
|
|
|
m.ctrl.T.Helper()
|
|
|
ret := m.ctrl.Call(m, "EstrusList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.EstrusEventResponse)
|
|
|
+ ret0, _ := ret[0].(*cowPb.EstrusItemsResponse)
|
|
|
ret1, _ := ret[1].(error)
|
|
|
return ret0, ret1
|
|
|
}
|
|
@@ -832,6 +919,21 @@ func (mr *MockKptServiceMockRecorder) EstrusList(arg0, arg1, arg2 interface{}) *
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstrusList", reflect.TypeOf((*MockKptService)(nil).EstrusList), arg0, arg1, arg2)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) EventList(arg0 context.Context, arg1 *cowPb.SearchCowEventListRequest, arg2 *cowPb.PaginationModel) (*cowPb.CowEventListResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "EventList", arg0, arg1, arg2)
|
|
|
+ ret0, _ := ret[0].(*cowPb.CowEventListResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) EventList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EventList", reflect.TypeOf((*MockKptService)(nil).EventList), arg0, arg1, arg2)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) FrozenSemenCreate(arg0 context.Context, arg1 *cowPb.SearchFrozenSemenList) error {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -936,6 +1038,21 @@ func (mr *MockKptServiceMockRecorder) GrowthCurve(arg0, arg1 interface{}) *gomoc
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GrowthCurve", reflect.TypeOf((*MockKptService)(nil).GrowthCurve), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) ImmunisationCowList(arg0 context.Context, arg1 *cowPb.ItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.ImmunizationItemsResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "ImmunisationCowList", arg0, arg1, arg2)
|
|
|
+ ret0, _ := ret[0].(*cowPb.ImmunizationItemsResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) ImmunisationCowList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImmunisationCowList", reflect.TypeOf((*MockKptService)(nil).ImmunisationCowList), arg0, arg1, arg2)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) ImmunizationIsShow(arg0 context.Context, arg1 int64) error {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -993,6 +1110,21 @@ func (mr *MockKptServiceMockRecorder) IsShowSystemUser(arg0, arg1 interface{}) *
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemUser", reflect.TypeOf((*MockKptService)(nil).IsShowSystemUser), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) List(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchCowListResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "List", arg0, arg1, arg2)
|
|
|
+ ret0, _ := ret[0].(*cowPb.SearchCowListResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockKptService)(nil).List), arg0, arg1, arg2)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) Login(arg0 context.Context, arg1 *cowPb.SearchUserRequest) (*cowPb.SystemUserResponse, error) {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -1008,6 +1140,21 @@ func (mr *MockKptServiceMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Login", reflect.TypeOf((*MockKptService)(nil).Login), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) MatingCowList(arg0 context.Context, arg1 *cowPb.ItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.MatingItemsResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "MatingCowList", arg0, arg1, arg2)
|
|
|
+ ret0, _ := ret[0].(*cowPb.MatingItemsResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) MatingCowList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingCowList", reflect.TypeOf((*MockKptService)(nil).MatingCowList), arg0, arg1, arg2)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) MatingCreate(arg0 context.Context, arg1 *cowPb.EventMating) error {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -1082,10 +1229,10 @@ func (mr *MockKptServiceMockRecorder) MedicalEquipmentList(arg0, arg1, arg2 inte
|
|
|
}
|
|
|
|
|
|
|
|
|
-func (m *MockKptService) MultipleFactorAnalysis(arg0 context.Context, arg1 *cowPb.MultiFactorPregnancyRateRequest) (*cowPb.MultiFactorPregnancyRateResponse, error) {
|
|
|
+func (m *MockKptService) MultipleFactorAnalysis(arg0 context.Context, arg1 *cowPb.MultiFactorPregnancyRateRequest) (*model.MultiFactorPregnancyRateResponse, error) {
|
|
|
m.ctrl.T.Helper()
|
|
|
ret := m.ctrl.Call(m, "MultipleFactorAnalysis", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(*cowPb.MultiFactorPregnancyRateResponse)
|
|
|
+ ret0, _ := ret[0].(*model.MultiFactorPregnancyRateResponse)
|
|
|
ret1, _ := ret[1].(error)
|
|
|
return ret0, ret1
|
|
|
}
|
|
@@ -1096,6 +1243,35 @@ func (mr *MockKptServiceMockRecorder) MultipleFactorAnalysis(arg0, arg1 interfac
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MultipleFactorAnalysis", reflect.TypeOf((*MockKptService)(nil).MultipleFactorAnalysis), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) NeckRingCreateOrUpdate(arg0 context.Context, arg1 *cowPb.NeckRingCreateRequest) error {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "NeckRingCreateOrUpdate", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(error)
|
|
|
+ return ret0
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) NeckRingCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NeckRingCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).NeckRingCreateOrUpdate), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (m *MockKptService) NeckRingList(arg0 context.Context, arg1 *cowPb.SearchNeckRingRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchNeckRingResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "NeckRingList", arg0, arg1, arg2)
|
|
|
+ ret0, _ := ret[0].(*cowPb.SearchNeckRingResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) NeckRingList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NeckRingList", reflect.TypeOf((*MockKptService)(nil).NeckRingList), arg0, arg1, arg2)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) OrderCreateOrUpdate(arg0 context.Context, arg1 *cowPb.WorkOrderList) error {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -1139,6 +1315,78 @@ func (mr *MockKptServiceMockRecorder) OrderList(arg0, arg1, arg2 interface{}) *g
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OrderList", reflect.TypeOf((*MockKptService)(nil).OrderList), arg0, arg1, arg2)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) OutboundApply(arg0 context.Context, arg1 *cowPb.OutboundApplyItem) error {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "OutboundApply", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(error)
|
|
|
+ return ret0
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) OutboundApply(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundApply", reflect.TypeOf((*MockKptService)(nil).OutboundApply), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (m *MockKptService) OutboundAudit(arg0 context.Context, arg1 *cowPb.OutboundApplyAuditRequest) error {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "OutboundAudit", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(error)
|
|
|
+ return ret0
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) OutboundAudit(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundAudit", reflect.TypeOf((*MockKptService)(nil).OutboundAudit), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (m *MockKptService) OutboundDelete(arg0 context.Context, arg1 int64) error {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "OutboundDelete", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(error)
|
|
|
+ return ret0
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) OutboundDelete(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundDelete", reflect.TypeOf((*MockKptService)(nil).OutboundDelete), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (m *MockKptService) OutboundDetail(arg0 context.Context, arg1 int64) (*cowPb.OutboundDetailResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "OutboundDetail", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(*cowPb.OutboundDetailResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) OutboundDetail(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundDetail", reflect.TypeOf((*MockKptService)(nil).OutboundDetail), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (m *MockKptService) OutboundList(arg0 context.Context, arg1 *cowPb.SearchOutboundApplyRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchOutboundApplyResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "OutboundList", arg0, arg1, arg2)
|
|
|
+ ret0, _ := ret[0].(*cowPb.SearchOutboundApplyResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) OutboundList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundList", reflect.TypeOf((*MockKptService)(nil).OutboundList), arg0, arg1, arg2)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) PenWeight(arg0 context.Context, arg1 *cowPb.PenWeightRequest, arg2 *cowPb.PaginationModel) (*cowPb.PenWeightResponse, error) {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -1154,6 +1402,21 @@ func (mr *MockKptServiceMockRecorder) PenWeight(arg0, arg1, arg2 interface{}) *g
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PenWeight", reflect.TypeOf((*MockKptService)(nil).PenWeight), arg0, arg1, arg2)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) PregnancyCheckCowList(arg0 context.Context, arg1 *cowPb.ItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.PregnancyCheckItemsResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "PregnancyCheckCowList", arg0, arg1, arg2)
|
|
|
+ ret0, _ := ret[0].(*cowPb.PregnancyCheckItemsResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) PregnancyCheckCowList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnancyCheckCowList", reflect.TypeOf((*MockKptService)(nil).PregnancyCheckCowList), arg0, arg1, arg2)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) PregnancyReport(arg0 context.Context, arg1 *cowPb.PregnancyReportRequest, arg2 *cowPb.PaginationModel) (*cowPb.PregnancyReportResponse, error) {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -1169,18 +1432,18 @@ func (mr *MockKptServiceMockRecorder) PregnancyReport(arg0, arg1, arg2 interface
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnancyReport", reflect.TypeOf((*MockKptService)(nil).PregnancyReport), arg0, arg1, arg2)
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-func (m *MockKptService) PregnantCheckCreate(arg0 context.Context, arg1 *cowPb.EventPregnantCheck) error {
|
|
|
+
|
|
|
+func (m *MockKptService) PregnantCheckCreateBatch(arg0 context.Context, arg1 *cowPb.EventPregnantCheckBatch) error {
|
|
|
m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "PregnantCheckCreate", arg0, arg1)
|
|
|
+ ret := m.ctrl.Call(m, "PregnantCheckCreateBatch", arg0, arg1)
|
|
|
ret0, _ := ret[0].(error)
|
|
|
return ret0
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-func (mr *MockKptServiceMockRecorder) PregnantCheckCreate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) PregnantCheckCreateBatch(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)
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnantCheckCreateBatch", reflect.TypeOf((*MockKptService)(nil).PregnantCheckCreateBatch), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
|
|
@@ -1198,6 +1461,21 @@ func (mr *MockKptServiceMockRecorder) PregnantCheckList(arg0, arg1, arg2 interfa
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnantCheckList", reflect.TypeOf((*MockKptService)(nil).PregnantCheckList), arg0, arg1, arg2)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) PrescriptionDetail(arg0 context.Context, arg1 int64) (*cowPb.PrescriptionDetailResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "PrescriptionDetail", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(*cowPb.PrescriptionDetailResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) PrescriptionDetail(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrescriptionDetail", reflect.TypeOf((*MockKptService)(nil).PrescriptionDetail), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) PrescriptionOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -1241,6 +1519,50 @@ func (mr *MockKptServiceMockRecorder) RoleMenuSave(arg0, arg1 interface{}) *gomo
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RoleMenuSave", reflect.TypeOf((*MockKptService)(nil).RoleMenuSave), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) SaleCowReport(arg0 context.Context, arg1 *cowPb.SaleCowReportRequest) (*cowPb.SaleCowReportResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "SaleCowReport", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(*cowPb.SaleCowReportResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) SaleCowReport(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SaleCowReport", reflect.TypeOf((*MockKptService)(nil).SaleCowReport), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (m *MockKptService) SameTimeBatch(arg0 context.Context, arg1 *cowPb.EventSameTimeBatch) error {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "SameTimeBatch", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(error)
|
|
|
+ return ret0
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) SameTimeBatch(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeBatch", reflect.TypeOf((*MockKptService)(nil).SameTimeBatch), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (m *MockKptService) SameTimeCowList(arg0 context.Context, arg1 *cowPb.ItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.SameTimeItemResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "SameTimeCowList", arg0, arg1, arg2)
|
|
|
+ ret0, _ := ret[0].(*cowPb.SameTimeItemResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) SameTimeCowList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeCowList", reflect.TypeOf((*MockKptService)(nil).SameTimeCowList), arg0, arg1, arg2)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) SameTimeCreate(arg0 context.Context, arg1 *cowPb.EventSameTime) error {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -1539,6 +1861,20 @@ func (mr *MockKptServiceMockRecorder) SingleFactorInfantSurvivalRateAnalysis(arg
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SingleFactorInfantSurvivalRateAnalysis", reflect.TypeOf((*MockKptService)(nil).SingleFactorInfantSurvivalRateAnalysis), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) SubmitEventLog(arg0 context.Context, arg1 *model.SystemUser, arg2 *model.Cow, arg3 cowPb.EventType_Kind, arg4 cowPb.ExposeEstrusType_Kind, arg5 interface{}) *model.EventCowLog {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "SubmitEventLog", arg0, arg1, arg2, arg3, arg4, arg5)
|
|
|
+ ret0, _ := ret[0].(*model.EventCowLog)
|
|
|
+ return ret0
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) SubmitEventLog(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubmitEventLog", reflect.TypeOf((*MockKptService)(nil).SubmitEventLog), arg0, arg1, arg2, arg3, arg4, arg5)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) SystemBaseConfigOptions(arg0 context.Context, arg1, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -1554,6 +1890,35 @@ func (mr *MockKptServiceMockRecorder) SystemBaseConfigOptions(arg0, arg1, arg2 i
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBaseConfigOptions", reflect.TypeOf((*MockKptService)(nil).SystemBaseConfigOptions), arg0, arg1, arg2)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) SystemBasicEdit(arg0 context.Context, arg1 *cowPb.BaseDataConfigBatch) error {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "SystemBasicEdit", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(error)
|
|
|
+ return ret0
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) SystemBasicEdit(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBasicEdit", reflect.TypeOf((*MockKptService)(nil).SystemBasicEdit), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (m *MockKptService) SystemBasicList(arg0 context.Context) (*cowPb.SearchBaseDataConfigResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "SystemBasicList", arg0)
|
|
|
+ ret0, _ := ret[0].(*cowPb.SearchBaseDataConfigResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) SystemBasicList(arg0 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBasicList", reflect.TypeOf((*MockKptService)(nil).SystemBasicList), arg0)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) SystemDepDelete(arg0 context.Context, arg1 int64) error {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -1699,6 +2064,20 @@ func (mr *MockKptServiceMockRecorder) TwentyOnePregnantRate(arg0, arg1 interface
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TwentyOnePregnantRate", reflect.TypeOf((*MockKptService)(nil).TwentyOnePregnantRate), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+func (m *MockKptService) UpdateCowPen(arg0 context.Context, arg1 *cowPb.PaginationModel) error {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "UpdateCowPen", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(error)
|
|
|
+ return ret0
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) UpdateCowPen(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateCowPen", reflect.TypeOf((*MockKptService)(nil).UpdateCowPen), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
func (m *MockKptService) UserWorkOrderList(arg0 context.Context, arg1 cowPb.WorkOrderStatus_Kind, arg2 *cowPb.PaginationModel) (*cowPb.UserWorkOrderResponse, error) {
|
|
|
m.ctrl.T.Helper()
|
|
@@ -1714,18 +2093,47 @@ func (mr *MockKptServiceMockRecorder) UserWorkOrderList(arg0, arg1, arg2 interfa
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UserWorkOrderList", reflect.TypeOf((*MockKptService)(nil).UserWorkOrderList), arg0, arg1, arg2)
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-func (m *MockKptService) WeightCreate(arg0 context.Context, arg1 *cowPb.EventWeight) error {
|
|
|
+
|
|
|
+func (m *MockKptService) WeaningBatch(arg0 context.Context, arg1 *cowPb.EventWeaningBatchRequest) error {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "WeaningBatch", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(error)
|
|
|
+ return ret0
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) WeaningBatch(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeaningBatch", reflect.TypeOf((*MockKptService)(nil).WeaningBatch), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (m *MockKptService) WeaningCowList(arg0 context.Context, arg1 *cowPb.ItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.WeaningItemsResponse, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "WeaningCowList", arg0, arg1, arg2)
|
|
|
+ ret0, _ := ret[0].(*cowPb.WeaningItemsResponse)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) WeaningCowList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeaningCowList", reflect.TypeOf((*MockKptService)(nil).WeaningCowList), arg0, arg1, arg2)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (m *MockKptService) WeightBatch(arg0 context.Context, arg1 *cowPb.EventWeight) error {
|
|
|
m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "WeightCreate", arg0, arg1)
|
|
|
+ ret := m.ctrl.Call(m, "WeightBatch", arg0, arg1)
|
|
|
ret0, _ := ret[0].(error)
|
|
|
return ret0
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-func (mr *MockKptServiceMockRecorder) WeightCreate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+
|
|
|
+func (mr *MockKptServiceMockRecorder) WeightBatch(arg0, arg1 interface{}) *gomock.Call {
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeightCreate", reflect.TypeOf((*MockKptService)(nil).WeightCreate), arg0, arg1)
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeightBatch", reflect.TypeOf((*MockKptService)(nil).WeightBatch), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
|