swagger.json 94 KB

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