1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759 |
- // 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"
- model "kpt-pasture/model"
- 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
- }
- // AbortionCreate mocks base method.
- func (m *MockKptService) AbortionCreate(arg0 context.Context, arg1 *cowPb.EventAbortionRequest) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "AbortionCreate", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // AbortionCreate indicates an expected call of AbortionCreate.
- func (mr *MockKptServiceMockRecorder) AbortionCreate(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortionCreate", reflect.TypeOf((*MockKptService)(nil).AbortionCreate), arg0, arg1)
- }
- // AbortionCreateSlice mocks base method.
- func (m *MockKptService) AbortionCreateSlice(arg0 context.Context, arg1 *cowPb.EventAbortionSlice) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "AbortionCreateSlice", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // AbortionCreateSlice indicates an expected call of AbortionCreateSlice.
- func (mr *MockKptServiceMockRecorder) AbortionCreateSlice(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)
- }
- // AbortionList mocks base method.
- func (m *MockKptService) AbortionList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.EventAbortionResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "AbortionList", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.EventAbortionResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // AbortionList indicates an expected call of AbortionList.
- func (mr *MockKptServiceMockRecorder) AbortionList(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortionList", reflect.TypeOf((*MockKptService)(nil).AbortionList), arg0, arg1, arg2)
- }
- // AbortionRate mocks base method.
- func (m *MockKptService) AbortionRate(arg0 context.Context, arg1 *cowPb.AbortionRateRequest) (*cowPb.AbortionRateResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "AbortionRate", arg0, arg1)
- ret0, _ := ret[0].(*cowPb.AbortionRateResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // AbortionRate indicates an expected call of AbortionRate.
- func (mr *MockKptServiceMockRecorder) AbortionRate(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortionRate", reflect.TypeOf((*MockKptService)(nil).AbortionRate), arg0, arg1)
- }
- // 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, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "BarnListOptions", arg0, arg1, arg2)
- 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, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnListOptions", reflect.TypeOf((*MockKptService)(nil).BarnListOptions), arg0, arg1, arg2)
- }
- // 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)
- }
- // CalendarList mocks base method.
- func (m *MockKptService) CalendarList(arg0 context.Context, arg1 *cowPb.CalendarRequest) (*cowPb.CalendarResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CalendarList", arg0, arg1)
- ret0, _ := ret[0].(*cowPb.CalendarResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // CalendarList indicates an expected call of CalendarList.
- func (mr *MockKptServiceMockRecorder) CalendarList(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalendarList", reflect.TypeOf((*MockKptService)(nil).CalendarList), arg0, arg1)
- }
- // CalendarTableDetail mocks base method.
- func (m *MockKptService) CalendarTableDetail(arg0 context.Context, arg1 *cowPb.CalendarTableRequest, arg2 *cowPb.PaginationModel) (interface{}, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CalendarTableDetail", arg0, arg1, arg2)
- ret0, _ := ret[0].(interface{})
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // CalendarTableDetail indicates an expected call of CalendarTableDetail.
- func (mr *MockKptServiceMockRecorder) CalendarTableDetail(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalendarTableDetail", reflect.TypeOf((*MockKptService)(nil).CalendarTableDetail), arg0, arg1, arg2)
- }
- // CalendarToDoList mocks base method.
- func (m *MockKptService) CalendarToDoList(arg0 context.Context, arg1 *cowPb.CalendarToDoRequest, arg2 *cowPb.PaginationModel) (*cowPb.CalendarToDoResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CalendarToDoList", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.CalendarToDoResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // CalendarToDoList indicates an expected call of CalendarToDoList.
- func (mr *MockKptServiceMockRecorder) CalendarToDoList(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalendarToDoList", reflect.TypeOf((*MockKptService)(nil).CalendarToDoList), arg0, arg1, arg2)
- }
- // CalvingCreate mocks base method.
- func (m *MockKptService) CalvingCreate(arg0 context.Context, arg1 *cowPb.EventCalving) 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)
- }
- // CalvingReport mocks base method.
- func (m *MockKptService) CalvingReport(arg0 context.Context, arg1 *cowPb.CalvingReportRequest) (*cowPb.CalvingReportResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CalvingReport", arg0, arg1)
- ret0, _ := ret[0].(*cowPb.CalvingReportResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // CalvingReport indicates an expected call of CalvingReport.
- func (mr *MockKptServiceMockRecorder) CalvingReport(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingReport", reflect.TypeOf((*MockKptService)(nil).CalvingReport), arg0, arg1)
- }
- // CowDiseaseCreate mocks base method.
- func (m *MockKptService) CowDiseaseCreate(arg0 context.Context, arg1 *cowPb.EventCowDiseaseRequest) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CowDiseaseCreate", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // CowDiseaseCreate indicates an expected call of CowDiseaseCreate.
- func (mr *MockKptServiceMockRecorder) CowDiseaseCreate(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseCreate", reflect.TypeOf((*MockKptService)(nil).CowDiseaseCreate), arg0, arg1)
- }
- // CowDiseaseCurable mocks base method.
- func (m *MockKptService) CowDiseaseCurable(arg0 context.Context, arg1 *cowPb.EventCowCurableRequest) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CowDiseaseCurable", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // CowDiseaseCurable indicates an expected call of CowDiseaseCurable.
- func (mr *MockKptServiceMockRecorder) CowDiseaseCurable(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseCurable", reflect.TypeOf((*MockKptService)(nil).CowDiseaseCurable), arg0, arg1)
- }
- // CowDiseaseDiagnose mocks base method.
- func (m *MockKptService) CowDiseaseDiagnose(arg0 context.Context, arg1 *cowPb.CowDiagnosedRequest) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CowDiseaseDiagnose", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // CowDiseaseDiagnose indicates an expected call of CowDiseaseDiagnose.
- func (mr *MockKptServiceMockRecorder) CowDiseaseDiagnose(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseDiagnose", reflect.TypeOf((*MockKptService)(nil).CowDiseaseDiagnose), arg0, arg1)
- }
- // CowDiseaseList mocks base method.
- func (m *MockKptService) CowDiseaseList(arg0 context.Context, arg1 *cowPb.SearchEventCowTreatmentRequest, arg2 *cowPb.PaginationModel) (*cowPb.EventCowDiseaseResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CowDiseaseList", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.EventCowDiseaseResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // CowDiseaseList indicates an expected call of CowDiseaseList.
- func (mr *MockKptServiceMockRecorder) CowDiseaseList(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseList", reflect.TypeOf((*MockKptService)(nil).CowDiseaseList), arg0, arg1, arg2)
- }
- // CowDiseaseTreatment mocks base method.
- func (m *MockKptService) CowDiseaseTreatment(arg0 context.Context, arg1 *cowPb.CowTreatmentRequest) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CowDiseaseTreatment", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // CowDiseaseTreatment indicates an expected call of CowDiseaseTreatment.
- func (mr *MockKptServiceMockRecorder) CowDiseaseTreatment(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseTreatment", reflect.TypeOf((*MockKptService)(nil).CowDiseaseTreatment), arg0, arg1)
- }
- // CowDiseaseTreatmentDetail mocks base method.
- func (m *MockKptService) CowDiseaseTreatmentDetail(arg0 context.Context, arg1 *cowPb.EventCowTreatmentDetailRequest, arg2 *cowPb.PaginationModel) (*cowPb.EventCowTreatmentDetailResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CowDiseaseTreatmentDetail", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.EventCowTreatmentDetailResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // CowDiseaseTreatmentDetail indicates an expected call of CowDiseaseTreatmentDetail.
- func (mr *MockKptServiceMockRecorder) CowDiseaseTreatmentDetail(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseTreatmentDetail", reflect.TypeOf((*MockKptService)(nil).CowDiseaseTreatmentDetail), 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)
- }
- // 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, arg1, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CowTypeOptions", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // CowTypeOptions indicates an expected call of CowTypeOptions.
- func (mr *MockKptServiceMockRecorder) CowTypeOptions(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTypeOptions", reflect.TypeOf((*MockKptService)(nil).CowTypeOptions), arg0, arg1, arg2)
- }
- // 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.EventEnterRequest) 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)
- }
- // CreateOrUpdateSameTime mocks base method.
- func (m *MockKptService) CreateOrUpdateSameTime(arg0 context.Context, arg1 *cowPb.SearchSameTimeList) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "CreateOrUpdateSameTime", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // CreateOrUpdateSameTime indicates an expected call of CreateOrUpdateSameTime.
- func (mr *MockKptServiceMockRecorder) CreateOrUpdateSameTime(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateSameTime", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateSameTime), 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)
- }
- // 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)
- }
- // DiseaseCureReport mocks base method.
- func (m *MockKptService) DiseaseCureReport(arg0 context.Context, arg1 *cowPb.DiseaseCureRateRequest) (*cowPb.DiseaseCureRateResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "DiseaseCureReport", arg0, arg1)
- ret0, _ := ret[0].(*cowPb.DiseaseCureRateResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // DiseaseCureReport indicates an expected call of DiseaseCureReport.
- func (mr *MockKptServiceMockRecorder) DiseaseCureReport(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseCureReport", reflect.TypeOf((*MockKptService)(nil).DiseaseCureReport), 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, arg1 string) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "DiseaseTypeOptions", arg0, arg1)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // DiseaseTypeOptions indicates an expected call of DiseaseTypeOptions.
- func (mr *MockKptServiceMockRecorder) DiseaseTypeOptions(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseTypeOptions", reflect.TypeOf((*MockKptService)(nil).DiseaseTypeOptions), arg0, arg1)
- }
- // DrugsCreateOrUpdate mocks base method.
- func (m *MockKptService) DrugsCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchDrugsList) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "DrugsCreateOrUpdate", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // DrugsCreateOrUpdate indicates an expected call of DrugsCreateOrUpdate.
- func (mr *MockKptServiceMockRecorder) DrugsCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).DrugsCreateOrUpdate), 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.EventEstrus) 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.EventMating) 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)
- }
- // MatingTimely mocks base method.
- func (m *MockKptService) MatingTimely(arg0 context.Context, arg1 *cowPb.MatingTimelyRequest) (*model.MatingTimelyResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "MatingTimely", arg0, arg1)
- ret0, _ := ret[0].(*model.MatingTimelyResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // MatingTimely indicates an expected call of MatingTimely.
- func (mr *MockKptServiceMockRecorder) MatingTimely(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingTimely", reflect.TypeOf((*MockKptService)(nil).MatingTimely), arg0, arg1)
- }
- // MedicalEquipmentCreateOrUpdate mocks base method.
- func (m *MockKptService) MedicalEquipmentCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchMedicalEquipmentList) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "MedicalEquipmentCreateOrUpdate", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // MedicalEquipmentCreateOrUpdate indicates an expected call of MedicalEquipmentCreateOrUpdate.
- func (mr *MockKptServiceMockRecorder) MedicalEquipmentCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MedicalEquipmentCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).MedicalEquipmentCreateOrUpdate), arg0, arg1)
- }
- // MedicalEquipmentList mocks base method.
- func (m *MockKptService) MedicalEquipmentList(arg0 context.Context, arg1 *cowPb.SearchMedicalEquipmentRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchMedicalEquipmentResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "MedicalEquipmentList", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.SearchMedicalEquipmentResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // MedicalEquipmentList indicates an expected call of MedicalEquipmentList.
- func (mr *MockKptServiceMockRecorder) MedicalEquipmentList(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MedicalEquipmentList", reflect.TypeOf((*MockKptService)(nil).MedicalEquipmentList), arg0, arg1, arg2)
- }
- // MultipleFactorAnalysis mocks base method.
- func (m *MockKptService) MultipleFactorAnalysis(arg0 context.Context, arg1 *cowPb.MultiFactorPregnancyRateRequest) (*cowPb.MultiFactorPregnancyRateResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "MultipleFactorAnalysis", arg0, arg1)
- ret0, _ := ret[0].(*cowPb.MultiFactorPregnancyRateResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // MultipleFactorAnalysis indicates an expected call of MultipleFactorAnalysis.
- func (mr *MockKptServiceMockRecorder) MultipleFactorAnalysis(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MultipleFactorAnalysis", reflect.TypeOf((*MockKptService)(nil).MultipleFactorAnalysis), arg0, arg1)
- }
- // OrderCreateOrUpdate mocks base method.
- func (m *MockKptService) OrderCreateOrUpdate(arg0 context.Context, arg1 *cowPb.WorkOrderList) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "OrderCreateOrUpdate", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // OrderCreateOrUpdate indicates an expected call of OrderCreateOrUpdate.
- func (mr *MockKptServiceMockRecorder) OrderCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OrderCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).OrderCreateOrUpdate), arg0, arg1)
- }
- // OrderIsShow mocks base method.
- func (m *MockKptService) OrderIsShow(arg0 context.Context, arg1 int64) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "OrderIsShow", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // OrderIsShow indicates an expected call of OrderIsShow.
- func (mr *MockKptServiceMockRecorder) OrderIsShow(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OrderIsShow", reflect.TypeOf((*MockKptService)(nil).OrderIsShow), arg0, arg1)
- }
- // OrderList mocks base method.
- func (m *MockKptService) OrderList(arg0 context.Context, arg1 *cowPb.SearchWorkOrderRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchWorkOrderResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "OrderList", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.SearchWorkOrderResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // OrderList indicates an expected call of OrderList.
- func (mr *MockKptServiceMockRecorder) OrderList(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OrderList", reflect.TypeOf((*MockKptService)(nil).OrderList), arg0, arg1, arg2)
- }
- // PenWeight mocks base method.
- func (m *MockKptService) PenWeight(arg0 context.Context, arg1 *cowPb.PenWeightRequest, arg2 *cowPb.PaginationModel) (*cowPb.PenWeightResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PenWeight", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.PenWeightResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // PenWeight indicates an expected call of PenWeight.
- func (mr *MockKptServiceMockRecorder) PenWeight(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PenWeight", reflect.TypeOf((*MockKptService)(nil).PenWeight), arg0, arg1, arg2)
- }
- // PregnancyReport mocks base method.
- func (m *MockKptService) PregnancyReport(arg0 context.Context, arg1 *cowPb.PregnancyReportRequest, arg2 *cowPb.PaginationModel) (*cowPb.PregnancyReportResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PregnancyReport", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.PregnancyReportResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // PregnancyReport indicates an expected call of PregnancyReport.
- func (mr *MockKptServiceMockRecorder) PregnancyReport(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnancyReport", reflect.TypeOf((*MockKptService)(nil).PregnancyReport), arg0, arg1, arg2)
- }
- // PregnantCheckCreate mocks base method.
- func (m *MockKptService) PregnantCheckCreate(arg0 context.Context, arg1 *cowPb.EventPregnantCheck) 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)
- }
- // PrescriptionOptions mocks base method.
- func (m *MockKptService) PrescriptionOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "PrescriptionOptions", arg0)
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // PrescriptionOptions indicates an expected call of PrescriptionOptions.
- func (mr *MockKptServiceMockRecorder) PrescriptionOptions(arg0 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrescriptionOptions", reflect.TypeOf((*MockKptService)(nil).PrescriptionOptions), arg0)
- }
- // 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)
- }
- // SameTimeCreate mocks base method.
- func (m *MockKptService) SameTimeCreate(arg0 context.Context, arg1 *cowPb.EventSameTime) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SameTimeCreate", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // SameTimeCreate indicates an expected call of SameTimeCreate.
- func (mr *MockKptServiceMockRecorder) SameTimeCreate(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeCreate", reflect.TypeOf((*MockKptService)(nil).SameTimeCreate), arg0, arg1)
- }
- // SameTimeIsShow mocks base method.
- func (m *MockKptService) SameTimeIsShow(arg0 context.Context, arg1 int64) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SameTimeIsShow", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // SameTimeIsShow indicates an expected call of SameTimeIsShow.
- func (mr *MockKptServiceMockRecorder) SameTimeIsShow(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeIsShow", reflect.TypeOf((*MockKptService)(nil).SameTimeIsShow), arg0, arg1)
- }
- // SameTimeList mocks base method.
- func (m *MockKptService) SameTimeList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchSameTimeResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SameTimeList", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.SearchSameTimeResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // SameTimeList indicates an expected call of SameTimeList.
- func (mr *MockKptServiceMockRecorder) SameTimeList(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeList", reflect.TypeOf((*MockKptService)(nil).SameTimeList), arg0, arg1, arg2)
- }
- // 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)
- }
- // SearchSameTimeList mocks base method.
- func (m *MockKptService) SearchSameTimeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SameTimeResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SearchSameTimeList", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.SameTimeResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // SearchSameTimeList indicates an expected call of SearchSameTimeList.
- func (mr *MockKptServiceMockRecorder) SearchSameTimeList(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSameTimeList", reflect.TypeOf((*MockKptService)(nil).SearchSameTimeList), 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)
- }
- // SingleFactorInfantSurvivalRateAnalysis mocks base method.
- func (m *MockKptService) SingleFactorInfantSurvivalRateAnalysis(arg0 context.Context, arg1 *cowPb.SingleFactorPregnancyRateRequest) (*cowPb.SingleFactorPregnancyRateResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SingleFactorInfantSurvivalRateAnalysis", arg0, arg1)
- ret0, _ := ret[0].(*cowPb.SingleFactorPregnancyRateResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // SingleFactorInfantSurvivalRateAnalysis indicates an expected call of SingleFactorInfantSurvivalRateAnalysis.
- func (mr *MockKptServiceMockRecorder) SingleFactorInfantSurvivalRateAnalysis(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SingleFactorInfantSurvivalRateAnalysis", reflect.TypeOf((*MockKptService)(nil).SingleFactorInfantSurvivalRateAnalysis), arg0, arg1)
- }
- // SystemBaseConfigOptions mocks base method.
- func (m *MockKptService) SystemBaseConfigOptions(arg0 context.Context, arg1, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "SystemBaseConfigOptions", arg0, arg1, arg2)
- 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, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBaseConfigOptions", reflect.TypeOf((*MockKptService)(nil).SystemBaseConfigOptions), arg0, arg1, arg2)
- }
- // 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)
- }
- // TwentyOnePregnantRate mocks base method.
- func (m *MockKptService) TwentyOnePregnantRate(arg0 context.Context, arg1 *cowPb.TwentyOnePregnantRateRequest) (*cowPb.TwentyOnePregnantRateResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "TwentyOnePregnantRate", arg0, arg1)
- ret0, _ := ret[0].(*cowPb.TwentyOnePregnantRateResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // TwentyOnePregnantRate indicates an expected call of TwentyOnePregnantRate.
- func (mr *MockKptServiceMockRecorder) TwentyOnePregnantRate(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TwentyOnePregnantRate", reflect.TypeOf((*MockKptService)(nil).TwentyOnePregnantRate), arg0, arg1)
- }
- // UserWorkOrderList mocks base method.
- func (m *MockKptService) UserWorkOrderList(arg0 context.Context, arg1 cowPb.WorkOrderStatus_Kind, arg2 *cowPb.PaginationModel) (*cowPb.UserWorkOrderResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "UserWorkOrderList", arg0, arg1, arg2)
- ret0, _ := ret[0].(*cowPb.UserWorkOrderResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // UserWorkOrderList indicates an expected call of UserWorkOrderList.
- func (mr *MockKptServiceMockRecorder) UserWorkOrderList(arg0, arg1, arg2 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UserWorkOrderList", reflect.TypeOf((*MockKptService)(nil).UserWorkOrderList), arg0, arg1, arg2)
- }
- // WeightCreate mocks base method.
- func (m *MockKptService) WeightCreate(arg0 context.Context, arg1 *cowPb.EventWeight) error {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "WeightCreate", arg0, arg1)
- ret0, _ := ret[0].(error)
- return ret0
- }
- // WeightCreate indicates an expected call of WeightCreate.
- func (mr *MockKptServiceMockRecorder) WeightCreate(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)
- }
- // 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)
- }
- // WeightRange mocks base method.
- func (m *MockKptService) WeightRange(arg0 context.Context, arg1 *cowPb.WeightRangeRequest) (*cowPb.WeightRangeResponse, error) {
- m.ctrl.T.Helper()
- ret := m.ctrl.Call(m, "WeightRange", arg0, arg1)
- ret0, _ := ret[0].(*cowPb.WeightRangeResponse)
- ret1, _ := ret[1].(error)
- return ret0, ret1
- }
- // WeightRange indicates an expected call of WeightRange.
- func (mr *MockKptServiceMockRecorder) WeightRange(arg0, arg1 interface{}) *gomock.Call {
- mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeightRange", reflect.TypeOf((*MockKptService)(nil).WeightRange), arg0, arg1)
- }
|