123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- {
- "openapi": "3.0.1",
- "tags": [
- {
- "name": "合同物料MRP信息"
- }
- ],
- "paths": {
- "/contractMrpInfo/page": {
- "post": {
- "summary": "分页",
- "tags": [
- "合同物料MRP信息"
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "required": [
- "pageNum",
- "pageSize"
- ],
- "title": null,
- "properties": {
- "pageNum": {
- "type": "integer",
- "required": null,
- "title": "页数",
- "properties": null,
- "items": null
- },
- "pageSize": {
- "type": "integer",
- "required": null,
- "title": "每页大小",
- "properties": null,
- "items": null
- }
- },
- "items": null
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "成功",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "required": [
- "code",
- "success",
- "msg",
- "data"
- ],
- "title": null,
- "properties": {
- "code": {
- "type": "Integer",
- "required": null,
- "title": null,
- "properties": null,
- "items": null
- },
- "success": {
- "type": "boolean",
- "required": null,
- "title": null,
- "properties": null,
- "items": null
- },
- "msg": {
- "type": "string",
- "required": null,
- "title": null,
- "properties": null,
- "items": null
- },
- "data": {
- "type": "object",
- "required": [
- "rows",
- "total"
- ],
- "title": null,
- "properties": {
- "records": {
- "type": "array",
- "required": null,
- "title": "分页数据",
- "properties": null,
- "items": {
- "type": "object",
- "required": null,
- "title": null,
- "properties": {
- "id": {
- "type": "integer",
- "required": null,
- "title": "",
- "properties": null,
- "items": null
- },
- "contractId": {
- "type": "integer",
- "required": null,
- "title": "合同id",
- "properties": null,
- "items": null
- },
- "materialId": {
- "type": "integer",
- "required": null,
- "title": "物料id",
- "properties": null,
- "items": null
- },
- "stockQuantity": {
- "type": "number",
- "required": null,
- "title": "库存数量",
- "properties": null,
- "items": null
- },
- "createTime": {
- "type": "string",
- "required": null,
- "title": "创建时间",
- "properties": null,
- "items": null
- },
- "updateTime": {
- "type": "string",
- "required": null,
- "title": "修改时间",
- "properties": null,
- "items": null
- }
- },
- "items": null
- }
- },
- "total": {
- "type": "integer",
- "required": null,
- "title": "总条数",
- "properties": null,
- "items": null
- }
- },
- "items": null
- }
- },
- "items": null
- }
- }
- }
- }
- }
- }
- }
- }
- }
|