kptservice.go 78 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759
  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. // AbortionCreateSlice mocks base method.
  44. func (m *MockKptService) AbortionCreateSlice(arg0 context.Context, arg1 *cowPb.EventAbortionSlice) error {
  45. m.ctrl.T.Helper()
  46. ret := m.ctrl.Call(m, "AbortionCreateSlice", arg0, arg1)
  47. ret0, _ := ret[0].(error)
  48. return ret0
  49. }
  50. // AbortionCreateSlice indicates an expected call of AbortionCreateSlice.
  51. func (mr *MockKptServiceMockRecorder) AbortionCreateSlice(arg0, arg1 interface{}) *gomock.Call {
  52. mr.mock.ctrl.T.Helper()
  53. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortionCreateSlice", reflect.TypeOf((*MockKptService)(nil).AbortionCreateSlice), 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. // BodyScoreList mocks base method.
  121. func (m *MockKptService) BodyScoreList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBodyScoreEventResponse, error) {
  122. m.ctrl.T.Helper()
  123. ret := m.ctrl.Call(m, "BodyScoreList", arg0, arg1, arg2)
  124. ret0, _ := ret[0].(*cowPb.SearchBodyScoreEventResponse)
  125. ret1, _ := ret[1].(error)
  126. return ret0, ret1
  127. }
  128. // BodyScoreList indicates an expected call of BodyScoreList.
  129. func (mr *MockKptServiceMockRecorder) BodyScoreList(arg0, arg1, arg2 interface{}) *gomock.Call {
  130. mr.mock.ctrl.T.Helper()
  131. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BodyScoreList", reflect.TypeOf((*MockKptService)(nil).BodyScoreList), arg0, arg1, arg2)
  132. }
  133. // BreedStatusOptions mocks base method.
  134. func (m *MockKptService) BreedStatusOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  135. m.ctrl.T.Helper()
  136. ret := m.ctrl.Call(m, "BreedStatusOptions", arg0)
  137. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  138. ret1, _ := ret[1].(error)
  139. return ret0, ret1
  140. }
  141. // BreedStatusOptions indicates an expected call of BreedStatusOptions.
  142. func (mr *MockKptServiceMockRecorder) BreedStatusOptions(arg0 interface{}) *gomock.Call {
  143. mr.mock.ctrl.T.Helper()
  144. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BreedStatusOptions", reflect.TypeOf((*MockKptService)(nil).BreedStatusOptions), arg0)
  145. }
  146. // BullOptions mocks base method.
  147. func (m *MockKptService) BullOptions(arg0 context.Context) (*cowPb.BullOptionsListResponse, error) {
  148. m.ctrl.T.Helper()
  149. ret := m.ctrl.Call(m, "BullOptions", arg0)
  150. ret0, _ := ret[0].(*cowPb.BullOptionsListResponse)
  151. ret1, _ := ret[1].(error)
  152. return ret0, ret1
  153. }
  154. // BullOptions indicates an expected call of BullOptions.
  155. func (mr *MockKptServiceMockRecorder) BullOptions(arg0 interface{}) *gomock.Call {
  156. mr.mock.ctrl.T.Helper()
  157. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BullOptions", reflect.TypeOf((*MockKptService)(nil).BullOptions), arg0)
  158. }
  159. // CalendarList mocks base method.
  160. func (m *MockKptService) CalendarList(arg0 context.Context, arg1 *cowPb.CalendarRequest) (*cowPb.CalendarResponse, error) {
  161. m.ctrl.T.Helper()
  162. ret := m.ctrl.Call(m, "CalendarList", arg0, arg1)
  163. ret0, _ := ret[0].(*cowPb.CalendarResponse)
  164. ret1, _ := ret[1].(error)
  165. return ret0, ret1
  166. }
  167. // CalendarList indicates an expected call of CalendarList.
  168. func (mr *MockKptServiceMockRecorder) CalendarList(arg0, arg1 interface{}) *gomock.Call {
  169. mr.mock.ctrl.T.Helper()
  170. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalendarList", reflect.TypeOf((*MockKptService)(nil).CalendarList), arg0, arg1)
  171. }
  172. // CalendarTableDetail mocks base method.
  173. func (m *MockKptService) CalendarTableDetail(arg0 context.Context, arg1 *cowPb.CalendarTableRequest, arg2 *cowPb.PaginationModel) (interface{}, error) {
  174. m.ctrl.T.Helper()
  175. ret := m.ctrl.Call(m, "CalendarTableDetail", arg0, arg1, arg2)
  176. ret0, _ := ret[0].(interface{})
  177. ret1, _ := ret[1].(error)
  178. return ret0, ret1
  179. }
  180. // CalendarTableDetail indicates an expected call of CalendarTableDetail.
  181. func (mr *MockKptServiceMockRecorder) CalendarTableDetail(arg0, arg1, arg2 interface{}) *gomock.Call {
  182. mr.mock.ctrl.T.Helper()
  183. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalendarTableDetail", reflect.TypeOf((*MockKptService)(nil).CalendarTableDetail), arg0, arg1, arg2)
  184. }
  185. // CalendarToDoList mocks base method.
  186. func (m *MockKptService) CalendarToDoList(arg0 context.Context, arg1 *cowPb.CalendarToDoRequest, arg2 *cowPb.PaginationModel) (*cowPb.CalendarToDoResponse, error) {
  187. m.ctrl.T.Helper()
  188. ret := m.ctrl.Call(m, "CalendarToDoList", arg0, arg1, arg2)
  189. ret0, _ := ret[0].(*cowPb.CalendarToDoResponse)
  190. ret1, _ := ret[1].(error)
  191. return ret0, ret1
  192. }
  193. // CalendarToDoList indicates an expected call of CalendarToDoList.
  194. func (mr *MockKptServiceMockRecorder) CalendarToDoList(arg0, arg1, arg2 interface{}) *gomock.Call {
  195. mr.mock.ctrl.T.Helper()
  196. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalendarToDoList", reflect.TypeOf((*MockKptService)(nil).CalendarToDoList), arg0, arg1, arg2)
  197. }
  198. // CalvingCreate mocks base method.
  199. func (m *MockKptService) CalvingCreate(arg0 context.Context, arg1 *cowPb.EventCalving) error {
  200. m.ctrl.T.Helper()
  201. ret := m.ctrl.Call(m, "CalvingCreate", arg0, arg1)
  202. ret0, _ := ret[0].(error)
  203. return ret0
  204. }
  205. // CalvingCreate indicates an expected call of CalvingCreate.
  206. func (mr *MockKptServiceMockRecorder) CalvingCreate(arg0, arg1 interface{}) *gomock.Call {
  207. mr.mock.ctrl.T.Helper()
  208. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingCreate", reflect.TypeOf((*MockKptService)(nil).CalvingCreate), arg0, arg1)
  209. }
  210. // CalvingList mocks base method.
  211. func (m *MockKptService) CalvingList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchLavingEventResponse, error) {
  212. m.ctrl.T.Helper()
  213. ret := m.ctrl.Call(m, "CalvingList", arg0, arg1, arg2)
  214. ret0, _ := ret[0].(*cowPb.SearchLavingEventResponse)
  215. ret1, _ := ret[1].(error)
  216. return ret0, ret1
  217. }
  218. // CalvingList indicates an expected call of CalvingList.
  219. func (mr *MockKptServiceMockRecorder) CalvingList(arg0, arg1, arg2 interface{}) *gomock.Call {
  220. mr.mock.ctrl.T.Helper()
  221. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingList", reflect.TypeOf((*MockKptService)(nil).CalvingList), arg0, arg1, arg2)
  222. }
  223. // CalvingReport mocks base method.
  224. func (m *MockKptService) CalvingReport(arg0 context.Context, arg1 *cowPb.CalvingReportRequest) (*cowPb.CalvingReportResponse, error) {
  225. m.ctrl.T.Helper()
  226. ret := m.ctrl.Call(m, "CalvingReport", arg0, arg1)
  227. ret0, _ := ret[0].(*cowPb.CalvingReportResponse)
  228. ret1, _ := ret[1].(error)
  229. return ret0, ret1
  230. }
  231. // CalvingReport indicates an expected call of CalvingReport.
  232. func (mr *MockKptServiceMockRecorder) CalvingReport(arg0, arg1 interface{}) *gomock.Call {
  233. mr.mock.ctrl.T.Helper()
  234. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingReport", reflect.TypeOf((*MockKptService)(nil).CalvingReport), arg0, arg1)
  235. }
  236. // CowDiseaseCreate mocks base method.
  237. func (m *MockKptService) CowDiseaseCreate(arg0 context.Context, arg1 *cowPb.EventCowDiseaseRequest) error {
  238. m.ctrl.T.Helper()
  239. ret := m.ctrl.Call(m, "CowDiseaseCreate", arg0, arg1)
  240. ret0, _ := ret[0].(error)
  241. return ret0
  242. }
  243. // CowDiseaseCreate indicates an expected call of CowDiseaseCreate.
  244. func (mr *MockKptServiceMockRecorder) CowDiseaseCreate(arg0, arg1 interface{}) *gomock.Call {
  245. mr.mock.ctrl.T.Helper()
  246. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseCreate", reflect.TypeOf((*MockKptService)(nil).CowDiseaseCreate), arg0, arg1)
  247. }
  248. // CowDiseaseCurable mocks base method.
  249. func (m *MockKptService) CowDiseaseCurable(arg0 context.Context, arg1 *cowPb.EventCowCurableRequest) error {
  250. m.ctrl.T.Helper()
  251. ret := m.ctrl.Call(m, "CowDiseaseCurable", arg0, arg1)
  252. ret0, _ := ret[0].(error)
  253. return ret0
  254. }
  255. // CowDiseaseCurable indicates an expected call of CowDiseaseCurable.
  256. func (mr *MockKptServiceMockRecorder) CowDiseaseCurable(arg0, arg1 interface{}) *gomock.Call {
  257. mr.mock.ctrl.T.Helper()
  258. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseCurable", reflect.TypeOf((*MockKptService)(nil).CowDiseaseCurable), arg0, arg1)
  259. }
  260. // CowDiseaseDiagnose mocks base method.
  261. func (m *MockKptService) CowDiseaseDiagnose(arg0 context.Context, arg1 *cowPb.CowDiagnosedRequest) error {
  262. m.ctrl.T.Helper()
  263. ret := m.ctrl.Call(m, "CowDiseaseDiagnose", arg0, arg1)
  264. ret0, _ := ret[0].(error)
  265. return ret0
  266. }
  267. // CowDiseaseDiagnose indicates an expected call of CowDiseaseDiagnose.
  268. func (mr *MockKptServiceMockRecorder) CowDiseaseDiagnose(arg0, arg1 interface{}) *gomock.Call {
  269. mr.mock.ctrl.T.Helper()
  270. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseDiagnose", reflect.TypeOf((*MockKptService)(nil).CowDiseaseDiagnose), arg0, arg1)
  271. }
  272. // CowDiseaseList mocks base method.
  273. func (m *MockKptService) CowDiseaseList(arg0 context.Context, arg1 *cowPb.SearchEventCowTreatmentRequest, arg2 *cowPb.PaginationModel) (*cowPb.EventCowDiseaseResponse, error) {
  274. m.ctrl.T.Helper()
  275. ret := m.ctrl.Call(m, "CowDiseaseList", arg0, arg1, arg2)
  276. ret0, _ := ret[0].(*cowPb.EventCowDiseaseResponse)
  277. ret1, _ := ret[1].(error)
  278. return ret0, ret1
  279. }
  280. // CowDiseaseList indicates an expected call of CowDiseaseList.
  281. func (mr *MockKptServiceMockRecorder) CowDiseaseList(arg0, arg1, arg2 interface{}) *gomock.Call {
  282. mr.mock.ctrl.T.Helper()
  283. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseList", reflect.TypeOf((*MockKptService)(nil).CowDiseaseList), arg0, arg1, arg2)
  284. }
  285. // CowDiseaseTreatment mocks base method.
  286. func (m *MockKptService) CowDiseaseTreatment(arg0 context.Context, arg1 *cowPb.CowTreatmentRequest) error {
  287. m.ctrl.T.Helper()
  288. ret := m.ctrl.Call(m, "CowDiseaseTreatment", arg0, arg1)
  289. ret0, _ := ret[0].(error)
  290. return ret0
  291. }
  292. // CowDiseaseTreatment indicates an expected call of CowDiseaseTreatment.
  293. func (mr *MockKptServiceMockRecorder) CowDiseaseTreatment(arg0, arg1 interface{}) *gomock.Call {
  294. mr.mock.ctrl.T.Helper()
  295. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseTreatment", reflect.TypeOf((*MockKptService)(nil).CowDiseaseTreatment), arg0, arg1)
  296. }
  297. // CowDiseaseTreatmentDetail mocks base method.
  298. func (m *MockKptService) CowDiseaseTreatmentDetail(arg0 context.Context, arg1 *cowPb.EventCowTreatmentDetailRequest, arg2 *cowPb.PaginationModel) (*cowPb.EventCowTreatmentDetailResponse, error) {
  299. m.ctrl.T.Helper()
  300. ret := m.ctrl.Call(m, "CowDiseaseTreatmentDetail", arg0, arg1, arg2)
  301. ret0, _ := ret[0].(*cowPb.EventCowTreatmentDetailResponse)
  302. ret1, _ := ret[1].(error)
  303. return ret0, ret1
  304. }
  305. // CowDiseaseTreatmentDetail indicates an expected call of CowDiseaseTreatmentDetail.
  306. func (mr *MockKptServiceMockRecorder) CowDiseaseTreatmentDetail(arg0, arg1, arg2 interface{}) *gomock.Call {
  307. mr.mock.ctrl.T.Helper()
  308. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowDiseaseTreatmentDetail", reflect.TypeOf((*MockKptService)(nil).CowDiseaseTreatmentDetail), arg0, arg1, arg2)
  309. }
  310. // CowKindOptions mocks base method.
  311. func (m *MockKptService) CowKindOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  312. m.ctrl.T.Helper()
  313. ret := m.ctrl.Call(m, "CowKindOptions", arg0)
  314. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  315. ret1, _ := ret[1].(error)
  316. return ret0, ret1
  317. }
  318. // CowKindOptions indicates an expected call of CowKindOptions.
  319. func (mr *MockKptServiceMockRecorder) CowKindOptions(arg0 interface{}) *gomock.Call {
  320. mr.mock.ctrl.T.Helper()
  321. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowKindOptions", reflect.TypeOf((*MockKptService)(nil).CowKindOptions), arg0)
  322. }
  323. // CowList mocks base method.
  324. func (m *MockKptService) CowList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchCowListResponse, error) {
  325. m.ctrl.T.Helper()
  326. ret := m.ctrl.Call(m, "CowList", arg0, arg1, arg2)
  327. ret0, _ := ret[0].(*cowPb.SearchCowListResponse)
  328. ret1, _ := ret[1].(error)
  329. return ret0, ret1
  330. }
  331. // CowList indicates an expected call of CowList.
  332. func (mr *MockKptServiceMockRecorder) CowList(arg0, arg1, arg2 interface{}) *gomock.Call {
  333. mr.mock.ctrl.T.Helper()
  334. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowList", reflect.TypeOf((*MockKptService)(nil).CowList), arg0, arg1, arg2)
  335. }
  336. // CowSourceOptions mocks base method.
  337. func (m *MockKptService) CowSourceOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  338. m.ctrl.T.Helper()
  339. ret := m.ctrl.Call(m, "CowSourceOptions", arg0)
  340. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  341. ret1, _ := ret[1].(error)
  342. return ret0, ret1
  343. }
  344. // CowSourceOptions indicates an expected call of CowSourceOptions.
  345. func (mr *MockKptServiceMockRecorder) CowSourceOptions(arg0 interface{}) *gomock.Call {
  346. mr.mock.ctrl.T.Helper()
  347. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowSourceOptions", reflect.TypeOf((*MockKptService)(nil).CowSourceOptions), arg0)
  348. }
  349. // CowTransferPenReasonOptions mocks base method.
  350. func (m *MockKptService) CowTransferPenReasonOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  351. m.ctrl.T.Helper()
  352. ret := m.ctrl.Call(m, "CowTransferPenReasonOptions", arg0)
  353. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  354. ret1, _ := ret[1].(error)
  355. return ret0, ret1
  356. }
  357. // CowTransferPenReasonOptions indicates an expected call of CowTransferPenReasonOptions.
  358. func (mr *MockKptServiceMockRecorder) CowTransferPenReasonOptions(arg0 interface{}) *gomock.Call {
  359. mr.mock.ctrl.T.Helper()
  360. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTransferPenReasonOptions", reflect.TypeOf((*MockKptService)(nil).CowTransferPenReasonOptions), arg0)
  361. }
  362. // CowTypeOptions mocks base method.
  363. func (m *MockKptService) CowTypeOptions(arg0 context.Context, arg1, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
  364. m.ctrl.T.Helper()
  365. ret := m.ctrl.Call(m, "CowTypeOptions", arg0, arg1, arg2)
  366. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  367. ret1, _ := ret[1].(error)
  368. return ret0, ret1
  369. }
  370. // CowTypeOptions indicates an expected call of CowTypeOptions.
  371. func (mr *MockKptServiceMockRecorder) CowTypeOptions(arg0, arg1, arg2 interface{}) *gomock.Call {
  372. mr.mock.ctrl.T.Helper()
  373. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTypeOptions", reflect.TypeOf((*MockKptService)(nil).CowTypeOptions), arg0, arg1, arg2)
  374. }
  375. // CreateBodyScore mocks base method.
  376. func (m *MockKptService) CreateBodyScore(arg0 context.Context, arg1 *cowPb.BodyScoreEventRequest) error {
  377. m.ctrl.T.Helper()
  378. ret := m.ctrl.Call(m, "CreateBodyScore", arg0, arg1)
  379. ret0, _ := ret[0].(error)
  380. return ret0
  381. }
  382. // CreateBodyScore indicates an expected call of CreateBodyScore.
  383. func (mr *MockKptServiceMockRecorder) CreateBodyScore(arg0, arg1 interface{}) *gomock.Call {
  384. mr.mock.ctrl.T.Helper()
  385. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBodyScore", reflect.TypeOf((*MockKptService)(nil).CreateBodyScore), arg0, arg1)
  386. }
  387. // CreateEnter mocks base method.
  388. func (m *MockKptService) CreateEnter(arg0 context.Context, arg1 *cowPb.EventEnterRequest) error {
  389. m.ctrl.T.Helper()
  390. ret := m.ctrl.Call(m, "CreateEnter", arg0, arg1)
  391. ret0, _ := ret[0].(error)
  392. return ret0
  393. }
  394. // CreateEnter indicates an expected call of CreateEnter.
  395. func (mr *MockKptServiceMockRecorder) CreateEnter(arg0, arg1 interface{}) *gomock.Call {
  396. mr.mock.ctrl.T.Helper()
  397. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateEnter", reflect.TypeOf((*MockKptService)(nil).CreateEnter), arg0, arg1)
  398. }
  399. // CreateGroupTransfer mocks base method.
  400. func (m *MockKptService) CreateGroupTransfer(arg0 context.Context, arg1 *cowPb.TransferGroupEventRequest) error {
  401. m.ctrl.T.Helper()
  402. ret := m.ctrl.Call(m, "CreateGroupTransfer", arg0, arg1)
  403. ret0, _ := ret[0].(error)
  404. return ret0
  405. }
  406. // CreateGroupTransfer indicates an expected call of CreateGroupTransfer.
  407. func (mr *MockKptServiceMockRecorder) CreateGroupTransfer(arg0, arg1 interface{}) *gomock.Call {
  408. mr.mock.ctrl.T.Helper()
  409. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGroupTransfer", reflect.TypeOf((*MockKptService)(nil).CreateGroupTransfer), arg0, arg1)
  410. }
  411. // CreateOrUpdateBarn mocks base method.
  412. func (m *MockKptService) CreateOrUpdateBarn(arg0 context.Context, arg1 *cowPb.SearchBarnList) error {
  413. m.ctrl.T.Helper()
  414. ret := m.ctrl.Call(m, "CreateOrUpdateBarn", arg0, arg1)
  415. ret0, _ := ret[0].(error)
  416. return ret0
  417. }
  418. // CreateOrUpdateBarn indicates an expected call of CreateOrUpdateBarn.
  419. func (mr *MockKptServiceMockRecorder) CreateOrUpdateBarn(arg0, arg1 interface{}) *gomock.Call {
  420. mr.mock.ctrl.T.Helper()
  421. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBarn", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBarn), arg0, arg1)
  422. }
  423. // CreateOrUpdateBarnType mocks base method.
  424. func (m *MockKptService) CreateOrUpdateBarnType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  425. m.ctrl.T.Helper()
  426. ret := m.ctrl.Call(m, "CreateOrUpdateBarnType", arg0, arg1)
  427. ret0, _ := ret[0].(error)
  428. return ret0
  429. }
  430. // CreateOrUpdateBarnType indicates an expected call of CreateOrUpdateBarnType.
  431. func (mr *MockKptServiceMockRecorder) CreateOrUpdateBarnType(arg0, arg1 interface{}) *gomock.Call {
  432. mr.mock.ctrl.T.Helper()
  433. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBarnType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBarnType), arg0, arg1)
  434. }
  435. // CreateOrUpdateBreedStatus mocks base method.
  436. func (m *MockKptService) CreateOrUpdateBreedStatus(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  437. m.ctrl.T.Helper()
  438. ret := m.ctrl.Call(m, "CreateOrUpdateBreedStatus", arg0, arg1)
  439. ret0, _ := ret[0].(error)
  440. return ret0
  441. }
  442. // CreateOrUpdateBreedStatus indicates an expected call of CreateOrUpdateBreedStatus.
  443. func (mr *MockKptServiceMockRecorder) CreateOrUpdateBreedStatus(arg0, arg1 interface{}) *gomock.Call {
  444. mr.mock.ctrl.T.Helper()
  445. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBreedStatus", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBreedStatus), arg0, arg1)
  446. }
  447. // CreateOrUpdateCowKind mocks base method.
  448. func (m *MockKptService) CreateOrUpdateCowKind(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  449. m.ctrl.T.Helper()
  450. ret := m.ctrl.Call(m, "CreateOrUpdateCowKind", arg0, arg1)
  451. ret0, _ := ret[0].(error)
  452. return ret0
  453. }
  454. // CreateOrUpdateCowKind indicates an expected call of CreateOrUpdateCowKind.
  455. func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowKind(arg0, arg1 interface{}) *gomock.Call {
  456. mr.mock.ctrl.T.Helper()
  457. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowKind", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowKind), arg0, arg1)
  458. }
  459. // CreateOrUpdateCowSource mocks base method.
  460. func (m *MockKptService) CreateOrUpdateCowSource(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  461. m.ctrl.T.Helper()
  462. ret := m.ctrl.Call(m, "CreateOrUpdateCowSource", arg0, arg1)
  463. ret0, _ := ret[0].(error)
  464. return ret0
  465. }
  466. // CreateOrUpdateCowSource indicates an expected call of CreateOrUpdateCowSource.
  467. func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowSource(arg0, arg1 interface{}) *gomock.Call {
  468. mr.mock.ctrl.T.Helper()
  469. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowSource", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowSource), arg0, arg1)
  470. }
  471. // CreateOrUpdateCowStatus mocks base method.
  472. func (m *MockKptService) CreateOrUpdateCowStatus(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  473. m.ctrl.T.Helper()
  474. ret := m.ctrl.Call(m, "CreateOrUpdateCowStatus", arg0, arg1)
  475. ret0, _ := ret[0].(error)
  476. return ret0
  477. }
  478. // CreateOrUpdateCowStatus indicates an expected call of CreateOrUpdateCowStatus.
  479. func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowStatus(arg0, arg1 interface{}) *gomock.Call {
  480. mr.mock.ctrl.T.Helper()
  481. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowStatus", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowStatus), arg0, arg1)
  482. }
  483. // CreateOrUpdateCowType mocks base method.
  484. func (m *MockKptService) CreateOrUpdateCowType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  485. m.ctrl.T.Helper()
  486. ret := m.ctrl.Call(m, "CreateOrUpdateCowType", arg0, arg1)
  487. ret0, _ := ret[0].(error)
  488. return ret0
  489. }
  490. // CreateOrUpdateCowType indicates an expected call of CreateOrUpdateCowType.
  491. func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowType(arg0, arg1 interface{}) *gomock.Call {
  492. mr.mock.ctrl.T.Helper()
  493. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowType), arg0, arg1)
  494. }
  495. // CreateOrUpdateDisease mocks base method.
  496. func (m *MockKptService) CreateOrUpdateDisease(arg0 context.Context, arg1 *cowPb.SearchDiseaseList) error {
  497. m.ctrl.T.Helper()
  498. ret := m.ctrl.Call(m, "CreateOrUpdateDisease", arg0, arg1)
  499. ret0, _ := ret[0].(error)
  500. return ret0
  501. }
  502. // CreateOrUpdateDisease indicates an expected call of CreateOrUpdateDisease.
  503. func (mr *MockKptServiceMockRecorder) CreateOrUpdateDisease(arg0, arg1 interface{}) *gomock.Call {
  504. mr.mock.ctrl.T.Helper()
  505. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateDisease", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateDisease), arg0, arg1)
  506. }
  507. // CreateOrUpdateDiseaseType mocks base method.
  508. func (m *MockKptService) CreateOrUpdateDiseaseType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  509. m.ctrl.T.Helper()
  510. ret := m.ctrl.Call(m, "CreateOrUpdateDiseaseType", arg0, arg1)
  511. ret0, _ := ret[0].(error)
  512. return ret0
  513. }
  514. // CreateOrUpdateDiseaseType indicates an expected call of CreateOrUpdateDiseaseType.
  515. func (mr *MockKptServiceMockRecorder) CreateOrUpdateDiseaseType(arg0, arg1 interface{}) *gomock.Call {
  516. mr.mock.ctrl.T.Helper()
  517. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateDiseaseType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateDiseaseType), arg0, arg1)
  518. }
  519. // CreateOrUpdatePrescription mocks base method.
  520. func (m *MockKptService) CreateOrUpdatePrescription(arg0 context.Context, arg1 *cowPb.PrescriptionRequest) error {
  521. m.ctrl.T.Helper()
  522. ret := m.ctrl.Call(m, "CreateOrUpdatePrescription", arg0, arg1)
  523. ret0, _ := ret[0].(error)
  524. return ret0
  525. }
  526. // CreateOrUpdatePrescription indicates an expected call of CreateOrUpdatePrescription.
  527. func (mr *MockKptServiceMockRecorder) CreateOrUpdatePrescription(arg0, arg1 interface{}) *gomock.Call {
  528. mr.mock.ctrl.T.Helper()
  529. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdatePrescription", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdatePrescription), arg0, arg1)
  530. }
  531. // CreateOrUpdateSameTime mocks base method.
  532. func (m *MockKptService) CreateOrUpdateSameTime(arg0 context.Context, arg1 *cowPb.SearchSameTimeList) error {
  533. m.ctrl.T.Helper()
  534. ret := m.ctrl.Call(m, "CreateOrUpdateSameTime", arg0, arg1)
  535. ret0, _ := ret[0].(error)
  536. return ret0
  537. }
  538. // CreateOrUpdateSameTime indicates an expected call of CreateOrUpdateSameTime.
  539. func (mr *MockKptServiceMockRecorder) CreateOrUpdateSameTime(arg0, arg1 interface{}) *gomock.Call {
  540. mr.mock.ctrl.T.Helper()
  541. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateSameTime", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateSameTime), arg0, arg1)
  542. }
  543. // CreateOrUpdateSystemMenu mocks base method.
  544. func (m *MockKptService) CreateOrUpdateSystemMenu(arg0 context.Context, arg1 *cowPb.SearchMenuRequest) error {
  545. m.ctrl.T.Helper()
  546. ret := m.ctrl.Call(m, "CreateOrUpdateSystemMenu", arg0, arg1)
  547. ret0, _ := ret[0].(error)
  548. return ret0
  549. }
  550. // CreateOrUpdateSystemMenu indicates an expected call of CreateOrUpdateSystemMenu.
  551. func (mr *MockKptServiceMockRecorder) CreateOrUpdateSystemMenu(arg0, arg1 interface{}) *gomock.Call {
  552. mr.mock.ctrl.T.Helper()
  553. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateSystemMenu", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateSystemMenu), arg0, arg1)
  554. }
  555. // CreateOrUpdateTransferPenReason mocks base method.
  556. func (m *MockKptService) CreateOrUpdateTransferPenReason(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  557. m.ctrl.T.Helper()
  558. ret := m.ctrl.Call(m, "CreateOrUpdateTransferPenReason", arg0, arg1)
  559. ret0, _ := ret[0].(error)
  560. return ret0
  561. }
  562. // CreateOrUpdateTransferPenReason indicates an expected call of CreateOrUpdateTransferPenReason.
  563. func (mr *MockKptServiceMockRecorder) CreateOrUpdateTransferPenReason(arg0, arg1 interface{}) *gomock.Call {
  564. mr.mock.ctrl.T.Helper()
  565. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateTransferPenReason", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateTransferPenReason), arg0, arg1)
  566. }
  567. // CreatedOrUpdateImmunization mocks base method.
  568. func (m *MockKptService) CreatedOrUpdateImmunization(arg0 context.Context, arg1 *cowPb.ImmunizationRequest) error {
  569. m.ctrl.T.Helper()
  570. ret := m.ctrl.Call(m, "CreatedOrUpdateImmunization", arg0, arg1)
  571. ret0, _ := ret[0].(error)
  572. return ret0
  573. }
  574. // CreatedOrUpdateImmunization indicates an expected call of CreatedOrUpdateImmunization.
  575. func (mr *MockKptServiceMockRecorder) CreatedOrUpdateImmunization(arg0, arg1 interface{}) *gomock.Call {
  576. mr.mock.ctrl.T.Helper()
  577. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatedOrUpdateImmunization", reflect.TypeOf((*MockKptService)(nil).CreatedOrUpdateImmunization), arg0, arg1)
  578. }
  579. // DeleteSystemMenu mocks base method.
  580. func (m *MockKptService) DeleteSystemMenu(arg0 context.Context, arg1 int64) error {
  581. m.ctrl.T.Helper()
  582. ret := m.ctrl.Call(m, "DeleteSystemMenu", arg0, arg1)
  583. ret0, _ := ret[0].(error)
  584. return ret0
  585. }
  586. // DeleteSystemMenu indicates an expected call of DeleteSystemMenu.
  587. func (mr *MockKptServiceMockRecorder) DeleteSystemMenu(arg0, arg1 interface{}) *gomock.Call {
  588. mr.mock.ctrl.T.Helper()
  589. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemMenu", reflect.TypeOf((*MockKptService)(nil).DeleteSystemMenu), arg0, arg1)
  590. }
  591. // DeleteSystemRole mocks base method.
  592. func (m *MockKptService) DeleteSystemRole(arg0 context.Context, arg1 int64) error {
  593. m.ctrl.T.Helper()
  594. ret := m.ctrl.Call(m, "DeleteSystemRole", arg0, arg1)
  595. ret0, _ := ret[0].(error)
  596. return ret0
  597. }
  598. // DeleteSystemRole indicates an expected call of DeleteSystemRole.
  599. func (mr *MockKptServiceMockRecorder) DeleteSystemRole(arg0, arg1 interface{}) *gomock.Call {
  600. mr.mock.ctrl.T.Helper()
  601. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemRole", reflect.TypeOf((*MockKptService)(nil).DeleteSystemRole), arg0, arg1)
  602. }
  603. // DeleteSystemUser mocks base method.
  604. func (m *MockKptService) DeleteSystemUser(arg0 context.Context, arg1 int64) error {
  605. m.ctrl.T.Helper()
  606. ret := m.ctrl.Call(m, "DeleteSystemUser", arg0, arg1)
  607. ret0, _ := ret[0].(error)
  608. return ret0
  609. }
  610. // DeleteSystemUser indicates an expected call of DeleteSystemUser.
  611. func (mr *MockKptServiceMockRecorder) DeleteSystemUser(arg0, arg1 interface{}) *gomock.Call {
  612. mr.mock.ctrl.T.Helper()
  613. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemUser", reflect.TypeOf((*MockKptService)(nil).DeleteSystemUser), arg0, arg1)
  614. }
  615. // DiseaseCureReport mocks base method.
  616. func (m *MockKptService) DiseaseCureReport(arg0 context.Context, arg1 *cowPb.DiseaseCureRateRequest) (*cowPb.DiseaseCureRateResponse, error) {
  617. m.ctrl.T.Helper()
  618. ret := m.ctrl.Call(m, "DiseaseCureReport", arg0, arg1)
  619. ret0, _ := ret[0].(*cowPb.DiseaseCureRateResponse)
  620. ret1, _ := ret[1].(error)
  621. return ret0, ret1
  622. }
  623. // DiseaseCureReport indicates an expected call of DiseaseCureReport.
  624. func (mr *MockKptServiceMockRecorder) DiseaseCureReport(arg0, arg1 interface{}) *gomock.Call {
  625. mr.mock.ctrl.T.Helper()
  626. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseCureReport", reflect.TypeOf((*MockKptService)(nil).DiseaseCureReport), arg0, arg1)
  627. }
  628. // DiseaseOptions mocks base method.
  629. func (m *MockKptService) DiseaseOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  630. m.ctrl.T.Helper()
  631. ret := m.ctrl.Call(m, "DiseaseOptions", arg0)
  632. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  633. ret1, _ := ret[1].(error)
  634. return ret0, ret1
  635. }
  636. // DiseaseOptions indicates an expected call of DiseaseOptions.
  637. func (mr *MockKptServiceMockRecorder) DiseaseOptions(arg0 interface{}) *gomock.Call {
  638. mr.mock.ctrl.T.Helper()
  639. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseOptions", reflect.TypeOf((*MockKptService)(nil).DiseaseOptions), arg0)
  640. }
  641. // DiseaseTypeOptions mocks base method.
  642. func (m *MockKptService) DiseaseTypeOptions(arg0 context.Context, arg1 string) (*cowPb.ConfigOptionsListResponse, error) {
  643. m.ctrl.T.Helper()
  644. ret := m.ctrl.Call(m, "DiseaseTypeOptions", arg0, arg1)
  645. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  646. ret1, _ := ret[1].(error)
  647. return ret0, ret1
  648. }
  649. // DiseaseTypeOptions indicates an expected call of DiseaseTypeOptions.
  650. func (mr *MockKptServiceMockRecorder) DiseaseTypeOptions(arg0, arg1 interface{}) *gomock.Call {
  651. mr.mock.ctrl.T.Helper()
  652. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseTypeOptions", reflect.TypeOf((*MockKptService)(nil).DiseaseTypeOptions), arg0, arg1)
  653. }
  654. // DrugsCreateOrUpdate mocks base method.
  655. func (m *MockKptService) DrugsCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchDrugsList) error {
  656. m.ctrl.T.Helper()
  657. ret := m.ctrl.Call(m, "DrugsCreateOrUpdate", arg0, arg1)
  658. ret0, _ := ret[0].(error)
  659. return ret0
  660. }
  661. // DrugsCreateOrUpdate indicates an expected call of DrugsCreateOrUpdate.
  662. func (mr *MockKptServiceMockRecorder) DrugsCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  663. mr.mock.ctrl.T.Helper()
  664. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).DrugsCreateOrUpdate), arg0, arg1)
  665. }
  666. // DrugsList mocks base method.
  667. func (m *MockKptService) DrugsList(arg0 context.Context, arg1 *cowPb.SearchDrugsRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDrugsResponse, error) {
  668. m.ctrl.T.Helper()
  669. ret := m.ctrl.Call(m, "DrugsList", arg0, arg1, arg2)
  670. ret0, _ := ret[0].(*cowPb.SearchDrugsResponse)
  671. ret1, _ := ret[1].(error)
  672. return ret0, ret1
  673. }
  674. // DrugsList indicates an expected call of DrugsList.
  675. func (mr *MockKptServiceMockRecorder) DrugsList(arg0, arg1, arg2 interface{}) *gomock.Call {
  676. mr.mock.ctrl.T.Helper()
  677. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsList", reflect.TypeOf((*MockKptService)(nil).DrugsList), arg0, arg1, arg2)
  678. }
  679. // EnterList mocks base method.
  680. func (m *MockKptService) EnterList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchEnterEventResponse, error) {
  681. m.ctrl.T.Helper()
  682. ret := m.ctrl.Call(m, "EnterList", arg0, arg1, arg2)
  683. ret0, _ := ret[0].(*cowPb.SearchEnterEventResponse)
  684. ret1, _ := ret[1].(error)
  685. return ret0, ret1
  686. }
  687. // EnterList indicates an expected call of EnterList.
  688. func (mr *MockKptServiceMockRecorder) EnterList(arg0, arg1, arg2 interface{}) *gomock.Call {
  689. mr.mock.ctrl.T.Helper()
  690. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnterList", reflect.TypeOf((*MockKptService)(nil).EnterList), arg0, arg1, arg2)
  691. }
  692. // EstrusCreate mocks base method.
  693. func (m *MockKptService) EstrusCreate(arg0 context.Context, arg1 *cowPb.EventEstrus) error {
  694. m.ctrl.T.Helper()
  695. ret := m.ctrl.Call(m, "EstrusCreate", arg0, arg1)
  696. ret0, _ := ret[0].(error)
  697. return ret0
  698. }
  699. // EstrusCreate indicates an expected call of EstrusCreate.
  700. func (mr *MockKptServiceMockRecorder) EstrusCreate(arg0, arg1 interface{}) *gomock.Call {
  701. mr.mock.ctrl.T.Helper()
  702. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstrusCreate", reflect.TypeOf((*MockKptService)(nil).EstrusCreate), arg0, arg1)
  703. }
  704. // EstrusList mocks base method.
  705. func (m *MockKptService) EstrusList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.EstrusEventResponse, error) {
  706. m.ctrl.T.Helper()
  707. ret := m.ctrl.Call(m, "EstrusList", arg0, arg1, arg2)
  708. ret0, _ := ret[0].(*cowPb.EstrusEventResponse)
  709. ret1, _ := ret[1].(error)
  710. return ret0, ret1
  711. }
  712. // EstrusList indicates an expected call of EstrusList.
  713. func (mr *MockKptServiceMockRecorder) EstrusList(arg0, arg1, arg2 interface{}) *gomock.Call {
  714. mr.mock.ctrl.T.Helper()
  715. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstrusList", reflect.TypeOf((*MockKptService)(nil).EstrusList), arg0, arg1, arg2)
  716. }
  717. // FrozenSemenCreate mocks base method.
  718. func (m *MockKptService) FrozenSemenCreate(arg0 context.Context, arg1 *cowPb.SearchFrozenSemenList) error {
  719. m.ctrl.T.Helper()
  720. ret := m.ctrl.Call(m, "FrozenSemenCreate", arg0, arg1)
  721. ret0, _ := ret[0].(error)
  722. return ret0
  723. }
  724. // FrozenSemenCreate indicates an expected call of FrozenSemenCreate.
  725. func (mr *MockKptServiceMockRecorder) FrozenSemenCreate(arg0, arg1 interface{}) *gomock.Call {
  726. mr.mock.ctrl.T.Helper()
  727. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FrozenSemenCreate", reflect.TypeOf((*MockKptService)(nil).FrozenSemenCreate), arg0, arg1)
  728. }
  729. // FrozenSemenList mocks base method.
  730. func (m *MockKptService) FrozenSemenList(arg0 context.Context, arg1 *cowPb.FrozenSemenRequest, arg2 *cowPb.PaginationModel) (*cowPb.FrozenSemenResponse, error) {
  731. m.ctrl.T.Helper()
  732. ret := m.ctrl.Call(m, "FrozenSemenList", arg0, arg1, arg2)
  733. ret0, _ := ret[0].(*cowPb.FrozenSemenResponse)
  734. ret1, _ := ret[1].(error)
  735. return ret0, ret1
  736. }
  737. // FrozenSemenList indicates an expected call of FrozenSemenList.
  738. func (mr *MockKptServiceMockRecorder) FrozenSemenList(arg0, arg1, arg2 interface{}) *gomock.Call {
  739. mr.mock.ctrl.T.Helper()
  740. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FrozenSemenList", reflect.TypeOf((*MockKptService)(nil).FrozenSemenList), arg0, arg1, arg2)
  741. }
  742. // GetCurrentUserName mocks base method.
  743. func (m *MockKptService) GetCurrentUserName(arg0 context.Context) (string, error) {
  744. m.ctrl.T.Helper()
  745. ret := m.ctrl.Call(m, "GetCurrentUserName", arg0)
  746. ret0, _ := ret[0].(string)
  747. ret1, _ := ret[1].(error)
  748. return ret0, ret1
  749. }
  750. // GetCurrentUserName indicates an expected call of GetCurrentUserName.
  751. func (mr *MockKptServiceMockRecorder) GetCurrentUserName(arg0 interface{}) *gomock.Call {
  752. mr.mock.ctrl.T.Helper()
  753. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentUserName", reflect.TypeOf((*MockKptService)(nil).GetCurrentUserName), arg0)
  754. }
  755. // GetRoleMenuList mocks base method.
  756. func (m *MockKptService) GetRoleMenuList(arg0 context.Context, arg1 int64) (*cowPb.SystemRoleMenuResponse, error) {
  757. m.ctrl.T.Helper()
  758. ret := m.ctrl.Call(m, "GetRoleMenuList", arg0, arg1)
  759. ret0, _ := ret[0].(*cowPb.SystemRoleMenuResponse)
  760. ret1, _ := ret[1].(error)
  761. return ret0, ret1
  762. }
  763. // GetRoleMenuList indicates an expected call of GetRoleMenuList.
  764. func (mr *MockKptServiceMockRecorder) GetRoleMenuList(arg0, arg1 interface{}) *gomock.Call {
  765. mr.mock.ctrl.T.Helper()
  766. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRoleMenuList", reflect.TypeOf((*MockKptService)(nil).GetRoleMenuList), arg0, arg1)
  767. }
  768. // GetSystemUserMenu mocks base method.
  769. func (m *MockKptService) GetSystemUserMenu(arg0 context.Context) (*cowPb.SystemUserMenuTreeResponse, error) {
  770. m.ctrl.T.Helper()
  771. ret := m.ctrl.Call(m, "GetSystemUserMenu", arg0)
  772. ret0, _ := ret[0].(*cowPb.SystemUserMenuTreeResponse)
  773. ret1, _ := ret[1].(error)
  774. return ret0, ret1
  775. }
  776. // GetSystemUserMenu indicates an expected call of GetSystemUserMenu.
  777. func (mr *MockKptServiceMockRecorder) GetSystemUserMenu(arg0 interface{}) *gomock.Call {
  778. mr.mock.ctrl.T.Helper()
  779. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSystemUserMenu", reflect.TypeOf((*MockKptService)(nil).GetSystemUserMenu), arg0)
  780. }
  781. // GroupTransferList mocks base method.
  782. func (m *MockKptService) GroupTransferList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchTransferGroupEventResponse, error) {
  783. m.ctrl.T.Helper()
  784. ret := m.ctrl.Call(m, "GroupTransferList", arg0, arg1, arg2)
  785. ret0, _ := ret[0].(*cowPb.SearchTransferGroupEventResponse)
  786. ret1, _ := ret[1].(error)
  787. return ret0, ret1
  788. }
  789. // GroupTransferList indicates an expected call of GroupTransferList.
  790. func (mr *MockKptServiceMockRecorder) GroupTransferList(arg0, arg1, arg2 interface{}) *gomock.Call {
  791. mr.mock.ctrl.T.Helper()
  792. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GroupTransferList", reflect.TypeOf((*MockKptService)(nil).GroupTransferList), arg0, arg1, arg2)
  793. }
  794. // GrowthCurve mocks base method.
  795. func (m *MockKptService) GrowthCurve(arg0 context.Context, arg1 *cowPb.SearchGrowthCurvesRequest) (*cowPb.GrowthCurvesResponse, error) {
  796. m.ctrl.T.Helper()
  797. ret := m.ctrl.Call(m, "GrowthCurve", arg0, arg1)
  798. ret0, _ := ret[0].(*cowPb.GrowthCurvesResponse)
  799. ret1, _ := ret[1].(error)
  800. return ret0, ret1
  801. }
  802. // GrowthCurve indicates an expected call of GrowthCurve.
  803. func (mr *MockKptServiceMockRecorder) GrowthCurve(arg0, arg1 interface{}) *gomock.Call {
  804. mr.mock.ctrl.T.Helper()
  805. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GrowthCurve", reflect.TypeOf((*MockKptService)(nil).GrowthCurve), arg0, arg1)
  806. }
  807. // ImmunizationIsShow mocks base method.
  808. func (m *MockKptService) ImmunizationIsShow(arg0 context.Context, arg1 int64) error {
  809. m.ctrl.T.Helper()
  810. ret := m.ctrl.Call(m, "ImmunizationIsShow", arg0, arg1)
  811. ret0, _ := ret[0].(error)
  812. return ret0
  813. }
  814. // ImmunizationIsShow indicates an expected call of ImmunizationIsShow.
  815. func (mr *MockKptServiceMockRecorder) ImmunizationIsShow(arg0, arg1 interface{}) *gomock.Call {
  816. mr.mock.ctrl.T.Helper()
  817. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImmunizationIsShow", reflect.TypeOf((*MockKptService)(nil).ImmunizationIsShow), arg0, arg1)
  818. }
  819. // ImmunizationList mocks base method.
  820. func (m *MockKptService) ImmunizationList(arg0 context.Context, arg1 *cowPb.ImmunizationRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchImmunizationResponse, error) {
  821. m.ctrl.T.Helper()
  822. ret := m.ctrl.Call(m, "ImmunizationList", arg0, arg1, arg2)
  823. ret0, _ := ret[0].(*cowPb.SearchImmunizationResponse)
  824. ret1, _ := ret[1].(error)
  825. return ret0, ret1
  826. }
  827. // ImmunizationList indicates an expected call of ImmunizationList.
  828. func (mr *MockKptServiceMockRecorder) ImmunizationList(arg0, arg1, arg2 interface{}) *gomock.Call {
  829. mr.mock.ctrl.T.Helper()
  830. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImmunizationList", reflect.TypeOf((*MockKptService)(nil).ImmunizationList), arg0, arg1, arg2)
  831. }
  832. // IsShowSystemRole mocks base method.
  833. func (m *MockKptService) IsShowSystemRole(arg0 context.Context, arg1 int64) error {
  834. m.ctrl.T.Helper()
  835. ret := m.ctrl.Call(m, "IsShowSystemRole", arg0, arg1)
  836. ret0, _ := ret[0].(error)
  837. return ret0
  838. }
  839. // IsShowSystemRole indicates an expected call of IsShowSystemRole.
  840. func (mr *MockKptServiceMockRecorder) IsShowSystemRole(arg0, arg1 interface{}) *gomock.Call {
  841. mr.mock.ctrl.T.Helper()
  842. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemRole", reflect.TypeOf((*MockKptService)(nil).IsShowSystemRole), arg0, arg1)
  843. }
  844. // IsShowSystemUser mocks base method.
  845. func (m *MockKptService) IsShowSystemUser(arg0 context.Context, arg1 int64) error {
  846. m.ctrl.T.Helper()
  847. ret := m.ctrl.Call(m, "IsShowSystemUser", arg0, arg1)
  848. ret0, _ := ret[0].(error)
  849. return ret0
  850. }
  851. // IsShowSystemUser indicates an expected call of IsShowSystemUser.
  852. func (mr *MockKptServiceMockRecorder) IsShowSystemUser(arg0, arg1 interface{}) *gomock.Call {
  853. mr.mock.ctrl.T.Helper()
  854. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemUser", reflect.TypeOf((*MockKptService)(nil).IsShowSystemUser), arg0, arg1)
  855. }
  856. // Login mocks base method.
  857. func (m *MockKptService) Login(arg0 context.Context, arg1 *cowPb.SearchUserRequest) (*cowPb.SystemUserResponse, error) {
  858. m.ctrl.T.Helper()
  859. ret := m.ctrl.Call(m, "Login", arg0, arg1)
  860. ret0, _ := ret[0].(*cowPb.SystemUserResponse)
  861. ret1, _ := ret[1].(error)
  862. return ret0, ret1
  863. }
  864. // Login indicates an expected call of Login.
  865. func (mr *MockKptServiceMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call {
  866. mr.mock.ctrl.T.Helper()
  867. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Login", reflect.TypeOf((*MockKptService)(nil).Login), arg0, arg1)
  868. }
  869. // MatingCreate mocks base method.
  870. func (m *MockKptService) MatingCreate(arg0 context.Context, arg1 *cowPb.EventMating) error {
  871. m.ctrl.T.Helper()
  872. ret := m.ctrl.Call(m, "MatingCreate", arg0, arg1)
  873. ret0, _ := ret[0].(error)
  874. return ret0
  875. }
  876. // MatingCreate indicates an expected call of MatingCreate.
  877. func (mr *MockKptServiceMockRecorder) MatingCreate(arg0, arg1 interface{}) *gomock.Call {
  878. mr.mock.ctrl.T.Helper()
  879. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingCreate", reflect.TypeOf((*MockKptService)(nil).MatingCreate), arg0, arg1)
  880. }
  881. // MatingList mocks base method.
  882. func (m *MockKptService) MatingList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.MatingEventResponse, error) {
  883. m.ctrl.T.Helper()
  884. ret := m.ctrl.Call(m, "MatingList", arg0, arg1, arg2)
  885. ret0, _ := ret[0].(*cowPb.MatingEventResponse)
  886. ret1, _ := ret[1].(error)
  887. return ret0, ret1
  888. }
  889. // MatingList indicates an expected call of MatingList.
  890. func (mr *MockKptServiceMockRecorder) MatingList(arg0, arg1, arg2 interface{}) *gomock.Call {
  891. mr.mock.ctrl.T.Helper()
  892. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingList", reflect.TypeOf((*MockKptService)(nil).MatingList), arg0, arg1, arg2)
  893. }
  894. // MatingTimely mocks base method.
  895. func (m *MockKptService) MatingTimely(arg0 context.Context, arg1 *cowPb.MatingTimelyRequest) (*model.MatingTimelyResponse, error) {
  896. m.ctrl.T.Helper()
  897. ret := m.ctrl.Call(m, "MatingTimely", arg0, arg1)
  898. ret0, _ := ret[0].(*model.MatingTimelyResponse)
  899. ret1, _ := ret[1].(error)
  900. return ret0, ret1
  901. }
  902. // MatingTimely indicates an expected call of MatingTimely.
  903. func (mr *MockKptServiceMockRecorder) MatingTimely(arg0, arg1 interface{}) *gomock.Call {
  904. mr.mock.ctrl.T.Helper()
  905. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingTimely", reflect.TypeOf((*MockKptService)(nil).MatingTimely), arg0, arg1)
  906. }
  907. // MedicalEquipmentCreateOrUpdate mocks base method.
  908. func (m *MockKptService) MedicalEquipmentCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchMedicalEquipmentList) error {
  909. m.ctrl.T.Helper()
  910. ret := m.ctrl.Call(m, "MedicalEquipmentCreateOrUpdate", arg0, arg1)
  911. ret0, _ := ret[0].(error)
  912. return ret0
  913. }
  914. // MedicalEquipmentCreateOrUpdate indicates an expected call of MedicalEquipmentCreateOrUpdate.
  915. func (mr *MockKptServiceMockRecorder) MedicalEquipmentCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  916. mr.mock.ctrl.T.Helper()
  917. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MedicalEquipmentCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).MedicalEquipmentCreateOrUpdate), arg0, arg1)
  918. }
  919. // MedicalEquipmentList mocks base method.
  920. func (m *MockKptService) MedicalEquipmentList(arg0 context.Context, arg1 *cowPb.SearchMedicalEquipmentRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchMedicalEquipmentResponse, error) {
  921. m.ctrl.T.Helper()
  922. ret := m.ctrl.Call(m, "MedicalEquipmentList", arg0, arg1, arg2)
  923. ret0, _ := ret[0].(*cowPb.SearchMedicalEquipmentResponse)
  924. ret1, _ := ret[1].(error)
  925. return ret0, ret1
  926. }
  927. // MedicalEquipmentList indicates an expected call of MedicalEquipmentList.
  928. func (mr *MockKptServiceMockRecorder) MedicalEquipmentList(arg0, arg1, arg2 interface{}) *gomock.Call {
  929. mr.mock.ctrl.T.Helper()
  930. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MedicalEquipmentList", reflect.TypeOf((*MockKptService)(nil).MedicalEquipmentList), arg0, arg1, arg2)
  931. }
  932. // MultipleFactorAnalysis mocks base method.
  933. func (m *MockKptService) MultipleFactorAnalysis(arg0 context.Context, arg1 *cowPb.MultiFactorPregnancyRateRequest) (*cowPb.MultiFactorPregnancyRateResponse, error) {
  934. m.ctrl.T.Helper()
  935. ret := m.ctrl.Call(m, "MultipleFactorAnalysis", arg0, arg1)
  936. ret0, _ := ret[0].(*cowPb.MultiFactorPregnancyRateResponse)
  937. ret1, _ := ret[1].(error)
  938. return ret0, ret1
  939. }
  940. // MultipleFactorAnalysis indicates an expected call of MultipleFactorAnalysis.
  941. func (mr *MockKptServiceMockRecorder) MultipleFactorAnalysis(arg0, arg1 interface{}) *gomock.Call {
  942. mr.mock.ctrl.T.Helper()
  943. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MultipleFactorAnalysis", reflect.TypeOf((*MockKptService)(nil).MultipleFactorAnalysis), arg0, arg1)
  944. }
  945. // OrderCreateOrUpdate mocks base method.
  946. func (m *MockKptService) OrderCreateOrUpdate(arg0 context.Context, arg1 *cowPb.WorkOrderList) error {
  947. m.ctrl.T.Helper()
  948. ret := m.ctrl.Call(m, "OrderCreateOrUpdate", arg0, arg1)
  949. ret0, _ := ret[0].(error)
  950. return ret0
  951. }
  952. // OrderCreateOrUpdate indicates an expected call of OrderCreateOrUpdate.
  953. func (mr *MockKptServiceMockRecorder) OrderCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  954. mr.mock.ctrl.T.Helper()
  955. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OrderCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).OrderCreateOrUpdate), arg0, arg1)
  956. }
  957. // OrderIsShow mocks base method.
  958. func (m *MockKptService) OrderIsShow(arg0 context.Context, arg1 int64) error {
  959. m.ctrl.T.Helper()
  960. ret := m.ctrl.Call(m, "OrderIsShow", arg0, arg1)
  961. ret0, _ := ret[0].(error)
  962. return ret0
  963. }
  964. // OrderIsShow indicates an expected call of OrderIsShow.
  965. func (mr *MockKptServiceMockRecorder) OrderIsShow(arg0, arg1 interface{}) *gomock.Call {
  966. mr.mock.ctrl.T.Helper()
  967. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OrderIsShow", reflect.TypeOf((*MockKptService)(nil).OrderIsShow), arg0, arg1)
  968. }
  969. // OrderList mocks base method.
  970. func (m *MockKptService) OrderList(arg0 context.Context, arg1 *cowPb.SearchWorkOrderRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchWorkOrderResponse, error) {
  971. m.ctrl.T.Helper()
  972. ret := m.ctrl.Call(m, "OrderList", arg0, arg1, arg2)
  973. ret0, _ := ret[0].(*cowPb.SearchWorkOrderResponse)
  974. ret1, _ := ret[1].(error)
  975. return ret0, ret1
  976. }
  977. // OrderList indicates an expected call of OrderList.
  978. func (mr *MockKptServiceMockRecorder) OrderList(arg0, arg1, arg2 interface{}) *gomock.Call {
  979. mr.mock.ctrl.T.Helper()
  980. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OrderList", reflect.TypeOf((*MockKptService)(nil).OrderList), arg0, arg1, arg2)
  981. }
  982. // PenWeight mocks base method.
  983. func (m *MockKptService) PenWeight(arg0 context.Context, arg1 *cowPb.PenWeightRequest, arg2 *cowPb.PaginationModel) (*cowPb.PenWeightResponse, error) {
  984. m.ctrl.T.Helper()
  985. ret := m.ctrl.Call(m, "PenWeight", arg0, arg1, arg2)
  986. ret0, _ := ret[0].(*cowPb.PenWeightResponse)
  987. ret1, _ := ret[1].(error)
  988. return ret0, ret1
  989. }
  990. // PenWeight indicates an expected call of PenWeight.
  991. func (mr *MockKptServiceMockRecorder) PenWeight(arg0, arg1, arg2 interface{}) *gomock.Call {
  992. mr.mock.ctrl.T.Helper()
  993. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PenWeight", reflect.TypeOf((*MockKptService)(nil).PenWeight), arg0, arg1, arg2)
  994. }
  995. // PregnancyReport mocks base method.
  996. func (m *MockKptService) PregnancyReport(arg0 context.Context, arg1 *cowPb.PregnancyReportRequest, arg2 *cowPb.PaginationModel) (*cowPb.PregnancyReportResponse, error) {
  997. m.ctrl.T.Helper()
  998. ret := m.ctrl.Call(m, "PregnancyReport", arg0, arg1, arg2)
  999. ret0, _ := ret[0].(*cowPb.PregnancyReportResponse)
  1000. ret1, _ := ret[1].(error)
  1001. return ret0, ret1
  1002. }
  1003. // PregnancyReport indicates an expected call of PregnancyReport.
  1004. func (mr *MockKptServiceMockRecorder) PregnancyReport(arg0, arg1, arg2 interface{}) *gomock.Call {
  1005. mr.mock.ctrl.T.Helper()
  1006. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnancyReport", reflect.TypeOf((*MockKptService)(nil).PregnancyReport), arg0, arg1, arg2)
  1007. }
  1008. // PregnantCheckCreate mocks base method.
  1009. func (m *MockKptService) PregnantCheckCreate(arg0 context.Context, arg1 *cowPb.EventPregnantCheck) error {
  1010. m.ctrl.T.Helper()
  1011. ret := m.ctrl.Call(m, "PregnantCheckCreate", arg0, arg1)
  1012. ret0, _ := ret[0].(error)
  1013. return ret0
  1014. }
  1015. // PregnantCheckCreate indicates an expected call of PregnantCheckCreate.
  1016. func (mr *MockKptServiceMockRecorder) PregnantCheckCreate(arg0, arg1 interface{}) *gomock.Call {
  1017. mr.mock.ctrl.T.Helper()
  1018. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnantCheckCreate", reflect.TypeOf((*MockKptService)(nil).PregnantCheckCreate), arg0, arg1)
  1019. }
  1020. // PregnantCheckList mocks base method.
  1021. func (m *MockKptService) PregnantCheckList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.PregnantCheckEventResponse, error) {
  1022. m.ctrl.T.Helper()
  1023. ret := m.ctrl.Call(m, "PregnantCheckList", arg0, arg1, arg2)
  1024. ret0, _ := ret[0].(*cowPb.PregnantCheckEventResponse)
  1025. ret1, _ := ret[1].(error)
  1026. return ret0, ret1
  1027. }
  1028. // PregnantCheckList indicates an expected call of PregnantCheckList.
  1029. func (mr *MockKptServiceMockRecorder) PregnantCheckList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1030. mr.mock.ctrl.T.Helper()
  1031. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnantCheckList", reflect.TypeOf((*MockKptService)(nil).PregnantCheckList), arg0, arg1, arg2)
  1032. }
  1033. // PrescriptionOptions mocks base method.
  1034. func (m *MockKptService) PrescriptionOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  1035. m.ctrl.T.Helper()
  1036. ret := m.ctrl.Call(m, "PrescriptionOptions", arg0)
  1037. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  1038. ret1, _ := ret[1].(error)
  1039. return ret0, ret1
  1040. }
  1041. // PrescriptionOptions indicates an expected call of PrescriptionOptions.
  1042. func (mr *MockKptServiceMockRecorder) PrescriptionOptions(arg0 interface{}) *gomock.Call {
  1043. mr.mock.ctrl.T.Helper()
  1044. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrescriptionOptions", reflect.TypeOf((*MockKptService)(nil).PrescriptionOptions), arg0)
  1045. }
  1046. // ResetPasswordSystemUser mocks base method.
  1047. func (m *MockKptService) ResetPasswordSystemUser(arg0 context.Context, arg1 *cowPb.ResetUserPasswordRequest) error {
  1048. m.ctrl.T.Helper()
  1049. ret := m.ctrl.Call(m, "ResetPasswordSystemUser", arg0, arg1)
  1050. ret0, _ := ret[0].(error)
  1051. return ret0
  1052. }
  1053. // ResetPasswordSystemUser indicates an expected call of ResetPasswordSystemUser.
  1054. func (mr *MockKptServiceMockRecorder) ResetPasswordSystemUser(arg0, arg1 interface{}) *gomock.Call {
  1055. mr.mock.ctrl.T.Helper()
  1056. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetPasswordSystemUser", reflect.TypeOf((*MockKptService)(nil).ResetPasswordSystemUser), arg0, arg1)
  1057. }
  1058. // RoleMenuSave mocks base method.
  1059. func (m *MockKptService) RoleMenuSave(arg0 context.Context, arg1 *cowPb.SystemRoleMenuRequest) error {
  1060. m.ctrl.T.Helper()
  1061. ret := m.ctrl.Call(m, "RoleMenuSave", arg0, arg1)
  1062. ret0, _ := ret[0].(error)
  1063. return ret0
  1064. }
  1065. // RoleMenuSave indicates an expected call of RoleMenuSave.
  1066. func (mr *MockKptServiceMockRecorder) RoleMenuSave(arg0, arg1 interface{}) *gomock.Call {
  1067. mr.mock.ctrl.T.Helper()
  1068. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RoleMenuSave", reflect.TypeOf((*MockKptService)(nil).RoleMenuSave), arg0, arg1)
  1069. }
  1070. // SameTimeCreate mocks base method.
  1071. func (m *MockKptService) SameTimeCreate(arg0 context.Context, arg1 *cowPb.EventSameTime) error {
  1072. m.ctrl.T.Helper()
  1073. ret := m.ctrl.Call(m, "SameTimeCreate", arg0, arg1)
  1074. ret0, _ := ret[0].(error)
  1075. return ret0
  1076. }
  1077. // SameTimeCreate indicates an expected call of SameTimeCreate.
  1078. func (mr *MockKptServiceMockRecorder) SameTimeCreate(arg0, arg1 interface{}) *gomock.Call {
  1079. mr.mock.ctrl.T.Helper()
  1080. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeCreate", reflect.TypeOf((*MockKptService)(nil).SameTimeCreate), arg0, arg1)
  1081. }
  1082. // SameTimeIsShow mocks base method.
  1083. func (m *MockKptService) SameTimeIsShow(arg0 context.Context, arg1 int64) error {
  1084. m.ctrl.T.Helper()
  1085. ret := m.ctrl.Call(m, "SameTimeIsShow", arg0, arg1)
  1086. ret0, _ := ret[0].(error)
  1087. return ret0
  1088. }
  1089. // SameTimeIsShow indicates an expected call of SameTimeIsShow.
  1090. func (mr *MockKptServiceMockRecorder) SameTimeIsShow(arg0, arg1 interface{}) *gomock.Call {
  1091. mr.mock.ctrl.T.Helper()
  1092. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeIsShow", reflect.TypeOf((*MockKptService)(nil).SameTimeIsShow), arg0, arg1)
  1093. }
  1094. // SameTimeList mocks base method.
  1095. func (m *MockKptService) SameTimeList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchSameTimeResponse, error) {
  1096. m.ctrl.T.Helper()
  1097. ret := m.ctrl.Call(m, "SameTimeList", arg0, arg1, arg2)
  1098. ret0, _ := ret[0].(*cowPb.SearchSameTimeResponse)
  1099. ret1, _ := ret[1].(error)
  1100. return ret0, ret1
  1101. }
  1102. // SameTimeList indicates an expected call of SameTimeList.
  1103. func (mr *MockKptServiceMockRecorder) SameTimeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1104. mr.mock.ctrl.T.Helper()
  1105. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SameTimeList", reflect.TypeOf((*MockKptService)(nil).SameTimeList), arg0, arg1, arg2)
  1106. }
  1107. // SearchBarnList mocks base method.
  1108. func (m *MockKptService) SearchBarnList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBarnResponse, error) {
  1109. m.ctrl.T.Helper()
  1110. ret := m.ctrl.Call(m, "SearchBarnList", arg0, arg1, arg2)
  1111. ret0, _ := ret[0].(*cowPb.SearchBarnResponse)
  1112. ret1, _ := ret[1].(error)
  1113. return ret0, ret1
  1114. }
  1115. // SearchBarnList indicates an expected call of SearchBarnList.
  1116. func (mr *MockKptServiceMockRecorder) SearchBarnList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1117. mr.mock.ctrl.T.Helper()
  1118. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBarnList", reflect.TypeOf((*MockKptService)(nil).SearchBarnList), arg0, arg1, arg2)
  1119. }
  1120. // SearchBarnTypeList mocks base method.
  1121. func (m *MockKptService) SearchBarnTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1122. m.ctrl.T.Helper()
  1123. ret := m.ctrl.Call(m, "SearchBarnTypeList", arg0, arg1, arg2)
  1124. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1125. ret1, _ := ret[1].(error)
  1126. return ret0, ret1
  1127. }
  1128. // SearchBarnTypeList indicates an expected call of SearchBarnTypeList.
  1129. func (mr *MockKptServiceMockRecorder) SearchBarnTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1130. mr.mock.ctrl.T.Helper()
  1131. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBarnTypeList", reflect.TypeOf((*MockKptService)(nil).SearchBarnTypeList), arg0, arg1, arg2)
  1132. }
  1133. // SearchBreedStatusList mocks base method.
  1134. func (m *MockKptService) SearchBreedStatusList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1135. m.ctrl.T.Helper()
  1136. ret := m.ctrl.Call(m, "SearchBreedStatusList", arg0, arg1, arg2)
  1137. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1138. ret1, _ := ret[1].(error)
  1139. return ret0, ret1
  1140. }
  1141. // SearchBreedStatusList indicates an expected call of SearchBreedStatusList.
  1142. func (mr *MockKptServiceMockRecorder) SearchBreedStatusList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1143. mr.mock.ctrl.T.Helper()
  1144. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBreedStatusList", reflect.TypeOf((*MockKptService)(nil).SearchBreedStatusList), arg0, arg1, arg2)
  1145. }
  1146. // SearchCowKindList mocks base method.
  1147. func (m *MockKptService) SearchCowKindList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1148. m.ctrl.T.Helper()
  1149. ret := m.ctrl.Call(m, "SearchCowKindList", arg0, arg1, arg2)
  1150. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1151. ret1, _ := ret[1].(error)
  1152. return ret0, ret1
  1153. }
  1154. // SearchCowKindList indicates an expected call of SearchCowKindList.
  1155. func (mr *MockKptServiceMockRecorder) SearchCowKindList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1156. mr.mock.ctrl.T.Helper()
  1157. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowKindList", reflect.TypeOf((*MockKptService)(nil).SearchCowKindList), arg0, arg1, arg2)
  1158. }
  1159. // SearchCowSourceList mocks base method.
  1160. func (m *MockKptService) SearchCowSourceList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1161. m.ctrl.T.Helper()
  1162. ret := m.ctrl.Call(m, "SearchCowSourceList", arg0, arg1, arg2)
  1163. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1164. ret1, _ := ret[1].(error)
  1165. return ret0, ret1
  1166. }
  1167. // SearchCowSourceList indicates an expected call of SearchCowSourceList.
  1168. func (mr *MockKptServiceMockRecorder) SearchCowSourceList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1169. mr.mock.ctrl.T.Helper()
  1170. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowSourceList", reflect.TypeOf((*MockKptService)(nil).SearchCowSourceList), arg0, arg1, arg2)
  1171. }
  1172. // SearchCowStatusList mocks base method.
  1173. func (m *MockKptService) SearchCowStatusList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1174. m.ctrl.T.Helper()
  1175. ret := m.ctrl.Call(m, "SearchCowStatusList", arg0, arg1, arg2)
  1176. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1177. ret1, _ := ret[1].(error)
  1178. return ret0, ret1
  1179. }
  1180. // SearchCowStatusList indicates an expected call of SearchCowStatusList.
  1181. func (mr *MockKptServiceMockRecorder) SearchCowStatusList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1182. mr.mock.ctrl.T.Helper()
  1183. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowStatusList", reflect.TypeOf((*MockKptService)(nil).SearchCowStatusList), arg0, arg1, arg2)
  1184. }
  1185. // SearchCowTypeList mocks base method.
  1186. func (m *MockKptService) SearchCowTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1187. m.ctrl.T.Helper()
  1188. ret := m.ctrl.Call(m, "SearchCowTypeList", arg0, arg1, arg2)
  1189. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1190. ret1, _ := ret[1].(error)
  1191. return ret0, ret1
  1192. }
  1193. // SearchCowTypeList indicates an expected call of SearchCowTypeList.
  1194. func (mr *MockKptServiceMockRecorder) SearchCowTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1195. mr.mock.ctrl.T.Helper()
  1196. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowTypeList", reflect.TypeOf((*MockKptService)(nil).SearchCowTypeList), arg0, arg1, arg2)
  1197. }
  1198. // SearchDiseaseList mocks base method.
  1199. func (m *MockKptService) SearchDiseaseList(arg0 context.Context, arg1 *cowPb.SearchDiseaseRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDiseaseResponse, error) {
  1200. m.ctrl.T.Helper()
  1201. ret := m.ctrl.Call(m, "SearchDiseaseList", arg0, arg1, arg2)
  1202. ret0, _ := ret[0].(*cowPb.SearchDiseaseResponse)
  1203. ret1, _ := ret[1].(error)
  1204. return ret0, ret1
  1205. }
  1206. // SearchDiseaseList indicates an expected call of SearchDiseaseList.
  1207. func (mr *MockKptServiceMockRecorder) SearchDiseaseList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1208. mr.mock.ctrl.T.Helper()
  1209. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchDiseaseList", reflect.TypeOf((*MockKptService)(nil).SearchDiseaseList), arg0, arg1, arg2)
  1210. }
  1211. // SearchDiseaseTypeList mocks base method.
  1212. func (m *MockKptService) SearchDiseaseTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1213. m.ctrl.T.Helper()
  1214. ret := m.ctrl.Call(m, "SearchDiseaseTypeList", arg0, arg1, arg2)
  1215. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1216. ret1, _ := ret[1].(error)
  1217. return ret0, ret1
  1218. }
  1219. // SearchDiseaseTypeList indicates an expected call of SearchDiseaseTypeList.
  1220. func (mr *MockKptServiceMockRecorder) SearchDiseaseTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1221. mr.mock.ctrl.T.Helper()
  1222. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchDiseaseTypeList", reflect.TypeOf((*MockKptService)(nil).SearchDiseaseTypeList), arg0, arg1, arg2)
  1223. }
  1224. // SearchPrescriptionList mocks base method.
  1225. func (m *MockKptService) SearchPrescriptionList(arg0 context.Context, arg1 *cowPb.SearchPrescriptionRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchPrescriptionResponse, error) {
  1226. m.ctrl.T.Helper()
  1227. ret := m.ctrl.Call(m, "SearchPrescriptionList", arg0, arg1, arg2)
  1228. ret0, _ := ret[0].(*cowPb.SearchPrescriptionResponse)
  1229. ret1, _ := ret[1].(error)
  1230. return ret0, ret1
  1231. }
  1232. // SearchPrescriptionList indicates an expected call of SearchPrescriptionList.
  1233. func (mr *MockKptServiceMockRecorder) SearchPrescriptionList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1234. mr.mock.ctrl.T.Helper()
  1235. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchPrescriptionList", reflect.TypeOf((*MockKptService)(nil).SearchPrescriptionList), arg0, arg1, arg2)
  1236. }
  1237. // SearchSameTimeList mocks base method.
  1238. func (m *MockKptService) SearchSameTimeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SameTimeResponse, error) {
  1239. m.ctrl.T.Helper()
  1240. ret := m.ctrl.Call(m, "SearchSameTimeList", arg0, arg1, arg2)
  1241. ret0, _ := ret[0].(*cowPb.SameTimeResponse)
  1242. ret1, _ := ret[1].(error)
  1243. return ret0, ret1
  1244. }
  1245. // SearchSameTimeList indicates an expected call of SearchSameTimeList.
  1246. func (mr *MockKptServiceMockRecorder) SearchSameTimeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1247. mr.mock.ctrl.T.Helper()
  1248. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSameTimeList", reflect.TypeOf((*MockKptService)(nil).SearchSameTimeList), arg0, arg1, arg2)
  1249. }
  1250. // SearchSystemDeptList mocks base method.
  1251. func (m *MockKptService) SearchSystemDeptList(arg0 context.Context, arg1 *cowPb.SearchDeptRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDeptResponse, error) {
  1252. m.ctrl.T.Helper()
  1253. ret := m.ctrl.Call(m, "SearchSystemDeptList", arg0, arg1, arg2)
  1254. ret0, _ := ret[0].(*cowPb.SearchDeptResponse)
  1255. ret1, _ := ret[1].(error)
  1256. return ret0, ret1
  1257. }
  1258. // SearchSystemDeptList indicates an expected call of SearchSystemDeptList.
  1259. func (mr *MockKptServiceMockRecorder) SearchSystemDeptList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1260. mr.mock.ctrl.T.Helper()
  1261. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemDeptList", reflect.TypeOf((*MockKptService)(nil).SearchSystemDeptList), arg0, arg1, arg2)
  1262. }
  1263. // SearchSystemMenuList mocks base method.
  1264. func (m *MockKptService) SearchSystemMenuList(arg0 context.Context, arg1 *cowPb.SearchMenuRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchMenuResponse, error) {
  1265. m.ctrl.T.Helper()
  1266. ret := m.ctrl.Call(m, "SearchSystemMenuList", arg0, arg1, arg2)
  1267. ret0, _ := ret[0].(*cowPb.SearchMenuResponse)
  1268. ret1, _ := ret[1].(error)
  1269. return ret0, ret1
  1270. }
  1271. // SearchSystemMenuList indicates an expected call of SearchSystemMenuList.
  1272. func (mr *MockKptServiceMockRecorder) SearchSystemMenuList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1273. mr.mock.ctrl.T.Helper()
  1274. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemMenuList", reflect.TypeOf((*MockKptService)(nil).SearchSystemMenuList), arg0, arg1, arg2)
  1275. }
  1276. // SearchSystemRoleList mocks base method.
  1277. func (m *MockKptService) SearchSystemRoleList(arg0 context.Context, arg1 *cowPb.SearchRoleRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchRoleResponse, error) {
  1278. m.ctrl.T.Helper()
  1279. ret := m.ctrl.Call(m, "SearchSystemRoleList", arg0, arg1, arg2)
  1280. ret0, _ := ret[0].(*cowPb.SearchRoleResponse)
  1281. ret1, _ := ret[1].(error)
  1282. return ret0, ret1
  1283. }
  1284. // SearchSystemRoleList indicates an expected call of SearchSystemRoleList.
  1285. func (mr *MockKptServiceMockRecorder) SearchSystemRoleList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1286. mr.mock.ctrl.T.Helper()
  1287. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemRoleList", reflect.TypeOf((*MockKptService)(nil).SearchSystemRoleList), arg0, arg1, arg2)
  1288. }
  1289. // SearchSystemUserList mocks base method.
  1290. func (m *MockKptService) SearchSystemUserList(arg0 context.Context, arg1 *cowPb.SearchUserRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchUserResponse, error) {
  1291. m.ctrl.T.Helper()
  1292. ret := m.ctrl.Call(m, "SearchSystemUserList", arg0, arg1, arg2)
  1293. ret0, _ := ret[0].(*cowPb.SearchUserResponse)
  1294. ret1, _ := ret[1].(error)
  1295. return ret0, ret1
  1296. }
  1297. // SearchSystemUserList indicates an expected call of SearchSystemUserList.
  1298. func (mr *MockKptServiceMockRecorder) SearchSystemUserList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1299. mr.mock.ctrl.T.Helper()
  1300. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemUserList", reflect.TypeOf((*MockKptService)(nil).SearchSystemUserList), arg0, arg1, arg2)
  1301. }
  1302. // SearchTransferPenReasonList mocks base method.
  1303. func (m *MockKptService) SearchTransferPenReasonList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  1304. m.ctrl.T.Helper()
  1305. ret := m.ctrl.Call(m, "SearchTransferPenReasonList", arg0, arg1, arg2)
  1306. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  1307. ret1, _ := ret[1].(error)
  1308. return ret0, ret1
  1309. }
  1310. // SearchTransferPenReasonList indicates an expected call of SearchTransferPenReasonList.
  1311. func (mr *MockKptServiceMockRecorder) SearchTransferPenReasonList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1312. mr.mock.ctrl.T.Helper()
  1313. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchTransferPenReasonList", reflect.TypeOf((*MockKptService)(nil).SearchTransferPenReasonList), arg0, arg1, arg2)
  1314. }
  1315. // SingleFactorInfantSurvivalRateAnalysis mocks base method.
  1316. func (m *MockKptService) SingleFactorInfantSurvivalRateAnalysis(arg0 context.Context, arg1 *cowPb.SingleFactorPregnancyRateRequest) (*cowPb.SingleFactorPregnancyRateResponse, error) {
  1317. m.ctrl.T.Helper()
  1318. ret := m.ctrl.Call(m, "SingleFactorInfantSurvivalRateAnalysis", arg0, arg1)
  1319. ret0, _ := ret[0].(*cowPb.SingleFactorPregnancyRateResponse)
  1320. ret1, _ := ret[1].(error)
  1321. return ret0, ret1
  1322. }
  1323. // SingleFactorInfantSurvivalRateAnalysis indicates an expected call of SingleFactorInfantSurvivalRateAnalysis.
  1324. func (mr *MockKptServiceMockRecorder) SingleFactorInfantSurvivalRateAnalysis(arg0, arg1 interface{}) *gomock.Call {
  1325. mr.mock.ctrl.T.Helper()
  1326. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SingleFactorInfantSurvivalRateAnalysis", reflect.TypeOf((*MockKptService)(nil).SingleFactorInfantSurvivalRateAnalysis), arg0, arg1)
  1327. }
  1328. // SystemBaseConfigOptions mocks base method.
  1329. func (m *MockKptService) SystemBaseConfigOptions(arg0 context.Context, arg1, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
  1330. m.ctrl.T.Helper()
  1331. ret := m.ctrl.Call(m, "SystemBaseConfigOptions", arg0, arg1, arg2)
  1332. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  1333. ret1, _ := ret[1].(error)
  1334. return ret0, ret1
  1335. }
  1336. // SystemBaseConfigOptions indicates an expected call of SystemBaseConfigOptions.
  1337. func (mr *MockKptServiceMockRecorder) SystemBaseConfigOptions(arg0, arg1, arg2 interface{}) *gomock.Call {
  1338. mr.mock.ctrl.T.Helper()
  1339. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBaseConfigOptions", reflect.TypeOf((*MockKptService)(nil).SystemBaseConfigOptions), arg0, arg1, arg2)
  1340. }
  1341. // SystemDepDelete mocks base method.
  1342. func (m *MockKptService) SystemDepDelete(arg0 context.Context, arg1 int64) error {
  1343. m.ctrl.T.Helper()
  1344. ret := m.ctrl.Call(m, "SystemDepDelete", arg0, arg1)
  1345. ret0, _ := ret[0].(error)
  1346. return ret0
  1347. }
  1348. // SystemDepDelete indicates an expected call of SystemDepDelete.
  1349. func (mr *MockKptServiceMockRecorder) SystemDepDelete(arg0, arg1 interface{}) *gomock.Call {
  1350. mr.mock.ctrl.T.Helper()
  1351. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemDepDelete", reflect.TypeOf((*MockKptService)(nil).SystemDepDelete), arg0, arg1)
  1352. }
  1353. // SystemDeptCreateOrUpdate mocks base method.
  1354. func (m *MockKptService) SystemDeptCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchDeptRequest) error {
  1355. m.ctrl.T.Helper()
  1356. ret := m.ctrl.Call(m, "SystemDeptCreateOrUpdate", arg0, arg1)
  1357. ret0, _ := ret[0].(error)
  1358. return ret0
  1359. }
  1360. // SystemDeptCreateOrUpdate indicates an expected call of SystemDeptCreateOrUpdate.
  1361. func (mr *MockKptServiceMockRecorder) SystemDeptCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  1362. mr.mock.ctrl.T.Helper()
  1363. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemDeptCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemDeptCreateOrUpdate), arg0, arg1)
  1364. }
  1365. // SystemMenuTree mocks base method.
  1366. func (m *MockKptService) SystemMenuTree(arg0 context.Context) (*cowPb.SystemMenuTreeResponse, error) {
  1367. m.ctrl.T.Helper()
  1368. ret := m.ctrl.Call(m, "SystemMenuTree", arg0)
  1369. ret0, _ := ret[0].(*cowPb.SystemMenuTreeResponse)
  1370. ret1, _ := ret[1].(error)
  1371. return ret0, ret1
  1372. }
  1373. // SystemMenuTree indicates an expected call of SystemMenuTree.
  1374. func (mr *MockKptServiceMockRecorder) SystemMenuTree(arg0 interface{}) *gomock.Call {
  1375. mr.mock.ctrl.T.Helper()
  1376. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemMenuTree", reflect.TypeOf((*MockKptService)(nil).SystemMenuTree), arg0)
  1377. }
  1378. // SystemRoleCreateOrUpdate mocks base method.
  1379. func (m *MockKptService) SystemRoleCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchRoleRequest) error {
  1380. m.ctrl.T.Helper()
  1381. ret := m.ctrl.Call(m, "SystemRoleCreateOrUpdate", arg0, arg1)
  1382. ret0, _ := ret[0].(error)
  1383. return ret0
  1384. }
  1385. // SystemRoleCreateOrUpdate indicates an expected call of SystemRoleCreateOrUpdate.
  1386. func (mr *MockKptServiceMockRecorder) SystemRoleCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  1387. mr.mock.ctrl.T.Helper()
  1388. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemRoleCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemRoleCreateOrUpdate), arg0, arg1)
  1389. }
  1390. // SystemRoleList mocks base method.
  1391. func (m *MockKptService) SystemRoleList(arg0 context.Context) (*cowPb.GetRoleListResponse, error) {
  1392. m.ctrl.T.Helper()
  1393. ret := m.ctrl.Call(m, "SystemRoleList", arg0)
  1394. ret0, _ := ret[0].(*cowPb.GetRoleListResponse)
  1395. ret1, _ := ret[1].(error)
  1396. return ret0, ret1
  1397. }
  1398. // SystemRoleList indicates an expected call of SystemRoleList.
  1399. func (mr *MockKptServiceMockRecorder) SystemRoleList(arg0 interface{}) *gomock.Call {
  1400. mr.mock.ctrl.T.Helper()
  1401. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemRoleList", reflect.TypeOf((*MockKptService)(nil).SystemRoleList), arg0)
  1402. }
  1403. // SystemUserCreateOrUpdate mocks base method.
  1404. func (m *MockKptService) SystemUserCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchUserRequest) error {
  1405. m.ctrl.T.Helper()
  1406. ret := m.ctrl.Call(m, "SystemUserCreateOrUpdate", arg0, arg1)
  1407. ret0, _ := ret[0].(error)
  1408. return ret0
  1409. }
  1410. // SystemUserCreateOrUpdate indicates an expected call of SystemUserCreateOrUpdate.
  1411. func (mr *MockKptServiceMockRecorder) SystemUserCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  1412. mr.mock.ctrl.T.Helper()
  1413. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemUserCreateOrUpdate), arg0, arg1)
  1414. }
  1415. // SystemUserOptions mocks base method.
  1416. func (m *MockKptService) SystemUserOptions(arg0 context.Context, arg1 int) (*cowPb.ConfigOptionsListResponse, error) {
  1417. m.ctrl.T.Helper()
  1418. ret := m.ctrl.Call(m, "SystemUserOptions", arg0, arg1)
  1419. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  1420. ret1, _ := ret[1].(error)
  1421. return ret0, ret1
  1422. }
  1423. // SystemUserOptions indicates an expected call of SystemUserOptions.
  1424. func (mr *MockKptServiceMockRecorder) SystemUserOptions(arg0, arg1 interface{}) *gomock.Call {
  1425. mr.mock.ctrl.T.Helper()
  1426. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserOptions", reflect.TypeOf((*MockKptService)(nil).SystemUserOptions), arg0, arg1)
  1427. }
  1428. // SystemUserRole mocks base method.
  1429. func (m *MockKptService) SystemUserRole(arg0 context.Context, arg1 int64) (*cowPb.SystemUserRoleResponse, error) {
  1430. m.ctrl.T.Helper()
  1431. ret := m.ctrl.Call(m, "SystemUserRole", arg0, arg1)
  1432. ret0, _ := ret[0].(*cowPb.SystemUserRoleResponse)
  1433. ret1, _ := ret[1].(error)
  1434. return ret0, ret1
  1435. }
  1436. // SystemUserRole indicates an expected call of SystemUserRole.
  1437. func (mr *MockKptServiceMockRecorder) SystemUserRole(arg0, arg1 interface{}) *gomock.Call {
  1438. mr.mock.ctrl.T.Helper()
  1439. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserRole", reflect.TypeOf((*MockKptService)(nil).SystemUserRole), arg0, arg1)
  1440. }
  1441. // SystemUserRoleSave mocks base method.
  1442. func (m *MockKptService) SystemUserRoleSave(arg0 context.Context, arg1 *cowPb.SystemUserRoleRequest) error {
  1443. m.ctrl.T.Helper()
  1444. ret := m.ctrl.Call(m, "SystemUserRoleSave", arg0, arg1)
  1445. ret0, _ := ret[0].(error)
  1446. return ret0
  1447. }
  1448. // SystemUserRoleSave indicates an expected call of SystemUserRoleSave.
  1449. func (mr *MockKptServiceMockRecorder) SystemUserRoleSave(arg0, arg1 interface{}) *gomock.Call {
  1450. mr.mock.ctrl.T.Helper()
  1451. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserRoleSave", reflect.TypeOf((*MockKptService)(nil).SystemUserRoleSave), arg0, arg1)
  1452. }
  1453. // TwentyOnePregnantRate mocks base method.
  1454. func (m *MockKptService) TwentyOnePregnantRate(arg0 context.Context, arg1 *cowPb.TwentyOnePregnantRateRequest) (*cowPb.TwentyOnePregnantRateResponse, error) {
  1455. m.ctrl.T.Helper()
  1456. ret := m.ctrl.Call(m, "TwentyOnePregnantRate", arg0, arg1)
  1457. ret0, _ := ret[0].(*cowPb.TwentyOnePregnantRateResponse)
  1458. ret1, _ := ret[1].(error)
  1459. return ret0, ret1
  1460. }
  1461. // TwentyOnePregnantRate indicates an expected call of TwentyOnePregnantRate.
  1462. func (mr *MockKptServiceMockRecorder) TwentyOnePregnantRate(arg0, arg1 interface{}) *gomock.Call {
  1463. mr.mock.ctrl.T.Helper()
  1464. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TwentyOnePregnantRate", reflect.TypeOf((*MockKptService)(nil).TwentyOnePregnantRate), arg0, arg1)
  1465. }
  1466. // UserWorkOrderList mocks base method.
  1467. func (m *MockKptService) UserWorkOrderList(arg0 context.Context, arg1 cowPb.WorkOrderStatus_Kind, arg2 *cowPb.PaginationModel) (*cowPb.UserWorkOrderResponse, error) {
  1468. m.ctrl.T.Helper()
  1469. ret := m.ctrl.Call(m, "UserWorkOrderList", arg0, arg1, arg2)
  1470. ret0, _ := ret[0].(*cowPb.UserWorkOrderResponse)
  1471. ret1, _ := ret[1].(error)
  1472. return ret0, ret1
  1473. }
  1474. // UserWorkOrderList indicates an expected call of UserWorkOrderList.
  1475. func (mr *MockKptServiceMockRecorder) UserWorkOrderList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1476. mr.mock.ctrl.T.Helper()
  1477. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UserWorkOrderList", reflect.TypeOf((*MockKptService)(nil).UserWorkOrderList), arg0, arg1, arg2)
  1478. }
  1479. // WeightCreate mocks base method.
  1480. func (m *MockKptService) WeightCreate(arg0 context.Context, arg1 *cowPb.EventWeight) error {
  1481. m.ctrl.T.Helper()
  1482. ret := m.ctrl.Call(m, "WeightCreate", arg0, arg1)
  1483. ret0, _ := ret[0].(error)
  1484. return ret0
  1485. }
  1486. // WeightCreate indicates an expected call of WeightCreate.
  1487. func (mr *MockKptServiceMockRecorder) WeightCreate(arg0, arg1 interface{}) *gomock.Call {
  1488. mr.mock.ctrl.T.Helper()
  1489. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeightCreate", reflect.TypeOf((*MockKptService)(nil).WeightCreate), arg0, arg1)
  1490. }
  1491. // WeightList mocks base method.
  1492. func (m *MockKptService) WeightList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchWeightEventResponse, error) {
  1493. m.ctrl.T.Helper()
  1494. ret := m.ctrl.Call(m, "WeightList", arg0, arg1, arg2)
  1495. ret0, _ := ret[0].(*cowPb.SearchWeightEventResponse)
  1496. ret1, _ := ret[1].(error)
  1497. return ret0, ret1
  1498. }
  1499. // WeightList indicates an expected call of WeightList.
  1500. func (mr *MockKptServiceMockRecorder) WeightList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1501. mr.mock.ctrl.T.Helper()
  1502. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeightList", reflect.TypeOf((*MockKptService)(nil).WeightList), arg0, arg1, arg2)
  1503. }
  1504. // WeightRange mocks base method.
  1505. func (m *MockKptService) WeightRange(arg0 context.Context, arg1 *cowPb.WeightRangeRequest) (*cowPb.WeightRangeResponse, error) {
  1506. m.ctrl.T.Helper()
  1507. ret := m.ctrl.Call(m, "WeightRange", arg0, arg1)
  1508. ret0, _ := ret[0].(*cowPb.WeightRangeResponse)
  1509. ret1, _ := ret[1].(error)
  1510. return ret0, ret1
  1511. }
  1512. // WeightRange indicates an expected call of WeightRange.
  1513. func (mr *MockKptServiceMockRecorder) WeightRange(arg0, arg1 interface{}) *gomock.Call {
  1514. mr.mock.ctrl.T.Helper()
  1515. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeightRange", reflect.TypeOf((*MockKptService)(nil).WeightRange), arg0, arg1)
  1516. }