docs.go 95 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946
  1. // Package docs GENERATED BY SWAG; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import "github.com/swaggo/swag"
  5. const docTemplate = `{
  6. "schemes": {{ marshal .Schemes }},
  7. "swagger": "2.0",
  8. "info": {
  9. "description": "{{escape .Description}}",
  10. "title": "{{.Title}}",
  11. "contact": {},
  12. "version": "{{.Version}}"
  13. },
  14. "host": "{{.Host}}",
  15. "basePath": "{{.BasePath}}",
  16. "paths": {
  17. "/api/role-api": {
  18. "post": {
  19. "security": [
  20. {
  21. "Bearer": []
  22. }
  23. ],
  24. "description": "修改角色路由权限",
  25. "consumes": [
  26. "application/json"
  27. ],
  28. "tags": [
  29. "角色"
  30. ],
  31. "summary": "对接统一身份认证(前端暂时忽略)",
  32. "parameters": [
  33. {
  34. "description": "body",
  35. "name": "body",
  36. "in": "body",
  37. "required": true,
  38. "schema": {
  39. "$ref": "#/definitions/dto.RoleApiUpdateReq"
  40. }
  41. }
  42. ],
  43. "responses": {
  44. "200": {
  45. "description": "{\"code\": 200, \"data\": [...]}",
  46. "schema": {
  47. "$ref": "#/definitions/response.Response"
  48. }
  49. }
  50. }
  51. }
  52. },
  53. "/dosage-form/add": {
  54. "post": {
  55. "security": [
  56. {
  57. "Bearer": []
  58. }
  59. ],
  60. "description": "添加剂型",
  61. "consumes": [
  62. "application/json"
  63. ],
  64. "tags": [
  65. "剂型"
  66. ],
  67. "summary": "添加剂型",
  68. "parameters": [
  69. {
  70. "description": "data",
  71. "name": "data",
  72. "in": "body",
  73. "required": true,
  74. "schema": {
  75. "$ref": "#/definitions/dto.DosageFormInsertReq"
  76. }
  77. }
  78. ],
  79. "responses": {
  80. "200": {
  81. "description": "{\"code\": 200, \"data\": [...]}",
  82. "schema": {
  83. "$ref": "#/definitions/response.Response"
  84. }
  85. }
  86. }
  87. }
  88. },
  89. "/dosage-form/delete": {
  90. "post": {
  91. "security": [
  92. {
  93. "Bearer": []
  94. }
  95. ],
  96. "description": "删除剂型",
  97. "consumes": [
  98. "application/json"
  99. ],
  100. "tags": [
  101. "剂型"
  102. ],
  103. "summary": "删除剂型",
  104. "parameters": [
  105. {
  106. "description": "请求参数",
  107. "name": "id",
  108. "in": "body",
  109. "required": true,
  110. "schema": {
  111. "$ref": "#/definitions/dto.DosageFormDeleteReq"
  112. }
  113. }
  114. ],
  115. "responses": {
  116. "200": {
  117. "description": "{\"code\": 200, \"data\": [...]}",
  118. "schema": {
  119. "$ref": "#/definitions/response.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/dosage-form/detail": {
  126. "post": {
  127. "security": [
  128. {
  129. "Bearer": []
  130. }
  131. ],
  132. "description": "通过id获取剂型",
  133. "tags": [
  134. "剂型"
  135. ],
  136. "summary": "通过id获取剂型",
  137. "parameters": [
  138. {
  139. "description": "body",
  140. "name": "body",
  141. "in": "body",
  142. "required": true,
  143. "schema": {
  144. "$ref": "#/definitions/dto.DosageFormGetReq"
  145. }
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "{\"code\": 200, \"data\": [...]}",
  151. "schema": {
  152. "allOf": [
  153. {
  154. "$ref": "#/definitions/response.Response"
  155. },
  156. {
  157. "type": "object",
  158. "properties": {
  159. "data": {
  160. "$ref": "#/definitions/models.DosageForm"
  161. }
  162. }
  163. }
  164. ]
  165. }
  166. }
  167. }
  168. }
  169. },
  170. "/dosage-form/edit": {
  171. "post": {
  172. "security": [
  173. {
  174. "Bearer": []
  175. }
  176. ],
  177. "description": "修改剂型",
  178. "consumes": [
  179. "application/json"
  180. ],
  181. "tags": [
  182. "剂型"
  183. ],
  184. "summary": "修改剂型",
  185. "parameters": [
  186. {
  187. "description": "body",
  188. "name": "data",
  189. "in": "body",
  190. "required": true,
  191. "schema": {
  192. "$ref": "#/definitions/dto.DosageFormUpdateReq"
  193. }
  194. }
  195. ],
  196. "responses": {
  197. "200": {
  198. "description": "{\"code\": 200, \"data\": [...]}",
  199. "schema": {
  200. "$ref": "#/definitions/response.Response"
  201. }
  202. }
  203. }
  204. }
  205. },
  206. "/dosage-form/list": {
  207. "post": {
  208. "security": [
  209. {
  210. "Bearer": []
  211. }
  212. ],
  213. "description": "获取剂型列表",
  214. "tags": [
  215. "剂型"
  216. ],
  217. "summary": "获取剂型列表",
  218. "parameters": [
  219. {
  220. "description": "body",
  221. "name": "body",
  222. "in": "body",
  223. "required": true,
  224. "schema": {
  225. "$ref": "#/definitions/dto.DosageFormPageReq"
  226. }
  227. }
  228. ],
  229. "responses": {
  230. "200": {
  231. "description": "{\"code\": 200, \"data\": [...]}",
  232. "schema": {
  233. "allOf": [
  234. {
  235. "$ref": "#/definitions/response.Page"
  236. },
  237. {
  238. "type": "object",
  239. "properties": {
  240. "list": {
  241. "type": "array",
  242. "items": {
  243. "$ref": "#/definitions/models.DosageForm"
  244. }
  245. }
  246. }
  247. }
  248. ]
  249. }
  250. }
  251. }
  252. }
  253. },
  254. "/enterprise/add": {
  255. "post": {
  256. "security": [
  257. {
  258. "Bearer": []
  259. }
  260. ],
  261. "description": "添加生产企业",
  262. "consumes": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "生产企业"
  267. ],
  268. "summary": "添加生产企业",
  269. "parameters": [
  270. {
  271. "description": "data",
  272. "name": "data",
  273. "in": "body",
  274. "required": true,
  275. "schema": {
  276. "$ref": "#/definitions/dto.EnterpriseInsertReq"
  277. }
  278. }
  279. ],
  280. "responses": {
  281. "200": {
  282. "description": "{\"code\": 200, \"data\": [...]}",
  283. "schema": {
  284. "$ref": "#/definitions/response.Response"
  285. }
  286. }
  287. }
  288. }
  289. },
  290. "/enterprise/delete": {
  291. "post": {
  292. "security": [
  293. {
  294. "Bearer": []
  295. }
  296. ],
  297. "description": "删除生产企业",
  298. "consumes": [
  299. "application/json"
  300. ],
  301. "tags": [
  302. "生产企业"
  303. ],
  304. "summary": "删除生产企业",
  305. "parameters": [
  306. {
  307. "description": "请求参数",
  308. "name": "id",
  309. "in": "body",
  310. "required": true,
  311. "schema": {
  312. "$ref": "#/definitions/dto.EnterpriseDeleteReq"
  313. }
  314. }
  315. ],
  316. "responses": {
  317. "200": {
  318. "description": "{\"code\": 200, \"data\": [...]}",
  319. "schema": {
  320. "$ref": "#/definitions/response.Response"
  321. }
  322. }
  323. }
  324. }
  325. },
  326. "/enterprise/detail": {
  327. "post": {
  328. "security": [
  329. {
  330. "Bearer": []
  331. }
  332. ],
  333. "description": "通过id获取生产企业",
  334. "tags": [
  335. "生产企业"
  336. ],
  337. "summary": "通过id获取生产企业",
  338. "parameters": [
  339. {
  340. "description": "body",
  341. "name": "body",
  342. "in": "body",
  343. "required": true,
  344. "schema": {
  345. "$ref": "#/definitions/dto.EnterpriseGetReq"
  346. }
  347. }
  348. ],
  349. "responses": {
  350. "200": {
  351. "description": "{\"code\": 200, \"data\": [...]}",
  352. "schema": {
  353. "allOf": [
  354. {
  355. "$ref": "#/definitions/response.Response"
  356. },
  357. {
  358. "type": "object",
  359. "properties": {
  360. "data": {
  361. "$ref": "#/definitions/models.Enterprise"
  362. }
  363. }
  364. }
  365. ]
  366. }
  367. }
  368. }
  369. }
  370. },
  371. "/enterprise/edit": {
  372. "post": {
  373. "security": [
  374. {
  375. "Bearer": []
  376. }
  377. ],
  378. "description": "修改生产企业",
  379. "consumes": [
  380. "application/json"
  381. ],
  382. "tags": [
  383. "生产企业"
  384. ],
  385. "summary": "修改生产企业",
  386. "parameters": [
  387. {
  388. "description": "body",
  389. "name": "data",
  390. "in": "body",
  391. "required": true,
  392. "schema": {
  393. "$ref": "#/definitions/dto.EnterpriseUpdateReq"
  394. }
  395. }
  396. ],
  397. "responses": {
  398. "200": {
  399. "description": "{\"code\": 200, \"data\": [...]}",
  400. "schema": {
  401. "$ref": "#/definitions/response.Response"
  402. }
  403. }
  404. }
  405. }
  406. },
  407. "/enterprise/list": {
  408. "post": {
  409. "security": [
  410. {
  411. "Bearer": []
  412. }
  413. ],
  414. "description": "获取生产企业列表",
  415. "tags": [
  416. "生产企业"
  417. ],
  418. "summary": "获取生产企业列表",
  419. "parameters": [
  420. {
  421. "description": "body",
  422. "name": "body",
  423. "in": "body",
  424. "required": true,
  425. "schema": {
  426. "$ref": "#/definitions/dto.EnterprisePageReq"
  427. }
  428. }
  429. ],
  430. "responses": {
  431. "200": {
  432. "description": "{\"code\": 200, \"data\": [...]}",
  433. "schema": {
  434. "allOf": [
  435. {
  436. "$ref": "#/definitions/response.Page"
  437. },
  438. {
  439. "type": "object",
  440. "properties": {
  441. "list": {
  442. "type": "array",
  443. "items": {
  444. "$ref": "#/definitions/models.Enterprise"
  445. }
  446. }
  447. }
  448. }
  449. ]
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/medicine-template/add": {
  456. "post": {
  457. "security": [
  458. {
  459. "Bearer": []
  460. }
  461. ],
  462. "description": "添加模版字段",
  463. "tags": [
  464. "药品信息模板"
  465. ],
  466. "summary": "添加模版字段",
  467. "parameters": [
  468. {
  469. "description": "data",
  470. "name": "data",
  471. "in": "body",
  472. "required": true,
  473. "schema": {
  474. "$ref": "#/definitions/dto.MedicineTemplateInsertReq"
  475. }
  476. }
  477. ],
  478. "responses": {
  479. "200": {
  480. "description": "{\"code\": 200, \"data\": [...]}",
  481. "schema": {
  482. "$ref": "#/definitions/response.Response"
  483. }
  484. }
  485. }
  486. }
  487. },
  488. "/medicine-template/columns": {
  489. "post": {
  490. "security": [
  491. {
  492. "Bearer": []
  493. }
  494. ],
  495. "description": "获取品名列表",
  496. "tags": [
  497. "药品信息模板"
  498. ],
  499. "summary": "获取品名列表",
  500. "responses": {
  501. "200": {
  502. "description": "{\"code\": 200, \"data\": [...]}",
  503. "schema": {
  504. "allOf": [
  505. {
  506. "$ref": "#/definitions/response.Page"
  507. },
  508. {
  509. "type": "object",
  510. "properties": {
  511. "list": {
  512. "type": "array",
  513. "items": {
  514. "$ref": "#/definitions/models.MedicineTemplate"
  515. }
  516. }
  517. }
  518. }
  519. ]
  520. }
  521. }
  522. }
  523. }
  524. },
  525. "/medicine-template/delete": {
  526. "post": {
  527. "security": [
  528. {
  529. "Bearer": []
  530. }
  531. ],
  532. "description": "删除模版字段",
  533. "consumes": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "药品信息模板"
  538. ],
  539. "summary": "删除模版字段",
  540. "parameters": [
  541. {
  542. "description": "body",
  543. "name": "data",
  544. "in": "body",
  545. "required": true,
  546. "schema": {
  547. "$ref": "#/definitions/dto.MedicineTemplateDeleteReq"
  548. }
  549. }
  550. ],
  551. "responses": {
  552. "200": {
  553. "description": "{\"code\": 200, \"data\": [...]}",
  554. "schema": {
  555. "$ref": "#/definitions/response.Response"
  556. }
  557. }
  558. }
  559. }
  560. },
  561. "/medicine-template/edit": {
  562. "post": {
  563. "security": [
  564. {
  565. "Bearer": []
  566. }
  567. ],
  568. "description": "修改模版字段",
  569. "tags": [
  570. "药品信息模板"
  571. ],
  572. "summary": "修改模版字段",
  573. "parameters": [
  574. {
  575. "description": "body",
  576. "name": "data",
  577. "in": "body",
  578. "required": true,
  579. "schema": {
  580. "$ref": "#/definitions/dto.MedicineTemplateUpdateReq"
  581. }
  582. }
  583. ],
  584. "responses": {
  585. "200": {
  586. "description": "{\"code\": 200, \"data\": [...]}",
  587. "schema": {
  588. "$ref": "#/definitions/response.Response"
  589. }
  590. }
  591. }
  592. }
  593. },
  594. "/medicine-template/list": {
  595. "post": {
  596. "security": [
  597. {
  598. "Bearer": []
  599. }
  600. ],
  601. "description": "获取品名列表",
  602. "tags": [
  603. "药品信息模板"
  604. ],
  605. "summary": "获取品名列表",
  606. "responses": {
  607. "200": {
  608. "description": "{\"code\": 200, \"data\": [...]}",
  609. "schema": {
  610. "allOf": [
  611. {
  612. "$ref": "#/definitions/response.Page"
  613. },
  614. {
  615. "type": "object",
  616. "properties": {
  617. "list": {
  618. "type": "array",
  619. "items": {
  620. "$ref": "#/definitions/models.MedicineTemplate"
  621. }
  622. }
  623. }
  624. }
  625. ]
  626. }
  627. }
  628. }
  629. }
  630. },
  631. "/medicine-template/list-for-stock": {
  632. "post": {
  633. "security": [
  634. {
  635. "Bearer": []
  636. }
  637. ],
  638. "description": "获取入库列表",
  639. "tags": [
  640. "药品信息模板"
  641. ],
  642. "summary": "获取入库列表",
  643. "responses": {
  644. "200": {
  645. "description": "{\"code\": 200, \"data\": [...]}",
  646. "schema": {
  647. "allOf": [
  648. {
  649. "$ref": "#/definitions/response.Page"
  650. },
  651. {
  652. "type": "object",
  653. "properties": {
  654. "list": {
  655. "type": "array",
  656. "items": {
  657. "$ref": "#/definitions/models.MedicineTemplate"
  658. }
  659. }
  660. }
  661. }
  662. ]
  663. }
  664. }
  665. }
  666. }
  667. },
  668. "/medicine/basic-data-stat": {
  669. "post": {
  670. "security": [
  671. {
  672. "Bearer": []
  673. }
  674. ],
  675. "description": "基本数据统计",
  676. "tags": [
  677. "药品"
  678. ],
  679. "summary": "基本数据统计",
  680. "responses": {
  681. "200": {
  682. "description": "{\"code\": 200, \"data\": [...]}",
  683. "schema": {
  684. "$ref": "#/definitions/response.Page"
  685. }
  686. }
  687. }
  688. }
  689. },
  690. "/medicine/batch-number": {
  691. "post": {
  692. "security": [
  693. {
  694. "Bearer": []
  695. }
  696. ],
  697. "description": "批号列表",
  698. "tags": [
  699. "药品"
  700. ],
  701. "summary": "批号列表",
  702. "parameters": [
  703. {
  704. "description": "body",
  705. "name": "data",
  706. "in": "body",
  707. "required": true,
  708. "schema": {
  709. "$ref": "#/definitions/dto.MedicineBatchNumberReq"
  710. }
  711. }
  712. ],
  713. "responses": {
  714. "200": {
  715. "description": "{\"code\": 200, \"data\": [...]}",
  716. "schema": {
  717. "$ref": "#/definitions/response.Page"
  718. }
  719. }
  720. }
  721. }
  722. },
  723. "/product/add": {
  724. "post": {
  725. "security": [
  726. {
  727. "Bearer": []
  728. }
  729. ],
  730. "description": "添加品名",
  731. "consumes": [
  732. "application/json"
  733. ],
  734. "tags": [
  735. "品名"
  736. ],
  737. "summary": "添加品名",
  738. "parameters": [
  739. {
  740. "description": "data",
  741. "name": "data",
  742. "in": "body",
  743. "required": true,
  744. "schema": {
  745. "$ref": "#/definitions/dto.ProductInsertReq"
  746. }
  747. }
  748. ],
  749. "responses": {
  750. "200": {
  751. "description": "{\"code\": 200, \"data\": [...]}",
  752. "schema": {
  753. "$ref": "#/definitions/response.Response"
  754. }
  755. }
  756. }
  757. }
  758. },
  759. "/product/delete": {
  760. "post": {
  761. "security": [
  762. {
  763. "Bearer": []
  764. }
  765. ],
  766. "description": "删除品名",
  767. "consumes": [
  768. "application/json"
  769. ],
  770. "tags": [
  771. "品名"
  772. ],
  773. "summary": "删除品名",
  774. "parameters": [
  775. {
  776. "description": "请求参数",
  777. "name": "id",
  778. "in": "body",
  779. "required": true,
  780. "schema": {
  781. "$ref": "#/definitions/dto.ProductDeleteReq"
  782. }
  783. }
  784. ],
  785. "responses": {
  786. "200": {
  787. "description": "{\"code\": 200, \"data\": [...]}",
  788. "schema": {
  789. "$ref": "#/definitions/response.Response"
  790. }
  791. }
  792. }
  793. }
  794. },
  795. "/product/detail": {
  796. "post": {
  797. "security": [
  798. {
  799. "Bearer": []
  800. }
  801. ],
  802. "description": "通过id获取品名",
  803. "tags": [
  804. "品名"
  805. ],
  806. "summary": "通过id获取品名",
  807. "parameters": [
  808. {
  809. "description": "body",
  810. "name": "body",
  811. "in": "body",
  812. "required": true,
  813. "schema": {
  814. "$ref": "#/definitions/dto.ProductGetReq"
  815. }
  816. }
  817. ],
  818. "responses": {
  819. "200": {
  820. "description": "{\"code\": 200, \"data\": [...]}",
  821. "schema": {
  822. "allOf": [
  823. {
  824. "$ref": "#/definitions/response.Response"
  825. },
  826. {
  827. "type": "object",
  828. "properties": {
  829. "data": {
  830. "$ref": "#/definitions/models.Product"
  831. }
  832. }
  833. }
  834. ]
  835. }
  836. }
  837. }
  838. }
  839. },
  840. "/product/edit": {
  841. "post": {
  842. "security": [
  843. {
  844. "Bearer": []
  845. }
  846. ],
  847. "description": "修改品名",
  848. "consumes": [
  849. "application/json"
  850. ],
  851. "tags": [
  852. "品名"
  853. ],
  854. "summary": "修改品名",
  855. "parameters": [
  856. {
  857. "description": "body",
  858. "name": "data",
  859. "in": "body",
  860. "required": true,
  861. "schema": {
  862. "$ref": "#/definitions/dto.ProductUpdateReq"
  863. }
  864. }
  865. ],
  866. "responses": {
  867. "200": {
  868. "description": "{\"code\": 200, \"data\": [...]}",
  869. "schema": {
  870. "$ref": "#/definitions/response.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/product/list": {
  877. "post": {
  878. "security": [
  879. {
  880. "Bearer": []
  881. }
  882. ],
  883. "description": "获取品名列表",
  884. "tags": [
  885. "品名"
  886. ],
  887. "summary": "获取品名列表",
  888. "parameters": [
  889. {
  890. "description": "body",
  891. "name": "body",
  892. "in": "body",
  893. "required": true,
  894. "schema": {
  895. "$ref": "#/definitions/dto.ProductPageReq"
  896. }
  897. }
  898. ],
  899. "responses": {
  900. "200": {
  901. "description": "{\"code\": 200, \"data\": [...]}",
  902. "schema": {
  903. "allOf": [
  904. {
  905. "$ref": "#/definitions/response.Page"
  906. },
  907. {
  908. "type": "object",
  909. "properties": {
  910. "list": {
  911. "type": "array",
  912. "items": {
  913. "$ref": "#/definitions/models.Product"
  914. }
  915. }
  916. }
  917. }
  918. ]
  919. }
  920. }
  921. }
  922. }
  923. },
  924. "/sales/excel": {
  925. "post": {
  926. "security": [
  927. {
  928. "Bearer": []
  929. }
  930. ],
  931. "description": "销售报表",
  932. "tags": [
  933. "销售管理"
  934. ],
  935. "summary": "销售报表",
  936. "parameters": [
  937. {
  938. "description": "body",
  939. "name": "body",
  940. "in": "body",
  941. "required": true,
  942. "schema": {
  943. "$ref": "#/definitions/dto.SalesPageReq"
  944. }
  945. }
  946. ],
  947. "responses": {
  948. "200": {
  949. "description": "{\"code\": 200, \"data\": [...]}",
  950. "schema": {
  951. "$ref": "#/definitions/response.Page"
  952. }
  953. }
  954. }
  955. }
  956. },
  957. "/sales/list": {
  958. "post": {
  959. "security": [
  960. {
  961. "Bearer": []
  962. }
  963. ],
  964. "description": "销售管理",
  965. "tags": [
  966. "销售管理"
  967. ],
  968. "summary": "销售管理",
  969. "parameters": [
  970. {
  971. "description": "body",
  972. "name": "body",
  973. "in": "body",
  974. "required": true,
  975. "schema": {
  976. "$ref": "#/definitions/dto.SalesPageReq"
  977. }
  978. }
  979. ],
  980. "responses": {
  981. "200": {
  982. "description": "{\"code\": 200, \"data\": [...]}",
  983. "schema": {
  984. "$ref": "#/definitions/response.Page"
  985. }
  986. }
  987. }
  988. }
  989. },
  990. "/sales/order_list": {
  991. "post": {
  992. "security": [
  993. {
  994. "Bearer": []
  995. }
  996. ],
  997. "description": "出库单",
  998. "tags": [
  999. "销售管理"
  1000. ],
  1001. "summary": "出库单",
  1002. "parameters": [
  1003. {
  1004. "description": "body",
  1005. "name": "body",
  1006. "in": "body",
  1007. "required": true,
  1008. "schema": {
  1009. "$ref": "#/definitions/dto.SalesStockOutExcelReq"
  1010. }
  1011. }
  1012. ],
  1013. "responses": {
  1014. "200": {
  1015. "description": "{\"code\": 200, \"data\": [...]}",
  1016. "schema": {
  1017. "$ref": "#/definitions/response.Page"
  1018. }
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "/spec/add": {
  1024. "post": {
  1025. "security": [
  1026. {
  1027. "Bearer": []
  1028. }
  1029. ],
  1030. "description": "添加规格",
  1031. "consumes": [
  1032. "application/json"
  1033. ],
  1034. "tags": [
  1035. "规格"
  1036. ],
  1037. "summary": "添加规格",
  1038. "parameters": [
  1039. {
  1040. "description": "data",
  1041. "name": "data",
  1042. "in": "body",
  1043. "required": true,
  1044. "schema": {
  1045. "$ref": "#/definitions/dto.SpecInsertReq"
  1046. }
  1047. }
  1048. ],
  1049. "responses": {
  1050. "200": {
  1051. "description": "{\"code\": 200, \"data\": [...]}",
  1052. "schema": {
  1053. "$ref": "#/definitions/response.Response"
  1054. }
  1055. }
  1056. }
  1057. }
  1058. },
  1059. "/spec/delete": {
  1060. "post": {
  1061. "security": [
  1062. {
  1063. "Bearer": []
  1064. }
  1065. ],
  1066. "description": "删除规格",
  1067. "consumes": [
  1068. "application/json"
  1069. ],
  1070. "tags": [
  1071. "规格"
  1072. ],
  1073. "summary": "删除规格",
  1074. "parameters": [
  1075. {
  1076. "description": "请求参数",
  1077. "name": "id",
  1078. "in": "body",
  1079. "required": true,
  1080. "schema": {
  1081. "$ref": "#/definitions/dto.SpecDeleteReq"
  1082. }
  1083. }
  1084. ],
  1085. "responses": {
  1086. "200": {
  1087. "description": "{\"code\": 200, \"data\": [...]}",
  1088. "schema": {
  1089. "$ref": "#/definitions/response.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/spec/detail": {
  1096. "post": {
  1097. "security": [
  1098. {
  1099. "Bearer": []
  1100. }
  1101. ],
  1102. "description": "通过id获取规格",
  1103. "tags": [
  1104. "规格"
  1105. ],
  1106. "summary": "通过id获取规格",
  1107. "parameters": [
  1108. {
  1109. "description": "body",
  1110. "name": "body",
  1111. "in": "body",
  1112. "required": true,
  1113. "schema": {
  1114. "$ref": "#/definitions/dto.SpecGetReq"
  1115. }
  1116. }
  1117. ],
  1118. "responses": {
  1119. "200": {
  1120. "description": "{\"code\": 200, \"data\": [...]}",
  1121. "schema": {
  1122. "allOf": [
  1123. {
  1124. "$ref": "#/definitions/response.Response"
  1125. },
  1126. {
  1127. "type": "object",
  1128. "properties": {
  1129. "data": {
  1130. "$ref": "#/definitions/models.Spec"
  1131. }
  1132. }
  1133. }
  1134. ]
  1135. }
  1136. }
  1137. }
  1138. }
  1139. },
  1140. "/spec/edit": {
  1141. "post": {
  1142. "security": [
  1143. {
  1144. "Bearer": []
  1145. }
  1146. ],
  1147. "description": "修改规格",
  1148. "consumes": [
  1149. "application/json"
  1150. ],
  1151. "tags": [
  1152. "规格"
  1153. ],
  1154. "summary": "修改规格",
  1155. "parameters": [
  1156. {
  1157. "description": "body",
  1158. "name": "data",
  1159. "in": "body",
  1160. "required": true,
  1161. "schema": {
  1162. "$ref": "#/definitions/dto.SpecUpdateReq"
  1163. }
  1164. }
  1165. ],
  1166. "responses": {
  1167. "200": {
  1168. "description": "{\"code\": 200, \"data\": [...]}",
  1169. "schema": {
  1170. "$ref": "#/definitions/response.Response"
  1171. }
  1172. }
  1173. }
  1174. }
  1175. },
  1176. "/spec/list": {
  1177. "post": {
  1178. "security": [
  1179. {
  1180. "Bearer": []
  1181. }
  1182. ],
  1183. "description": "获取规格列表",
  1184. "tags": [
  1185. "规格"
  1186. ],
  1187. "summary": "获取规格列表",
  1188. "parameters": [
  1189. {
  1190. "description": "body",
  1191. "name": "body",
  1192. "in": "body",
  1193. "required": true,
  1194. "schema": {
  1195. "$ref": "#/definitions/dto.SpecPageReq"
  1196. }
  1197. }
  1198. ],
  1199. "responses": {
  1200. "200": {
  1201. "description": "{\"code\": 200, \"data\": [...]}",
  1202. "schema": {
  1203. "allOf": [
  1204. {
  1205. "$ref": "#/definitions/response.Page"
  1206. },
  1207. {
  1208. "type": "object",
  1209. "properties": {
  1210. "list": {
  1211. "type": "array",
  1212. "items": {
  1213. "$ref": "#/definitions/models.Spec"
  1214. }
  1215. }
  1216. }
  1217. }
  1218. ]
  1219. }
  1220. }
  1221. }
  1222. }
  1223. },
  1224. "/stock-template/in": {
  1225. "post": {
  1226. "security": [
  1227. {
  1228. "Bearer": []
  1229. }
  1230. ],
  1231. "description": "删除入库",
  1232. "tags": [
  1233. "库存"
  1234. ],
  1235. "summary": "删除入库",
  1236. "parameters": [
  1237. {
  1238. "description": "body",
  1239. "name": "body",
  1240. "in": "body",
  1241. "required": true,
  1242. "schema": {
  1243. "$ref": "#/definitions/dto.StockTemplateOutDeleteReq"
  1244. }
  1245. }
  1246. ],
  1247. "responses": {
  1248. "200": {
  1249. "description": "{\"code\": 200, \"data\": [...]}",
  1250. "schema": {
  1251. "$ref": "#/definitions/response.Response"
  1252. }
  1253. }
  1254. }
  1255. }
  1256. },
  1257. "/stock-template/in/list": {
  1258. "post": {
  1259. "security": [
  1260. {
  1261. "Bearer": []
  1262. }
  1263. ],
  1264. "description": "入库列表",
  1265. "tags": [
  1266. "库存"
  1267. ],
  1268. "summary": "入库列表",
  1269. "parameters": [
  1270. {
  1271. "description": "body",
  1272. "name": "body",
  1273. "in": "body",
  1274. "required": true,
  1275. "schema": {
  1276. "$ref": "#/definitions/dto.StockTemplateInPageReq"
  1277. }
  1278. }
  1279. ],
  1280. "responses": {
  1281. "200": {
  1282. "description": "{\"code\": 200, \"data\": [...]}",
  1283. "schema": {
  1284. "$ref": "#/definitions/response.Page"
  1285. }
  1286. }
  1287. }
  1288. }
  1289. },
  1290. "/stock-template/inventory/list": {
  1291. "post": {
  1292. "security": [
  1293. {
  1294. "Bearer": []
  1295. }
  1296. ],
  1297. "description": "收发登记表word",
  1298. "tags": [
  1299. "库存"
  1300. ],
  1301. "summary": "收发登记表word",
  1302. "parameters": [
  1303. {
  1304. "description": "body",
  1305. "name": "body",
  1306. "in": "body",
  1307. "required": true,
  1308. "schema": {
  1309. "$ref": "#/definitions/dto.TransportRecordWordReq"
  1310. }
  1311. }
  1312. ],
  1313. "responses": {
  1314. "200": {
  1315. "description": "{\"code\": 200, \"data\": [...]}",
  1316. "schema": {
  1317. "$ref": "#/definitions/response.Page"
  1318. }
  1319. }
  1320. }
  1321. }
  1322. },
  1323. "/stock-template/out": {
  1324. "post": {
  1325. "security": [
  1326. {
  1327. "Bearer": []
  1328. }
  1329. ],
  1330. "description": "批量出库",
  1331. "tags": [
  1332. "库存"
  1333. ],
  1334. "summary": "批量出库",
  1335. "parameters": [
  1336. {
  1337. "description": "body",
  1338. "name": "body",
  1339. "in": "body",
  1340. "required": true,
  1341. "schema": {
  1342. "$ref": "#/definitions/dto.StockTemplateOutInsertReq"
  1343. }
  1344. }
  1345. ],
  1346. "responses": {
  1347. "200": {
  1348. "description": "{\"code\": 200, \"data\": [...]}",
  1349. "schema": {
  1350. "$ref": "#/definitions/response.Response"
  1351. }
  1352. }
  1353. }
  1354. }
  1355. },
  1356. "/stock-template/out/list": {
  1357. "post": {
  1358. "security": [
  1359. {
  1360. "Bearer": []
  1361. }
  1362. ],
  1363. "description": "出库列表",
  1364. "tags": [
  1365. "库存"
  1366. ],
  1367. "summary": "出库列表",
  1368. "parameters": [
  1369. {
  1370. "description": "body",
  1371. "name": "body",
  1372. "in": "body",
  1373. "required": true,
  1374. "schema": {
  1375. "$ref": "#/definitions/dto.StockTemplateOutPageReq"
  1376. }
  1377. }
  1378. ],
  1379. "responses": {
  1380. "200": {
  1381. "description": "{\"code\": 200, \"data\": [...]}",
  1382. "schema": {
  1383. "$ref": "#/definitions/response.Page"
  1384. }
  1385. }
  1386. }
  1387. }
  1388. },
  1389. "/stock/stat": {
  1390. "post": {
  1391. "security": [
  1392. {
  1393. "Bearer": []
  1394. }
  1395. ],
  1396. "description": "首页出入库信息统计",
  1397. "tags": [
  1398. "库存"
  1399. ],
  1400. "summary": "首页出入库信息统计",
  1401. "parameters": [
  1402. {
  1403. "description": "body",
  1404. "name": "body",
  1405. "in": "body",
  1406. "required": true,
  1407. "schema": {
  1408. "$ref": "#/definitions/dto.StockStatListReq"
  1409. }
  1410. }
  1411. ],
  1412. "responses": {
  1413. "200": {
  1414. "description": "{\"code\": 200, \"data\": [...]}",
  1415. "schema": {
  1416. "$ref": "#/definitions/response.Page"
  1417. }
  1418. }
  1419. }
  1420. }
  1421. },
  1422. "/stock/stat/excel": {
  1423. "post": {
  1424. "security": [
  1425. {
  1426. "Bearer": []
  1427. }
  1428. ],
  1429. "description": "库存信息表",
  1430. "tags": [
  1431. "库存"
  1432. ],
  1433. "summary": "库存信息表-每个商品、生产企业、规格、批号数量",
  1434. "parameters": [
  1435. {
  1436. "description": "body",
  1437. "name": "body",
  1438. "in": "body",
  1439. "required": true,
  1440. "schema": {
  1441. "$ref": "#/definitions/dto.StockStatListReq"
  1442. }
  1443. }
  1444. ],
  1445. "responses": {
  1446. "200": {
  1447. "description": "{\"code\": 200, \"data\": [...]}",
  1448. "schema": {
  1449. "$ref": "#/definitions/response.Page"
  1450. }
  1451. }
  1452. }
  1453. }
  1454. },
  1455. "/stock/unit/list": {
  1456. "post": {
  1457. "security": [
  1458. {
  1459. "Bearer": []
  1460. }
  1461. ],
  1462. "description": "获取收货单位,发货单位,收发单位",
  1463. "tags": [
  1464. "库存"
  1465. ],
  1466. "summary": "获取收货单位,发货单位,收发单位",
  1467. "parameters": [
  1468. {
  1469. "description": "body",
  1470. "name": "body",
  1471. "in": "body",
  1472. "required": true,
  1473. "schema": {
  1474. "$ref": "#/definitions/dto.StockOperatorListReq"
  1475. }
  1476. }
  1477. ],
  1478. "responses": {
  1479. "200": {
  1480. "description": "{\"code\": 200, \"data\": [...]}",
  1481. "schema": {
  1482. "$ref": "#/definitions/response.Page"
  1483. }
  1484. }
  1485. }
  1486. }
  1487. },
  1488. "/unit/add": {
  1489. "post": {
  1490. "security": [
  1491. {
  1492. "Bearer": []
  1493. }
  1494. ],
  1495. "description": "添加单位",
  1496. "consumes": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "单位"
  1501. ],
  1502. "summary": "添加单位",
  1503. "parameters": [
  1504. {
  1505. "description": "data",
  1506. "name": "data",
  1507. "in": "body",
  1508. "required": true,
  1509. "schema": {
  1510. "$ref": "#/definitions/dto.UnitInsertReq"
  1511. }
  1512. }
  1513. ],
  1514. "responses": {
  1515. "200": {
  1516. "description": "{\"code\": 200, \"data\": [...]}",
  1517. "schema": {
  1518. "$ref": "#/definitions/response.Response"
  1519. }
  1520. }
  1521. }
  1522. }
  1523. },
  1524. "/unit/delete": {
  1525. "post": {
  1526. "security": [
  1527. {
  1528. "Bearer": []
  1529. }
  1530. ],
  1531. "description": "删除单位",
  1532. "consumes": [
  1533. "application/json"
  1534. ],
  1535. "tags": [
  1536. "单位"
  1537. ],
  1538. "summary": "删除单位",
  1539. "parameters": [
  1540. {
  1541. "description": "请求参数",
  1542. "name": "id",
  1543. "in": "body",
  1544. "required": true,
  1545. "schema": {
  1546. "$ref": "#/definitions/dto.UnitDeleteReq"
  1547. }
  1548. }
  1549. ],
  1550. "responses": {
  1551. "200": {
  1552. "description": "{\"code\": 200, \"data\": [...]}",
  1553. "schema": {
  1554. "$ref": "#/definitions/response.Response"
  1555. }
  1556. }
  1557. }
  1558. }
  1559. },
  1560. "/unit/detail": {
  1561. "post": {
  1562. "security": [
  1563. {
  1564. "Bearer": []
  1565. }
  1566. ],
  1567. "description": "通过id获取单位",
  1568. "tags": [
  1569. "单位"
  1570. ],
  1571. "summary": "通过id获取单位",
  1572. "parameters": [
  1573. {
  1574. "description": "body",
  1575. "name": "body",
  1576. "in": "body",
  1577. "required": true,
  1578. "schema": {
  1579. "$ref": "#/definitions/dto.UnitGetReq"
  1580. }
  1581. }
  1582. ],
  1583. "responses": {
  1584. "200": {
  1585. "description": "{\"code\": 200, \"data\": [...]}",
  1586. "schema": {
  1587. "allOf": [
  1588. {
  1589. "$ref": "#/definitions/response.Response"
  1590. },
  1591. {
  1592. "type": "object",
  1593. "properties": {
  1594. "data": {
  1595. "$ref": "#/definitions/models.Unit"
  1596. }
  1597. }
  1598. }
  1599. ]
  1600. }
  1601. }
  1602. }
  1603. }
  1604. },
  1605. "/unit/edit": {
  1606. "post": {
  1607. "security": [
  1608. {
  1609. "Bearer": []
  1610. }
  1611. ],
  1612. "description": "修改单位",
  1613. "consumes": [
  1614. "application/json"
  1615. ],
  1616. "tags": [
  1617. "单位"
  1618. ],
  1619. "summary": "修改单位",
  1620. "parameters": [
  1621. {
  1622. "description": "body",
  1623. "name": "data",
  1624. "in": "body",
  1625. "required": true,
  1626. "schema": {
  1627. "$ref": "#/definitions/dto.UnitUpdateReq"
  1628. }
  1629. }
  1630. ],
  1631. "responses": {
  1632. "200": {
  1633. "description": "{\"code\": 200, \"data\": [...]}",
  1634. "schema": {
  1635. "$ref": "#/definitions/response.Response"
  1636. }
  1637. }
  1638. }
  1639. }
  1640. },
  1641. "/unit/list": {
  1642. "post": {
  1643. "security": [
  1644. {
  1645. "Bearer": []
  1646. }
  1647. ],
  1648. "description": "获取单位列表",
  1649. "tags": [
  1650. "单位"
  1651. ],
  1652. "summary": "获取单位列表",
  1653. "parameters": [
  1654. {
  1655. "description": "body",
  1656. "name": "body",
  1657. "in": "body",
  1658. "required": true,
  1659. "schema": {
  1660. "$ref": "#/definitions/dto.UnitPageReq"
  1661. }
  1662. }
  1663. ],
  1664. "responses": {
  1665. "200": {
  1666. "description": "{\"code\": 200, \"data\": [...]}",
  1667. "schema": {
  1668. "allOf": [
  1669. {
  1670. "$ref": "#/definitions/response.Page"
  1671. },
  1672. {
  1673. "type": "object",
  1674. "properties": {
  1675. "list": {
  1676. "type": "array",
  1677. "items": {
  1678. "$ref": "#/definitions/models.Unit"
  1679. }
  1680. }
  1681. }
  1682. }
  1683. ]
  1684. }
  1685. }
  1686. }
  1687. }
  1688. }
  1689. },
  1690. "definitions": {
  1691. "dto.BatchStockTemplateInInsertReq": {
  1692. "type": "object",
  1693. "properties": {
  1694. "stockInList": {
  1695. "type": "array",
  1696. "items": {
  1697. "type": "object",
  1698. "properties": {
  1699. "date": {
  1700. "description": "入库日期",
  1701. "type": "string"
  1702. },
  1703. "forwardingUnit": {
  1704. "description": "发货单位",
  1705. "type": "string"
  1706. },
  1707. "medicineInfo": {
  1708. "description": "药品信息",
  1709. "type": "object",
  1710. "additionalProperties": true
  1711. },
  1712. "operator": {
  1713. "description": "经办人",
  1714. "type": "string"
  1715. },
  1716. "quantity": {
  1717. "description": "数量",
  1718. "type": "integer"
  1719. },
  1720. "unitPrice": {
  1721. "description": "购入单价",
  1722. "type": "number"
  1723. }
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "dto.DosageFormDeleteReq": {
  1730. "type": "object",
  1731. "properties": {
  1732. "id": {
  1733. "type": "integer"
  1734. }
  1735. }
  1736. },
  1737. "dto.DosageFormGetReq": {
  1738. "type": "object",
  1739. "properties": {
  1740. "id": {
  1741. "type": "integer"
  1742. }
  1743. }
  1744. },
  1745. "dto.DosageFormInsertReq": {
  1746. "type": "object",
  1747. "properties": {
  1748. "name": {
  1749. "description": "剂型",
  1750. "type": "string",
  1751. "example": "剂型"
  1752. }
  1753. }
  1754. },
  1755. "dto.DosageFormPageReq": {
  1756. "type": "object",
  1757. "properties": {
  1758. "name": {
  1759. "description": "名称",
  1760. "type": "string",
  1761. "example": ""
  1762. },
  1763. "page": {
  1764. "description": "页数",
  1765. "type": "integer",
  1766. "example": 1
  1767. },
  1768. "pageSize": {
  1769. "description": "每页条数",
  1770. "type": "integer",
  1771. "example": 10
  1772. }
  1773. }
  1774. },
  1775. "dto.DosageFormUpdateReq": {
  1776. "type": "object",
  1777. "properties": {
  1778. "id": {
  1779. "type": "integer",
  1780. "example": 1
  1781. },
  1782. "name": {
  1783. "description": "剂型",
  1784. "type": "string",
  1785. "example": "剂型"
  1786. }
  1787. }
  1788. },
  1789. "dto.EnterpriseDeleteReq": {
  1790. "type": "object",
  1791. "properties": {
  1792. "id": {
  1793. "type": "integer"
  1794. }
  1795. }
  1796. },
  1797. "dto.EnterpriseGetReq": {
  1798. "type": "object",
  1799. "properties": {
  1800. "id": {
  1801. "type": "integer"
  1802. }
  1803. }
  1804. },
  1805. "dto.EnterpriseInsertReq": {
  1806. "type": "object",
  1807. "properties": {
  1808. "name": {
  1809. "description": "生产企业",
  1810. "type": "string",
  1811. "example": "生产企业"
  1812. }
  1813. }
  1814. },
  1815. "dto.EnterprisePageReq": {
  1816. "type": "object",
  1817. "properties": {
  1818. "name": {
  1819. "description": "名称",
  1820. "type": "string",
  1821. "example": ""
  1822. },
  1823. "page": {
  1824. "description": "页数",
  1825. "type": "integer",
  1826. "example": 1
  1827. },
  1828. "pageSize": {
  1829. "description": "每页条数",
  1830. "type": "integer",
  1831. "example": 10
  1832. }
  1833. }
  1834. },
  1835. "dto.EnterpriseUpdateReq": {
  1836. "type": "object",
  1837. "properties": {
  1838. "id": {
  1839. "type": "integer",
  1840. "example": 1
  1841. },
  1842. "name": {
  1843. "description": "生产企业",
  1844. "type": "string",
  1845. "example": "生产企业"
  1846. }
  1847. }
  1848. },
  1849. "dto.MedicineBatchNumberReq": {
  1850. "type": "object",
  1851. "properties": {
  1852. "batchNumber": {
  1853. "description": "批号",
  1854. "type": "string"
  1855. },
  1856. "enterpriseId": {
  1857. "description": "生产企业id",
  1858. "type": "integer"
  1859. },
  1860. "productId": {
  1861. "description": "药品名称id",
  1862. "type": "integer"
  1863. }
  1864. }
  1865. },
  1866. "dto.MedicineTemplateDeleteReq": {
  1867. "type": "object",
  1868. "properties": {
  1869. "id": {
  1870. "type": "integer"
  1871. }
  1872. }
  1873. },
  1874. "dto.MedicineTemplateInitializeReq": {
  1875. "type": "object",
  1876. "properties": {
  1877. "deptId": {
  1878. "description": "更新者",
  1879. "type": "integer"
  1880. }
  1881. }
  1882. },
  1883. "dto.MedicineTemplateInsertReq": {
  1884. "type": "object",
  1885. "properties": {
  1886. "name": {
  1887. "description": "标签名称",
  1888. "type": "string"
  1889. },
  1890. "show": {
  1891. "description": "1-显示 2-隐藏",
  1892. "type": "integer"
  1893. },
  1894. "sort": {
  1895. "description": "排序",
  1896. "type": "integer"
  1897. },
  1898. "text": {
  1899. "description": "描述",
  1900. "type": "string"
  1901. },
  1902. "type": {
  1903. "description": "数据类型",
  1904. "type": "integer"
  1905. },
  1906. "width": {
  1907. "description": "宽度",
  1908. "type": "integer"
  1909. }
  1910. }
  1911. },
  1912. "dto.MedicineTemplateUpdateReq": {
  1913. "type": "object",
  1914. "properties": {
  1915. "id": {
  1916. "type": "integer"
  1917. },
  1918. "name": {
  1919. "description": "标签名称",
  1920. "type": "string"
  1921. },
  1922. "show": {
  1923. "description": "1-显示 2-隐藏",
  1924. "type": "integer"
  1925. },
  1926. "sort": {
  1927. "description": "排序",
  1928. "type": "integer"
  1929. },
  1930. "text": {
  1931. "description": "描述",
  1932. "type": "string"
  1933. },
  1934. "width": {
  1935. "description": "宽度",
  1936. "type": "integer"
  1937. }
  1938. }
  1939. },
  1940. "dto.ProductDeleteReq": {
  1941. "type": "object",
  1942. "properties": {
  1943. "id": {
  1944. "type": "integer"
  1945. }
  1946. }
  1947. },
  1948. "dto.ProductGetReq": {
  1949. "type": "object",
  1950. "properties": {
  1951. "id": {
  1952. "type": "integer"
  1953. }
  1954. }
  1955. },
  1956. "dto.ProductInsertReq": {
  1957. "type": "object",
  1958. "properties": {
  1959. "name": {
  1960. "description": "品名",
  1961. "type": "string",
  1962. "example": "品名"
  1963. }
  1964. }
  1965. },
  1966. "dto.ProductPageReq": {
  1967. "type": "object",
  1968. "properties": {
  1969. "name": {
  1970. "description": "名称",
  1971. "type": "string",
  1972. "example": ""
  1973. },
  1974. "page": {
  1975. "description": "页数",
  1976. "type": "integer",
  1977. "example": 1
  1978. },
  1979. "pageSize": {
  1980. "description": "每页条数",
  1981. "type": "integer",
  1982. "example": 10
  1983. }
  1984. }
  1985. },
  1986. "dto.ProductUpdateReq": {
  1987. "type": "object",
  1988. "properties": {
  1989. "id": {
  1990. "type": "integer",
  1991. "example": 1
  1992. },
  1993. "name": {
  1994. "description": "品名",
  1995. "type": "string",
  1996. "example": "品名"
  1997. }
  1998. }
  1999. },
  2000. "dto.RoleApiUpdateReq": {
  2001. "type": "object",
  2002. "properties": {
  2003. "apiList": {
  2004. "description": "api路由列表",
  2005. "type": "array",
  2006. "items": {
  2007. "$ref": "#/definitions/model.BeegoApi"
  2008. }
  2009. },
  2010. "roleKey": {
  2011. "description": "服务id",
  2012. "type": "string",
  2013. "example": "test"
  2014. }
  2015. }
  2016. },
  2017. "dto.SalesOrderPageReq": {
  2018. "type": "object",
  2019. "properties": {
  2020. "batchNumber": {
  2021. "description": "批号",
  2022. "type": "string"
  2023. },
  2024. "date": {
  2025. "description": "下单日期",
  2026. "type": "string"
  2027. },
  2028. "enterpriseId": {
  2029. "description": "生产企业id",
  2030. "type": "integer"
  2031. },
  2032. "page": {
  2033. "description": "页数",
  2034. "type": "integer",
  2035. "example": 1
  2036. },
  2037. "pageSize": {
  2038. "description": "每页条数",
  2039. "type": "integer",
  2040. "example": 10
  2041. },
  2042. "productId": {
  2043. "description": "药品名称id",
  2044. "type": "integer"
  2045. },
  2046. "receivingUnit": {
  2047. "description": "收货单位",
  2048. "type": "string"
  2049. }
  2050. }
  2051. },
  2052. "dto.SalesPageReq": {
  2053. "type": "object",
  2054. "properties": {
  2055. "batchNumber": {
  2056. "description": "批号",
  2057. "type": "string"
  2058. },
  2059. "endDate": {
  2060. "description": "出库结束时间",
  2061. "type": "string"
  2062. },
  2063. "enterpriseId": {
  2064. "description": "生产企业id",
  2065. "type": "integer"
  2066. },
  2067. "page": {
  2068. "description": "页数",
  2069. "type": "integer",
  2070. "example": 1
  2071. },
  2072. "pageSize": {
  2073. "description": "每页条数",
  2074. "type": "integer",
  2075. "example": 10
  2076. },
  2077. "productId": {
  2078. "description": "药品名称id",
  2079. "type": "integer"
  2080. },
  2081. "receivingUnit": {
  2082. "description": "收货单位",
  2083. "type": "string"
  2084. },
  2085. "startDate": {
  2086. "description": "出库开始时间",
  2087. "type": "string"
  2088. }
  2089. }
  2090. },
  2091. "dto.SalesStockOutExcelReq": {
  2092. "type": "object",
  2093. "properties": {
  2094. "consignee": {
  2095. "description": "收货人",
  2096. "type": "string"
  2097. },
  2098. "consigner": {
  2099. "description": "发货人",
  2100. "type": "string"
  2101. },
  2102. "date": {
  2103. "description": "下单日期",
  2104. "type": "string"
  2105. },
  2106. "drawer": {
  2107. "description": "开票员",
  2108. "type": "string"
  2109. },
  2110. "finance": {
  2111. "description": "财务",
  2112. "type": "string"
  2113. },
  2114. "receivingUnit": {
  2115. "description": "收货单位",
  2116. "type": "string"
  2117. },
  2118. "type": {
  2119. "type": "string"
  2120. }
  2121. }
  2122. },
  2123. "dto.SpecDeleteReq": {
  2124. "type": "object",
  2125. "properties": {
  2126. "id": {
  2127. "type": "integer"
  2128. }
  2129. }
  2130. },
  2131. "dto.SpecGetReq": {
  2132. "type": "object",
  2133. "properties": {
  2134. "id": {
  2135. "type": "integer"
  2136. }
  2137. }
  2138. },
  2139. "dto.SpecInsertReq": {
  2140. "type": "object",
  2141. "properties": {
  2142. "name": {
  2143. "description": "规格",
  2144. "type": "string",
  2145. "example": "规格"
  2146. }
  2147. }
  2148. },
  2149. "dto.SpecPageReq": {
  2150. "type": "object",
  2151. "properties": {
  2152. "name": {
  2153. "description": "名称",
  2154. "type": "string",
  2155. "example": ""
  2156. },
  2157. "page": {
  2158. "description": "页数",
  2159. "type": "integer",
  2160. "example": 1
  2161. },
  2162. "pageSize": {
  2163. "description": "每页条数",
  2164. "type": "integer",
  2165. "example": 10
  2166. }
  2167. }
  2168. },
  2169. "dto.SpecUpdateReq": {
  2170. "type": "object",
  2171. "properties": {
  2172. "id": {
  2173. "type": "integer",
  2174. "example": 1
  2175. },
  2176. "name": {
  2177. "description": "规格",
  2178. "type": "string",
  2179. "example": "规格"
  2180. }
  2181. }
  2182. },
  2183. "dto.StockOperatorListReq": {
  2184. "type": "object",
  2185. "properties": {
  2186. "name": {
  2187. "type": "string"
  2188. }
  2189. }
  2190. },
  2191. "dto.StockStatListReq": {
  2192. "type": "object",
  2193. "properties": {
  2194. "batchNumber": {
  2195. "description": "批号",
  2196. "type": "string"
  2197. },
  2198. "endDate": {
  2199. "description": "失效日期结束时间",
  2200. "type": "string"
  2201. },
  2202. "enterpriseId": {
  2203. "description": "生产企业id",
  2204. "type": "integer"
  2205. },
  2206. "page": {
  2207. "description": "页数",
  2208. "type": "integer",
  2209. "example": 1
  2210. },
  2211. "pageSize": {
  2212. "description": "每页条数",
  2213. "type": "integer",
  2214. "example": 10
  2215. },
  2216. "productId": {
  2217. "description": "药品名称id",
  2218. "type": "integer"
  2219. },
  2220. "startDate": {
  2221. "description": "失效日期开始时间",
  2222. "type": "string"
  2223. }
  2224. }
  2225. },
  2226. "dto.StockTemplateInDeleteReq": {
  2227. "type": "object",
  2228. "properties": {
  2229. "id": {
  2230. "description": "入库id",
  2231. "type": "integer"
  2232. }
  2233. }
  2234. },
  2235. "dto.StockTemplateInEditReq": {
  2236. "type": "object",
  2237. "properties": {
  2238. "date": {
  2239. "description": "入库日期",
  2240. "type": "string"
  2241. },
  2242. "forwarding_unit": {
  2243. "description": "发货单位",
  2244. "type": "string"
  2245. },
  2246. "id": {
  2247. "description": "入库id",
  2248. "type": "integer"
  2249. },
  2250. "medicineInfo": {
  2251. "description": "药品信息",
  2252. "type": "object",
  2253. "additionalProperties": true
  2254. },
  2255. "operator": {
  2256. "description": "经办人",
  2257. "type": "string"
  2258. },
  2259. "quantity": {
  2260. "description": "数量",
  2261. "type": "integer"
  2262. },
  2263. "unit_Price": {
  2264. "description": "购入单价",
  2265. "type": "number"
  2266. }
  2267. }
  2268. },
  2269. "dto.StockTemplateInInsertReq": {
  2270. "type": "object",
  2271. "properties": {
  2272. "date": {
  2273. "description": "入库日期",
  2274. "type": "string"
  2275. },
  2276. "forwardingUnit": {
  2277. "description": "发货单位",
  2278. "type": "string"
  2279. },
  2280. "medicineInfo": {
  2281. "description": "药品信息",
  2282. "type": "object",
  2283. "additionalProperties": true
  2284. },
  2285. "operator": {
  2286. "description": "经办人",
  2287. "type": "string"
  2288. },
  2289. "quantity": {
  2290. "description": "数量",
  2291. "type": "integer"
  2292. },
  2293. "unitPrice": {
  2294. "description": "购入单价",
  2295. "type": "number"
  2296. }
  2297. }
  2298. },
  2299. "dto.StockTemplateInPageReq": {
  2300. "type": "object",
  2301. "properties": {
  2302. "batchNumber": {
  2303. "description": "批号",
  2304. "type": "string"
  2305. },
  2306. "endDate": {
  2307. "description": "入库结束时间",
  2308. "type": "string"
  2309. },
  2310. "enterpriseId": {
  2311. "description": "生产企业id",
  2312. "type": "integer"
  2313. },
  2314. "forwardingUnit": {
  2315. "description": "发货单位",
  2316. "type": "string"
  2317. },
  2318. "page": {
  2319. "description": "页数",
  2320. "type": "integer",
  2321. "example": 1
  2322. },
  2323. "pageSize": {
  2324. "description": "每页条数",
  2325. "type": "integer",
  2326. "example": 10
  2327. },
  2328. "productId": {
  2329. "description": "药品名称id",
  2330. "type": "integer"
  2331. },
  2332. "startDate": {
  2333. "description": "入库开始时间",
  2334. "type": "string"
  2335. }
  2336. }
  2337. },
  2338. "dto.StockTemplateInventoryExcelReq": {
  2339. "type": "object",
  2340. "properties": {
  2341. "batchNumber": {
  2342. "description": "批号",
  2343. "type": "string"
  2344. },
  2345. "endDate": {
  2346. "description": "出/入库结束时间",
  2347. "type": "string"
  2348. },
  2349. "enterpriseId": {
  2350. "description": "生产企业id",
  2351. "type": "integer"
  2352. },
  2353. "productId": {
  2354. "description": "药品名称id",
  2355. "type": "integer"
  2356. },
  2357. "specId": {
  2358. "description": "规格id",
  2359. "type": "integer"
  2360. },
  2361. "startDate": {
  2362. "description": "出/入库开始时间",
  2363. "type": "string"
  2364. },
  2365. "type": {
  2366. "description": "类型 excel pdf",
  2367. "type": "string"
  2368. }
  2369. }
  2370. },
  2371. "dto.StockTemplateInventoryPageReq": {
  2372. "type": "object",
  2373. "properties": {
  2374. "SendReceiveUnit": {
  2375. "description": "收发单位",
  2376. "type": "string"
  2377. },
  2378. "batchNumber": {
  2379. "description": "批号",
  2380. "type": "string"
  2381. },
  2382. "endDate": {
  2383. "description": "出/入库结束时间",
  2384. "type": "string"
  2385. },
  2386. "enterpriseId": {
  2387. "description": "生产企业id",
  2388. "type": "integer"
  2389. },
  2390. "page": {
  2391. "description": "页数",
  2392. "type": "integer",
  2393. "example": 1
  2394. },
  2395. "pageSize": {
  2396. "description": "每页条数",
  2397. "type": "integer",
  2398. "example": 10
  2399. },
  2400. "productId": {
  2401. "description": "药品名称id",
  2402. "type": "integer"
  2403. },
  2404. "startDate": {
  2405. "description": "出/入库开始时间",
  2406. "type": "string"
  2407. }
  2408. }
  2409. },
  2410. "dto.StockTemplateOutDeleteReq": {
  2411. "type": "object",
  2412. "properties": {
  2413. "id": {
  2414. "type": "integer"
  2415. }
  2416. }
  2417. },
  2418. "dto.StockTemplateOutEditReq": {
  2419. "type": "object",
  2420. "properties": {
  2421. "date": {
  2422. "description": "出库日期",
  2423. "type": "string"
  2424. },
  2425. "id": {
  2426. "type": "integer"
  2427. },
  2428. "medicineInfo": {
  2429. "description": "药品信息",
  2430. "type": "object",
  2431. "additionalProperties": true
  2432. },
  2433. "operator": {
  2434. "description": "经办人",
  2435. "type": "string"
  2436. },
  2437. "quantity": {
  2438. "description": "数量",
  2439. "type": "integer"
  2440. },
  2441. "receiving_unit": {
  2442. "description": "收货单位",
  2443. "type": "string"
  2444. },
  2445. "unit_price": {
  2446. "description": "购入单价",
  2447. "type": "number"
  2448. }
  2449. }
  2450. },
  2451. "dto.StockTemplateOutInsertReq": {
  2452. "type": "object",
  2453. "properties": {
  2454. "date": {
  2455. "description": "出库日期",
  2456. "type": "string"
  2457. },
  2458. "medicineInfo": {
  2459. "description": "药品信息",
  2460. "type": "object",
  2461. "additionalProperties": true
  2462. },
  2463. "operator": {
  2464. "description": "经办人",
  2465. "type": "string"
  2466. },
  2467. "quantity": {
  2468. "description": "数量",
  2469. "type": "integer"
  2470. },
  2471. "receivingUnit": {
  2472. "description": "收货单位",
  2473. "type": "string"
  2474. },
  2475. "unitPrice": {
  2476. "description": "购入单价",
  2477. "type": "number"
  2478. }
  2479. }
  2480. },
  2481. "dto.StockTemplateOutPageReq": {
  2482. "type": "object",
  2483. "properties": {
  2484. "batchNumber": {
  2485. "description": "批号",
  2486. "type": "string"
  2487. },
  2488. "endDate": {
  2489. "description": "出库结束时间",
  2490. "type": "string"
  2491. },
  2492. "enterpriseId": {
  2493. "description": "生产企业id",
  2494. "type": "integer"
  2495. },
  2496. "page": {
  2497. "description": "页数",
  2498. "type": "integer",
  2499. "example": 1
  2500. },
  2501. "pageSize": {
  2502. "description": "每页条数",
  2503. "type": "integer",
  2504. "example": 10
  2505. },
  2506. "productId": {
  2507. "description": "药品名称id",
  2508. "type": "integer"
  2509. },
  2510. "receivingUnit": {
  2511. "description": "收货单位",
  2512. "type": "string"
  2513. },
  2514. "startDate": {
  2515. "description": "出库开始时间",
  2516. "type": "string"
  2517. }
  2518. }
  2519. },
  2520. "dto.StockUnitListReq": {
  2521. "type": "object",
  2522. "properties": {
  2523. "name": {
  2524. "type": "string"
  2525. },
  2526. "type": {
  2527. "description": "1-入库 2-出库 3-库存",
  2528. "type": "integer"
  2529. }
  2530. }
  2531. },
  2532. "dto.TransportRecordWordReq": {
  2533. "type": "object",
  2534. "properties": {
  2535. "date": {
  2536. "description": "出库时间",
  2537. "type": "string"
  2538. },
  2539. "productId": {
  2540. "description": "药品名称id",
  2541. "type": "integer"
  2542. },
  2543. "receivingUnit": {
  2544. "description": "收货单位",
  2545. "type": "string"
  2546. },
  2547. "type": {
  2548. "description": "类型",
  2549. "type": "string"
  2550. }
  2551. }
  2552. },
  2553. "dto.UnitDeleteReq": {
  2554. "type": "object",
  2555. "properties": {
  2556. "id": {
  2557. "type": "integer"
  2558. }
  2559. }
  2560. },
  2561. "dto.UnitGetReq": {
  2562. "type": "object",
  2563. "properties": {
  2564. "id": {
  2565. "type": "integer"
  2566. }
  2567. }
  2568. },
  2569. "dto.UnitInsertReq": {
  2570. "type": "object",
  2571. "properties": {
  2572. "name": {
  2573. "description": "规格",
  2574. "type": "string",
  2575. "example": "规格"
  2576. }
  2577. }
  2578. },
  2579. "dto.UnitPageReq": {
  2580. "type": "object",
  2581. "properties": {
  2582. "name": {
  2583. "description": "名称",
  2584. "type": "string",
  2585. "example": ""
  2586. },
  2587. "page": {
  2588. "description": "页数",
  2589. "type": "integer",
  2590. "example": 1
  2591. },
  2592. "pageSize": {
  2593. "description": "每页条数",
  2594. "type": "integer",
  2595. "example": 10
  2596. }
  2597. }
  2598. },
  2599. "dto.UnitUpdateReq": {
  2600. "type": "object",
  2601. "properties": {
  2602. "id": {
  2603. "type": "integer",
  2604. "example": 1
  2605. },
  2606. "name": {
  2607. "description": "规格",
  2608. "type": "string",
  2609. "example": "规格"
  2610. }
  2611. }
  2612. },
  2613. "model.BeegoApi": {
  2614. "type": "object",
  2615. "properties": {
  2616. "action": {
  2617. "description": "请求类型",
  2618. "type": "string",
  2619. "example": "Get"
  2620. },
  2621. "name": {
  2622. "description": "标题",
  2623. "type": "string",
  2624. "example": "test"
  2625. },
  2626. "path": {
  2627. "description": "地址",
  2628. "type": "string",
  2629. "example": "/test"
  2630. },
  2631. "serviceId": {
  2632. "description": "服务ID",
  2633. "type": "integer",
  2634. "example": 1
  2635. }
  2636. }
  2637. },
  2638. "models.DosageForm": {
  2639. "type": "object",
  2640. "properties": {
  2641. "createBy": {
  2642. "description": "创建者",
  2643. "type": "integer"
  2644. },
  2645. "createdAt": {
  2646. "description": "创建时间",
  2647. "type": "string"
  2648. },
  2649. "deptId": {
  2650. "description": "更新者",
  2651. "type": "integer"
  2652. },
  2653. "id": {
  2654. "description": "主键编码",
  2655. "type": "integer"
  2656. },
  2657. "name": {
  2658. "description": "剂型名称",
  2659. "type": "string"
  2660. },
  2661. "updateBy": {
  2662. "description": "更新者",
  2663. "type": "integer"
  2664. },
  2665. "updatedAt": {
  2666. "description": "最后更新时间",
  2667. "type": "string"
  2668. }
  2669. }
  2670. },
  2671. "models.Enterprise": {
  2672. "type": "object",
  2673. "properties": {
  2674. "createBy": {
  2675. "description": "创建者",
  2676. "type": "integer"
  2677. },
  2678. "createdAt": {
  2679. "description": "创建时间",
  2680. "type": "string"
  2681. },
  2682. "deptId": {
  2683. "description": "更新者",
  2684. "type": "integer"
  2685. },
  2686. "id": {
  2687. "description": "主键编码",
  2688. "type": "integer"
  2689. },
  2690. "name": {
  2691. "description": "生产企业名称",
  2692. "type": "string"
  2693. },
  2694. "updateBy": {
  2695. "description": "更新者",
  2696. "type": "integer"
  2697. },
  2698. "updatedAt": {
  2699. "description": "最后更新时间",
  2700. "type": "string"
  2701. }
  2702. }
  2703. },
  2704. "models.MedicineTemplate": {
  2705. "type": "object",
  2706. "properties": {
  2707. "createBy": {
  2708. "description": "创建者",
  2709. "type": "integer"
  2710. },
  2711. "createdAt": {
  2712. "description": "创建时间",
  2713. "type": "string"
  2714. },
  2715. "deptId": {
  2716. "description": "更新者",
  2717. "type": "integer"
  2718. },
  2719. "field_name": {
  2720. "description": "英语名称",
  2721. "type": "string"
  2722. },
  2723. "id": {
  2724. "description": "主键编码",
  2725. "type": "integer"
  2726. },
  2727. "name": {
  2728. "description": "标签名称",
  2729. "type": "string"
  2730. },
  2731. "show": {
  2732. "description": "1-显示 2-隐藏",
  2733. "type": "integer"
  2734. },
  2735. "sort": {
  2736. "description": "排序",
  2737. "type": "integer"
  2738. },
  2739. "state": {
  2740. "description": "1-系统初始化 2-用户添加",
  2741. "type": "integer"
  2742. },
  2743. "text": {
  2744. "description": "描述",
  2745. "type": "string"
  2746. },
  2747. "type": {
  2748. "description": "数据类型",
  2749. "type": "integer"
  2750. },
  2751. "updateBy": {
  2752. "description": "更新者",
  2753. "type": "integer"
  2754. },
  2755. "updatedAt": {
  2756. "description": "最后更新时间",
  2757. "type": "string"
  2758. },
  2759. "width": {
  2760. "description": "宽度",
  2761. "type": "integer"
  2762. }
  2763. }
  2764. },
  2765. "models.Product": {
  2766. "type": "object",
  2767. "properties": {
  2768. "createBy": {
  2769. "description": "创建者",
  2770. "type": "integer"
  2771. },
  2772. "createdAt": {
  2773. "description": "创建时间",
  2774. "type": "string"
  2775. },
  2776. "deptId": {
  2777. "description": "更新者",
  2778. "type": "integer"
  2779. },
  2780. "id": {
  2781. "description": "主键编码",
  2782. "type": "integer"
  2783. },
  2784. "name": {
  2785. "description": "产品名称",
  2786. "type": "string"
  2787. },
  2788. "updateBy": {
  2789. "description": "更新者",
  2790. "type": "integer"
  2791. },
  2792. "updatedAt": {
  2793. "description": "最后更新时间",
  2794. "type": "string"
  2795. }
  2796. }
  2797. },
  2798. "models.Spec": {
  2799. "type": "object",
  2800. "properties": {
  2801. "createBy": {
  2802. "description": "创建者",
  2803. "type": "integer"
  2804. },
  2805. "createdAt": {
  2806. "description": "创建时间",
  2807. "type": "string"
  2808. },
  2809. "deptId": {
  2810. "description": "更新者",
  2811. "type": "integer"
  2812. },
  2813. "id": {
  2814. "description": "主键编码",
  2815. "type": "integer"
  2816. },
  2817. "name": {
  2818. "description": "规格名称",
  2819. "type": "string"
  2820. },
  2821. "updateBy": {
  2822. "description": "更新者",
  2823. "type": "integer"
  2824. },
  2825. "updatedAt": {
  2826. "description": "最后更新时间",
  2827. "type": "string"
  2828. }
  2829. }
  2830. },
  2831. "models.Unit": {
  2832. "type": "object",
  2833. "properties": {
  2834. "createBy": {
  2835. "description": "创建者",
  2836. "type": "integer"
  2837. },
  2838. "createdAt": {
  2839. "description": "创建时间",
  2840. "type": "string"
  2841. },
  2842. "deptId": {
  2843. "description": "更新者",
  2844. "type": "integer"
  2845. },
  2846. "id": {
  2847. "description": "主键编码",
  2848. "type": "integer"
  2849. },
  2850. "name": {
  2851. "description": "单位名称",
  2852. "type": "string"
  2853. },
  2854. "updateBy": {
  2855. "description": "更新者",
  2856. "type": "integer"
  2857. },
  2858. "updatedAt": {
  2859. "description": "最后更新时间",
  2860. "type": "string"
  2861. }
  2862. }
  2863. },
  2864. "response.Data": {
  2865. "type": "object",
  2866. "properties": {
  2867. "count": {
  2868. "description": "总数",
  2869. "type": "integer"
  2870. },
  2871. "list": {},
  2872. "page": {
  2873. "description": "页码",
  2874. "type": "integer"
  2875. },
  2876. "pageSize": {
  2877. "description": "页条数",
  2878. "type": "integer"
  2879. }
  2880. }
  2881. },
  2882. "response.Page": {
  2883. "type": "object",
  2884. "properties": {
  2885. "code": {
  2886. "type": "integer"
  2887. },
  2888. "data": {
  2889. "$ref": "#/definitions/response.Data"
  2890. },
  2891. "msg": {
  2892. "type": "string"
  2893. },
  2894. "requestId": {
  2895. "type": "string"
  2896. },
  2897. "status": {
  2898. "type": "string"
  2899. }
  2900. }
  2901. },
  2902. "response.Response": {
  2903. "type": "object",
  2904. "properties": {
  2905. "code": {
  2906. "type": "integer"
  2907. },
  2908. "data": {},
  2909. "msg": {
  2910. "type": "string"
  2911. },
  2912. "requestId": {
  2913. "type": "string"
  2914. },
  2915. "status": {
  2916. "type": "string"
  2917. }
  2918. }
  2919. }
  2920. },
  2921. "securityDefinitions": {
  2922. "Bearer": {
  2923. "type": "apiKey",
  2924. "name": "Authorization",
  2925. "in": "header"
  2926. }
  2927. }
  2928. }`
  2929. // SwaggerInfo holds exported Swagger Info so clients can modify it
  2930. var SwaggerInfo = &swag.Spec{
  2931. Version: "1.0",
  2932. Host: "192.168.11.77:8110",
  2933. BasePath: "/api",
  2934. Schemes: []string{"http"},
  2935. Title: "药品进销存管理系统",
  2936. Description: "药品进销存管理系统",
  2937. InfoInstanceName: "swagger",
  2938. SwaggerTemplate: docTemplate,
  2939. }
  2940. func init() {
  2941. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  2942. }