kptservice.go 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319
  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. reflect "reflect"
  8. cowPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow"
  9. gomock "github.com/golang/mock/gomock"
  10. )
  11. // MockKptService is a mock of KptService interface.
  12. type MockKptService struct {
  13. ctrl *gomock.Controller
  14. recorder *MockKptServiceMockRecorder
  15. }
  16. // MockKptServiceMockRecorder is the mock recorder for MockKptService.
  17. type MockKptServiceMockRecorder struct {
  18. mock *MockKptService
  19. }
  20. // NewMockKptService creates a new mock instance.
  21. func NewMockKptService(ctrl *gomock.Controller) *MockKptService {
  22. mock := &MockKptService{ctrl: ctrl}
  23. mock.recorder = &MockKptServiceMockRecorder{mock}
  24. return mock
  25. }
  26. // EXPECT returns an object that allows the caller to indicate expected use.
  27. func (m *MockKptService) EXPECT() *MockKptServiceMockRecorder {
  28. return m.recorder
  29. }
  30. // Bar mocks base method.
  31. func (m *MockKptService) Bar(arg0 context.Context) (*cowPb.BarCowStructResponse, error) {
  32. m.ctrl.T.Helper()
  33. ret := m.ctrl.Call(m, "Bar", arg0)
  34. ret0, _ := ret[0].(*cowPb.BarCowStructResponse)
  35. ret1, _ := ret[1].(error)
  36. return ret0, ret1
  37. }
  38. // Bar indicates an expected call of Bar.
  39. func (mr *MockKptServiceMockRecorder) Bar(arg0 interface{}) *gomock.Call {
  40. mr.mock.ctrl.T.Helper()
  41. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bar", reflect.TypeOf((*MockKptService)(nil).Bar), arg0)
  42. }
  43. // BarnListOptions mocks base method.
  44. func (m *MockKptService) BarnListOptions(arg0 context.Context, arg1 int) (*cowPb.ConfigOptionsListResponse, error) {
  45. m.ctrl.T.Helper()
  46. ret := m.ctrl.Call(m, "BarnListOptions", arg0, arg1)
  47. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  48. ret1, _ := ret[1].(error)
  49. return ret0, ret1
  50. }
  51. // BarnListOptions indicates an expected call of BarnListOptions.
  52. func (mr *MockKptServiceMockRecorder) BarnListOptions(arg0, arg1 interface{}) *gomock.Call {
  53. mr.mock.ctrl.T.Helper()
  54. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnListOptions", reflect.TypeOf((*MockKptService)(nil).BarnListOptions), arg0, arg1)
  55. }
  56. // BarnTypeOptions mocks base method.
  57. func (m *MockKptService) BarnTypeOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  58. m.ctrl.T.Helper()
  59. ret := m.ctrl.Call(m, "BarnTypeOptions", arg0)
  60. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  61. ret1, _ := ret[1].(error)
  62. return ret0, ret1
  63. }
  64. // BarnTypeOptions indicates an expected call of BarnTypeOptions.
  65. func (mr *MockKptServiceMockRecorder) BarnTypeOptions(arg0 interface{}) *gomock.Call {
  66. mr.mock.ctrl.T.Helper()
  67. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnTypeOptions", reflect.TypeOf((*MockKptService)(nil).BarnTypeOptions), arg0)
  68. }
  69. // BodyScoreList mocks base method.
  70. func (m *MockKptService) BodyScoreList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBodyScoreEventResponse, error) {
  71. m.ctrl.T.Helper()
  72. ret := m.ctrl.Call(m, "BodyScoreList", arg0, arg1, arg2)
  73. ret0, _ := ret[0].(*cowPb.SearchBodyScoreEventResponse)
  74. ret1, _ := ret[1].(error)
  75. return ret0, ret1
  76. }
  77. // BodyScoreList indicates an expected call of BodyScoreList.
  78. func (mr *MockKptServiceMockRecorder) BodyScoreList(arg0, arg1, arg2 interface{}) *gomock.Call {
  79. mr.mock.ctrl.T.Helper()
  80. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BodyScoreList", reflect.TypeOf((*MockKptService)(nil).BodyScoreList), arg0, arg1, arg2)
  81. }
  82. // BreedStatusOptions mocks base method.
  83. func (m *MockKptService) BreedStatusOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  84. m.ctrl.T.Helper()
  85. ret := m.ctrl.Call(m, "BreedStatusOptions", arg0)
  86. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  87. ret1, _ := ret[1].(error)
  88. return ret0, ret1
  89. }
  90. // BreedStatusOptions indicates an expected call of BreedStatusOptions.
  91. func (mr *MockKptServiceMockRecorder) BreedStatusOptions(arg0 interface{}) *gomock.Call {
  92. mr.mock.ctrl.T.Helper()
  93. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BreedStatusOptions", reflect.TypeOf((*MockKptService)(nil).BreedStatusOptions), arg0)
  94. }
  95. // BullOptions mocks base method.
  96. func (m *MockKptService) BullOptions(arg0 context.Context) (*cowPb.BullOptionsListResponse, error) {
  97. m.ctrl.T.Helper()
  98. ret := m.ctrl.Call(m, "BullOptions", arg0)
  99. ret0, _ := ret[0].(*cowPb.BullOptionsListResponse)
  100. ret1, _ := ret[1].(error)
  101. return ret0, ret1
  102. }
  103. // BullOptions indicates an expected call of BullOptions.
  104. func (mr *MockKptServiceMockRecorder) BullOptions(arg0 interface{}) *gomock.Call {
  105. mr.mock.ctrl.T.Helper()
  106. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BullOptions", reflect.TypeOf((*MockKptService)(nil).BullOptions), arg0)
  107. }
  108. // CalvingCreate mocks base method.
  109. func (m *MockKptService) CalvingCreate(arg0 context.Context, arg1 *cowPb.CalvingEventRequest) error {
  110. m.ctrl.T.Helper()
  111. ret := m.ctrl.Call(m, "CalvingCreate", arg0, arg1)
  112. ret0, _ := ret[0].(error)
  113. return ret0
  114. }
  115. // CalvingCreate indicates an expected call of CalvingCreate.
  116. func (mr *MockKptServiceMockRecorder) CalvingCreate(arg0, arg1 interface{}) *gomock.Call {
  117. mr.mock.ctrl.T.Helper()
  118. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingCreate", reflect.TypeOf((*MockKptService)(nil).CalvingCreate), arg0, arg1)
  119. }
  120. // CalvingList mocks base method.
  121. func (m *MockKptService) CalvingList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchLavingEventResponse, error) {
  122. m.ctrl.T.Helper()
  123. ret := m.ctrl.Call(m, "CalvingList", arg0, arg1, arg2)
  124. ret0, _ := ret[0].(*cowPb.SearchLavingEventResponse)
  125. ret1, _ := ret[1].(error)
  126. return ret0, ret1
  127. }
  128. // CalvingList indicates an expected call of CalvingList.
  129. func (mr *MockKptServiceMockRecorder) CalvingList(arg0, arg1, arg2 interface{}) *gomock.Call {
  130. mr.mock.ctrl.T.Helper()
  131. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingList", reflect.TypeOf((*MockKptService)(nil).CalvingList), arg0, arg1, arg2)
  132. }
  133. // CowKindOptions mocks base method.
  134. func (m *MockKptService) CowKindOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  135. m.ctrl.T.Helper()
  136. ret := m.ctrl.Call(m, "CowKindOptions", arg0)
  137. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  138. ret1, _ := ret[1].(error)
  139. return ret0, ret1
  140. }
  141. // CowKindOptions indicates an expected call of CowKindOptions.
  142. func (mr *MockKptServiceMockRecorder) CowKindOptions(arg0 interface{}) *gomock.Call {
  143. mr.mock.ctrl.T.Helper()
  144. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowKindOptions", reflect.TypeOf((*MockKptService)(nil).CowKindOptions), arg0)
  145. }
  146. // CowList mocks base method.
  147. func (m *MockKptService) CowList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchCowListResponse, error) {
  148. m.ctrl.T.Helper()
  149. ret := m.ctrl.Call(m, "CowList", arg0, arg1, arg2)
  150. ret0, _ := ret[0].(*cowPb.SearchCowListResponse)
  151. ret1, _ := ret[1].(error)
  152. return ret0, ret1
  153. }
  154. // CowList indicates an expected call of CowList.
  155. func (mr *MockKptServiceMockRecorder) CowList(arg0, arg1, arg2 interface{}) *gomock.Call {
  156. mr.mock.ctrl.T.Helper()
  157. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowList", reflect.TypeOf((*MockKptService)(nil).CowList), arg0, arg1, arg2)
  158. }
  159. // CowSourceOptions mocks base method.
  160. func (m *MockKptService) CowSourceOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  161. m.ctrl.T.Helper()
  162. ret := m.ctrl.Call(m, "CowSourceOptions", arg0)
  163. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  164. ret1, _ := ret[1].(error)
  165. return ret0, ret1
  166. }
  167. // CowSourceOptions indicates an expected call of CowSourceOptions.
  168. func (mr *MockKptServiceMockRecorder) CowSourceOptions(arg0 interface{}) *gomock.Call {
  169. mr.mock.ctrl.T.Helper()
  170. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowSourceOptions", reflect.TypeOf((*MockKptService)(nil).CowSourceOptions), arg0)
  171. }
  172. // CowStatusOptions mocks base method.
  173. func (m *MockKptService) CowStatusOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  174. m.ctrl.T.Helper()
  175. ret := m.ctrl.Call(m, "CowStatusOptions", arg0)
  176. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  177. ret1, _ := ret[1].(error)
  178. return ret0, ret1
  179. }
  180. // CowStatusOptions indicates an expected call of CowStatusOptions.
  181. func (mr *MockKptServiceMockRecorder) CowStatusOptions(arg0 interface{}) *gomock.Call {
  182. mr.mock.ctrl.T.Helper()
  183. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowStatusOptions", reflect.TypeOf((*MockKptService)(nil).CowStatusOptions), arg0)
  184. }
  185. // CowTransferPenReasonOptions mocks base method.
  186. func (m *MockKptService) CowTransferPenReasonOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  187. m.ctrl.T.Helper()
  188. ret := m.ctrl.Call(m, "CowTransferPenReasonOptions", arg0)
  189. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  190. ret1, _ := ret[1].(error)
  191. return ret0, ret1
  192. }
  193. // CowTransferPenReasonOptions indicates an expected call of CowTransferPenReasonOptions.
  194. func (mr *MockKptServiceMockRecorder) CowTransferPenReasonOptions(arg0 interface{}) *gomock.Call {
  195. mr.mock.ctrl.T.Helper()
  196. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTransferPenReasonOptions", reflect.TypeOf((*MockKptService)(nil).CowTransferPenReasonOptions), arg0)
  197. }
  198. // CowTypeOptions mocks base method.
  199. func (m *MockKptService) CowTypeOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  200. m.ctrl.T.Helper()
  201. ret := m.ctrl.Call(m, "CowTypeOptions", arg0)
  202. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  203. ret1, _ := ret[1].(error)
  204. return ret0, ret1
  205. }
  206. // CowTypeOptions indicates an expected call of CowTypeOptions.
  207. func (mr *MockKptServiceMockRecorder) CowTypeOptions(arg0 interface{}) *gomock.Call {
  208. mr.mock.ctrl.T.Helper()
  209. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTypeOptions", reflect.TypeOf((*MockKptService)(nil).CowTypeOptions), arg0)
  210. }
  211. // CreateBodyScore mocks base method.
  212. func (m *MockKptService) CreateBodyScore(arg0 context.Context, arg1 *cowPb.BodyScoreEventRequest) error {
  213. m.ctrl.T.Helper()
  214. ret := m.ctrl.Call(m, "CreateBodyScore", arg0, arg1)
  215. ret0, _ := ret[0].(error)
  216. return ret0
  217. }
  218. // CreateBodyScore indicates an expected call of CreateBodyScore.
  219. func (mr *MockKptServiceMockRecorder) CreateBodyScore(arg0, arg1 interface{}) *gomock.Call {
  220. mr.mock.ctrl.T.Helper()
  221. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBodyScore", reflect.TypeOf((*MockKptService)(nil).CreateBodyScore), arg0, arg1)
  222. }
  223. // CreateEnter mocks base method.
  224. func (m *MockKptService) CreateEnter(arg0 context.Context, arg1 *cowPb.SearchEnterData) error {
  225. m.ctrl.T.Helper()
  226. ret := m.ctrl.Call(m, "CreateEnter", arg0, arg1)
  227. ret0, _ := ret[0].(error)
  228. return ret0
  229. }
  230. // CreateEnter indicates an expected call of CreateEnter.
  231. func (mr *MockKptServiceMockRecorder) CreateEnter(arg0, arg1 interface{}) *gomock.Call {
  232. mr.mock.ctrl.T.Helper()
  233. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateEnter", reflect.TypeOf((*MockKptService)(nil).CreateEnter), arg0, arg1)
  234. }
  235. // CreateGroupTransfer mocks base method.
  236. func (m *MockKptService) CreateGroupTransfer(arg0 context.Context, arg1 *cowPb.TransferGroupEventRequest) error {
  237. m.ctrl.T.Helper()
  238. ret := m.ctrl.Call(m, "CreateGroupTransfer", arg0, arg1)
  239. ret0, _ := ret[0].(error)
  240. return ret0
  241. }
  242. // CreateGroupTransfer indicates an expected call of CreateGroupTransfer.
  243. func (mr *MockKptServiceMockRecorder) CreateGroupTransfer(arg0, arg1 interface{}) *gomock.Call {
  244. mr.mock.ctrl.T.Helper()
  245. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGroupTransfer", reflect.TypeOf((*MockKptService)(nil).CreateGroupTransfer), arg0, arg1)
  246. }
  247. // CreateOrUpdateBarn mocks base method.
  248. func (m *MockKptService) CreateOrUpdateBarn(arg0 context.Context, arg1 *cowPb.SearchBarnList) error {
  249. m.ctrl.T.Helper()
  250. ret := m.ctrl.Call(m, "CreateOrUpdateBarn", arg0, arg1)
  251. ret0, _ := ret[0].(error)
  252. return ret0
  253. }
  254. // CreateOrUpdateBarn indicates an expected call of CreateOrUpdateBarn.
  255. func (mr *MockKptServiceMockRecorder) CreateOrUpdateBarn(arg0, arg1 interface{}) *gomock.Call {
  256. mr.mock.ctrl.T.Helper()
  257. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBarn", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBarn), arg0, arg1)
  258. }
  259. // CreateOrUpdateBarnType mocks base method.
  260. func (m *MockKptService) CreateOrUpdateBarnType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  261. m.ctrl.T.Helper()
  262. ret := m.ctrl.Call(m, "CreateOrUpdateBarnType", arg0, arg1)
  263. ret0, _ := ret[0].(error)
  264. return ret0
  265. }
  266. // CreateOrUpdateBarnType indicates an expected call of CreateOrUpdateBarnType.
  267. func (mr *MockKptServiceMockRecorder) CreateOrUpdateBarnType(arg0, arg1 interface{}) *gomock.Call {
  268. mr.mock.ctrl.T.Helper()
  269. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBarnType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBarnType), arg0, arg1)
  270. }
  271. // CreateOrUpdateBreedStatus mocks base method.
  272. func (m *MockKptService) CreateOrUpdateBreedStatus(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  273. m.ctrl.T.Helper()
  274. ret := m.ctrl.Call(m, "CreateOrUpdateBreedStatus", arg0, arg1)
  275. ret0, _ := ret[0].(error)
  276. return ret0
  277. }
  278. // CreateOrUpdateBreedStatus indicates an expected call of CreateOrUpdateBreedStatus.
  279. func (mr *MockKptServiceMockRecorder) CreateOrUpdateBreedStatus(arg0, arg1 interface{}) *gomock.Call {
  280. mr.mock.ctrl.T.Helper()
  281. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBreedStatus", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBreedStatus), arg0, arg1)
  282. }
  283. // CreateOrUpdateCowKind mocks base method.
  284. func (m *MockKptService) CreateOrUpdateCowKind(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  285. m.ctrl.T.Helper()
  286. ret := m.ctrl.Call(m, "CreateOrUpdateCowKind", arg0, arg1)
  287. ret0, _ := ret[0].(error)
  288. return ret0
  289. }
  290. // CreateOrUpdateCowKind indicates an expected call of CreateOrUpdateCowKind.
  291. func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowKind(arg0, arg1 interface{}) *gomock.Call {
  292. mr.mock.ctrl.T.Helper()
  293. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowKind", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowKind), arg0, arg1)
  294. }
  295. // CreateOrUpdateCowSource mocks base method.
  296. func (m *MockKptService) CreateOrUpdateCowSource(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  297. m.ctrl.T.Helper()
  298. ret := m.ctrl.Call(m, "CreateOrUpdateCowSource", arg0, arg1)
  299. ret0, _ := ret[0].(error)
  300. return ret0
  301. }
  302. // CreateOrUpdateCowSource indicates an expected call of CreateOrUpdateCowSource.
  303. func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowSource(arg0, arg1 interface{}) *gomock.Call {
  304. mr.mock.ctrl.T.Helper()
  305. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowSource", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowSource), arg0, arg1)
  306. }
  307. // CreateOrUpdateCowStatus mocks base method.
  308. func (m *MockKptService) CreateOrUpdateCowStatus(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  309. m.ctrl.T.Helper()
  310. ret := m.ctrl.Call(m, "CreateOrUpdateCowStatus", arg0, arg1)
  311. ret0, _ := ret[0].(error)
  312. return ret0
  313. }
  314. // CreateOrUpdateCowStatus indicates an expected call of CreateOrUpdateCowStatus.
  315. func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowStatus(arg0, arg1 interface{}) *gomock.Call {
  316. mr.mock.ctrl.T.Helper()
  317. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowStatus", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowStatus), arg0, arg1)
  318. }
  319. // CreateOrUpdateCowType mocks base method.
  320. func (m *MockKptService) CreateOrUpdateCowType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  321. m.ctrl.T.Helper()
  322. ret := m.ctrl.Call(m, "CreateOrUpdateCowType", arg0, arg1)
  323. ret0, _ := ret[0].(error)
  324. return ret0
  325. }
  326. // CreateOrUpdateCowType indicates an expected call of CreateOrUpdateCowType.
  327. func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowType(arg0, arg1 interface{}) *gomock.Call {
  328. mr.mock.ctrl.T.Helper()
  329. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowType), arg0, arg1)
  330. }
  331. // CreateOrUpdateDisease mocks base method.
  332. func (m *MockKptService) CreateOrUpdateDisease(arg0 context.Context, arg1 *cowPb.SearchDiseaseList) error {
  333. m.ctrl.T.Helper()
  334. ret := m.ctrl.Call(m, "CreateOrUpdateDisease", arg0, arg1)
  335. ret0, _ := ret[0].(error)
  336. return ret0
  337. }
  338. // CreateOrUpdateDisease indicates an expected call of CreateOrUpdateDisease.
  339. func (mr *MockKptServiceMockRecorder) CreateOrUpdateDisease(arg0, arg1 interface{}) *gomock.Call {
  340. mr.mock.ctrl.T.Helper()
  341. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateDisease", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateDisease), arg0, arg1)
  342. }
  343. // CreateOrUpdateDiseaseType mocks base method.
  344. func (m *MockKptService) CreateOrUpdateDiseaseType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  345. m.ctrl.T.Helper()
  346. ret := m.ctrl.Call(m, "CreateOrUpdateDiseaseType", arg0, arg1)
  347. ret0, _ := ret[0].(error)
  348. return ret0
  349. }
  350. // CreateOrUpdateDiseaseType indicates an expected call of CreateOrUpdateDiseaseType.
  351. func (mr *MockKptServiceMockRecorder) CreateOrUpdateDiseaseType(arg0, arg1 interface{}) *gomock.Call {
  352. mr.mock.ctrl.T.Helper()
  353. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateDiseaseType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateDiseaseType), arg0, arg1)
  354. }
  355. // CreateOrUpdatePrescription mocks base method.
  356. func (m *MockKptService) CreateOrUpdatePrescription(arg0 context.Context, arg1 *cowPb.PrescriptionRequest) error {
  357. m.ctrl.T.Helper()
  358. ret := m.ctrl.Call(m, "CreateOrUpdatePrescription", arg0, arg1)
  359. ret0, _ := ret[0].(error)
  360. return ret0
  361. }
  362. // CreateOrUpdatePrescription indicates an expected call of CreateOrUpdatePrescription.
  363. func (mr *MockKptServiceMockRecorder) CreateOrUpdatePrescription(arg0, arg1 interface{}) *gomock.Call {
  364. mr.mock.ctrl.T.Helper()
  365. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdatePrescription", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdatePrescription), arg0, arg1)
  366. }
  367. // CreateOrUpdateSemeTime mocks base method.
  368. func (m *MockKptService) CreateOrUpdateSemeTime(arg0 context.Context, arg1 *cowPb.SemeTimeRequest) error {
  369. m.ctrl.T.Helper()
  370. ret := m.ctrl.Call(m, "CreateOrUpdateSemeTime", arg0, arg1)
  371. ret0, _ := ret[0].(error)
  372. return ret0
  373. }
  374. // CreateOrUpdateSemeTime indicates an expected call of CreateOrUpdateSemeTime.
  375. func (mr *MockKptServiceMockRecorder) CreateOrUpdateSemeTime(arg0, arg1 interface{}) *gomock.Call {
  376. mr.mock.ctrl.T.Helper()
  377. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateSemeTime", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateSemeTime), arg0, arg1)
  378. }
  379. // CreateOrUpdateSystemMenu mocks base method.
  380. func (m *MockKptService) CreateOrUpdateSystemMenu(arg0 context.Context, arg1 *cowPb.SearchMenuRequest) error {
  381. m.ctrl.T.Helper()
  382. ret := m.ctrl.Call(m, "CreateOrUpdateSystemMenu", arg0, arg1)
  383. ret0, _ := ret[0].(error)
  384. return ret0
  385. }
  386. // CreateOrUpdateSystemMenu indicates an expected call of CreateOrUpdateSystemMenu.
  387. func (mr *MockKptServiceMockRecorder) CreateOrUpdateSystemMenu(arg0, arg1 interface{}) *gomock.Call {
  388. mr.mock.ctrl.T.Helper()
  389. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateSystemMenu", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateSystemMenu), arg0, arg1)
  390. }
  391. // CreateOrUpdateTransferPenReason mocks base method.
  392. func (m *MockKptService) CreateOrUpdateTransferPenReason(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
  393. m.ctrl.T.Helper()
  394. ret := m.ctrl.Call(m, "CreateOrUpdateTransferPenReason", arg0, arg1)
  395. ret0, _ := ret[0].(error)
  396. return ret0
  397. }
  398. // CreateOrUpdateTransferPenReason indicates an expected call of CreateOrUpdateTransferPenReason.
  399. func (mr *MockKptServiceMockRecorder) CreateOrUpdateTransferPenReason(arg0, arg1 interface{}) *gomock.Call {
  400. mr.mock.ctrl.T.Helper()
  401. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateTransferPenReason", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateTransferPenReason), arg0, arg1)
  402. }
  403. // CreateWeight mocks base method.
  404. func (m *MockKptService) CreateWeight(arg0 context.Context, arg1 *cowPb.WeightEventRequest) error {
  405. m.ctrl.T.Helper()
  406. ret := m.ctrl.Call(m, "CreateWeight", arg0, arg1)
  407. ret0, _ := ret[0].(error)
  408. return ret0
  409. }
  410. // CreateWeight indicates an expected call of CreateWeight.
  411. func (mr *MockKptServiceMockRecorder) CreateWeight(arg0, arg1 interface{}) *gomock.Call {
  412. mr.mock.ctrl.T.Helper()
  413. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateWeight", reflect.TypeOf((*MockKptService)(nil).CreateWeight), arg0, arg1)
  414. }
  415. // CreatedOrUpdateImmunization mocks base method.
  416. func (m *MockKptService) CreatedOrUpdateImmunization(arg0 context.Context, arg1 *cowPb.ImmunizationRequest) error {
  417. m.ctrl.T.Helper()
  418. ret := m.ctrl.Call(m, "CreatedOrUpdateImmunization", arg0, arg1)
  419. ret0, _ := ret[0].(error)
  420. return ret0
  421. }
  422. // CreatedOrUpdateImmunization indicates an expected call of CreatedOrUpdateImmunization.
  423. func (mr *MockKptServiceMockRecorder) CreatedOrUpdateImmunization(arg0, arg1 interface{}) *gomock.Call {
  424. mr.mock.ctrl.T.Helper()
  425. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatedOrUpdateImmunization", reflect.TypeOf((*MockKptService)(nil).CreatedOrUpdateImmunization), arg0, arg1)
  426. }
  427. // DeleteSystemMenu mocks base method.
  428. func (m *MockKptService) DeleteSystemMenu(arg0 context.Context, arg1 int64) error {
  429. m.ctrl.T.Helper()
  430. ret := m.ctrl.Call(m, "DeleteSystemMenu", arg0, arg1)
  431. ret0, _ := ret[0].(error)
  432. return ret0
  433. }
  434. // DeleteSystemMenu indicates an expected call of DeleteSystemMenu.
  435. func (mr *MockKptServiceMockRecorder) DeleteSystemMenu(arg0, arg1 interface{}) *gomock.Call {
  436. mr.mock.ctrl.T.Helper()
  437. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemMenu", reflect.TypeOf((*MockKptService)(nil).DeleteSystemMenu), arg0, arg1)
  438. }
  439. // DeleteSystemRole mocks base method.
  440. func (m *MockKptService) DeleteSystemRole(arg0 context.Context, arg1 int64) error {
  441. m.ctrl.T.Helper()
  442. ret := m.ctrl.Call(m, "DeleteSystemRole", arg0, arg1)
  443. ret0, _ := ret[0].(error)
  444. return ret0
  445. }
  446. // DeleteSystemRole indicates an expected call of DeleteSystemRole.
  447. func (mr *MockKptServiceMockRecorder) DeleteSystemRole(arg0, arg1 interface{}) *gomock.Call {
  448. mr.mock.ctrl.T.Helper()
  449. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemRole", reflect.TypeOf((*MockKptService)(nil).DeleteSystemRole), arg0, arg1)
  450. }
  451. // DeleteSystemUser mocks base method.
  452. func (m *MockKptService) DeleteSystemUser(arg0 context.Context, arg1 int64) error {
  453. m.ctrl.T.Helper()
  454. ret := m.ctrl.Call(m, "DeleteSystemUser", arg0, arg1)
  455. ret0, _ := ret[0].(error)
  456. return ret0
  457. }
  458. // DeleteSystemUser indicates an expected call of DeleteSystemUser.
  459. func (mr *MockKptServiceMockRecorder) DeleteSystemUser(arg0, arg1 interface{}) *gomock.Call {
  460. mr.mock.ctrl.T.Helper()
  461. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemUser", reflect.TypeOf((*MockKptService)(nil).DeleteSystemUser), arg0, arg1)
  462. }
  463. // DiseaseOptions mocks base method.
  464. func (m *MockKptService) DiseaseOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  465. m.ctrl.T.Helper()
  466. ret := m.ctrl.Call(m, "DiseaseOptions", arg0)
  467. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  468. ret1, _ := ret[1].(error)
  469. return ret0, ret1
  470. }
  471. // DiseaseOptions indicates an expected call of DiseaseOptions.
  472. func (mr *MockKptServiceMockRecorder) DiseaseOptions(arg0 interface{}) *gomock.Call {
  473. mr.mock.ctrl.T.Helper()
  474. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseOptions", reflect.TypeOf((*MockKptService)(nil).DiseaseOptions), arg0)
  475. }
  476. // DiseaseTypeOptions mocks base method.
  477. func (m *MockKptService) DiseaseTypeOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  478. m.ctrl.T.Helper()
  479. ret := m.ctrl.Call(m, "DiseaseTypeOptions", arg0)
  480. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  481. ret1, _ := ret[1].(error)
  482. return ret0, ret1
  483. }
  484. // DiseaseTypeOptions indicates an expected call of DiseaseTypeOptions.
  485. func (mr *MockKptServiceMockRecorder) DiseaseTypeOptions(arg0 interface{}) *gomock.Call {
  486. mr.mock.ctrl.T.Helper()
  487. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseTypeOptions", reflect.TypeOf((*MockKptService)(nil).DiseaseTypeOptions), arg0)
  488. }
  489. // DrugsCreate mocks base method.
  490. func (m *MockKptService) DrugsCreate(arg0 context.Context, arg1 *cowPb.SearchDrugsList) error {
  491. m.ctrl.T.Helper()
  492. ret := m.ctrl.Call(m, "DrugsCreate", arg0, arg1)
  493. ret0, _ := ret[0].(error)
  494. return ret0
  495. }
  496. // DrugsCreate indicates an expected call of DrugsCreate.
  497. func (mr *MockKptServiceMockRecorder) DrugsCreate(arg0, arg1 interface{}) *gomock.Call {
  498. mr.mock.ctrl.T.Helper()
  499. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsCreate", reflect.TypeOf((*MockKptService)(nil).DrugsCreate), arg0, arg1)
  500. }
  501. // DrugsList mocks base method.
  502. func (m *MockKptService) DrugsList(arg0 context.Context, arg1 *cowPb.SearchDrugsRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDrugsResponse, error) {
  503. m.ctrl.T.Helper()
  504. ret := m.ctrl.Call(m, "DrugsList", arg0, arg1, arg2)
  505. ret0, _ := ret[0].(*cowPb.SearchDrugsResponse)
  506. ret1, _ := ret[1].(error)
  507. return ret0, ret1
  508. }
  509. // DrugsList indicates an expected call of DrugsList.
  510. func (mr *MockKptServiceMockRecorder) DrugsList(arg0, arg1, arg2 interface{}) *gomock.Call {
  511. mr.mock.ctrl.T.Helper()
  512. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsList", reflect.TypeOf((*MockKptService)(nil).DrugsList), arg0, arg1, arg2)
  513. }
  514. // EnterList mocks base method.
  515. func (m *MockKptService) EnterList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchEnterEventResponse, error) {
  516. m.ctrl.T.Helper()
  517. ret := m.ctrl.Call(m, "EnterList", arg0, arg1, arg2)
  518. ret0, _ := ret[0].(*cowPb.SearchEnterEventResponse)
  519. ret1, _ := ret[1].(error)
  520. return ret0, ret1
  521. }
  522. // EnterList indicates an expected call of EnterList.
  523. func (mr *MockKptServiceMockRecorder) EnterList(arg0, arg1, arg2 interface{}) *gomock.Call {
  524. mr.mock.ctrl.T.Helper()
  525. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnterList", reflect.TypeOf((*MockKptService)(nil).EnterList), arg0, arg1, arg2)
  526. }
  527. // EstrusCreate mocks base method.
  528. func (m *MockKptService) EstrusCreate(arg0 context.Context, arg1 *cowPb.EstrusEventRequest) error {
  529. m.ctrl.T.Helper()
  530. ret := m.ctrl.Call(m, "EstrusCreate", arg0, arg1)
  531. ret0, _ := ret[0].(error)
  532. return ret0
  533. }
  534. // EstrusCreate indicates an expected call of EstrusCreate.
  535. func (mr *MockKptServiceMockRecorder) EstrusCreate(arg0, arg1 interface{}) *gomock.Call {
  536. mr.mock.ctrl.T.Helper()
  537. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstrusCreate", reflect.TypeOf((*MockKptService)(nil).EstrusCreate), arg0, arg1)
  538. }
  539. // EstrusList mocks base method.
  540. func (m *MockKptService) EstrusList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.EstrusEventResponse, error) {
  541. m.ctrl.T.Helper()
  542. ret := m.ctrl.Call(m, "EstrusList", arg0, arg1, arg2)
  543. ret0, _ := ret[0].(*cowPb.EstrusEventResponse)
  544. ret1, _ := ret[1].(error)
  545. return ret0, ret1
  546. }
  547. // EstrusList indicates an expected call of EstrusList.
  548. func (mr *MockKptServiceMockRecorder) EstrusList(arg0, arg1, arg2 interface{}) *gomock.Call {
  549. mr.mock.ctrl.T.Helper()
  550. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstrusList", reflect.TypeOf((*MockKptService)(nil).EstrusList), arg0, arg1, arg2)
  551. }
  552. // FrozenSemenCreate mocks base method.
  553. func (m *MockKptService) FrozenSemenCreate(arg0 context.Context, arg1 *cowPb.SearchFrozenSemenList) error {
  554. m.ctrl.T.Helper()
  555. ret := m.ctrl.Call(m, "FrozenSemenCreate", arg0, arg1)
  556. ret0, _ := ret[0].(error)
  557. return ret0
  558. }
  559. // FrozenSemenCreate indicates an expected call of FrozenSemenCreate.
  560. func (mr *MockKptServiceMockRecorder) FrozenSemenCreate(arg0, arg1 interface{}) *gomock.Call {
  561. mr.mock.ctrl.T.Helper()
  562. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FrozenSemenCreate", reflect.TypeOf((*MockKptService)(nil).FrozenSemenCreate), arg0, arg1)
  563. }
  564. // FrozenSemenList mocks base method.
  565. func (m *MockKptService) FrozenSemenList(arg0 context.Context, arg1 *cowPb.FrozenSemenRequest, arg2 *cowPb.PaginationModel) (*cowPb.FrozenSemenResponse, error) {
  566. m.ctrl.T.Helper()
  567. ret := m.ctrl.Call(m, "FrozenSemenList", arg0, arg1, arg2)
  568. ret0, _ := ret[0].(*cowPb.FrozenSemenResponse)
  569. ret1, _ := ret[1].(error)
  570. return ret0, ret1
  571. }
  572. // FrozenSemenList indicates an expected call of FrozenSemenList.
  573. func (mr *MockKptServiceMockRecorder) FrozenSemenList(arg0, arg1, arg2 interface{}) *gomock.Call {
  574. mr.mock.ctrl.T.Helper()
  575. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FrozenSemenList", reflect.TypeOf((*MockKptService)(nil).FrozenSemenList), arg0, arg1, arg2)
  576. }
  577. // GetCurrentUserName mocks base method.
  578. func (m *MockKptService) GetCurrentUserName(arg0 context.Context) (string, error) {
  579. m.ctrl.T.Helper()
  580. ret := m.ctrl.Call(m, "GetCurrentUserName", arg0)
  581. ret0, _ := ret[0].(string)
  582. ret1, _ := ret[1].(error)
  583. return ret0, ret1
  584. }
  585. // GetCurrentUserName indicates an expected call of GetCurrentUserName.
  586. func (mr *MockKptServiceMockRecorder) GetCurrentUserName(arg0 interface{}) *gomock.Call {
  587. mr.mock.ctrl.T.Helper()
  588. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentUserName", reflect.TypeOf((*MockKptService)(nil).GetCurrentUserName), arg0)
  589. }
  590. // GetRoleMenuList mocks base method.
  591. func (m *MockKptService) GetRoleMenuList(arg0 context.Context, arg1 int64) (*cowPb.SystemRoleMenuResponse, error) {
  592. m.ctrl.T.Helper()
  593. ret := m.ctrl.Call(m, "GetRoleMenuList", arg0, arg1)
  594. ret0, _ := ret[0].(*cowPb.SystemRoleMenuResponse)
  595. ret1, _ := ret[1].(error)
  596. return ret0, ret1
  597. }
  598. // GetRoleMenuList indicates an expected call of GetRoleMenuList.
  599. func (mr *MockKptServiceMockRecorder) GetRoleMenuList(arg0, arg1 interface{}) *gomock.Call {
  600. mr.mock.ctrl.T.Helper()
  601. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRoleMenuList", reflect.TypeOf((*MockKptService)(nil).GetRoleMenuList), arg0, arg1)
  602. }
  603. // GetSystemUserMenu mocks base method.
  604. func (m *MockKptService) GetSystemUserMenu(arg0 context.Context) (*cowPb.SystemUserMenuTreeResponse, error) {
  605. m.ctrl.T.Helper()
  606. ret := m.ctrl.Call(m, "GetSystemUserMenu", arg0)
  607. ret0, _ := ret[0].(*cowPb.SystemUserMenuTreeResponse)
  608. ret1, _ := ret[1].(error)
  609. return ret0, ret1
  610. }
  611. // GetSystemUserMenu indicates an expected call of GetSystemUserMenu.
  612. func (mr *MockKptServiceMockRecorder) GetSystemUserMenu(arg0 interface{}) *gomock.Call {
  613. mr.mock.ctrl.T.Helper()
  614. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSystemUserMenu", reflect.TypeOf((*MockKptService)(nil).GetSystemUserMenu), arg0)
  615. }
  616. // GroupTransferList mocks base method.
  617. func (m *MockKptService) GroupTransferList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchTransferGroupEventResponse, error) {
  618. m.ctrl.T.Helper()
  619. ret := m.ctrl.Call(m, "GroupTransferList", arg0, arg1, arg2)
  620. ret0, _ := ret[0].(*cowPb.SearchTransferGroupEventResponse)
  621. ret1, _ := ret[1].(error)
  622. return ret0, ret1
  623. }
  624. // GroupTransferList indicates an expected call of GroupTransferList.
  625. func (mr *MockKptServiceMockRecorder) GroupTransferList(arg0, arg1, arg2 interface{}) *gomock.Call {
  626. mr.mock.ctrl.T.Helper()
  627. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GroupTransferList", reflect.TypeOf((*MockKptService)(nil).GroupTransferList), arg0, arg1, arg2)
  628. }
  629. // GrowthCurve mocks base method.
  630. func (m *MockKptService) GrowthCurve(arg0 context.Context, arg1 *cowPb.SearchGrowthCurvesRequest) (*cowPb.GrowthCurvesResponse, error) {
  631. m.ctrl.T.Helper()
  632. ret := m.ctrl.Call(m, "GrowthCurve", arg0, arg1)
  633. ret0, _ := ret[0].(*cowPb.GrowthCurvesResponse)
  634. ret1, _ := ret[1].(error)
  635. return ret0, ret1
  636. }
  637. // GrowthCurve indicates an expected call of GrowthCurve.
  638. func (mr *MockKptServiceMockRecorder) GrowthCurve(arg0, arg1 interface{}) *gomock.Call {
  639. mr.mock.ctrl.T.Helper()
  640. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GrowthCurve", reflect.TypeOf((*MockKptService)(nil).GrowthCurve), arg0, arg1)
  641. }
  642. // ImmunizationIsShow mocks base method.
  643. func (m *MockKptService) ImmunizationIsShow(arg0 context.Context, arg1 int64) error {
  644. m.ctrl.T.Helper()
  645. ret := m.ctrl.Call(m, "ImmunizationIsShow", arg0, arg1)
  646. ret0, _ := ret[0].(error)
  647. return ret0
  648. }
  649. // ImmunizationIsShow indicates an expected call of ImmunizationIsShow.
  650. func (mr *MockKptServiceMockRecorder) ImmunizationIsShow(arg0, arg1 interface{}) *gomock.Call {
  651. mr.mock.ctrl.T.Helper()
  652. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImmunizationIsShow", reflect.TypeOf((*MockKptService)(nil).ImmunizationIsShow), arg0, arg1)
  653. }
  654. // ImmunizationList mocks base method.
  655. func (m *MockKptService) ImmunizationList(arg0 context.Context, arg1 *cowPb.ImmunizationRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchImmunizationResponse, error) {
  656. m.ctrl.T.Helper()
  657. ret := m.ctrl.Call(m, "ImmunizationList", arg0, arg1, arg2)
  658. ret0, _ := ret[0].(*cowPb.SearchImmunizationResponse)
  659. ret1, _ := ret[1].(error)
  660. return ret0, ret1
  661. }
  662. // ImmunizationList indicates an expected call of ImmunizationList.
  663. func (mr *MockKptServiceMockRecorder) ImmunizationList(arg0, arg1, arg2 interface{}) *gomock.Call {
  664. mr.mock.ctrl.T.Helper()
  665. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImmunizationList", reflect.TypeOf((*MockKptService)(nil).ImmunizationList), arg0, arg1, arg2)
  666. }
  667. // IsShowSystemRole mocks base method.
  668. func (m *MockKptService) IsShowSystemRole(arg0 context.Context, arg1 int64) error {
  669. m.ctrl.T.Helper()
  670. ret := m.ctrl.Call(m, "IsShowSystemRole", arg0, arg1)
  671. ret0, _ := ret[0].(error)
  672. return ret0
  673. }
  674. // IsShowSystemRole indicates an expected call of IsShowSystemRole.
  675. func (mr *MockKptServiceMockRecorder) IsShowSystemRole(arg0, arg1 interface{}) *gomock.Call {
  676. mr.mock.ctrl.T.Helper()
  677. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemRole", reflect.TypeOf((*MockKptService)(nil).IsShowSystemRole), arg0, arg1)
  678. }
  679. // IsShowSystemUser mocks base method.
  680. func (m *MockKptService) IsShowSystemUser(arg0 context.Context, arg1 int64) error {
  681. m.ctrl.T.Helper()
  682. ret := m.ctrl.Call(m, "IsShowSystemUser", arg0, arg1)
  683. ret0, _ := ret[0].(error)
  684. return ret0
  685. }
  686. // IsShowSystemUser indicates an expected call of IsShowSystemUser.
  687. func (mr *MockKptServiceMockRecorder) IsShowSystemUser(arg0, arg1 interface{}) *gomock.Call {
  688. mr.mock.ctrl.T.Helper()
  689. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemUser", reflect.TypeOf((*MockKptService)(nil).IsShowSystemUser), arg0, arg1)
  690. }
  691. // Login mocks base method.
  692. func (m *MockKptService) Login(arg0 context.Context, arg1 *cowPb.SearchUserRequest) (*cowPb.SystemUserResponse, error) {
  693. m.ctrl.T.Helper()
  694. ret := m.ctrl.Call(m, "Login", arg0, arg1)
  695. ret0, _ := ret[0].(*cowPb.SystemUserResponse)
  696. ret1, _ := ret[1].(error)
  697. return ret0, ret1
  698. }
  699. // Login indicates an expected call of Login.
  700. func (mr *MockKptServiceMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call {
  701. mr.mock.ctrl.T.Helper()
  702. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Login", reflect.TypeOf((*MockKptService)(nil).Login), arg0, arg1)
  703. }
  704. // MatingCreate mocks base method.
  705. func (m *MockKptService) MatingCreate(arg0 context.Context, arg1 *cowPb.MatingEventRequest) error {
  706. m.ctrl.T.Helper()
  707. ret := m.ctrl.Call(m, "MatingCreate", arg0, arg1)
  708. ret0, _ := ret[0].(error)
  709. return ret0
  710. }
  711. // MatingCreate indicates an expected call of MatingCreate.
  712. func (mr *MockKptServiceMockRecorder) MatingCreate(arg0, arg1 interface{}) *gomock.Call {
  713. mr.mock.ctrl.T.Helper()
  714. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingCreate", reflect.TypeOf((*MockKptService)(nil).MatingCreate), arg0, arg1)
  715. }
  716. // MatingList mocks base method.
  717. func (m *MockKptService) MatingList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.MatingEventResponse, error) {
  718. m.ctrl.T.Helper()
  719. ret := m.ctrl.Call(m, "MatingList", arg0, arg1, arg2)
  720. ret0, _ := ret[0].(*cowPb.MatingEventResponse)
  721. ret1, _ := ret[1].(error)
  722. return ret0, ret1
  723. }
  724. // MatingList indicates an expected call of MatingList.
  725. func (mr *MockKptServiceMockRecorder) MatingList(arg0, arg1, arg2 interface{}) *gomock.Call {
  726. mr.mock.ctrl.T.Helper()
  727. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingList", reflect.TypeOf((*MockKptService)(nil).MatingList), arg0, arg1, arg2)
  728. }
  729. // PregnantCheckCreate mocks base method.
  730. func (m *MockKptService) PregnantCheckCreate(arg0 context.Context, arg1 *cowPb.PregnantCheckEventRequest) error {
  731. m.ctrl.T.Helper()
  732. ret := m.ctrl.Call(m, "PregnantCheckCreate", arg0, arg1)
  733. ret0, _ := ret[0].(error)
  734. return ret0
  735. }
  736. // PregnantCheckCreate indicates an expected call of PregnantCheckCreate.
  737. func (mr *MockKptServiceMockRecorder) PregnantCheckCreate(arg0, arg1 interface{}) *gomock.Call {
  738. mr.mock.ctrl.T.Helper()
  739. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnantCheckCreate", reflect.TypeOf((*MockKptService)(nil).PregnantCheckCreate), arg0, arg1)
  740. }
  741. // PregnantCheckList mocks base method.
  742. func (m *MockKptService) PregnantCheckList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.PregnantCheckEventResponse, error) {
  743. m.ctrl.T.Helper()
  744. ret := m.ctrl.Call(m, "PregnantCheckList", arg0, arg1, arg2)
  745. ret0, _ := ret[0].(*cowPb.PregnantCheckEventResponse)
  746. ret1, _ := ret[1].(error)
  747. return ret0, ret1
  748. }
  749. // PregnantCheckList indicates an expected call of PregnantCheckList.
  750. func (mr *MockKptServiceMockRecorder) PregnantCheckList(arg0, arg1, arg2 interface{}) *gomock.Call {
  751. mr.mock.ctrl.T.Helper()
  752. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnantCheckList", reflect.TypeOf((*MockKptService)(nil).PregnantCheckList), arg0, arg1, arg2)
  753. }
  754. // ResetPasswordSystemUser mocks base method.
  755. func (m *MockKptService) ResetPasswordSystemUser(arg0 context.Context, arg1 *cowPb.ResetUserPasswordRequest) error {
  756. m.ctrl.T.Helper()
  757. ret := m.ctrl.Call(m, "ResetPasswordSystemUser", arg0, arg1)
  758. ret0, _ := ret[0].(error)
  759. return ret0
  760. }
  761. // ResetPasswordSystemUser indicates an expected call of ResetPasswordSystemUser.
  762. func (mr *MockKptServiceMockRecorder) ResetPasswordSystemUser(arg0, arg1 interface{}) *gomock.Call {
  763. mr.mock.ctrl.T.Helper()
  764. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetPasswordSystemUser", reflect.TypeOf((*MockKptService)(nil).ResetPasswordSystemUser), arg0, arg1)
  765. }
  766. // RoleMenuSave mocks base method.
  767. func (m *MockKptService) RoleMenuSave(arg0 context.Context, arg1 *cowPb.SystemRoleMenuRequest) error {
  768. m.ctrl.T.Helper()
  769. ret := m.ctrl.Call(m, "RoleMenuSave", arg0, arg1)
  770. ret0, _ := ret[0].(error)
  771. return ret0
  772. }
  773. // RoleMenuSave indicates an expected call of RoleMenuSave.
  774. func (mr *MockKptServiceMockRecorder) RoleMenuSave(arg0, arg1 interface{}) *gomock.Call {
  775. mr.mock.ctrl.T.Helper()
  776. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RoleMenuSave", reflect.TypeOf((*MockKptService)(nil).RoleMenuSave), arg0, arg1)
  777. }
  778. // SearchBarnList mocks base method.
  779. func (m *MockKptService) SearchBarnList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBarnResponse, error) {
  780. m.ctrl.T.Helper()
  781. ret := m.ctrl.Call(m, "SearchBarnList", arg0, arg1, arg2)
  782. ret0, _ := ret[0].(*cowPb.SearchBarnResponse)
  783. ret1, _ := ret[1].(error)
  784. return ret0, ret1
  785. }
  786. // SearchBarnList indicates an expected call of SearchBarnList.
  787. func (mr *MockKptServiceMockRecorder) SearchBarnList(arg0, arg1, arg2 interface{}) *gomock.Call {
  788. mr.mock.ctrl.T.Helper()
  789. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBarnList", reflect.TypeOf((*MockKptService)(nil).SearchBarnList), arg0, arg1, arg2)
  790. }
  791. // SearchBarnTypeList mocks base method.
  792. func (m *MockKptService) SearchBarnTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  793. m.ctrl.T.Helper()
  794. ret := m.ctrl.Call(m, "SearchBarnTypeList", arg0, arg1, arg2)
  795. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  796. ret1, _ := ret[1].(error)
  797. return ret0, ret1
  798. }
  799. // SearchBarnTypeList indicates an expected call of SearchBarnTypeList.
  800. func (mr *MockKptServiceMockRecorder) SearchBarnTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  801. mr.mock.ctrl.T.Helper()
  802. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBarnTypeList", reflect.TypeOf((*MockKptService)(nil).SearchBarnTypeList), arg0, arg1, arg2)
  803. }
  804. // SearchBreedStatusList mocks base method.
  805. func (m *MockKptService) SearchBreedStatusList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  806. m.ctrl.T.Helper()
  807. ret := m.ctrl.Call(m, "SearchBreedStatusList", arg0, arg1, arg2)
  808. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  809. ret1, _ := ret[1].(error)
  810. return ret0, ret1
  811. }
  812. // SearchBreedStatusList indicates an expected call of SearchBreedStatusList.
  813. func (mr *MockKptServiceMockRecorder) SearchBreedStatusList(arg0, arg1, arg2 interface{}) *gomock.Call {
  814. mr.mock.ctrl.T.Helper()
  815. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBreedStatusList", reflect.TypeOf((*MockKptService)(nil).SearchBreedStatusList), arg0, arg1, arg2)
  816. }
  817. // SearchCowKindList mocks base method.
  818. func (m *MockKptService) SearchCowKindList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  819. m.ctrl.T.Helper()
  820. ret := m.ctrl.Call(m, "SearchCowKindList", arg0, arg1, arg2)
  821. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  822. ret1, _ := ret[1].(error)
  823. return ret0, ret1
  824. }
  825. // SearchCowKindList indicates an expected call of SearchCowKindList.
  826. func (mr *MockKptServiceMockRecorder) SearchCowKindList(arg0, arg1, arg2 interface{}) *gomock.Call {
  827. mr.mock.ctrl.T.Helper()
  828. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowKindList", reflect.TypeOf((*MockKptService)(nil).SearchCowKindList), arg0, arg1, arg2)
  829. }
  830. // SearchCowSourceList mocks base method.
  831. func (m *MockKptService) SearchCowSourceList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  832. m.ctrl.T.Helper()
  833. ret := m.ctrl.Call(m, "SearchCowSourceList", arg0, arg1, arg2)
  834. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  835. ret1, _ := ret[1].(error)
  836. return ret0, ret1
  837. }
  838. // SearchCowSourceList indicates an expected call of SearchCowSourceList.
  839. func (mr *MockKptServiceMockRecorder) SearchCowSourceList(arg0, arg1, arg2 interface{}) *gomock.Call {
  840. mr.mock.ctrl.T.Helper()
  841. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowSourceList", reflect.TypeOf((*MockKptService)(nil).SearchCowSourceList), arg0, arg1, arg2)
  842. }
  843. // SearchCowStatusList mocks base method.
  844. func (m *MockKptService) SearchCowStatusList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  845. m.ctrl.T.Helper()
  846. ret := m.ctrl.Call(m, "SearchCowStatusList", arg0, arg1, arg2)
  847. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  848. ret1, _ := ret[1].(error)
  849. return ret0, ret1
  850. }
  851. // SearchCowStatusList indicates an expected call of SearchCowStatusList.
  852. func (mr *MockKptServiceMockRecorder) SearchCowStatusList(arg0, arg1, arg2 interface{}) *gomock.Call {
  853. mr.mock.ctrl.T.Helper()
  854. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowStatusList", reflect.TypeOf((*MockKptService)(nil).SearchCowStatusList), arg0, arg1, arg2)
  855. }
  856. // SearchCowTypeList mocks base method.
  857. func (m *MockKptService) SearchCowTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  858. m.ctrl.T.Helper()
  859. ret := m.ctrl.Call(m, "SearchCowTypeList", arg0, arg1, arg2)
  860. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  861. ret1, _ := ret[1].(error)
  862. return ret0, ret1
  863. }
  864. // SearchCowTypeList indicates an expected call of SearchCowTypeList.
  865. func (mr *MockKptServiceMockRecorder) SearchCowTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  866. mr.mock.ctrl.T.Helper()
  867. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowTypeList", reflect.TypeOf((*MockKptService)(nil).SearchCowTypeList), arg0, arg1, arg2)
  868. }
  869. // SearchDiseaseList mocks base method.
  870. func (m *MockKptService) SearchDiseaseList(arg0 context.Context, arg1 *cowPb.SearchDiseaseRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDiseaseResponse, error) {
  871. m.ctrl.T.Helper()
  872. ret := m.ctrl.Call(m, "SearchDiseaseList", arg0, arg1, arg2)
  873. ret0, _ := ret[0].(*cowPb.SearchDiseaseResponse)
  874. ret1, _ := ret[1].(error)
  875. return ret0, ret1
  876. }
  877. // SearchDiseaseList indicates an expected call of SearchDiseaseList.
  878. func (mr *MockKptServiceMockRecorder) SearchDiseaseList(arg0, arg1, arg2 interface{}) *gomock.Call {
  879. mr.mock.ctrl.T.Helper()
  880. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchDiseaseList", reflect.TypeOf((*MockKptService)(nil).SearchDiseaseList), arg0, arg1, arg2)
  881. }
  882. // SearchDiseaseTypeList mocks base method.
  883. func (m *MockKptService) SearchDiseaseTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  884. m.ctrl.T.Helper()
  885. ret := m.ctrl.Call(m, "SearchDiseaseTypeList", arg0, arg1, arg2)
  886. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  887. ret1, _ := ret[1].(error)
  888. return ret0, ret1
  889. }
  890. // SearchDiseaseTypeList indicates an expected call of SearchDiseaseTypeList.
  891. func (mr *MockKptServiceMockRecorder) SearchDiseaseTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  892. mr.mock.ctrl.T.Helper()
  893. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchDiseaseTypeList", reflect.TypeOf((*MockKptService)(nil).SearchDiseaseTypeList), arg0, arg1, arg2)
  894. }
  895. // SearchPrescriptionList mocks base method.
  896. func (m *MockKptService) SearchPrescriptionList(arg0 context.Context, arg1 *cowPb.SearchPrescriptionRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchPrescriptionResponse, error) {
  897. m.ctrl.T.Helper()
  898. ret := m.ctrl.Call(m, "SearchPrescriptionList", arg0, arg1, arg2)
  899. ret0, _ := ret[0].(*cowPb.SearchPrescriptionResponse)
  900. ret1, _ := ret[1].(error)
  901. return ret0, ret1
  902. }
  903. // SearchPrescriptionList indicates an expected call of SearchPrescriptionList.
  904. func (mr *MockKptServiceMockRecorder) SearchPrescriptionList(arg0, arg1, arg2 interface{}) *gomock.Call {
  905. mr.mock.ctrl.T.Helper()
  906. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchPrescriptionList", reflect.TypeOf((*MockKptService)(nil).SearchPrescriptionList), arg0, arg1, arg2)
  907. }
  908. // SearchSemeTimeList mocks base method.
  909. func (m *MockKptService) SearchSemeTimeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SemeTimeEventResponse, error) {
  910. m.ctrl.T.Helper()
  911. ret := m.ctrl.Call(m, "SearchSemeTimeList", arg0, arg1, arg2)
  912. ret0, _ := ret[0].(*cowPb.SemeTimeEventResponse)
  913. ret1, _ := ret[1].(error)
  914. return ret0, ret1
  915. }
  916. // SearchSemeTimeList indicates an expected call of SearchSemeTimeList.
  917. func (mr *MockKptServiceMockRecorder) SearchSemeTimeList(arg0, arg1, arg2 interface{}) *gomock.Call {
  918. mr.mock.ctrl.T.Helper()
  919. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSemeTimeList", reflect.TypeOf((*MockKptService)(nil).SearchSemeTimeList), arg0, arg1, arg2)
  920. }
  921. // SearchSystemDeptList mocks base method.
  922. func (m *MockKptService) SearchSystemDeptList(arg0 context.Context, arg1 *cowPb.SearchDeptRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDeptResponse, error) {
  923. m.ctrl.T.Helper()
  924. ret := m.ctrl.Call(m, "SearchSystemDeptList", arg0, arg1, arg2)
  925. ret0, _ := ret[0].(*cowPb.SearchDeptResponse)
  926. ret1, _ := ret[1].(error)
  927. return ret0, ret1
  928. }
  929. // SearchSystemDeptList indicates an expected call of SearchSystemDeptList.
  930. func (mr *MockKptServiceMockRecorder) SearchSystemDeptList(arg0, arg1, arg2 interface{}) *gomock.Call {
  931. mr.mock.ctrl.T.Helper()
  932. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemDeptList", reflect.TypeOf((*MockKptService)(nil).SearchSystemDeptList), arg0, arg1, arg2)
  933. }
  934. // SearchSystemMenuList mocks base method.
  935. func (m *MockKptService) SearchSystemMenuList(arg0 context.Context, arg1 *cowPb.SearchMenuRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchMenuResponse, error) {
  936. m.ctrl.T.Helper()
  937. ret := m.ctrl.Call(m, "SearchSystemMenuList", arg0, arg1, arg2)
  938. ret0, _ := ret[0].(*cowPb.SearchMenuResponse)
  939. ret1, _ := ret[1].(error)
  940. return ret0, ret1
  941. }
  942. // SearchSystemMenuList indicates an expected call of SearchSystemMenuList.
  943. func (mr *MockKptServiceMockRecorder) SearchSystemMenuList(arg0, arg1, arg2 interface{}) *gomock.Call {
  944. mr.mock.ctrl.T.Helper()
  945. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemMenuList", reflect.TypeOf((*MockKptService)(nil).SearchSystemMenuList), arg0, arg1, arg2)
  946. }
  947. // SearchSystemRoleList mocks base method.
  948. func (m *MockKptService) SearchSystemRoleList(arg0 context.Context, arg1 *cowPb.SearchRoleRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchRoleResponse, error) {
  949. m.ctrl.T.Helper()
  950. ret := m.ctrl.Call(m, "SearchSystemRoleList", arg0, arg1, arg2)
  951. ret0, _ := ret[0].(*cowPb.SearchRoleResponse)
  952. ret1, _ := ret[1].(error)
  953. return ret0, ret1
  954. }
  955. // SearchSystemRoleList indicates an expected call of SearchSystemRoleList.
  956. func (mr *MockKptServiceMockRecorder) SearchSystemRoleList(arg0, arg1, arg2 interface{}) *gomock.Call {
  957. mr.mock.ctrl.T.Helper()
  958. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemRoleList", reflect.TypeOf((*MockKptService)(nil).SearchSystemRoleList), arg0, arg1, arg2)
  959. }
  960. // SearchSystemUserList mocks base method.
  961. func (m *MockKptService) SearchSystemUserList(arg0 context.Context, arg1 *cowPb.SearchUserRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchUserResponse, error) {
  962. m.ctrl.T.Helper()
  963. ret := m.ctrl.Call(m, "SearchSystemUserList", arg0, arg1, arg2)
  964. ret0, _ := ret[0].(*cowPb.SearchUserResponse)
  965. ret1, _ := ret[1].(error)
  966. return ret0, ret1
  967. }
  968. // SearchSystemUserList indicates an expected call of SearchSystemUserList.
  969. func (mr *MockKptServiceMockRecorder) SearchSystemUserList(arg0, arg1, arg2 interface{}) *gomock.Call {
  970. mr.mock.ctrl.T.Helper()
  971. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemUserList", reflect.TypeOf((*MockKptService)(nil).SearchSystemUserList), arg0, arg1, arg2)
  972. }
  973. // SearchTransferPenReasonList mocks base method.
  974. func (m *MockKptService) SearchTransferPenReasonList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
  975. m.ctrl.T.Helper()
  976. ret := m.ctrl.Call(m, "SearchTransferPenReasonList", arg0, arg1, arg2)
  977. ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
  978. ret1, _ := ret[1].(error)
  979. return ret0, ret1
  980. }
  981. // SearchTransferPenReasonList indicates an expected call of SearchTransferPenReasonList.
  982. func (mr *MockKptServiceMockRecorder) SearchTransferPenReasonList(arg0, arg1, arg2 interface{}) *gomock.Call {
  983. mr.mock.ctrl.T.Helper()
  984. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchTransferPenReasonList", reflect.TypeOf((*MockKptService)(nil).SearchTransferPenReasonList), arg0, arg1, arg2)
  985. }
  986. // SemeTimeDetail mocks base method.
  987. func (m *MockKptService) SemeTimeDetail(arg0 context.Context, arg1 int64) (*cowPb.SemeTimeDetailResponse, error) {
  988. m.ctrl.T.Helper()
  989. ret := m.ctrl.Call(m, "SemeTimeDetail", arg0, arg1)
  990. ret0, _ := ret[0].(*cowPb.SemeTimeDetailResponse)
  991. ret1, _ := ret[1].(error)
  992. return ret0, ret1
  993. }
  994. // SemeTimeDetail indicates an expected call of SemeTimeDetail.
  995. func (mr *MockKptServiceMockRecorder) SemeTimeDetail(arg0, arg1 interface{}) *gomock.Call {
  996. mr.mock.ctrl.T.Helper()
  997. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SemeTimeDetail", reflect.TypeOf((*MockKptService)(nil).SemeTimeDetail), arg0, arg1)
  998. }
  999. // SystemBaseConfigOptions mocks base method.
  1000. func (m *MockKptService) SystemBaseConfigOptions(arg0 context.Context, arg1 string) (*cowPb.ConfigOptionsListResponse, error) {
  1001. m.ctrl.T.Helper()
  1002. ret := m.ctrl.Call(m, "SystemBaseConfigOptions", arg0, arg1)
  1003. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  1004. ret1, _ := ret[1].(error)
  1005. return ret0, ret1
  1006. }
  1007. // SystemBaseConfigOptions indicates an expected call of SystemBaseConfigOptions.
  1008. func (mr *MockKptServiceMockRecorder) SystemBaseConfigOptions(arg0, arg1 interface{}) *gomock.Call {
  1009. mr.mock.ctrl.T.Helper()
  1010. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBaseConfigOptions", reflect.TypeOf((*MockKptService)(nil).SystemBaseConfigOptions), arg0, arg1)
  1011. }
  1012. // SystemDepDelete mocks base method.
  1013. func (m *MockKptService) SystemDepDelete(arg0 context.Context, arg1 int64) error {
  1014. m.ctrl.T.Helper()
  1015. ret := m.ctrl.Call(m, "SystemDepDelete", arg0, arg1)
  1016. ret0, _ := ret[0].(error)
  1017. return ret0
  1018. }
  1019. // SystemDepDelete indicates an expected call of SystemDepDelete.
  1020. func (mr *MockKptServiceMockRecorder) SystemDepDelete(arg0, arg1 interface{}) *gomock.Call {
  1021. mr.mock.ctrl.T.Helper()
  1022. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemDepDelete", reflect.TypeOf((*MockKptService)(nil).SystemDepDelete), arg0, arg1)
  1023. }
  1024. // SystemDeptCreateOrUpdate mocks base method.
  1025. func (m *MockKptService) SystemDeptCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchDeptRequest) error {
  1026. m.ctrl.T.Helper()
  1027. ret := m.ctrl.Call(m, "SystemDeptCreateOrUpdate", arg0, arg1)
  1028. ret0, _ := ret[0].(error)
  1029. return ret0
  1030. }
  1031. // SystemDeptCreateOrUpdate indicates an expected call of SystemDeptCreateOrUpdate.
  1032. func (mr *MockKptServiceMockRecorder) SystemDeptCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  1033. mr.mock.ctrl.T.Helper()
  1034. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemDeptCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemDeptCreateOrUpdate), arg0, arg1)
  1035. }
  1036. // SystemMenuTree mocks base method.
  1037. func (m *MockKptService) SystemMenuTree(arg0 context.Context) (*cowPb.SystemMenuTreeResponse, error) {
  1038. m.ctrl.T.Helper()
  1039. ret := m.ctrl.Call(m, "SystemMenuTree", arg0)
  1040. ret0, _ := ret[0].(*cowPb.SystemMenuTreeResponse)
  1041. ret1, _ := ret[1].(error)
  1042. return ret0, ret1
  1043. }
  1044. // SystemMenuTree indicates an expected call of SystemMenuTree.
  1045. func (mr *MockKptServiceMockRecorder) SystemMenuTree(arg0 interface{}) *gomock.Call {
  1046. mr.mock.ctrl.T.Helper()
  1047. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemMenuTree", reflect.TypeOf((*MockKptService)(nil).SystemMenuTree), arg0)
  1048. }
  1049. // SystemRoleCreateOrUpdate mocks base method.
  1050. func (m *MockKptService) SystemRoleCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchRoleRequest) error {
  1051. m.ctrl.T.Helper()
  1052. ret := m.ctrl.Call(m, "SystemRoleCreateOrUpdate", arg0, arg1)
  1053. ret0, _ := ret[0].(error)
  1054. return ret0
  1055. }
  1056. // SystemRoleCreateOrUpdate indicates an expected call of SystemRoleCreateOrUpdate.
  1057. func (mr *MockKptServiceMockRecorder) SystemRoleCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  1058. mr.mock.ctrl.T.Helper()
  1059. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemRoleCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemRoleCreateOrUpdate), arg0, arg1)
  1060. }
  1061. // SystemRoleList mocks base method.
  1062. func (m *MockKptService) SystemRoleList(arg0 context.Context) (*cowPb.GetRoleListResponse, error) {
  1063. m.ctrl.T.Helper()
  1064. ret := m.ctrl.Call(m, "SystemRoleList", arg0)
  1065. ret0, _ := ret[0].(*cowPb.GetRoleListResponse)
  1066. ret1, _ := ret[1].(error)
  1067. return ret0, ret1
  1068. }
  1069. // SystemRoleList indicates an expected call of SystemRoleList.
  1070. func (mr *MockKptServiceMockRecorder) SystemRoleList(arg0 interface{}) *gomock.Call {
  1071. mr.mock.ctrl.T.Helper()
  1072. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemRoleList", reflect.TypeOf((*MockKptService)(nil).SystemRoleList), arg0)
  1073. }
  1074. // SystemUserCreateOrUpdate mocks base method.
  1075. func (m *MockKptService) SystemUserCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchUserRequest) error {
  1076. m.ctrl.T.Helper()
  1077. ret := m.ctrl.Call(m, "SystemUserCreateOrUpdate", arg0, arg1)
  1078. ret0, _ := ret[0].(error)
  1079. return ret0
  1080. }
  1081. // SystemUserCreateOrUpdate indicates an expected call of SystemUserCreateOrUpdate.
  1082. func (mr *MockKptServiceMockRecorder) SystemUserCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
  1083. mr.mock.ctrl.T.Helper()
  1084. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemUserCreateOrUpdate), arg0, arg1)
  1085. }
  1086. // SystemUserOptions mocks base method.
  1087. func (m *MockKptService) SystemUserOptions(arg0 context.Context, arg1 int) (*cowPb.ConfigOptionsListResponse, error) {
  1088. m.ctrl.T.Helper()
  1089. ret := m.ctrl.Call(m, "SystemUserOptions", arg0, arg1)
  1090. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  1091. ret1, _ := ret[1].(error)
  1092. return ret0, ret1
  1093. }
  1094. // SystemUserOptions indicates an expected call of SystemUserOptions.
  1095. func (mr *MockKptServiceMockRecorder) SystemUserOptions(arg0, arg1 interface{}) *gomock.Call {
  1096. mr.mock.ctrl.T.Helper()
  1097. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserOptions", reflect.TypeOf((*MockKptService)(nil).SystemUserOptions), arg0, arg1)
  1098. }
  1099. // SystemUserRole mocks base method.
  1100. func (m *MockKptService) SystemUserRole(arg0 context.Context, arg1 int64) (*cowPb.SystemUserRoleResponse, error) {
  1101. m.ctrl.T.Helper()
  1102. ret := m.ctrl.Call(m, "SystemUserRole", arg0, arg1)
  1103. ret0, _ := ret[0].(*cowPb.SystemUserRoleResponse)
  1104. ret1, _ := ret[1].(error)
  1105. return ret0, ret1
  1106. }
  1107. // SystemUserRole indicates an expected call of SystemUserRole.
  1108. func (mr *MockKptServiceMockRecorder) SystemUserRole(arg0, arg1 interface{}) *gomock.Call {
  1109. mr.mock.ctrl.T.Helper()
  1110. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserRole", reflect.TypeOf((*MockKptService)(nil).SystemUserRole), arg0, arg1)
  1111. }
  1112. // SystemUserRoleSave mocks base method.
  1113. func (m *MockKptService) SystemUserRoleSave(arg0 context.Context, arg1 *cowPb.SystemUserRoleRequest) error {
  1114. m.ctrl.T.Helper()
  1115. ret := m.ctrl.Call(m, "SystemUserRoleSave", arg0, arg1)
  1116. ret0, _ := ret[0].(error)
  1117. return ret0
  1118. }
  1119. // SystemUserRoleSave indicates an expected call of SystemUserRoleSave.
  1120. func (mr *MockKptServiceMockRecorder) SystemUserRoleSave(arg0, arg1 interface{}) *gomock.Call {
  1121. mr.mock.ctrl.T.Helper()
  1122. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserRoleSave", reflect.TypeOf((*MockKptService)(nil).SystemUserRoleSave), arg0, arg1)
  1123. }
  1124. // WeightList mocks base method.
  1125. func (m *MockKptService) WeightList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchWeightEventResponse, error) {
  1126. m.ctrl.T.Helper()
  1127. ret := m.ctrl.Call(m, "WeightList", arg0, arg1, arg2)
  1128. ret0, _ := ret[0].(*cowPb.SearchWeightEventResponse)
  1129. ret1, _ := ret[1].(error)
  1130. return ret0, ret1
  1131. }
  1132. // WeightList indicates an expected call of WeightList.
  1133. func (mr *MockKptServiceMockRecorder) WeightList(arg0, arg1, arg2 interface{}) *gomock.Call {
  1134. mr.mock.ctrl.T.Helper()
  1135. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeightList", reflect.TypeOf((*MockKptService)(nil).WeightList), arg0, arg1, arg2)
  1136. }