kptservice.go 96 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167
  1. // Code generated by MockGen. DO NOT EDIT.
  2. // Source: kpt-pasture/module/backend (interfaces: KptService)
  3. // Package kptservicemock is a generated GoMock package.
  4. package kptservicemock
  5. import (
  6. context "context"
  7. model "kpt-pasture/model"
  8. reflect "reflect"
  9. cowPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow"
  10. gomock "github.com/golang/mock/gomock"
  11. )
  12. // MockKptService is a mock of KptService interface.
  13. type MockKptService struct {
  14. ctrl *gomock.Controller
  15. recorder *MockKptServiceMockRecorder
  16. }
  17. // MockKptServiceMockRecorder is the mock recorder for MockKptService.
  18. type MockKptServiceMockRecorder struct {
  19. mock *MockKptService
  20. }
  21. // NewMockKptService creates a new mock instance.
  22. func NewMockKptService(ctrl *gomock.Controller) *MockKptService {
  23. mock := &MockKptService{ctrl: ctrl}
  24. mock.recorder = &MockKptServiceMockRecorder{mock}
  25. return mock
  26. }
  27. // EXPECT returns an object that allows the caller to indicate expected use.
  28. func (m *MockKptService) EXPECT() *MockKptServiceMockRecorder {
  29. return m.recorder
  30. }
  31. // AbortionCreate mocks base method.
  32. func (m *MockKptService) AbortionCreate(arg0 context.Context, arg1 *cowPb.EventAbortionRequest) error {
  33. m.ctrl.T.Helper()
  34. ret := m.ctrl.Call(m, "AbortionCreate", arg0, arg1)
  35. ret0, _ := ret[0].(error)
  36. return ret0
  37. }
  38. // AbortionCreate indicates an expected call of AbortionCreate.
  39. func (mr *MockKptServiceMockRecorder) AbortionCreate(arg0, arg1 interface{}) *gomock.Call {
  40. mr.mock.ctrl.T.Helper()
  41. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortionCreate", reflect.TypeOf((*MockKptService)(nil).AbortionCreate), arg0, arg1)
  42. }
  43. // AbortionCreateBatch mocks base method.
  44. func (m *MockKptService) AbortionCreateBatch(arg0 context.Context, arg1 *cowPb.EventAbortionBatch) error {
  45. m.ctrl.T.Helper()
  46. ret := m.ctrl.Call(m, "AbortionCreateBatch", arg0, arg1)
  47. ret0, _ := ret[0].(error)
  48. return ret0
  49. }
  50. // AbortionCreateBatch indicates an expected call of AbortionCreateBatch.
  51. func (mr *MockKptServiceMockRecorder) AbortionCreateBatch(arg0, arg1 interface{}) *gomock.Call {
  52. mr.mock.ctrl.T.Helper()
  53. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortionCreateBatch", reflect.TypeOf((*MockKptService)(nil).AbortionCreateBatch), arg0, arg1)
  54. }
  55. // AbortionList mocks base method.
  56. func (m *MockKptService) AbortionList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.EventAbortionResponse, error) {
  57. m.ctrl.T.Helper()
  58. ret := m.ctrl.Call(m, "AbortionList", arg0, arg1, arg2)
  59. ret0, _ := ret[0].(*cowPb.EventAbortionResponse)
  60. ret1, _ := ret[1].(error)
  61. return ret0, ret1
  62. }
  63. // AbortionList indicates an expected call of AbortionList.
  64. func (mr *MockKptServiceMockRecorder) AbortionList(arg0, arg1, arg2 interface{}) *gomock.Call {
  65. mr.mock.ctrl.T.Helper()
  66. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortionList", reflect.TypeOf((*MockKptService)(nil).AbortionList), arg0, arg1, arg2)
  67. }
  68. // AbortionRate mocks base method.
  69. func (m *MockKptService) AbortionRate(arg0 context.Context, arg1 *cowPb.AbortionRateRequest) (*cowPb.AbortionRateResponse, error) {
  70. m.ctrl.T.Helper()
  71. ret := m.ctrl.Call(m, "AbortionRate", arg0, arg1)
  72. ret0, _ := ret[0].(*cowPb.AbortionRateResponse)
  73. ret1, _ := ret[1].(error)
  74. return ret0, ret1
  75. }
  76. // AbortionRate indicates an expected call of AbortionRate.
  77. func (mr *MockKptServiceMockRecorder) AbortionRate(arg0, arg1 interface{}) *gomock.Call {
  78. mr.mock.ctrl.T.Helper()
  79. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortionRate", reflect.TypeOf((*MockKptService)(nil).AbortionRate), arg0, arg1)
  80. }
  81. // Bar mocks base method.
  82. func (m *MockKptService) Bar(arg0 context.Context) (*cowPb.BarCowStructResponse, error) {
  83. m.ctrl.T.Helper()
  84. ret := m.ctrl.Call(m, "Bar", arg0)
  85. ret0, _ := ret[0].(*cowPb.BarCowStructResponse)
  86. ret1, _ := ret[1].(error)
  87. return ret0, ret1
  88. }
  89. // Bar indicates an expected call of Bar.
  90. func (mr *MockKptServiceMockRecorder) Bar(arg0 interface{}) *gomock.Call {
  91. mr.mock.ctrl.T.Helper()
  92. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bar", reflect.TypeOf((*MockKptService)(nil).Bar), arg0)
  93. }
  94. // BarnListOptions mocks base method.
  95. func (m *MockKptService) BarnListOptions(arg0 context.Context, arg1 int, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
  96. m.ctrl.T.Helper()
  97. ret := m.ctrl.Call(m, "BarnListOptions", arg0, arg1, arg2)
  98. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  99. ret1, _ := ret[1].(error)
  100. return ret0, ret1
  101. }
  102. // BarnListOptions indicates an expected call of BarnListOptions.
  103. func (mr *MockKptServiceMockRecorder) BarnListOptions(arg0, arg1, arg2 interface{}) *gomock.Call {
  104. mr.mock.ctrl.T.Helper()
  105. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnListOptions", reflect.TypeOf((*MockKptService)(nil).BarnListOptions), arg0, arg1, arg2)
  106. }
  107. // BarnTypeOptions mocks base method.
  108. func (m *MockKptService) BarnTypeOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  109. m.ctrl.T.Helper()
  110. ret := m.ctrl.Call(m, "BarnTypeOptions", arg0)
  111. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  112. ret1, _ := ret[1].(error)
  113. return ret0, ret1
  114. }
  115. // BarnTypeOptions indicates an expected call of BarnTypeOptions.
  116. func (mr *MockKptServiceMockRecorder) BarnTypeOptions(arg0 interface{}) *gomock.Call {
  117. mr.mock.ctrl.T.Helper()
  118. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnTypeOptions", reflect.TypeOf((*MockKptService)(nil).BarnTypeOptions), arg0)
  119. }
  120. // BehaviorCurve mocks base method.
  121. func (m *MockKptService) BehaviorCurve(arg0 context.Context, arg1 *cowPb.CowBehaviorCurveRequest) (*model.CowBehaviorCurveResponse, error) {
  122. m.ctrl.T.Helper()
  123. ret := m.ctrl.Call(m, "BehaviorCurve", arg0, arg1)
  124. ret0, _ := ret[0].(*model.CowBehaviorCurveResponse)
  125. ret1, _ := ret[1].(error)
  126. return ret0, ret1
  127. }
  128. // BehaviorCurve indicates an expected call of BehaviorCurve.
  129. func (mr *MockKptServiceMockRecorder) BehaviorCurve(arg0, arg1 interface{}) *gomock.Call {
  130. mr.mock.ctrl.T.Helper()
  131. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BehaviorCurve", reflect.TypeOf((*MockKptService)(nil).BehaviorCurve), arg0, arg1)
  132. }
  133. // BodyScoreList mocks base method.
  134. func (m *MockKptService) BodyScoreList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBodyScoreEventResponse, error) {
  135. m.ctrl.T.Helper()
  136. ret := m.ctrl.Call(m, "BodyScoreList", arg0, arg1, arg2)
  137. ret0, _ := ret[0].(*cowPb.SearchBodyScoreEventResponse)
  138. ret1, _ := ret[1].(error)
  139. return ret0, ret1
  140. }
  141. // BodyScoreList indicates an expected call of BodyScoreList.
  142. func (mr *MockKptServiceMockRecorder) BodyScoreList(arg0, arg1, arg2 interface{}) *gomock.Call {
  143. mr.mock.ctrl.T.Helper()
  144. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BodyScoreList", reflect.TypeOf((*MockKptService)(nil).BodyScoreList), arg0, arg1, arg2)
  145. }
  146. // BreedStatusOptions mocks base method.
  147. func (m *MockKptService) BreedStatusOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  148. m.ctrl.T.Helper()
  149. ret := m.ctrl.Call(m, "BreedStatusOptions", arg0)
  150. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  151. ret1, _ := ret[1].(error)
  152. return ret0, ret1
  153. }
  154. // BreedStatusOptions indicates an expected call of BreedStatusOptions.
  155. func (mr *MockKptServiceMockRecorder) BreedStatusOptions(arg0 interface{}) *gomock.Call {
  156. mr.mock.ctrl.T.Helper()
  157. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BreedStatusOptions", reflect.TypeOf((*MockKptService)(nil).BreedStatusOptions), arg0)
  158. }
  159. // BullOptions mocks base method.
  160. func (m *MockKptService) BullOptions(arg0 context.Context) (*cowPb.BullOptionsListResponse, error) {
  161. m.ctrl.T.Helper()
  162. ret := m.ctrl.Call(m, "BullOptions", arg0)
  163. ret0, _ := ret[0].(*cowPb.BullOptionsListResponse)
  164. ret1, _ := ret[1].(error)
  165. return ret0, ret1
  166. }
  167. // BullOptions indicates an expected call of BullOptions.
  168. func (mr *MockKptServiceMockRecorder) BullOptions(arg0 interface{}) *gomock.Call {
  169. mr.mock.ctrl.T.Helper()
  170. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BullOptions", reflect.TypeOf((*MockKptService)(nil).BullOptions), arg0)
  171. }
  172. // CalendarList mocks base method.
  173. func (m *MockKptService) CalendarList(arg0 context.Context, arg1 *cowPb.CalendarRequest) (*cowPb.CalendarResponse, error) {
  174. m.ctrl.T.Helper()
  175. ret := m.ctrl.Call(m, "CalendarList", arg0, arg1)
  176. ret0, _ := ret[0].(*cowPb.CalendarResponse)
  177. ret1, _ := ret[1].(error)
  178. return ret0, ret1
  179. }
  180. // CalendarList indicates an expected call of CalendarList.
  181. func (mr *MockKptServiceMockRecorder) CalendarList(arg0, arg1 interface{}) *gomock.Call {
  182. mr.mock.ctrl.T.Helper()
  183. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalendarList", reflect.TypeOf((*MockKptService)(nil).CalendarList), arg0, arg1)
  184. }
  185. // CalendarTableDetail mocks base method.
  186. func (m *MockKptService) CalendarTableDetail(arg0 context.Context, arg1 *cowPb.CalendarTableRequest, arg2 *cowPb.PaginationModel) (interface{}, error) {
  187. m.ctrl.T.Helper()
  188. ret := m.ctrl.Call(m, "CalendarTableDetail", arg0, arg1, arg2)
  189. ret0, _ := ret[0].(interface{})
  190. ret1, _ := ret[1].(error)
  191. return ret0, ret1
  192. }
  193. // CalendarTableDetail indicates an expected call of CalendarTableDetail.
  194. func (mr *MockKptServiceMockRecorder) CalendarTableDetail(arg0, arg1, arg2 interface{}) *gomock.Call {
  195. mr.mock.ctrl.T.Helper()
  196. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalendarTableDetail", reflect.TypeOf((*MockKptService)(nil).CalendarTableDetail), arg0, arg1, arg2)
  197. }
  198. // CalendarToDoList mocks base method.
  199. func (m *MockKptService) CalendarToDoList(arg0 context.Context, arg1 *cowPb.CalendarToDoRequest, arg2 *cowPb.PaginationModel) (*cowPb.CalendarToDoResponse, error) {
  200. m.ctrl.T.Helper()
  201. ret := m.ctrl.Call(m, "CalendarToDoList", arg0, arg1, arg2)
  202. ret0, _ := ret[0].(*cowPb.CalendarToDoResponse)
  203. ret1, _ := ret[1].(error)
  204. return ret0, ret1
  205. }
  206. // CalendarToDoList indicates an expected call of CalendarToDoList.
  207. func (mr *MockKptServiceMockRecorder) CalendarToDoList(arg0, arg1, arg2 interface{}) *gomock.Call {
  208. mr.mock.ctrl.T.Helper()
  209. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalendarToDoList", reflect.TypeOf((*MockKptService)(nil).CalendarToDoList), arg0, arg1, arg2)
  210. }
  211. // CalvingCowList mocks base method.
  212. func (m *MockKptService) CalvingCowList(arg0 context.Context, arg1 *cowPb.ItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.CalvingItemsResponse, error) {
  213. m.ctrl.T.Helper()
  214. ret := m.ctrl.Call(m, "CalvingCowList", arg0, arg1, arg2)
  215. ret0, _ := ret[0].(*cowPb.CalvingItemsResponse)
  216. ret1, _ := ret[1].(error)
  217. return ret0, ret1
  218. }
  219. // CalvingCowList indicates an expected call of CalvingCowList.
  220. func (mr *MockKptServiceMockRecorder) CalvingCowList(arg0, arg1, arg2 interface{}) *gomock.Call {
  221. mr.mock.ctrl.T.Helper()
  222. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingCowList", reflect.TypeOf((*MockKptService)(nil).CalvingCowList), arg0, arg1, arg2)
  223. }
  224. // CalvingCreate mocks base method.
  225. func (m *MockKptService) CalvingCreate(arg0 context.Context, arg1 *cowPb.EventCalving) error {
  226. m.ctrl.T.Helper()
  227. ret := m.ctrl.Call(m, "CalvingCreate", arg0, arg1)
  228. ret0, _ := ret[0].(error)
  229. return ret0
  230. }
  231. // CalvingCreate indicates an expected call of CalvingCreate.
  232. func (mr *MockKptServiceMockRecorder) CalvingCreate(arg0, arg1 interface{}) *gomock.Call {
  233. mr.mock.ctrl.T.Helper()
  234. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingCreate", reflect.TypeOf((*MockKptService)(nil).CalvingCreate), arg0, arg1)
  235. }
  236. // CalvingList mocks base method.
  237. func (m *MockKptService) CalvingList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchLavingEventResponse, error) {
  238. m.ctrl.T.Helper()
  239. ret := m.ctrl.Call(m, "CalvingList", arg0, arg1, arg2)
  240. ret0, _ := ret[0].(*cowPb.SearchLavingEventResponse)
  241. ret1, _ := ret[1].(error)
  242. return ret0, ret1
  243. }
  244. // CalvingList indicates an expected call of CalvingList.
  245. func (mr *MockKptServiceMockRecorder) CalvingList(arg0, arg1, arg2 interface{}) *gomock.Call {
  246. mr.mock.ctrl.T.Helper()
  247. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingList", reflect.TypeOf((*MockKptService)(nil).CalvingList), arg0, arg1, arg2)
  248. }
  249. // CalvingReport mocks base method.
  250. func (m *MockKptService) CalvingReport(arg0 context.Context, arg1 *cowPb.CalvingReportRequest) (*cowPb.CalvingReportResponse, error) {
  251. m.ctrl.T.Helper()
  252. ret := m.ctrl.Call(m, "CalvingReport", arg0, arg1)
  253. ret0, _ := ret[0].(*cowPb.CalvingReportResponse)
  254. ret1, _ := ret[1].(error)
  255. return ret0, ret1
  256. }
  257. // CalvingReport indicates an expected call of CalvingReport.
  258. func (mr *MockKptServiceMockRecorder) CalvingReport(arg0, arg1 interface{}) *gomock.Call {
  259. mr.mock.ctrl.T.Helper()
  260. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingReport", reflect.TypeOf((*MockKptService)(nil).CalvingReport), arg0, arg1)
  261. }
  262. // CowDiseaseCreate mocks base method.
  263. func (m *MockKptService) CowDiseaseCreate(arg0 context.Context, arg1 *cowPb.EventCowDiseaseRequest, arg2 string) error {
  264. m.ctrl.T.Helper()
  265. ret := m.ctrl.Call(m, "CowDiseaseCreate", arg0, arg1, arg2)
  266. ret0, _ := ret[0].(error)
  267. return ret0
  268. }
  269. // CowDiseaseCreate indicates an expected call of CowDiseaseCreate.
  270. func (mr *MockKptServiceMockRecorder) CowDiseaseCreate(arg0, arg1, arg2 interface{}) *gomock.Call {
  271. mr.mock.ctrl.T.Helper()
  272. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseCreate", reflect.TypeOf((*MockKptService)(nil).CowDiseaseCreate), arg0, arg1, arg2)
  273. }
  274. // CowDiseaseCurable mocks base method.
  275. func (m *MockKptService) CowDiseaseCurable(arg0 context.Context, arg1 *cowPb.EventCowCurableRequest) error {
  276. m.ctrl.T.Helper()
  277. ret := m.ctrl.Call(m, "CowDiseaseCurable", arg0, arg1)
  278. ret0, _ := ret[0].(error)
  279. return ret0
  280. }
  281. // CowDiseaseCurable indicates an expected call of CowDiseaseCurable.
  282. func (mr *MockKptServiceMockRecorder) CowDiseaseCurable(arg0, arg1 interface{}) *gomock.Call {
  283. mr.mock.ctrl.T.Helper()
  284. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseCurable", reflect.TypeOf((*MockKptService)(nil).CowDiseaseCurable), arg0, arg1)
  285. }
  286. // CowDiseaseDiagnose mocks base method.
  287. func (m *MockKptService) CowDiseaseDiagnose(arg0 context.Context, arg1 *cowPb.CowDiagnosedRequest) error {
  288. m.ctrl.T.Helper()
  289. ret := m.ctrl.Call(m, "CowDiseaseDiagnose", arg0, arg1)
  290. ret0, _ := ret[0].(error)
  291. return ret0
  292. }
  293. // CowDiseaseDiagnose indicates an expected call of CowDiseaseDiagnose.
  294. func (mr *MockKptServiceMockRecorder) CowDiseaseDiagnose(arg0, arg1 interface{}) *gomock.Call {
  295. mr.mock.ctrl.T.Helper()
  296. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseDiagnose", reflect.TypeOf((*MockKptService)(nil).CowDiseaseDiagnose), arg0, arg1)
  297. }
  298. // CowDiseaseList mocks base method.
  299. func (m *MockKptService) CowDiseaseList(arg0 context.Context, arg1 *cowPb.SearchEventCowTreatmentRequest, arg2 *cowPb.PaginationModel) (*cowPb.EventCowDiseaseResponse, error) {
  300. m.ctrl.T.Helper()
  301. ret := m.ctrl.Call(m, "CowDiseaseList", arg0, arg1, arg2)
  302. ret0, _ := ret[0].(*cowPb.EventCowDiseaseResponse)
  303. ret1, _ := ret[1].(error)
  304. return ret0, ret1
  305. }
  306. // CowDiseaseList indicates an expected call of CowDiseaseList.
  307. func (mr *MockKptServiceMockRecorder) CowDiseaseList(arg0, arg1, arg2 interface{}) *gomock.Call {
  308. mr.mock.ctrl.T.Helper()
  309. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseList", reflect.TypeOf((*MockKptService)(nil).CowDiseaseList), arg0, arg1, arg2)
  310. }
  311. // CowDiseaseTreatment mocks base method.
  312. func (m *MockKptService) CowDiseaseTreatment(arg0 context.Context, arg1 *cowPb.CowTreatmentRequest) error {
  313. m.ctrl.T.Helper()
  314. ret := m.ctrl.Call(m, "CowDiseaseTreatment", arg0, arg1)
  315. ret0, _ := ret[0].(error)
  316. return ret0
  317. }
  318. // CowDiseaseTreatment indicates an expected call of CowDiseaseTreatment.
  319. func (mr *MockKptServiceMockRecorder) CowDiseaseTreatment(arg0, arg1 interface{}) *gomock.Call {
  320. mr.mock.ctrl.T.Helper()
  321. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseTreatment", reflect.TypeOf((*MockKptService)(nil).CowDiseaseTreatment), arg0, arg1)
  322. }
  323. // CowDiseaseTreatmentDetail mocks base method.
  324. func (m *MockKptService) CowDiseaseTreatmentDetail(arg0 context.Context, arg1 *cowPb.EventCowTreatmentDetailRequest, arg2 *cowPb.PaginationModel) (*cowPb.EventCowTreatmentDetailResponse, error) {
  325. m.ctrl.T.Helper()
  326. ret := m.ctrl.Call(m, "CowDiseaseTreatmentDetail", arg0, arg1, arg2)
  327. ret0, _ := ret[0].(*cowPb.EventCowTreatmentDetailResponse)
  328. ret1, _ := ret[1].(error)
  329. return ret0, ret1
  330. }
  331. // CowDiseaseTreatmentDetail indicates an expected call of CowDiseaseTreatmentDetail.
  332. func (mr *MockKptServiceMockRecorder) CowDiseaseTreatmentDetail(arg0, arg1, arg2 interface{}) *gomock.Call {
  333. mr.mock.ctrl.T.Helper()
  334. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseTreatmentDetail", reflect.TypeOf((*MockKptService)(nil).CowDiseaseTreatmentDetail), arg0, arg1, arg2)
  335. }
  336. // CowEarNumberUpdate mocks base method.
  337. func (m *MockKptService) CowEarNumberUpdate(arg0 context.Context, arg1 *cowPb.EventReplaceEarNumber) error {
  338. m.ctrl.T.Helper()
  339. ret := m.ctrl.Call(m, "CowEarNumberUpdate", arg0, arg1)
  340. ret0, _ := ret[0].(error)
  341. return ret0
  342. }
  343. // CowEarNumberUpdate indicates an expected call of CowEarNumberUpdate.
  344. func (mr *MockKptServiceMockRecorder) CowEarNumberUpdate(arg0, arg1 interface{}) *gomock.Call {
  345. mr.mock.ctrl.T.Helper()
  346. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowEarNumberUpdate", reflect.TypeOf((*MockKptService)(nil).CowEarNumberUpdate), arg0, arg1)
  347. }
  348. // CowGrowthCurve mocks base method.
  349. func (m *MockKptService) CowGrowthCurve(arg0 context.Context, arg1 *cowPb.CowGrowthCurveRequest) (*cowPb.CowGrowthCurveResponse, error) {
  350. m.ctrl.T.Helper()
  351. ret := m.ctrl.Call(m, "CowGrowthCurve", arg0, arg1)
  352. ret0, _ := ret[0].(*cowPb.CowGrowthCurveResponse)
  353. ret1, _ := ret[1].(error)
  354. return ret0, ret1
  355. }
  356. // CowGrowthCurve indicates an expected call of CowGrowthCurve.
  357. func (mr *MockKptServiceMockRecorder) CowGrowthCurve(arg0, arg1 interface{}) *gomock.Call {
  358. mr.mock.ctrl.T.Helper()
  359. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowGrowthCurve", reflect.TypeOf((*MockKptService)(nil).CowGrowthCurve), arg0, arg1)
  360. }
  361. // CowKindOptions mocks base method.
  362. func (m *MockKptService) CowKindOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  363. m.ctrl.T.Helper()
  364. ret := m.ctrl.Call(m, "CowKindOptions", arg0)
  365. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  366. ret1, _ := ret[1].(error)
  367. return ret0, ret1
  368. }
  369. // CowKindOptions indicates an expected call of CowKindOptions.
  370. func (mr *MockKptServiceMockRecorder) CowKindOptions(arg0 interface{}) *gomock.Call {
  371. mr.mock.ctrl.T.Helper()
  372. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowKindOptions", reflect.TypeOf((*MockKptService)(nil).CowKindOptions), arg0)
  373. }
  374. // CowNeckRingNumberBound mocks base method.
  375. func (m *MockKptService) CowNeckRingNumberBound(arg0 context.Context, arg1 *cowPb.PaginationModel) error {
  376. m.ctrl.T.Helper()
  377. ret := m.ctrl.Call(m, "CowNeckRingNumberBound", arg0, arg1)
  378. ret0, _ := ret[0].(error)
  379. return ret0
  380. }
  381. // CowNeckRingNumberBound indicates an expected call of CowNeckRingNumberBound.
  382. func (mr *MockKptServiceMockRecorder) CowNeckRingNumberBound(arg0, arg1 interface{}) *gomock.Call {
  383. mr.mock.ctrl.T.Helper()
  384. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowNeckRingNumberBound", reflect.TypeOf((*MockKptService)(nil).CowNeckRingNumberBound), arg0, arg1)
  385. }
  386. // CowSourceOptions mocks base method.
  387. func (m *MockKptService) CowSourceOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  388. m.ctrl.T.Helper()
  389. ret := m.ctrl.Call(m, "CowSourceOptions", arg0)
  390. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  391. ret1, _ := ret[1].(error)
  392. return ret0, ret1
  393. }
  394. // CowSourceOptions indicates an expected call of CowSourceOptions.
  395. func (mr *MockKptServiceMockRecorder) CowSourceOptions(arg0 interface{}) *gomock.Call {
  396. mr.mock.ctrl.T.Helper()
  397. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowSourceOptions", reflect.TypeOf((*MockKptService)(nil).CowSourceOptions), arg0)
  398. }
  399. // CowTransferPenReasonOptions mocks base method.
  400. func (m *MockKptService) CowTransferPenReasonOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  401. m.ctrl.T.Helper()
  402. ret := m.ctrl.Call(m, "CowTransferPenReasonOptions", arg0)
  403. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  404. ret1, _ := ret[1].(error)
  405. return ret0, ret1
  406. }
  407. // CowTransferPenReasonOptions indicates an expected call of CowTransferPenReasonOptions.
  408. func (mr *MockKptServiceMockRecorder) CowTransferPenReasonOptions(arg0 interface{}) *gomock.Call {
  409. mr.mock.ctrl.T.Helper()
  410. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTransferPenReasonOptions", reflect.TypeOf((*MockKptService)(nil).CowTransferPenReasonOptions), arg0)
  411. }
  412. // CowTypeOptions mocks base method.
  413. func (m *MockKptService) CowTypeOptions(arg0 context.Context, arg1, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
  414. m.ctrl.T.Helper()
  415. ret := m.ctrl.Call(m, "CowTypeOptions", arg0, arg1, arg2)
  416. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  417. ret1, _ := ret[1].(error)
  418. return ret0, ret1
  419. }
  420. // CowTypeOptions indicates an expected call of CowTypeOptions.
  421. func (mr *MockKptServiceMockRecorder) CowTypeOptions(arg0, arg1, arg2 interface{}) *gomock.Call {
  422. mr.mock.ctrl.T.Helper()
  423. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTypeOptions", reflect.TypeOf((*MockKptService)(nil).CowTypeOptions), arg0, arg1, arg2)
  424. }
  425. // CreateBodyScore mocks base method.
  426. func (m *MockKptService) CreateBodyScore(arg0 context.Context, arg1 *cowPb.BodyScoreEventRequest) error {
  427. m.ctrl.T.Helper()
  428. ret := m.ctrl.Call(m, "CreateBodyScore", arg0, arg1)
  429. ret0, _ := ret[0].(error)
  430. return ret0
  431. }
  432. // CreateBodyScore indicates an expected call of CreateBodyScore.
  433. func (mr *MockKptServiceMockRecorder) CreateBodyScore(arg0, arg1 interface{}) *gomock.Call {
  434. mr.mock.ctrl.T.Helper()
  435. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBodyScore", reflect.TypeOf((*MockKptService)(nil).CreateBodyScore), arg0, arg1)
  436. }
  437. // CreateEnter mocks base method.
  438. func (m *MockKptService) CreateEnter(arg0 context.Context, arg1 *cowPb.EventEnterRequest) error {
  439. m.ctrl.T.Helper()
  440. ret := m.ctrl.Call(m, "CreateEnter", arg0, arg1)
  441. ret0, _ := ret[0].(error)
  442. return ret0
  443. }
  444. // CreateEnter indicates an expected call of CreateEnter.
  445. func (mr *MockKptServiceMockRecorder) CreateEnter(arg0, arg1 interface{}) *gomock.Call {
  446. mr.mock.ctrl.T.Helper()
  447. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateEnter", reflect.TypeOf((*MockKptService)(nil).CreateEnter), arg0, arg1)
  448. }
  449. // CreateGroupTransfer mocks base method.
  450. func (m *MockKptService) CreateGroupTransfer(arg0 context.Context, arg1 *cowPb.TransferGroupEventRequest) error {
  451. m.ctrl.T.Helper()
  452. ret := m.ctrl.Call(m, "CreateGroupTransfer", arg0, arg1)
  453. ret0, _ := ret[0].(error)
  454. return ret0
  455. }
  456. // CreateGroupTransfer indicates an expected call of CreateGroupTransfer.
  457. func (mr *MockKptServiceMockRecorder) CreateGroupTransfer(arg0, arg1 interface{}) *gomock.Call {
  458. mr.mock.ctrl.T.Helper()
  459. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGroupTransfer", reflect.TypeOf((*MockKptService)(nil).CreateGroupTransfer), arg0, arg1)
  460. }
  461. // CreateOrUpdateBarn mocks base method.
  462. func (m *MockKptService) CreateOrUpdateBarn(arg0 context.Context, arg1 *cowPb.SearchBarnList) error {
  463. m.ctrl.T.Helper()
  464. ret := m.ctrl.Call(m, "CreateOrUpdateBarn", arg0, arg1)
  465. ret0, _ := ret[0].(error)
  466. return ret0
  467. }
  468. // CreateOrUpdateBarn indicates an expected call of CreateOrUpdateBarn.
  469. func (mr *MockKptServiceMockRecorder) CreateOrUpdateBarn(arg0, arg1 interface{}) *gomock.Call {
  470. mr.mock.ctrl.T.Helper()
  471. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBarn", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBarn), arg0, arg1)
  472. }
  473. // CreateOrUpdateBarnType mocks base method.
  474. func (m *MockKptService) CreateOrUpdateBarnType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  475. m.ctrl.T.Helper()
  476. ret := m.ctrl.Call(m, "CreateOrUpdateBarnType", arg0, arg1)
  477. ret0, _ := ret[0].(error)
  478. return ret0
  479. }
  480. // CreateOrUpdateBarnType indicates an expected call of CreateOrUpdateBarnType.
  481. func (mr *MockKptServiceMockRecorder) CreateOrUpdateBarnType(arg0, arg1 interface{}) *gomock.Call {
  482. mr.mock.ctrl.T.Helper()
  483. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBarnType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBarnType), arg0, arg1)
  484. }
  485. // CreateOrUpdateBreedStatus mocks base method.
  486. func (m *MockKptService) CreateOrUpdateBreedStatus(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  487. m.ctrl.T.Helper()
  488. ret := m.ctrl.Call(m, "CreateOrUpdateBreedStatus", arg0, arg1)
  489. ret0, _ := ret[0].(error)
  490. return ret0
  491. }
  492. // CreateOrUpdateBreedStatus indicates an expected call of CreateOrUpdateBreedStatus.
  493. func (mr *MockKptServiceMockRecorder) CreateOrUpdateBreedStatus(arg0, arg1 interface{}) *gomock.Call {
  494. mr.mock.ctrl.T.Helper()
  495. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBreedStatus", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBreedStatus), arg0, arg1)
  496. }
  497. // CreateOrUpdateCowKind mocks base method.
  498. func (m *MockKptService) CreateOrUpdateCowKind(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  499. m.ctrl.T.Helper()
  500. ret := m.ctrl.Call(m, "CreateOrUpdateCowKind", arg0, arg1)
  501. ret0, _ := ret[0].(error)
  502. return ret0
  503. }
  504. // CreateOrUpdateCowKind indicates an expected call of CreateOrUpdateCowKind.
  505. func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowKind(arg0, arg1 interface{}) *gomock.Call {
  506. mr.mock.ctrl.T.Helper()
  507. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowKind", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowKind), arg0, arg1)
  508. }
  509. // CreateOrUpdateCowSource mocks base method.
  510. func (m *MockKptService) CreateOrUpdateCowSource(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  511. m.ctrl.T.Helper()
  512. ret := m.ctrl.Call(m, "CreateOrUpdateCowSource", arg0, arg1)
  513. ret0, _ := ret[0].(error)
  514. return ret0
  515. }
  516. // CreateOrUpdateCowSource indicates an expected call of CreateOrUpdateCowSource.
  517. func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowSource(arg0, arg1 interface{}) *gomock.Call {
  518. mr.mock.ctrl.T.Helper()
  519. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowSource", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowSource), arg0, arg1)
  520. }
  521. // CreateOrUpdateCowStatus mocks base method.
  522. func (m *MockKptService) CreateOrUpdateCowStatus(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  523. m.ctrl.T.Helper()
  524. ret := m.ctrl.Call(m, "CreateOrUpdateCowStatus", arg0, arg1)
  525. ret0, _ := ret[0].(error)
  526. return ret0
  527. }
  528. // CreateOrUpdateCowStatus indicates an expected call of CreateOrUpdateCowStatus.
  529. func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowStatus(arg0, arg1 interface{}) *gomock.Call {
  530. mr.mock.ctrl.T.Helper()
  531. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowStatus", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowStatus), arg0, arg1)
  532. }
  533. // CreateOrUpdateCowType mocks base method.
  534. func (m *MockKptService) CreateOrUpdateCowType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  535. m.ctrl.T.Helper()
  536. ret := m.ctrl.Call(m, "CreateOrUpdateCowType", arg0, arg1)
  537. ret0, _ := ret[0].(error)
  538. return ret0
  539. }
  540. // CreateOrUpdateCowType indicates an expected call of CreateOrUpdateCowType.
  541. func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowType(arg0, arg1 interface{}) *gomock.Call {
  542. mr.mock.ctrl.T.Helper()
  543. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowType), arg0, arg1)
  544. }
  545. // CreateOrUpdateDisease mocks base method.
  546. func (m *MockKptService) CreateOrUpdateDisease(arg0 context.Context, arg1 *cowPb.SearchDiseaseList) error {
  547. m.ctrl.T.Helper()
  548. ret := m.ctrl.Call(m, "CreateOrUpdateDisease", arg0, arg1)
  549. ret0, _ := ret[0].(error)
  550. return ret0
  551. }
  552. // CreateOrUpdateDisease indicates an expected call of CreateOrUpdateDisease.
  553. func (mr *MockKptServiceMockRecorder) CreateOrUpdateDisease(arg0, arg1 interface{}) *gomock.Call {
  554. mr.mock.ctrl.T.Helper()
  555. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateDisease", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateDisease), arg0, arg1)
  556. }
  557. // CreateOrUpdateDiseaseType mocks base method.
  558. func (m *MockKptService) CreateOrUpdateDiseaseType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  559. m.ctrl.T.Helper()
  560. ret := m.ctrl.Call(m, "CreateOrUpdateDiseaseType", arg0, arg1)
  561. ret0, _ := ret[0].(error)
  562. return ret0
  563. }
  564. // CreateOrUpdateDiseaseType indicates an expected call of CreateOrUpdateDiseaseType.
  565. func (mr *MockKptServiceMockRecorder) CreateOrUpdateDiseaseType(arg0, arg1 interface{}) *gomock.Call {
  566. mr.mock.ctrl.T.Helper()
  567. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateDiseaseType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateDiseaseType), arg0, arg1)
  568. }
  569. // CreateOrUpdatePrescription mocks base method.
  570. func (m *MockKptService) CreateOrUpdatePrescription(arg0 context.Context, arg1 *cowPb.PrescriptionRequest) error {
  571. m.ctrl.T.Helper()
  572. ret := m.ctrl.Call(m, "CreateOrUpdatePrescription", arg0, arg1)
  573. ret0, _ := ret[0].(error)
  574. return ret0
  575. }
  576. // CreateOrUpdatePrescription indicates an expected call of CreateOrUpdatePrescription.
  577. func (mr *MockKptServiceMockRecorder) CreateOrUpdatePrescription(arg0, arg1 interface{}) *gomock.Call {
  578. mr.mock.ctrl.T.Helper()
  579. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdatePrescription", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdatePrescription), arg0, arg1)
  580. }
  581. // CreateOrUpdateSameTime mocks base method.
  582. func (m *MockKptService) CreateOrUpdateSameTime(arg0 context.Context, arg1 *cowPb.SearchSameTimeList) error {
  583. m.ctrl.T.Helper()
  584. ret := m.ctrl.Call(m, "CreateOrUpdateSameTime", arg0, arg1)
  585. ret0, _ := ret[0].(error)
  586. return ret0
  587. }
  588. // CreateOrUpdateSameTime indicates an expected call of CreateOrUpdateSameTime.
  589. func (mr *MockKptServiceMockRecorder) CreateOrUpdateSameTime(arg0, arg1 interface{}) *gomock.Call {
  590. mr.mock.ctrl.T.Helper()
  591. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateSameTime", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateSameTime), arg0, arg1)
  592. }
  593. // CreateOrUpdateSystemMenu mocks base method.
  594. func (m *MockKptService) CreateOrUpdateSystemMenu(arg0 context.Context, arg1 *cowPb.SearchMenuRequest) error {
  595. m.ctrl.T.Helper()
  596. ret := m.ctrl.Call(m, "CreateOrUpdateSystemMenu", arg0, arg1)
  597. ret0, _ := ret[0].(error)
  598. return ret0
  599. }
  600. // CreateOrUpdateSystemMenu indicates an expected call of CreateOrUpdateSystemMenu.
  601. func (mr *MockKptServiceMockRecorder) CreateOrUpdateSystemMenu(arg0, arg1 interface{}) *gomock.Call {
  602. mr.mock.ctrl.T.Helper()
  603. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateSystemMenu", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateSystemMenu), arg0, arg1)
  604. }
  605. // CreateOrUpdateTransferPenReason mocks base method.
  606. func (m *MockKptService) CreateOrUpdateTransferPenReason(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  607. m.ctrl.T.Helper()
  608. ret := m.ctrl.Call(m, "CreateOrUpdateTransferPenReason", arg0, arg1)
  609. ret0, _ := ret[0].(error)
  610. return ret0
  611. }
  612. // CreateOrUpdateTransferPenReason indicates an expected call of CreateOrUpdateTransferPenReason.
  613. func (mr *MockKptServiceMockRecorder) CreateOrUpdateTransferPenReason(arg0, arg1 interface{}) *gomock.Call {
  614. mr.mock.ctrl.T.Helper()
  615. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateTransferPenReason", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateTransferPenReason), arg0, arg1)
  616. }
  617. // CreatedOrUpdateImmunization mocks base method.
  618. func (m *MockKptService) CreatedOrUpdateImmunization(arg0 context.Context, arg1 *cowPb.ImmunizationRequest) error {
  619. m.ctrl.T.Helper()
  620. ret := m.ctrl.Call(m, "CreatedOrUpdateImmunization", arg0, arg1)
  621. ret0, _ := ret[0].(error)
  622. return ret0
  623. }
  624. // CreatedOrUpdateImmunization indicates an expected call of CreatedOrUpdateImmunization.
  625. func (mr *MockKptServiceMockRecorder) CreatedOrUpdateImmunization(arg0, arg1 interface{}) *gomock.Call {
  626. mr.mock.ctrl.T.Helper()
  627. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatedOrUpdateImmunization", reflect.TypeOf((*MockKptService)(nil).CreatedOrUpdateImmunization), arg0, arg1)
  628. }
  629. // DeleteSystemMenu mocks base method.
  630. func (m *MockKptService) DeleteSystemMenu(arg0 context.Context, arg1 int64) error {
  631. m.ctrl.T.Helper()
  632. ret := m.ctrl.Call(m, "DeleteSystemMenu", arg0, arg1)
  633. ret0, _ := ret[0].(error)
  634. return ret0
  635. }
  636. // DeleteSystemMenu indicates an expected call of DeleteSystemMenu.
  637. func (mr *MockKptServiceMockRecorder) DeleteSystemMenu(arg0, arg1 interface{}) *gomock.Call {
  638. mr.mock.ctrl.T.Helper()
  639. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemMenu", reflect.TypeOf((*MockKptService)(nil).DeleteSystemMenu), arg0, arg1)
  640. }
  641. // DeleteSystemRole mocks base method.
  642. func (m *MockKptService) DeleteSystemRole(arg0 context.Context, arg1 int64) error {
  643. m.ctrl.T.Helper()
  644. ret := m.ctrl.Call(m, "DeleteSystemRole", arg0, arg1)
  645. ret0, _ := ret[0].(error)
  646. return ret0
  647. }
  648. // DeleteSystemRole indicates an expected call of DeleteSystemRole.
  649. func (mr *MockKptServiceMockRecorder) DeleteSystemRole(arg0, arg1 interface{}) *gomock.Call {
  650. mr.mock.ctrl.T.Helper()
  651. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemRole", reflect.TypeOf((*MockKptService)(nil).DeleteSystemRole), arg0, arg1)
  652. }
  653. // DeleteSystemUser mocks base method.
  654. func (m *MockKptService) DeleteSystemUser(arg0 context.Context, arg1 int64) error {
  655. m.ctrl.T.Helper()
  656. ret := m.ctrl.Call(m, "DeleteSystemUser", arg0, arg1)
  657. ret0, _ := ret[0].(error)
  658. return ret0
  659. }
  660. // DeleteSystemUser indicates an expected call of DeleteSystemUser.
  661. func (mr *MockKptServiceMockRecorder) DeleteSystemUser(arg0, arg1 interface{}) *gomock.Call {
  662. mr.mock.ctrl.T.Helper()
  663. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemUser", reflect.TypeOf((*MockKptService)(nil).DeleteSystemUser), arg0, arg1)
  664. }
  665. // DepartureBatch mocks base method.
  666. func (m *MockKptService) DepartureBatch(arg0 context.Context, arg1 *cowPb.EventDepartureBatch) error {
  667. m.ctrl.T.Helper()
  668. ret := m.ctrl.Call(m, "DepartureBatch", arg0, arg1)
  669. ret0, _ := ret[0].(error)
  670. return ret0
  671. }
  672. // DepartureBatch indicates an expected call of DepartureBatch.
  673. func (mr *MockKptServiceMockRecorder) DepartureBatch(arg0, arg1 interface{}) *gomock.Call {
  674. mr.mock.ctrl.T.Helper()
  675. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DepartureBatch", reflect.TypeOf((*MockKptService)(nil).DepartureBatch), arg0, arg1)
  676. }
  677. // DiseaseCureReport mocks base method.
  678. func (m *MockKptService) DiseaseCureReport(arg0 context.Context, arg1 *cowPb.DiseaseCureRateRequest) (*cowPb.DiseaseCureRateResponse, error) {
  679. m.ctrl.T.Helper()
  680. ret := m.ctrl.Call(m, "DiseaseCureReport", arg0, arg1)
  681. ret0, _ := ret[0].(*cowPb.DiseaseCureRateResponse)
  682. ret1, _ := ret[1].(error)
  683. return ret0, ret1
  684. }
  685. // DiseaseCureReport indicates an expected call of DiseaseCureReport.
  686. func (mr *MockKptServiceMockRecorder) DiseaseCureReport(arg0, arg1 interface{}) *gomock.Call {
  687. mr.mock.ctrl.T.Helper()
  688. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseCureReport", reflect.TypeOf((*MockKptService)(nil).DiseaseCureReport), arg0, arg1)
  689. }
  690. // DiseaseOptions mocks base method.
  691. func (m *MockKptService) DiseaseOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  692. m.ctrl.T.Helper()
  693. ret := m.ctrl.Call(m, "DiseaseOptions", arg0)
  694. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  695. ret1, _ := ret[1].(error)
  696. return ret0, ret1
  697. }
  698. // DiseaseOptions indicates an expected call of DiseaseOptions.
  699. func (mr *MockKptServiceMockRecorder) DiseaseOptions(arg0 interface{}) *gomock.Call {
  700. mr.mock.ctrl.T.Helper()
  701. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseOptions", reflect.TypeOf((*MockKptService)(nil).DiseaseOptions), arg0)
  702. }
  703. // DiseaseSuggestPrescription mocks base method.
  704. func (m *MockKptService) DiseaseSuggestPrescription(arg0 context.Context, arg1 int64) (*cowPb.ConfigOptionsListResponse, error) {
  705. m.ctrl.T.Helper()
  706. ret := m.ctrl.Call(m, "DiseaseSuggestPrescription", arg0, arg1)
  707. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  708. ret1, _ := ret[1].(error)
  709. return ret0, ret1
  710. }
  711. // DiseaseSuggestPrescription indicates an expected call of DiseaseSuggestPrescription.
  712. func (mr *MockKptServiceMockRecorder) DiseaseSuggestPrescription(arg0, arg1 interface{}) *gomock.Call {
  713. mr.mock.ctrl.T.Helper()
  714. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseSuggestPrescription", reflect.TypeOf((*MockKptService)(nil).DiseaseSuggestPrescription), arg0, arg1)
  715. }
  716. // DiseaseTypeOptions mocks base method.
  717. func (m *MockKptService) DiseaseTypeOptions(arg0 context.Context, arg1 string) (*cowPb.ConfigOptionsListResponse, error) {
  718. m.ctrl.T.Helper()
  719. ret := m.ctrl.Call(m, "DiseaseTypeOptions", arg0, arg1)
  720. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  721. ret1, _ := ret[1].(error)
  722. return ret0, ret1
  723. }
  724. // DiseaseTypeOptions indicates an expected call of DiseaseTypeOptions.
  725. func (mr *MockKptServiceMockRecorder) DiseaseTypeOptions(arg0, arg1 interface{}) *gomock.Call {
  726. mr.mock.ctrl.T.Helper()
  727. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseTypeOptions", reflect.TypeOf((*MockKptService)(nil).DiseaseTypeOptions), arg0, arg1)
  728. }
  729. // DrugsCreateOrUpdate mocks base method.
  730. func (m *MockKptService) DrugsCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchDrugsList) error {
  731. m.ctrl.T.Helper()
  732. ret := m.ctrl.Call(m, "DrugsCreateOrUpdate", arg0, arg1)
  733. ret0, _ := ret[0].(error)
  734. return ret0
  735. }
  736. // DrugsCreateOrUpdate indicates an expected call of DrugsCreateOrUpdate.
  737. func (mr *MockKptServiceMockRecorder) DrugsCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  738. mr.mock.ctrl.T.Helper()
  739. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).DrugsCreateOrUpdate), arg0, arg1)
  740. }
  741. // DrugsList mocks base method.
  742. func (m *MockKptService) DrugsList(arg0 context.Context, arg1 *cowPb.SearchDrugsRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDrugsResponse, error) {
  743. m.ctrl.T.Helper()
  744. ret := m.ctrl.Call(m, "DrugsList", arg0, arg1, arg2)
  745. ret0, _ := ret[0].(*cowPb.SearchDrugsResponse)
  746. ret1, _ := ret[1].(error)
  747. return ret0, ret1
  748. }
  749. // DrugsList indicates an expected call of DrugsList.
  750. func (mr *MockKptServiceMockRecorder) DrugsList(arg0, arg1, arg2 interface{}) *gomock.Call {
  751. mr.mock.ctrl.T.Helper()
  752. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsList", reflect.TypeOf((*MockKptService)(nil).DrugsList), arg0, arg1, arg2)
  753. }
  754. // EnterList mocks base method.
  755. func (m *MockKptService) EnterList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchEnterEventResponse, error) {
  756. m.ctrl.T.Helper()
  757. ret := m.ctrl.Call(m, "EnterList", arg0, arg1, arg2)
  758. ret0, _ := ret[0].(*cowPb.SearchEnterEventResponse)
  759. ret1, _ := ret[1].(error)
  760. return ret0, ret1
  761. }
  762. // EnterList indicates an expected call of EnterList.
  763. func (mr *MockKptServiceMockRecorder) EnterList(arg0, arg1, arg2 interface{}) *gomock.Call {
  764. mr.mock.ctrl.T.Helper()
  765. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnterList", reflect.TypeOf((*MockKptService)(nil).EnterList), arg0, arg1, arg2)
  766. }
  767. // EstrusBatchMating mocks base method.
  768. func (m *MockKptService) EstrusBatchMating(arg0 context.Context, arg1 *cowPb.EventEstrus) error {
  769. m.ctrl.T.Helper()
  770. ret := m.ctrl.Call(m, "EstrusBatchMating", arg0, arg1)
  771. ret0, _ := ret[0].(error)
  772. return ret0
  773. }
  774. // EstrusBatchMating indicates an expected call of EstrusBatchMating.
  775. func (mr *MockKptServiceMockRecorder) EstrusBatchMating(arg0, arg1 interface{}) *gomock.Call {
  776. mr.mock.ctrl.T.Helper()
  777. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstrusBatchMating", reflect.TypeOf((*MockKptService)(nil).EstrusBatchMating), arg0, arg1)
  778. }
  779. // EstrusList mocks base method.
  780. func (m *MockKptService) EstrusList(arg0 context.Context, arg1 *cowPb.EstrusItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.EstrusItemsResponse, error) {
  781. m.ctrl.T.Helper()
  782. ret := m.ctrl.Call(m, "EstrusList", arg0, arg1, arg2)
  783. ret0, _ := ret[0].(*cowPb.EstrusItemsResponse)
  784. ret1, _ := ret[1].(error)
  785. return ret0, ret1
  786. }
  787. // EstrusList indicates an expected call of EstrusList.
  788. func (mr *MockKptServiceMockRecorder) EstrusList(arg0, arg1, arg2 interface{}) *gomock.Call {
  789. mr.mock.ctrl.T.Helper()
  790. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstrusList", reflect.TypeOf((*MockKptService)(nil).EstrusList), arg0, arg1, arg2)
  791. }
  792. // EventList mocks base method.
  793. func (m *MockKptService) EventList(arg0 context.Context, arg1 *cowPb.SearchCowEventListRequest, arg2 *cowPb.PaginationModel) (*cowPb.CowEventListResponse, error) {
  794. m.ctrl.T.Helper()
  795. ret := m.ctrl.Call(m, "EventList", arg0, arg1, arg2)
  796. ret0, _ := ret[0].(*cowPb.CowEventListResponse)
  797. ret1, _ := ret[1].(error)
  798. return ret0, ret1
  799. }
  800. // EventList indicates an expected call of EventList.
  801. func (mr *MockKptServiceMockRecorder) EventList(arg0, arg1, arg2 interface{}) *gomock.Call {
  802. mr.mock.ctrl.T.Helper()
  803. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EventList", reflect.TypeOf((*MockKptService)(nil).EventList), arg0, arg1, arg2)
  804. }
  805. // FrozenSemenCreate mocks base method.
  806. func (m *MockKptService) FrozenSemenCreate(arg0 context.Context, arg1 *cowPb.SearchFrozenSemenList) error {
  807. m.ctrl.T.Helper()
  808. ret := m.ctrl.Call(m, "FrozenSemenCreate", arg0, arg1)
  809. ret0, _ := ret[0].(error)
  810. return ret0
  811. }
  812. // FrozenSemenCreate indicates an expected call of FrozenSemenCreate.
  813. func (mr *MockKptServiceMockRecorder) FrozenSemenCreate(arg0, arg1 interface{}) *gomock.Call {
  814. mr.mock.ctrl.T.Helper()
  815. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FrozenSemenCreate", reflect.TypeOf((*MockKptService)(nil).FrozenSemenCreate), arg0, arg1)
  816. }
  817. // FrozenSemenList mocks base method.
  818. func (m *MockKptService) FrozenSemenList(arg0 context.Context, arg1 *cowPb.FrozenSemenRequest, arg2 *cowPb.PaginationModel) (*cowPb.FrozenSemenResponse, error) {
  819. m.ctrl.T.Helper()
  820. ret := m.ctrl.Call(m, "FrozenSemenList", arg0, arg1, arg2)
  821. ret0, _ := ret[0].(*cowPb.FrozenSemenResponse)
  822. ret1, _ := ret[1].(error)
  823. return ret0, ret1
  824. }
  825. // FrozenSemenList indicates an expected call of FrozenSemenList.
  826. func (mr *MockKptServiceMockRecorder) FrozenSemenList(arg0, arg1, arg2 interface{}) *gomock.Call {
  827. mr.mock.ctrl.T.Helper()
  828. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FrozenSemenList", reflect.TypeOf((*MockKptService)(nil).FrozenSemenList), arg0, arg1, arg2)
  829. }
  830. // GetCurrentUserName mocks base method.
  831. func (m *MockKptService) GetCurrentUserName(arg0 context.Context) (string, error) {
  832. m.ctrl.T.Helper()
  833. ret := m.ctrl.Call(m, "GetCurrentUserName", arg0)
  834. ret0, _ := ret[0].(string)
  835. ret1, _ := ret[1].(error)
  836. return ret0, ret1
  837. }
  838. // GetCurrentUserName indicates an expected call of GetCurrentUserName.
  839. func (mr *MockKptServiceMockRecorder) GetCurrentUserName(arg0 interface{}) *gomock.Call {
  840. mr.mock.ctrl.T.Helper()
  841. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentUserName", reflect.TypeOf((*MockKptService)(nil).GetCurrentUserName), arg0)
  842. }
  843. // GetRoleMenuList mocks base method.
  844. func (m *MockKptService) GetRoleMenuList(arg0 context.Context, arg1 int64) (*cowPb.SystemRoleMenuResponse, error) {
  845. m.ctrl.T.Helper()
  846. ret := m.ctrl.Call(m, "GetRoleMenuList", arg0, arg1)
  847. ret0, _ := ret[0].(*cowPb.SystemRoleMenuResponse)
  848. ret1, _ := ret[1].(error)
  849. return ret0, ret1
  850. }
  851. // GetRoleMenuList indicates an expected call of GetRoleMenuList.
  852. func (mr *MockKptServiceMockRecorder) GetRoleMenuList(arg0, arg1 interface{}) *gomock.Call {
  853. mr.mock.ctrl.T.Helper()
  854. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRoleMenuList", reflect.TypeOf((*MockKptService)(nil).GetRoleMenuList), arg0, arg1)
  855. }
  856. // GetSystemUserMenu mocks base method.
  857. func (m *MockKptService) GetSystemUserMenu(arg0 context.Context) (*cowPb.SystemUserMenuTreeResponse, error) {
  858. m.ctrl.T.Helper()
  859. ret := m.ctrl.Call(m, "GetSystemUserMenu", arg0)
  860. ret0, _ := ret[0].(*cowPb.SystemUserMenuTreeResponse)
  861. ret1, _ := ret[1].(error)
  862. return ret0, ret1
  863. }
  864. // GetSystemUserMenu indicates an expected call of GetSystemUserMenu.
  865. func (mr *MockKptServiceMockRecorder) GetSystemUserMenu(arg0 interface{}) *gomock.Call {
  866. mr.mock.ctrl.T.Helper()
  867. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSystemUserMenu", reflect.TypeOf((*MockKptService)(nil).GetSystemUserMenu), arg0)
  868. }
  869. // GroupTransferList mocks base method.
  870. func (m *MockKptService) GroupTransferList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchTransferGroupEventResponse, error) {
  871. m.ctrl.T.Helper()
  872. ret := m.ctrl.Call(m, "GroupTransferList", arg0, arg1, arg2)
  873. ret0, _ := ret[0].(*cowPb.SearchTransferGroupEventResponse)
  874. ret1, _ := ret[1].(error)
  875. return ret0, ret1
  876. }
  877. // GroupTransferList indicates an expected call of GroupTransferList.
  878. func (mr *MockKptServiceMockRecorder) GroupTransferList(arg0, arg1, arg2 interface{}) *gomock.Call {
  879. mr.mock.ctrl.T.Helper()
  880. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GroupTransferList", reflect.TypeOf((*MockKptService)(nil).GroupTransferList), arg0, arg1, arg2)
  881. }
  882. // GrowthCurve mocks base method.
  883. func (m *MockKptService) GrowthCurve(arg0 context.Context, arg1 *cowPb.SearchGrowthCurvesRequest) (*cowPb.GrowthCurvesResponse, error) {
  884. m.ctrl.T.Helper()
  885. ret := m.ctrl.Call(m, "GrowthCurve", arg0, arg1)
  886. ret0, _ := ret[0].(*cowPb.GrowthCurvesResponse)
  887. ret1, _ := ret[1].(error)
  888. return ret0, ret1
  889. }
  890. // GrowthCurve indicates an expected call of GrowthCurve.
  891. func (mr *MockKptServiceMockRecorder) GrowthCurve(arg0, arg1 interface{}) *gomock.Call {
  892. mr.mock.ctrl.T.Helper()
  893. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GrowthCurve", reflect.TypeOf((*MockKptService)(nil).GrowthCurve), arg0, arg1)
  894. }
  895. // ImmunisationCowList mocks base method.
  896. func (m *MockKptService) ImmunisationCowList(arg0 context.Context, arg1 *cowPb.ItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.ImmunizationItemsResponse, error) {
  897. m.ctrl.T.Helper()
  898. ret := m.ctrl.Call(m, "ImmunisationCowList", arg0, arg1, arg2)
  899. ret0, _ := ret[0].(*cowPb.ImmunizationItemsResponse)
  900. ret1, _ := ret[1].(error)
  901. return ret0, ret1
  902. }
  903. // ImmunisationCowList indicates an expected call of ImmunisationCowList.
  904. func (mr *MockKptServiceMockRecorder) ImmunisationCowList(arg0, arg1, arg2 interface{}) *gomock.Call {
  905. mr.mock.ctrl.T.Helper()
  906. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImmunisationCowList", reflect.TypeOf((*MockKptService)(nil).ImmunisationCowList), arg0, arg1, arg2)
  907. }
  908. // ImmunizationIsShow mocks base method.
  909. func (m *MockKptService) ImmunizationIsShow(arg0 context.Context, arg1 int64) error {
  910. m.ctrl.T.Helper()
  911. ret := m.ctrl.Call(m, "ImmunizationIsShow", arg0, arg1)
  912. ret0, _ := ret[0].(error)
  913. return ret0
  914. }
  915. // ImmunizationIsShow indicates an expected call of ImmunizationIsShow.
  916. func (mr *MockKptServiceMockRecorder) ImmunizationIsShow(arg0, arg1 interface{}) *gomock.Call {
  917. mr.mock.ctrl.T.Helper()
  918. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImmunizationIsShow", reflect.TypeOf((*MockKptService)(nil).ImmunizationIsShow), arg0, arg1)
  919. }
  920. // ImmunizationList mocks base method.
  921. func (m *MockKptService) ImmunizationList(arg0 context.Context, arg1 *cowPb.ImmunizationRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchImmunizationResponse, error) {
  922. m.ctrl.T.Helper()
  923. ret := m.ctrl.Call(m, "ImmunizationList", arg0, arg1, arg2)
  924. ret0, _ := ret[0].(*cowPb.SearchImmunizationResponse)
  925. ret1, _ := ret[1].(error)
  926. return ret0, ret1
  927. }
  928. // ImmunizationList indicates an expected call of ImmunizationList.
  929. func (mr *MockKptServiceMockRecorder) ImmunizationList(arg0, arg1, arg2 interface{}) *gomock.Call {
  930. mr.mock.ctrl.T.Helper()
  931. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImmunizationList", reflect.TypeOf((*MockKptService)(nil).ImmunizationList), arg0, arg1, arg2)
  932. }
  933. // IsShowSystemRole mocks base method.
  934. func (m *MockKptService) IsShowSystemRole(arg0 context.Context, arg1 int64) error {
  935. m.ctrl.T.Helper()
  936. ret := m.ctrl.Call(m, "IsShowSystemRole", arg0, arg1)
  937. ret0, _ := ret[0].(error)
  938. return ret0
  939. }
  940. // IsShowSystemRole indicates an expected call of IsShowSystemRole.
  941. func (mr *MockKptServiceMockRecorder) IsShowSystemRole(arg0, arg1 interface{}) *gomock.Call {
  942. mr.mock.ctrl.T.Helper()
  943. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemRole", reflect.TypeOf((*MockKptService)(nil).IsShowSystemRole), arg0, arg1)
  944. }
  945. // IsShowSystemUser mocks base method.
  946. func (m *MockKptService) IsShowSystemUser(arg0 context.Context, arg1 int64) error {
  947. m.ctrl.T.Helper()
  948. ret := m.ctrl.Call(m, "IsShowSystemUser", arg0, arg1)
  949. ret0, _ := ret[0].(error)
  950. return ret0
  951. }
  952. // IsShowSystemUser indicates an expected call of IsShowSystemUser.
  953. func (mr *MockKptServiceMockRecorder) IsShowSystemUser(arg0, arg1 interface{}) *gomock.Call {
  954. mr.mock.ctrl.T.Helper()
  955. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemUser", reflect.TypeOf((*MockKptService)(nil).IsShowSystemUser), arg0, arg1)
  956. }
  957. // List mocks base method.
  958. func (m *MockKptService) List(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchCowListResponse, error) {
  959. m.ctrl.T.Helper()
  960. ret := m.ctrl.Call(m, "List", arg0, arg1, arg2)
  961. ret0, _ := ret[0].(*cowPb.SearchCowListResponse)
  962. ret1, _ := ret[1].(error)
  963. return ret0, ret1
  964. }
  965. // List indicates an expected call of List.
  966. func (mr *MockKptServiceMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call {
  967. mr.mock.ctrl.T.Helper()
  968. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockKptService)(nil).List), arg0, arg1, arg2)
  969. }
  970. // Login mocks base method.
  971. func (m *MockKptService) Login(arg0 context.Context, arg1 *cowPb.SearchUserRequest) (*cowPb.SystemUserResponse, error) {
  972. m.ctrl.T.Helper()
  973. ret := m.ctrl.Call(m, "Login", arg0, arg1)
  974. ret0, _ := ret[0].(*cowPb.SystemUserResponse)
  975. ret1, _ := ret[1].(error)
  976. return ret0, ret1
  977. }
  978. // Login indicates an expected call of Login.
  979. func (mr *MockKptServiceMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call {
  980. mr.mock.ctrl.T.Helper()
  981. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Login", reflect.TypeOf((*MockKptService)(nil).Login), arg0, arg1)
  982. }
  983. // MatingCowList mocks base method.
  984. func (m *MockKptService) MatingCowList(arg0 context.Context, arg1 *cowPb.ItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.MatingItemsResponse, error) {
  985. m.ctrl.T.Helper()
  986. ret := m.ctrl.Call(m, "MatingCowList", arg0, arg1, arg2)
  987. ret0, _ := ret[0].(*cowPb.MatingItemsResponse)
  988. ret1, _ := ret[1].(error)
  989. return ret0, ret1
  990. }
  991. // MatingCowList indicates an expected call of MatingCowList.
  992. func (mr *MockKptServiceMockRecorder) MatingCowList(arg0, arg1, arg2 interface{}) *gomock.Call {
  993. mr.mock.ctrl.T.Helper()
  994. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingCowList", reflect.TypeOf((*MockKptService)(nil).MatingCowList), arg0, arg1, arg2)
  995. }
  996. // MatingCreate mocks base method.
  997. func (m *MockKptService) MatingCreate(arg0 context.Context, arg1 *cowPb.EventMating) error {
  998. m.ctrl.T.Helper()
  999. ret := m.ctrl.Call(m, "MatingCreate", arg0, arg1)
  1000. ret0, _ := ret[0].(error)
  1001. return ret0
  1002. }
  1003. // MatingCreate indicates an expected call of MatingCreate.
  1004. func (mr *MockKptServiceMockRecorder) MatingCreate(arg0, arg1 interface{}) *gomock.Call {
  1005. mr.mock.ctrl.T.Helper()
  1006. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingCreate", reflect.TypeOf((*MockKptService)(nil).MatingCreate), arg0, arg1)
  1007. }
  1008. // MatingList mocks base method.
  1009. func (m *MockKptService) MatingList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.MatingEventResponse, error) {
  1010. m.ctrl.T.Helper()
  1011. ret := m.ctrl.Call(m, "MatingList", arg0, arg1, arg2)
  1012. ret0, _ := ret[0].(*cowPb.MatingEventResponse)
  1013. ret1, _ := ret[1].(error)
  1014. return ret0, ret1
  1015. }
  1016. // MatingList indicates an expected call of MatingList.
  1017. func (mr *MockKptServiceMockRecorder) MatingList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1018. mr.mock.ctrl.T.Helper()
  1019. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingList", reflect.TypeOf((*MockKptService)(nil).MatingList), arg0, arg1, arg2)
  1020. }
  1021. // MatingTimely mocks base method.
  1022. func (m *MockKptService) MatingTimely(arg0 context.Context, arg1 *cowPb.MatingTimelyRequest) (*model.MatingTimelyResponse, error) {
  1023. m.ctrl.T.Helper()
  1024. ret := m.ctrl.Call(m, "MatingTimely", arg0, arg1)
  1025. ret0, _ := ret[0].(*model.MatingTimelyResponse)
  1026. ret1, _ := ret[1].(error)
  1027. return ret0, ret1
  1028. }
  1029. // MatingTimely indicates an expected call of MatingTimely.
  1030. func (mr *MockKptServiceMockRecorder) MatingTimely(arg0, arg1 interface{}) *gomock.Call {
  1031. mr.mock.ctrl.T.Helper()
  1032. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingTimely", reflect.TypeOf((*MockKptService)(nil).MatingTimely), arg0, arg1)
  1033. }
  1034. // MedicalEquipmentCreateOrUpdate mocks base method.
  1035. func (m *MockKptService) MedicalEquipmentCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchMedicalEquipmentList) error {
  1036. m.ctrl.T.Helper()
  1037. ret := m.ctrl.Call(m, "MedicalEquipmentCreateOrUpdate", arg0, arg1)
  1038. ret0, _ := ret[0].(error)
  1039. return ret0
  1040. }
  1041. // MedicalEquipmentCreateOrUpdate indicates an expected call of MedicalEquipmentCreateOrUpdate.
  1042. func (mr *MockKptServiceMockRecorder) MedicalEquipmentCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  1043. mr.mock.ctrl.T.Helper()
  1044. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MedicalEquipmentCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).MedicalEquipmentCreateOrUpdate), arg0, arg1)
  1045. }
  1046. // MedicalEquipmentList mocks base method.
  1047. func (m *MockKptService) MedicalEquipmentList(arg0 context.Context, arg1 *cowPb.SearchMedicalEquipmentRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchMedicalEquipmentResponse, error) {
  1048. m.ctrl.T.Helper()
  1049. ret := m.ctrl.Call(m, "MedicalEquipmentList", arg0, arg1, arg2)
  1050. ret0, _ := ret[0].(*cowPb.SearchMedicalEquipmentResponse)
  1051. ret1, _ := ret[1].(error)
  1052. return ret0, ret1
  1053. }
  1054. // MedicalEquipmentList indicates an expected call of MedicalEquipmentList.
  1055. func (mr *MockKptServiceMockRecorder) MedicalEquipmentList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1056. mr.mock.ctrl.T.Helper()
  1057. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MedicalEquipmentList", reflect.TypeOf((*MockKptService)(nil).MedicalEquipmentList), arg0, arg1, arg2)
  1058. }
  1059. // MultipleFactorAnalysis mocks base method.
  1060. func (m *MockKptService) MultipleFactorAnalysis(arg0 context.Context, arg1 *cowPb.MultiFactorPregnancyRateRequest) (*model.MultiFactorPregnancyRateResponse, error) {
  1061. m.ctrl.T.Helper()
  1062. ret := m.ctrl.Call(m, "MultipleFactorAnalysis", arg0, arg1)
  1063. ret0, _ := ret[0].(*model.MultiFactorPregnancyRateResponse)
  1064. ret1, _ := ret[1].(error)
  1065. return ret0, ret1
  1066. }
  1067. // MultipleFactorAnalysis indicates an expected call of MultipleFactorAnalysis.
  1068. func (mr *MockKptServiceMockRecorder) MultipleFactorAnalysis(arg0, arg1 interface{}) *gomock.Call {
  1069. mr.mock.ctrl.T.Helper()
  1070. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MultipleFactorAnalysis", reflect.TypeOf((*MockKptService)(nil).MultipleFactorAnalysis), arg0, arg1)
  1071. }
  1072. // NeckRingCreateOrUpdate mocks base method.
  1073. func (m *MockKptService) NeckRingCreateOrUpdate(arg0 context.Context, arg1 *cowPb.NeckRingCreateRequest) error {
  1074. m.ctrl.T.Helper()
  1075. ret := m.ctrl.Call(m, "NeckRingCreateOrUpdate", arg0, arg1)
  1076. ret0, _ := ret[0].(error)
  1077. return ret0
  1078. }
  1079. // NeckRingCreateOrUpdate indicates an expected call of NeckRingCreateOrUpdate.
  1080. func (mr *MockKptServiceMockRecorder) NeckRingCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  1081. mr.mock.ctrl.T.Helper()
  1082. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NeckRingCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).NeckRingCreateOrUpdate), arg0, arg1)
  1083. }
  1084. // NeckRingList mocks base method.
  1085. func (m *MockKptService) NeckRingList(arg0 context.Context, arg1 *cowPb.SearchNeckRingRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchNeckRingResponse, error) {
  1086. m.ctrl.T.Helper()
  1087. ret := m.ctrl.Call(m, "NeckRingList", arg0, arg1, arg2)
  1088. ret0, _ := ret[0].(*cowPb.SearchNeckRingResponse)
  1089. ret1, _ := ret[1].(error)
  1090. return ret0, ret1
  1091. }
  1092. // NeckRingList indicates an expected call of NeckRingList.
  1093. func (mr *MockKptServiceMockRecorder) NeckRingList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1094. mr.mock.ctrl.T.Helper()
  1095. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NeckRingList", reflect.TypeOf((*MockKptService)(nil).NeckRingList), arg0, arg1, arg2)
  1096. }
  1097. // OrderCreateOrUpdate mocks base method.
  1098. func (m *MockKptService) OrderCreateOrUpdate(arg0 context.Context, arg1 *cowPb.WorkOrderList) error {
  1099. m.ctrl.T.Helper()
  1100. ret := m.ctrl.Call(m, "OrderCreateOrUpdate", arg0, arg1)
  1101. ret0, _ := ret[0].(error)
  1102. return ret0
  1103. }
  1104. // OrderCreateOrUpdate indicates an expected call of OrderCreateOrUpdate.
  1105. func (mr *MockKptServiceMockRecorder) OrderCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  1106. mr.mock.ctrl.T.Helper()
  1107. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OrderCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).OrderCreateOrUpdate), arg0, arg1)
  1108. }
  1109. // OrderIsShow mocks base method.
  1110. func (m *MockKptService) OrderIsShow(arg0 context.Context, arg1 int64) error {
  1111. m.ctrl.T.Helper()
  1112. ret := m.ctrl.Call(m, "OrderIsShow", arg0, arg1)
  1113. ret0, _ := ret[0].(error)
  1114. return ret0
  1115. }
  1116. // OrderIsShow indicates an expected call of OrderIsShow.
  1117. func (mr *MockKptServiceMockRecorder) OrderIsShow(arg0, arg1 interface{}) *gomock.Call {
  1118. mr.mock.ctrl.T.Helper()
  1119. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OrderIsShow", reflect.TypeOf((*MockKptService)(nil).OrderIsShow), arg0, arg1)
  1120. }
  1121. // OrderList mocks base method.
  1122. func (m *MockKptService) OrderList(arg0 context.Context, arg1 *cowPb.SearchWorkOrderRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchWorkOrderResponse, error) {
  1123. m.ctrl.T.Helper()
  1124. ret := m.ctrl.Call(m, "OrderList", arg0, arg1, arg2)
  1125. ret0, _ := ret[0].(*cowPb.SearchWorkOrderResponse)
  1126. ret1, _ := ret[1].(error)
  1127. return ret0, ret1
  1128. }
  1129. // OrderList indicates an expected call of OrderList.
  1130. func (mr *MockKptServiceMockRecorder) OrderList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1131. mr.mock.ctrl.T.Helper()
  1132. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OrderList", reflect.TypeOf((*MockKptService)(nil).OrderList), arg0, arg1, arg2)
  1133. }
  1134. // OutboundApply mocks base method.
  1135. func (m *MockKptService) OutboundApply(arg0 context.Context, arg1 *cowPb.OutboundApplyItem) error {
  1136. m.ctrl.T.Helper()
  1137. ret := m.ctrl.Call(m, "OutboundApply", arg0, arg1)
  1138. ret0, _ := ret[0].(error)
  1139. return ret0
  1140. }
  1141. // OutboundApply indicates an expected call of OutboundApply.
  1142. func (mr *MockKptServiceMockRecorder) OutboundApply(arg0, arg1 interface{}) *gomock.Call {
  1143. mr.mock.ctrl.T.Helper()
  1144. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundApply", reflect.TypeOf((*MockKptService)(nil).OutboundApply), arg0, arg1)
  1145. }
  1146. // OutboundAudit mocks base method.
  1147. func (m *MockKptService) OutboundAudit(arg0 context.Context, arg1 *cowPb.OutboundApplyAuditRequest) error {
  1148. m.ctrl.T.Helper()
  1149. ret := m.ctrl.Call(m, "OutboundAudit", arg0, arg1)
  1150. ret0, _ := ret[0].(error)
  1151. return ret0
  1152. }
  1153. // OutboundAudit indicates an expected call of OutboundAudit.
  1154. func (mr *MockKptServiceMockRecorder) OutboundAudit(arg0, arg1 interface{}) *gomock.Call {
  1155. mr.mock.ctrl.T.Helper()
  1156. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundAudit", reflect.TypeOf((*MockKptService)(nil).OutboundAudit), arg0, arg1)
  1157. }
  1158. // OutboundDelete mocks base method.
  1159. func (m *MockKptService) OutboundDelete(arg0 context.Context, arg1 int64) error {
  1160. m.ctrl.T.Helper()
  1161. ret := m.ctrl.Call(m, "OutboundDelete", arg0, arg1)
  1162. ret0, _ := ret[0].(error)
  1163. return ret0
  1164. }
  1165. // OutboundDelete indicates an expected call of OutboundDelete.
  1166. func (mr *MockKptServiceMockRecorder) OutboundDelete(arg0, arg1 interface{}) *gomock.Call {
  1167. mr.mock.ctrl.T.Helper()
  1168. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundDelete", reflect.TypeOf((*MockKptService)(nil).OutboundDelete), arg0, arg1)
  1169. }
  1170. // OutboundDetail mocks base method.
  1171. func (m *MockKptService) OutboundDetail(arg0 context.Context, arg1 int64) (*cowPb.OutboundDetailResponse, error) {
  1172. m.ctrl.T.Helper()
  1173. ret := m.ctrl.Call(m, "OutboundDetail", arg0, arg1)
  1174. ret0, _ := ret[0].(*cowPb.OutboundDetailResponse)
  1175. ret1, _ := ret[1].(error)
  1176. return ret0, ret1
  1177. }
  1178. // OutboundDetail indicates an expected call of OutboundDetail.
  1179. func (mr *MockKptServiceMockRecorder) OutboundDetail(arg0, arg1 interface{}) *gomock.Call {
  1180. mr.mock.ctrl.T.Helper()
  1181. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundDetail", reflect.TypeOf((*MockKptService)(nil).OutboundDetail), arg0, arg1)
  1182. }
  1183. // OutboundList mocks base method.
  1184. func (m *MockKptService) OutboundList(arg0 context.Context, arg1 *cowPb.SearchOutboundApplyRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchOutboundApplyResponse, error) {
  1185. m.ctrl.T.Helper()
  1186. ret := m.ctrl.Call(m, "OutboundList", arg0, arg1, arg2)
  1187. ret0, _ := ret[0].(*cowPb.SearchOutboundApplyResponse)
  1188. ret1, _ := ret[1].(error)
  1189. return ret0, ret1
  1190. }
  1191. // OutboundList indicates an expected call of OutboundList.
  1192. func (mr *MockKptServiceMockRecorder) OutboundList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1193. mr.mock.ctrl.T.Helper()
  1194. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundList", reflect.TypeOf((*MockKptService)(nil).OutboundList), arg0, arg1, arg2)
  1195. }
  1196. // PenWeight mocks base method.
  1197. func (m *MockKptService) PenWeight(arg0 context.Context, arg1 *cowPb.PenWeightRequest, arg2 *cowPb.PaginationModel) (*cowPb.PenWeightResponse, error) {
  1198. m.ctrl.T.Helper()
  1199. ret := m.ctrl.Call(m, "PenWeight", arg0, arg1, arg2)
  1200. ret0, _ := ret[0].(*cowPb.PenWeightResponse)
  1201. ret1, _ := ret[1].(error)
  1202. return ret0, ret1
  1203. }
  1204. // PenWeight indicates an expected call of PenWeight.
  1205. func (mr *MockKptServiceMockRecorder) PenWeight(arg0, arg1, arg2 interface{}) *gomock.Call {
  1206. mr.mock.ctrl.T.Helper()
  1207. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PenWeight", reflect.TypeOf((*MockKptService)(nil).PenWeight), arg0, arg1, arg2)
  1208. }
  1209. // PregnancyCheckCowList mocks base method.
  1210. func (m *MockKptService) PregnancyCheckCowList(arg0 context.Context, arg1 *cowPb.ItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.PregnancyCheckItemsResponse, error) {
  1211. m.ctrl.T.Helper()
  1212. ret := m.ctrl.Call(m, "PregnancyCheckCowList", arg0, arg1, arg2)
  1213. ret0, _ := ret[0].(*cowPb.PregnancyCheckItemsResponse)
  1214. ret1, _ := ret[1].(error)
  1215. return ret0, ret1
  1216. }
  1217. // PregnancyCheckCowList indicates an expected call of PregnancyCheckCowList.
  1218. func (mr *MockKptServiceMockRecorder) PregnancyCheckCowList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1219. mr.mock.ctrl.T.Helper()
  1220. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnancyCheckCowList", reflect.TypeOf((*MockKptService)(nil).PregnancyCheckCowList), arg0, arg1, arg2)
  1221. }
  1222. // PregnancyReport mocks base method.
  1223. func (m *MockKptService) PregnancyReport(arg0 context.Context, arg1 *cowPb.PregnancyReportRequest, arg2 *cowPb.PaginationModel) (*cowPb.PregnancyReportResponse, error) {
  1224. m.ctrl.T.Helper()
  1225. ret := m.ctrl.Call(m, "PregnancyReport", arg0, arg1, arg2)
  1226. ret0, _ := ret[0].(*cowPb.PregnancyReportResponse)
  1227. ret1, _ := ret[1].(error)
  1228. return ret0, ret1
  1229. }
  1230. // PregnancyReport indicates an expected call of PregnancyReport.
  1231. func (mr *MockKptServiceMockRecorder) PregnancyReport(arg0, arg1, arg2 interface{}) *gomock.Call {
  1232. mr.mock.ctrl.T.Helper()
  1233. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnancyReport", reflect.TypeOf((*MockKptService)(nil).PregnancyReport), arg0, arg1, arg2)
  1234. }
  1235. // PregnantCheckCreateBatch mocks base method.
  1236. func (m *MockKptService) PregnantCheckCreateBatch(arg0 context.Context, arg1 *cowPb.EventPregnantCheckBatch) error {
  1237. m.ctrl.T.Helper()
  1238. ret := m.ctrl.Call(m, "PregnantCheckCreateBatch", arg0, arg1)
  1239. ret0, _ := ret[0].(error)
  1240. return ret0
  1241. }
  1242. // PregnantCheckCreateBatch indicates an expected call of PregnantCheckCreateBatch.
  1243. func (mr *MockKptServiceMockRecorder) PregnantCheckCreateBatch(arg0, arg1 interface{}) *gomock.Call {
  1244. mr.mock.ctrl.T.Helper()
  1245. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnantCheckCreateBatch", reflect.TypeOf((*MockKptService)(nil).PregnantCheckCreateBatch), arg0, arg1)
  1246. }
  1247. // PregnantCheckList mocks base method.
  1248. func (m *MockKptService) PregnantCheckList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.PregnantCheckEventResponse, error) {
  1249. m.ctrl.T.Helper()
  1250. ret := m.ctrl.Call(m, "PregnantCheckList", arg0, arg1, arg2)
  1251. ret0, _ := ret[0].(*cowPb.PregnantCheckEventResponse)
  1252. ret1, _ := ret[1].(error)
  1253. return ret0, ret1
  1254. }
  1255. // PregnantCheckList indicates an expected call of PregnantCheckList.
  1256. func (mr *MockKptServiceMockRecorder) PregnantCheckList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1257. mr.mock.ctrl.T.Helper()
  1258. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnantCheckList", reflect.TypeOf((*MockKptService)(nil).PregnantCheckList), arg0, arg1, arg2)
  1259. }
  1260. // PrescriptionDetail mocks base method.
  1261. func (m *MockKptService) PrescriptionDetail(arg0 context.Context, arg1 int64) (*cowPb.PrescriptionDetailResponse, error) {
  1262. m.ctrl.T.Helper()
  1263. ret := m.ctrl.Call(m, "PrescriptionDetail", arg0, arg1)
  1264. ret0, _ := ret[0].(*cowPb.PrescriptionDetailResponse)
  1265. ret1, _ := ret[1].(error)
  1266. return ret0, ret1
  1267. }
  1268. // PrescriptionDetail indicates an expected call of PrescriptionDetail.
  1269. func (mr *MockKptServiceMockRecorder) PrescriptionDetail(arg0, arg1 interface{}) *gomock.Call {
  1270. mr.mock.ctrl.T.Helper()
  1271. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrescriptionDetail", reflect.TypeOf((*MockKptService)(nil).PrescriptionDetail), arg0, arg1)
  1272. }
  1273. // PrescriptionOptions mocks base method.
  1274. func (m *MockKptService) PrescriptionOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  1275. m.ctrl.T.Helper()
  1276. ret := m.ctrl.Call(m, "PrescriptionOptions", arg0)
  1277. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  1278. ret1, _ := ret[1].(error)
  1279. return ret0, ret1
  1280. }
  1281. // PrescriptionOptions indicates an expected call of PrescriptionOptions.
  1282. func (mr *MockKptServiceMockRecorder) PrescriptionOptions(arg0 interface{}) *gomock.Call {
  1283. mr.mock.ctrl.T.Helper()
  1284. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrescriptionOptions", reflect.TypeOf((*MockKptService)(nil).PrescriptionOptions), arg0)
  1285. }
  1286. // ResetPasswordSystemUser mocks base method.
  1287. func (m *MockKptService) ResetPasswordSystemUser(arg0 context.Context, arg1 *cowPb.ResetUserPasswordRequest) error {
  1288. m.ctrl.T.Helper()
  1289. ret := m.ctrl.Call(m, "ResetPasswordSystemUser", arg0, arg1)
  1290. ret0, _ := ret[0].(error)
  1291. return ret0
  1292. }
  1293. // ResetPasswordSystemUser indicates an expected call of ResetPasswordSystemUser.
  1294. func (mr *MockKptServiceMockRecorder) ResetPasswordSystemUser(arg0, arg1 interface{}) *gomock.Call {
  1295. mr.mock.ctrl.T.Helper()
  1296. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetPasswordSystemUser", reflect.TypeOf((*MockKptService)(nil).ResetPasswordSystemUser), arg0, arg1)
  1297. }
  1298. // RoleMenuSave mocks base method.
  1299. func (m *MockKptService) RoleMenuSave(arg0 context.Context, arg1 *cowPb.SystemRoleMenuRequest) error {
  1300. m.ctrl.T.Helper()
  1301. ret := m.ctrl.Call(m, "RoleMenuSave", arg0, arg1)
  1302. ret0, _ := ret[0].(error)
  1303. return ret0
  1304. }
  1305. // RoleMenuSave indicates an expected call of RoleMenuSave.
  1306. func (mr *MockKptServiceMockRecorder) RoleMenuSave(arg0, arg1 interface{}) *gomock.Call {
  1307. mr.mock.ctrl.T.Helper()
  1308. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RoleMenuSave", reflect.TypeOf((*MockKptService)(nil).RoleMenuSave), arg0, arg1)
  1309. }
  1310. // SaleCowReport mocks base method.
  1311. func (m *MockKptService) SaleCowReport(arg0 context.Context, arg1 *cowPb.SaleCowReportRequest) (*cowPb.SaleCowReportResponse, error) {
  1312. m.ctrl.T.Helper()
  1313. ret := m.ctrl.Call(m, "SaleCowReport", arg0, arg1)
  1314. ret0, _ := ret[0].(*cowPb.SaleCowReportResponse)
  1315. ret1, _ := ret[1].(error)
  1316. return ret0, ret1
  1317. }
  1318. // SaleCowReport indicates an expected call of SaleCowReport.
  1319. func (mr *MockKptServiceMockRecorder) SaleCowReport(arg0, arg1 interface{}) *gomock.Call {
  1320. mr.mock.ctrl.T.Helper()
  1321. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SaleCowReport", reflect.TypeOf((*MockKptService)(nil).SaleCowReport), arg0, arg1)
  1322. }
  1323. // SameTimeBatch mocks base method.
  1324. func (m *MockKptService) SameTimeBatch(arg0 context.Context, arg1 *cowPb.EventSameTimeBatch) error {
  1325. m.ctrl.T.Helper()
  1326. ret := m.ctrl.Call(m, "SameTimeBatch", arg0, arg1)
  1327. ret0, _ := ret[0].(error)
  1328. return ret0
  1329. }
  1330. // SameTimeBatch indicates an expected call of SameTimeBatch.
  1331. func (mr *MockKptServiceMockRecorder) SameTimeBatch(arg0, arg1 interface{}) *gomock.Call {
  1332. mr.mock.ctrl.T.Helper()
  1333. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeBatch", reflect.TypeOf((*MockKptService)(nil).SameTimeBatch), arg0, arg1)
  1334. }
  1335. // SameTimeCowList mocks base method.
  1336. func (m *MockKptService) SameTimeCowList(arg0 context.Context, arg1 *cowPb.ItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.SameTimeItemResponse, error) {
  1337. m.ctrl.T.Helper()
  1338. ret := m.ctrl.Call(m, "SameTimeCowList", arg0, arg1, arg2)
  1339. ret0, _ := ret[0].(*cowPb.SameTimeItemResponse)
  1340. ret1, _ := ret[1].(error)
  1341. return ret0, ret1
  1342. }
  1343. // SameTimeCowList indicates an expected call of SameTimeCowList.
  1344. func (mr *MockKptServiceMockRecorder) SameTimeCowList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1345. mr.mock.ctrl.T.Helper()
  1346. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeCowList", reflect.TypeOf((*MockKptService)(nil).SameTimeCowList), arg0, arg1, arg2)
  1347. }
  1348. // SameTimeCreate mocks base method.
  1349. func (m *MockKptService) SameTimeCreate(arg0 context.Context, arg1 *cowPb.EventSameTime) error {
  1350. m.ctrl.T.Helper()
  1351. ret := m.ctrl.Call(m, "SameTimeCreate", arg0, arg1)
  1352. ret0, _ := ret[0].(error)
  1353. return ret0
  1354. }
  1355. // SameTimeCreate indicates an expected call of SameTimeCreate.
  1356. func (mr *MockKptServiceMockRecorder) SameTimeCreate(arg0, arg1 interface{}) *gomock.Call {
  1357. mr.mock.ctrl.T.Helper()
  1358. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeCreate", reflect.TypeOf((*MockKptService)(nil).SameTimeCreate), arg0, arg1)
  1359. }
  1360. // SameTimeIsShow mocks base method.
  1361. func (m *MockKptService) SameTimeIsShow(arg0 context.Context, arg1 int64) error {
  1362. m.ctrl.T.Helper()
  1363. ret := m.ctrl.Call(m, "SameTimeIsShow", arg0, arg1)
  1364. ret0, _ := ret[0].(error)
  1365. return ret0
  1366. }
  1367. // SameTimeIsShow indicates an expected call of SameTimeIsShow.
  1368. func (mr *MockKptServiceMockRecorder) SameTimeIsShow(arg0, arg1 interface{}) *gomock.Call {
  1369. mr.mock.ctrl.T.Helper()
  1370. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeIsShow", reflect.TypeOf((*MockKptService)(nil).SameTimeIsShow), arg0, arg1)
  1371. }
  1372. // SameTimeList mocks base method.
  1373. func (m *MockKptService) SameTimeList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchSameTimeResponse, error) {
  1374. m.ctrl.T.Helper()
  1375. ret := m.ctrl.Call(m, "SameTimeList", arg0, arg1, arg2)
  1376. ret0, _ := ret[0].(*cowPb.SearchSameTimeResponse)
  1377. ret1, _ := ret[1].(error)
  1378. return ret0, ret1
  1379. }
  1380. // SameTimeList indicates an expected call of SameTimeList.
  1381. func (mr *MockKptServiceMockRecorder) SameTimeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1382. mr.mock.ctrl.T.Helper()
  1383. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeList", reflect.TypeOf((*MockKptService)(nil).SameTimeList), arg0, arg1, arg2)
  1384. }
  1385. // SearchBarnList mocks base method.
  1386. func (m *MockKptService) SearchBarnList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBarnResponse, error) {
  1387. m.ctrl.T.Helper()
  1388. ret := m.ctrl.Call(m, "SearchBarnList", arg0, arg1, arg2)
  1389. ret0, _ := ret[0].(*cowPb.SearchBarnResponse)
  1390. ret1, _ := ret[1].(error)
  1391. return ret0, ret1
  1392. }
  1393. // SearchBarnList indicates an expected call of SearchBarnList.
  1394. func (mr *MockKptServiceMockRecorder) SearchBarnList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1395. mr.mock.ctrl.T.Helper()
  1396. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBarnList", reflect.TypeOf((*MockKptService)(nil).SearchBarnList), arg0, arg1, arg2)
  1397. }
  1398. // SearchBarnTypeList mocks base method.
  1399. func (m *MockKptService) SearchBarnTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1400. m.ctrl.T.Helper()
  1401. ret := m.ctrl.Call(m, "SearchBarnTypeList", arg0, arg1, arg2)
  1402. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1403. ret1, _ := ret[1].(error)
  1404. return ret0, ret1
  1405. }
  1406. // SearchBarnTypeList indicates an expected call of SearchBarnTypeList.
  1407. func (mr *MockKptServiceMockRecorder) SearchBarnTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1408. mr.mock.ctrl.T.Helper()
  1409. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBarnTypeList", reflect.TypeOf((*MockKptService)(nil).SearchBarnTypeList), arg0, arg1, arg2)
  1410. }
  1411. // SearchBreedStatusList mocks base method.
  1412. func (m *MockKptService) SearchBreedStatusList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1413. m.ctrl.T.Helper()
  1414. ret := m.ctrl.Call(m, "SearchBreedStatusList", arg0, arg1, arg2)
  1415. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1416. ret1, _ := ret[1].(error)
  1417. return ret0, ret1
  1418. }
  1419. // SearchBreedStatusList indicates an expected call of SearchBreedStatusList.
  1420. func (mr *MockKptServiceMockRecorder) SearchBreedStatusList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1421. mr.mock.ctrl.T.Helper()
  1422. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBreedStatusList", reflect.TypeOf((*MockKptService)(nil).SearchBreedStatusList), arg0, arg1, arg2)
  1423. }
  1424. // SearchCowKindList mocks base method.
  1425. func (m *MockKptService) SearchCowKindList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1426. m.ctrl.T.Helper()
  1427. ret := m.ctrl.Call(m, "SearchCowKindList", arg0, arg1, arg2)
  1428. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1429. ret1, _ := ret[1].(error)
  1430. return ret0, ret1
  1431. }
  1432. // SearchCowKindList indicates an expected call of SearchCowKindList.
  1433. func (mr *MockKptServiceMockRecorder) SearchCowKindList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1434. mr.mock.ctrl.T.Helper()
  1435. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowKindList", reflect.TypeOf((*MockKptService)(nil).SearchCowKindList), arg0, arg1, arg2)
  1436. }
  1437. // SearchCowSourceList mocks base method.
  1438. func (m *MockKptService) SearchCowSourceList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1439. m.ctrl.T.Helper()
  1440. ret := m.ctrl.Call(m, "SearchCowSourceList", arg0, arg1, arg2)
  1441. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1442. ret1, _ := ret[1].(error)
  1443. return ret0, ret1
  1444. }
  1445. // SearchCowSourceList indicates an expected call of SearchCowSourceList.
  1446. func (mr *MockKptServiceMockRecorder) SearchCowSourceList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1447. mr.mock.ctrl.T.Helper()
  1448. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowSourceList", reflect.TypeOf((*MockKptService)(nil).SearchCowSourceList), arg0, arg1, arg2)
  1449. }
  1450. // SearchCowStatusList mocks base method.
  1451. func (m *MockKptService) SearchCowStatusList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1452. m.ctrl.T.Helper()
  1453. ret := m.ctrl.Call(m, "SearchCowStatusList", arg0, arg1, arg2)
  1454. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1455. ret1, _ := ret[1].(error)
  1456. return ret0, ret1
  1457. }
  1458. // SearchCowStatusList indicates an expected call of SearchCowStatusList.
  1459. func (mr *MockKptServiceMockRecorder) SearchCowStatusList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1460. mr.mock.ctrl.T.Helper()
  1461. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowStatusList", reflect.TypeOf((*MockKptService)(nil).SearchCowStatusList), arg0, arg1, arg2)
  1462. }
  1463. // SearchCowTypeList mocks base method.
  1464. func (m *MockKptService) SearchCowTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1465. m.ctrl.T.Helper()
  1466. ret := m.ctrl.Call(m, "SearchCowTypeList", arg0, arg1, arg2)
  1467. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1468. ret1, _ := ret[1].(error)
  1469. return ret0, ret1
  1470. }
  1471. // SearchCowTypeList indicates an expected call of SearchCowTypeList.
  1472. func (mr *MockKptServiceMockRecorder) SearchCowTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1473. mr.mock.ctrl.T.Helper()
  1474. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowTypeList", reflect.TypeOf((*MockKptService)(nil).SearchCowTypeList), arg0, arg1, arg2)
  1475. }
  1476. // SearchDiseaseList mocks base method.
  1477. func (m *MockKptService) SearchDiseaseList(arg0 context.Context, arg1 *cowPb.SearchDiseaseRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDiseaseResponse, error) {
  1478. m.ctrl.T.Helper()
  1479. ret := m.ctrl.Call(m, "SearchDiseaseList", arg0, arg1, arg2)
  1480. ret0, _ := ret[0].(*cowPb.SearchDiseaseResponse)
  1481. ret1, _ := ret[1].(error)
  1482. return ret0, ret1
  1483. }
  1484. // SearchDiseaseList indicates an expected call of SearchDiseaseList.
  1485. func (mr *MockKptServiceMockRecorder) SearchDiseaseList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1486. mr.mock.ctrl.T.Helper()
  1487. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchDiseaseList", reflect.TypeOf((*MockKptService)(nil).SearchDiseaseList), arg0, arg1, arg2)
  1488. }
  1489. // SearchDiseaseTypeList mocks base method.
  1490. func (m *MockKptService) SearchDiseaseTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1491. m.ctrl.T.Helper()
  1492. ret := m.ctrl.Call(m, "SearchDiseaseTypeList", arg0, arg1, arg2)
  1493. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1494. ret1, _ := ret[1].(error)
  1495. return ret0, ret1
  1496. }
  1497. // SearchDiseaseTypeList indicates an expected call of SearchDiseaseTypeList.
  1498. func (mr *MockKptServiceMockRecorder) SearchDiseaseTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1499. mr.mock.ctrl.T.Helper()
  1500. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchDiseaseTypeList", reflect.TypeOf((*MockKptService)(nil).SearchDiseaseTypeList), arg0, arg1, arg2)
  1501. }
  1502. // SearchPrescriptionList mocks base method.
  1503. func (m *MockKptService) SearchPrescriptionList(arg0 context.Context, arg1 *cowPb.SearchPrescriptionRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchPrescriptionResponse, error) {
  1504. m.ctrl.T.Helper()
  1505. ret := m.ctrl.Call(m, "SearchPrescriptionList", arg0, arg1, arg2)
  1506. ret0, _ := ret[0].(*cowPb.SearchPrescriptionResponse)
  1507. ret1, _ := ret[1].(error)
  1508. return ret0, ret1
  1509. }
  1510. // SearchPrescriptionList indicates an expected call of SearchPrescriptionList.
  1511. func (mr *MockKptServiceMockRecorder) SearchPrescriptionList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1512. mr.mock.ctrl.T.Helper()
  1513. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchPrescriptionList", reflect.TypeOf((*MockKptService)(nil).SearchPrescriptionList), arg0, arg1, arg2)
  1514. }
  1515. // SearchSameTimeList mocks base method.
  1516. func (m *MockKptService) SearchSameTimeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SameTimeResponse, error) {
  1517. m.ctrl.T.Helper()
  1518. ret := m.ctrl.Call(m, "SearchSameTimeList", arg0, arg1, arg2)
  1519. ret0, _ := ret[0].(*cowPb.SameTimeResponse)
  1520. ret1, _ := ret[1].(error)
  1521. return ret0, ret1
  1522. }
  1523. // SearchSameTimeList indicates an expected call of SearchSameTimeList.
  1524. func (mr *MockKptServiceMockRecorder) SearchSameTimeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1525. mr.mock.ctrl.T.Helper()
  1526. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSameTimeList", reflect.TypeOf((*MockKptService)(nil).SearchSameTimeList), arg0, arg1, arg2)
  1527. }
  1528. // SearchSystemDeptList mocks base method.
  1529. func (m *MockKptService) SearchSystemDeptList(arg0 context.Context, arg1 *cowPb.SearchDeptRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDeptResponse, error) {
  1530. m.ctrl.T.Helper()
  1531. ret := m.ctrl.Call(m, "SearchSystemDeptList", arg0, arg1, arg2)
  1532. ret0, _ := ret[0].(*cowPb.SearchDeptResponse)
  1533. ret1, _ := ret[1].(error)
  1534. return ret0, ret1
  1535. }
  1536. // SearchSystemDeptList indicates an expected call of SearchSystemDeptList.
  1537. func (mr *MockKptServiceMockRecorder) SearchSystemDeptList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1538. mr.mock.ctrl.T.Helper()
  1539. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemDeptList", reflect.TypeOf((*MockKptService)(nil).SearchSystemDeptList), arg0, arg1, arg2)
  1540. }
  1541. // SearchSystemMenuList mocks base method.
  1542. func (m *MockKptService) SearchSystemMenuList(arg0 context.Context, arg1 *cowPb.SearchMenuRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchMenuResponse, error) {
  1543. m.ctrl.T.Helper()
  1544. ret := m.ctrl.Call(m, "SearchSystemMenuList", arg0, arg1, arg2)
  1545. ret0, _ := ret[0].(*cowPb.SearchMenuResponse)
  1546. ret1, _ := ret[1].(error)
  1547. return ret0, ret1
  1548. }
  1549. // SearchSystemMenuList indicates an expected call of SearchSystemMenuList.
  1550. func (mr *MockKptServiceMockRecorder) SearchSystemMenuList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1551. mr.mock.ctrl.T.Helper()
  1552. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemMenuList", reflect.TypeOf((*MockKptService)(nil).SearchSystemMenuList), arg0, arg1, arg2)
  1553. }
  1554. // SearchSystemRoleList mocks base method.
  1555. func (m *MockKptService) SearchSystemRoleList(arg0 context.Context, arg1 *cowPb.SearchRoleRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchRoleResponse, error) {
  1556. m.ctrl.T.Helper()
  1557. ret := m.ctrl.Call(m, "SearchSystemRoleList", arg0, arg1, arg2)
  1558. ret0, _ := ret[0].(*cowPb.SearchRoleResponse)
  1559. ret1, _ := ret[1].(error)
  1560. return ret0, ret1
  1561. }
  1562. // SearchSystemRoleList indicates an expected call of SearchSystemRoleList.
  1563. func (mr *MockKptServiceMockRecorder) SearchSystemRoleList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1564. mr.mock.ctrl.T.Helper()
  1565. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemRoleList", reflect.TypeOf((*MockKptService)(nil).SearchSystemRoleList), arg0, arg1, arg2)
  1566. }
  1567. // SearchSystemUserList mocks base method.
  1568. func (m *MockKptService) SearchSystemUserList(arg0 context.Context, arg1 *cowPb.SearchUserRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchUserResponse, error) {
  1569. m.ctrl.T.Helper()
  1570. ret := m.ctrl.Call(m, "SearchSystemUserList", arg0, arg1, arg2)
  1571. ret0, _ := ret[0].(*cowPb.SearchUserResponse)
  1572. ret1, _ := ret[1].(error)
  1573. return ret0, ret1
  1574. }
  1575. // SearchSystemUserList indicates an expected call of SearchSystemUserList.
  1576. func (mr *MockKptServiceMockRecorder) SearchSystemUserList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1577. mr.mock.ctrl.T.Helper()
  1578. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemUserList", reflect.TypeOf((*MockKptService)(nil).SearchSystemUserList), arg0, arg1, arg2)
  1579. }
  1580. // SearchTransferPenReasonList mocks base method.
  1581. func (m *MockKptService) SearchTransferPenReasonList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1582. m.ctrl.T.Helper()
  1583. ret := m.ctrl.Call(m, "SearchTransferPenReasonList", arg0, arg1, arg2)
  1584. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1585. ret1, _ := ret[1].(error)
  1586. return ret0, ret1
  1587. }
  1588. // SearchTransferPenReasonList indicates an expected call of SearchTransferPenReasonList.
  1589. func (mr *MockKptServiceMockRecorder) SearchTransferPenReasonList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1590. mr.mock.ctrl.T.Helper()
  1591. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchTransferPenReasonList", reflect.TypeOf((*MockKptService)(nil).SearchTransferPenReasonList), arg0, arg1, arg2)
  1592. }
  1593. // SingleFactorInfantSurvivalRateAnalysis mocks base method.
  1594. func (m *MockKptService) SingleFactorInfantSurvivalRateAnalysis(arg0 context.Context, arg1 *cowPb.SingleFactorPregnancyRateRequest) (*cowPb.SingleFactorPregnancyRateResponse, error) {
  1595. m.ctrl.T.Helper()
  1596. ret := m.ctrl.Call(m, "SingleFactorInfantSurvivalRateAnalysis", arg0, arg1)
  1597. ret0, _ := ret[0].(*cowPb.SingleFactorPregnancyRateResponse)
  1598. ret1, _ := ret[1].(error)
  1599. return ret0, ret1
  1600. }
  1601. // SingleFactorInfantSurvivalRateAnalysis indicates an expected call of SingleFactorInfantSurvivalRateAnalysis.
  1602. func (mr *MockKptServiceMockRecorder) SingleFactorInfantSurvivalRateAnalysis(arg0, arg1 interface{}) *gomock.Call {
  1603. mr.mock.ctrl.T.Helper()
  1604. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SingleFactorInfantSurvivalRateAnalysis", reflect.TypeOf((*MockKptService)(nil).SingleFactorInfantSurvivalRateAnalysis), arg0, arg1)
  1605. }
  1606. // SubmitEventLog mocks base method.
  1607. 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 {
  1608. m.ctrl.T.Helper()
  1609. ret := m.ctrl.Call(m, "SubmitEventLog", arg0, arg1, arg2, arg3, arg4, arg5)
  1610. ret0, _ := ret[0].(*model.EventCowLog)
  1611. return ret0
  1612. }
  1613. // SubmitEventLog indicates an expected call of SubmitEventLog.
  1614. func (mr *MockKptServiceMockRecorder) SubmitEventLog(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call {
  1615. mr.mock.ctrl.T.Helper()
  1616. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubmitEventLog", reflect.TypeOf((*MockKptService)(nil).SubmitEventLog), arg0, arg1, arg2, arg3, arg4, arg5)
  1617. }
  1618. // SystemBaseConfigOptions mocks base method.
  1619. func (m *MockKptService) SystemBaseConfigOptions(arg0 context.Context, arg1, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
  1620. m.ctrl.T.Helper()
  1621. ret := m.ctrl.Call(m, "SystemBaseConfigOptions", arg0, arg1, arg2)
  1622. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  1623. ret1, _ := ret[1].(error)
  1624. return ret0, ret1
  1625. }
  1626. // SystemBaseConfigOptions indicates an expected call of SystemBaseConfigOptions.
  1627. func (mr *MockKptServiceMockRecorder) SystemBaseConfigOptions(arg0, arg1, arg2 interface{}) *gomock.Call {
  1628. mr.mock.ctrl.T.Helper()
  1629. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBaseConfigOptions", reflect.TypeOf((*MockKptService)(nil).SystemBaseConfigOptions), arg0, arg1, arg2)
  1630. }
  1631. // SystemBasicEdit mocks base method.
  1632. func (m *MockKptService) SystemBasicEdit(arg0 context.Context, arg1 *cowPb.BaseDataConfigBatch) error {
  1633. m.ctrl.T.Helper()
  1634. ret := m.ctrl.Call(m, "SystemBasicEdit", arg0, arg1)
  1635. ret0, _ := ret[0].(error)
  1636. return ret0
  1637. }
  1638. // SystemBasicEdit indicates an expected call of SystemBasicEdit.
  1639. func (mr *MockKptServiceMockRecorder) SystemBasicEdit(arg0, arg1 interface{}) *gomock.Call {
  1640. mr.mock.ctrl.T.Helper()
  1641. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBasicEdit", reflect.TypeOf((*MockKptService)(nil).SystemBasicEdit), arg0, arg1)
  1642. }
  1643. // SystemBasicList mocks base method.
  1644. func (m *MockKptService) SystemBasicList(arg0 context.Context) (*cowPb.SearchBaseDataConfigResponse, error) {
  1645. m.ctrl.T.Helper()
  1646. ret := m.ctrl.Call(m, "SystemBasicList", arg0)
  1647. ret0, _ := ret[0].(*cowPb.SearchBaseDataConfigResponse)
  1648. ret1, _ := ret[1].(error)
  1649. return ret0, ret1
  1650. }
  1651. // SystemBasicList indicates an expected call of SystemBasicList.
  1652. func (mr *MockKptServiceMockRecorder) SystemBasicList(arg0 interface{}) *gomock.Call {
  1653. mr.mock.ctrl.T.Helper()
  1654. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBasicList", reflect.TypeOf((*MockKptService)(nil).SystemBasicList), arg0)
  1655. }
  1656. // SystemDepDelete mocks base method.
  1657. func (m *MockKptService) SystemDepDelete(arg0 context.Context, arg1 int64) error {
  1658. m.ctrl.T.Helper()
  1659. ret := m.ctrl.Call(m, "SystemDepDelete", arg0, arg1)
  1660. ret0, _ := ret[0].(error)
  1661. return ret0
  1662. }
  1663. // SystemDepDelete indicates an expected call of SystemDepDelete.
  1664. func (mr *MockKptServiceMockRecorder) SystemDepDelete(arg0, arg1 interface{}) *gomock.Call {
  1665. mr.mock.ctrl.T.Helper()
  1666. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemDepDelete", reflect.TypeOf((*MockKptService)(nil).SystemDepDelete), arg0, arg1)
  1667. }
  1668. // SystemDeptCreateOrUpdate mocks base method.
  1669. func (m *MockKptService) SystemDeptCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchDeptRequest) error {
  1670. m.ctrl.T.Helper()
  1671. ret := m.ctrl.Call(m, "SystemDeptCreateOrUpdate", arg0, arg1)
  1672. ret0, _ := ret[0].(error)
  1673. return ret0
  1674. }
  1675. // SystemDeptCreateOrUpdate indicates an expected call of SystemDeptCreateOrUpdate.
  1676. func (mr *MockKptServiceMockRecorder) SystemDeptCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  1677. mr.mock.ctrl.T.Helper()
  1678. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemDeptCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemDeptCreateOrUpdate), arg0, arg1)
  1679. }
  1680. // SystemMenuTree mocks base method.
  1681. func (m *MockKptService) SystemMenuTree(arg0 context.Context) (*cowPb.SystemMenuTreeResponse, error) {
  1682. m.ctrl.T.Helper()
  1683. ret := m.ctrl.Call(m, "SystemMenuTree", arg0)
  1684. ret0, _ := ret[0].(*cowPb.SystemMenuTreeResponse)
  1685. ret1, _ := ret[1].(error)
  1686. return ret0, ret1
  1687. }
  1688. // SystemMenuTree indicates an expected call of SystemMenuTree.
  1689. func (mr *MockKptServiceMockRecorder) SystemMenuTree(arg0 interface{}) *gomock.Call {
  1690. mr.mock.ctrl.T.Helper()
  1691. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemMenuTree", reflect.TypeOf((*MockKptService)(nil).SystemMenuTree), arg0)
  1692. }
  1693. // SystemRoleCreateOrUpdate mocks base method.
  1694. func (m *MockKptService) SystemRoleCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchRoleRequest) error {
  1695. m.ctrl.T.Helper()
  1696. ret := m.ctrl.Call(m, "SystemRoleCreateOrUpdate", arg0, arg1)
  1697. ret0, _ := ret[0].(error)
  1698. return ret0
  1699. }
  1700. // SystemRoleCreateOrUpdate indicates an expected call of SystemRoleCreateOrUpdate.
  1701. func (mr *MockKptServiceMockRecorder) SystemRoleCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  1702. mr.mock.ctrl.T.Helper()
  1703. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemRoleCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemRoleCreateOrUpdate), arg0, arg1)
  1704. }
  1705. // SystemRoleList mocks base method.
  1706. func (m *MockKptService) SystemRoleList(arg0 context.Context) (*cowPb.GetRoleListResponse, error) {
  1707. m.ctrl.T.Helper()
  1708. ret := m.ctrl.Call(m, "SystemRoleList", arg0)
  1709. ret0, _ := ret[0].(*cowPb.GetRoleListResponse)
  1710. ret1, _ := ret[1].(error)
  1711. return ret0, ret1
  1712. }
  1713. // SystemRoleList indicates an expected call of SystemRoleList.
  1714. func (mr *MockKptServiceMockRecorder) SystemRoleList(arg0 interface{}) *gomock.Call {
  1715. mr.mock.ctrl.T.Helper()
  1716. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemRoleList", reflect.TypeOf((*MockKptService)(nil).SystemRoleList), arg0)
  1717. }
  1718. // SystemUserCreateOrUpdate mocks base method.
  1719. func (m *MockKptService) SystemUserCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchUserRequest) error {
  1720. m.ctrl.T.Helper()
  1721. ret := m.ctrl.Call(m, "SystemUserCreateOrUpdate", arg0, arg1)
  1722. ret0, _ := ret[0].(error)
  1723. return ret0
  1724. }
  1725. // SystemUserCreateOrUpdate indicates an expected call of SystemUserCreateOrUpdate.
  1726. func (mr *MockKptServiceMockRecorder) SystemUserCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  1727. mr.mock.ctrl.T.Helper()
  1728. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemUserCreateOrUpdate), arg0, arg1)
  1729. }
  1730. // SystemUserOptions mocks base method.
  1731. func (m *MockKptService) SystemUserOptions(arg0 context.Context, arg1 int) (*cowPb.ConfigOptionsListResponse, error) {
  1732. m.ctrl.T.Helper()
  1733. ret := m.ctrl.Call(m, "SystemUserOptions", arg0, arg1)
  1734. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  1735. ret1, _ := ret[1].(error)
  1736. return ret0, ret1
  1737. }
  1738. // SystemUserOptions indicates an expected call of SystemUserOptions.
  1739. func (mr *MockKptServiceMockRecorder) SystemUserOptions(arg0, arg1 interface{}) *gomock.Call {
  1740. mr.mock.ctrl.T.Helper()
  1741. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserOptions", reflect.TypeOf((*MockKptService)(nil).SystemUserOptions), arg0, arg1)
  1742. }
  1743. // SystemUserRole mocks base method.
  1744. func (m *MockKptService) SystemUserRole(arg0 context.Context, arg1 int64) (*cowPb.SystemUserRoleResponse, error) {
  1745. m.ctrl.T.Helper()
  1746. ret := m.ctrl.Call(m, "SystemUserRole", arg0, arg1)
  1747. ret0, _ := ret[0].(*cowPb.SystemUserRoleResponse)
  1748. ret1, _ := ret[1].(error)
  1749. return ret0, ret1
  1750. }
  1751. // SystemUserRole indicates an expected call of SystemUserRole.
  1752. func (mr *MockKptServiceMockRecorder) SystemUserRole(arg0, arg1 interface{}) *gomock.Call {
  1753. mr.mock.ctrl.T.Helper()
  1754. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserRole", reflect.TypeOf((*MockKptService)(nil).SystemUserRole), arg0, arg1)
  1755. }
  1756. // SystemUserRoleSave mocks base method.
  1757. func (m *MockKptService) SystemUserRoleSave(arg0 context.Context, arg1 *cowPb.SystemUserRoleRequest) error {
  1758. m.ctrl.T.Helper()
  1759. ret := m.ctrl.Call(m, "SystemUserRoleSave", arg0, arg1)
  1760. ret0, _ := ret[0].(error)
  1761. return ret0
  1762. }
  1763. // SystemUserRoleSave indicates an expected call of SystemUserRoleSave.
  1764. func (mr *MockKptServiceMockRecorder) SystemUserRoleSave(arg0, arg1 interface{}) *gomock.Call {
  1765. mr.mock.ctrl.T.Helper()
  1766. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserRoleSave", reflect.TypeOf((*MockKptService)(nil).SystemUserRoleSave), arg0, arg1)
  1767. }
  1768. // TwentyOnePregnantRate mocks base method.
  1769. func (m *MockKptService) TwentyOnePregnantRate(arg0 context.Context, arg1 *cowPb.TwentyOnePregnantRateRequest) (*cowPb.TwentyOnePregnantRateResponse, error) {
  1770. m.ctrl.T.Helper()
  1771. ret := m.ctrl.Call(m, "TwentyOnePregnantRate", arg0, arg1)
  1772. ret0, _ := ret[0].(*cowPb.TwentyOnePregnantRateResponse)
  1773. ret1, _ := ret[1].(error)
  1774. return ret0, ret1
  1775. }
  1776. // TwentyOnePregnantRate indicates an expected call of TwentyOnePregnantRate.
  1777. func (mr *MockKptServiceMockRecorder) TwentyOnePregnantRate(arg0, arg1 interface{}) *gomock.Call {
  1778. mr.mock.ctrl.T.Helper()
  1779. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TwentyOnePregnantRate", reflect.TypeOf((*MockKptService)(nil).TwentyOnePregnantRate), arg0, arg1)
  1780. }
  1781. // UpdateCowPen mocks base method.
  1782. func (m *MockKptService) UpdateCowPen(arg0 context.Context, arg1 *cowPb.PaginationModel) error {
  1783. m.ctrl.T.Helper()
  1784. ret := m.ctrl.Call(m, "UpdateCowPen", arg0, arg1)
  1785. ret0, _ := ret[0].(error)
  1786. return ret0
  1787. }
  1788. // UpdateCowPen indicates an expected call of UpdateCowPen.
  1789. func (mr *MockKptServiceMockRecorder) UpdateCowPen(arg0, arg1 interface{}) *gomock.Call {
  1790. mr.mock.ctrl.T.Helper()
  1791. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateCowPen", reflect.TypeOf((*MockKptService)(nil).UpdateCowPen), arg0, arg1)
  1792. }
  1793. // UserWorkOrderList mocks base method.
  1794. func (m *MockKptService) UserWorkOrderList(arg0 context.Context, arg1 cowPb.WorkOrderStatus_Kind, arg2 *cowPb.PaginationModel) (*cowPb.UserWorkOrderResponse, error) {
  1795. m.ctrl.T.Helper()
  1796. ret := m.ctrl.Call(m, "UserWorkOrderList", arg0, arg1, arg2)
  1797. ret0, _ := ret[0].(*cowPb.UserWorkOrderResponse)
  1798. ret1, _ := ret[1].(error)
  1799. return ret0, ret1
  1800. }
  1801. // UserWorkOrderList indicates an expected call of UserWorkOrderList.
  1802. func (mr *MockKptServiceMockRecorder) UserWorkOrderList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1803. mr.mock.ctrl.T.Helper()
  1804. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UserWorkOrderList", reflect.TypeOf((*MockKptService)(nil).UserWorkOrderList), arg0, arg1, arg2)
  1805. }
  1806. // WeaningBatch mocks base method.
  1807. func (m *MockKptService) WeaningBatch(arg0 context.Context, arg1 *cowPb.EventWeaningBatchRequest) error {
  1808. m.ctrl.T.Helper()
  1809. ret := m.ctrl.Call(m, "WeaningBatch", arg0, arg1)
  1810. ret0, _ := ret[0].(error)
  1811. return ret0
  1812. }
  1813. // WeaningBatch indicates an expected call of WeaningBatch.
  1814. func (mr *MockKptServiceMockRecorder) WeaningBatch(arg0, arg1 interface{}) *gomock.Call {
  1815. mr.mock.ctrl.T.Helper()
  1816. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeaningBatch", reflect.TypeOf((*MockKptService)(nil).WeaningBatch), arg0, arg1)
  1817. }
  1818. // WeaningCowList mocks base method.
  1819. func (m *MockKptService) WeaningCowList(arg0 context.Context, arg1 *cowPb.ItemsRequest, arg2 *cowPb.PaginationModel) (*cowPb.WeaningItemsResponse, error) {
  1820. m.ctrl.T.Helper()
  1821. ret := m.ctrl.Call(m, "WeaningCowList", arg0, arg1, arg2)
  1822. ret0, _ := ret[0].(*cowPb.WeaningItemsResponse)
  1823. ret1, _ := ret[1].(error)
  1824. return ret0, ret1
  1825. }
  1826. // WeaningCowList indicates an expected call of WeaningCowList.
  1827. func (mr *MockKptServiceMockRecorder) WeaningCowList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1828. mr.mock.ctrl.T.Helper()
  1829. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeaningCowList", reflect.TypeOf((*MockKptService)(nil).WeaningCowList), arg0, arg1, arg2)
  1830. }
  1831. // WeightBatch mocks base method.
  1832. func (m *MockKptService) WeightBatch(arg0 context.Context, arg1 *cowPb.EventWeight) error {
  1833. m.ctrl.T.Helper()
  1834. ret := m.ctrl.Call(m, "WeightBatch", arg0, arg1)
  1835. ret0, _ := ret[0].(error)
  1836. return ret0
  1837. }
  1838. // WeightBatch indicates an expected call of WeightBatch.
  1839. func (mr *MockKptServiceMockRecorder) WeightBatch(arg0, arg1 interface{}) *gomock.Call {
  1840. mr.mock.ctrl.T.Helper()
  1841. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeightBatch", reflect.TypeOf((*MockKptService)(nil).WeightBatch), arg0, arg1)
  1842. }
  1843. // WeightList mocks base method.
  1844. func (m *MockKptService) WeightList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchWeightEventResponse, error) {
  1845. m.ctrl.T.Helper()
  1846. ret := m.ctrl.Call(m, "WeightList", arg0, arg1, arg2)
  1847. ret0, _ := ret[0].(*cowPb.SearchWeightEventResponse)
  1848. ret1, _ := ret[1].(error)
  1849. return ret0, ret1
  1850. }
  1851. // WeightList indicates an expected call of WeightList.
  1852. func (mr *MockKptServiceMockRecorder) WeightList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1853. mr.mock.ctrl.T.Helper()
  1854. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeightList", reflect.TypeOf((*MockKptService)(nil).WeightList), arg0, arg1, arg2)
  1855. }
  1856. // WeightRange mocks base method.
  1857. func (m *MockKptService) WeightRange(arg0 context.Context, arg1 *cowPb.WeightRangeRequest) (*cowPb.WeightRangeResponse, error) {
  1858. m.ctrl.T.Helper()
  1859. ret := m.ctrl.Call(m, "WeightRange", arg0, arg1)
  1860. ret0, _ := ret[0].(*cowPb.WeightRangeResponse)
  1861. ret1, _ := ret[1].(error)
  1862. return ret0, ret1
  1863. }
  1864. // WeightRange indicates an expected call of WeightRange.
  1865. func (mr *MockKptServiceMockRecorder) WeightRange(arg0, arg1 interface{}) *gomock.Call {
  1866. mr.mock.ctrl.T.Helper()
  1867. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeightRange", reflect.TypeOf((*MockKptService)(nil).WeightRange), arg0, arg1)
  1868. }