ContractMrpInfoApi.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. {
  2. "openapi": "3.0.1",
  3. "tags": [
  4. {
  5. "name": "合同物料MRP信息"
  6. }
  7. ],
  8. "paths": {
  9. "/contractMrpInfo/page": {
  10. "post": {
  11. "summary": "分页",
  12. "tags": [
  13. "合同物料MRP信息"
  14. ],
  15. "requestBody": {
  16. "content": {
  17. "application/json": {
  18. "schema": {
  19. "type": "object",
  20. "required": [
  21. "pageNum",
  22. "pageSize"
  23. ],
  24. "title": null,
  25. "properties": {
  26. "pageNum": {
  27. "type": "integer",
  28. "required": null,
  29. "title": "页数",
  30. "properties": null,
  31. "items": null
  32. },
  33. "pageSize": {
  34. "type": "integer",
  35. "required": null,
  36. "title": "每页大小",
  37. "properties": null,
  38. "items": null
  39. }
  40. },
  41. "items": null
  42. }
  43. }
  44. }
  45. },
  46. "responses": {
  47. "200": {
  48. "description": "成功",
  49. "content": {
  50. "application/json": {
  51. "schema": {
  52. "type": "object",
  53. "required": [
  54. "code",
  55. "success",
  56. "msg",
  57. "data"
  58. ],
  59. "title": null,
  60. "properties": {
  61. "code": {
  62. "type": "Integer",
  63. "required": null,
  64. "title": null,
  65. "properties": null,
  66. "items": null
  67. },
  68. "success": {
  69. "type": "boolean",
  70. "required": null,
  71. "title": null,
  72. "properties": null,
  73. "items": null
  74. },
  75. "msg": {
  76. "type": "string",
  77. "required": null,
  78. "title": null,
  79. "properties": null,
  80. "items": null
  81. },
  82. "data": {
  83. "type": "object",
  84. "required": [
  85. "rows",
  86. "total"
  87. ],
  88. "title": null,
  89. "properties": {
  90. "records": {
  91. "type": "array",
  92. "required": null,
  93. "title": "分页数据",
  94. "properties": null,
  95. "items": {
  96. "type": "object",
  97. "required": null,
  98. "title": null,
  99. "properties": {
  100. "id": {
  101. "type": "integer",
  102. "required": null,
  103. "title": "",
  104. "properties": null,
  105. "items": null
  106. },
  107. "contractId": {
  108. "type": "integer",
  109. "required": null,
  110. "title": "合同id",
  111. "properties": null,
  112. "items": null
  113. },
  114. "materialId": {
  115. "type": "integer",
  116. "required": null,
  117. "title": "物料id",
  118. "properties": null,
  119. "items": null
  120. },
  121. "stockQuantity": {
  122. "type": "number",
  123. "required": null,
  124. "title": "库存数量",
  125. "properties": null,
  126. "items": null
  127. },
  128. "createTime": {
  129. "type": "string",
  130. "required": null,
  131. "title": "创建时间",
  132. "properties": null,
  133. "items": null
  134. },
  135. "updateTime": {
  136. "type": "string",
  137. "required": null,
  138. "title": "修改时间",
  139. "properties": null,
  140. "items": null
  141. }
  142. },
  143. "items": null
  144. }
  145. },
  146. "total": {
  147. "type": "integer",
  148. "required": null,
  149. "title": "总条数",
  150. "properties": null,
  151. "items": null
  152. }
  153. },
  154. "items": null
  155. }
  156. },
  157. "items": null
  158. }
  159. }
  160. }
  161. }
  162. }
  163. }
  164. }
  165. }
  166. }