From 34e1e9dbc7a750048c0825b8f91b07ed526ae577 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期五, 22 九月 2023 15:41:48 +0800 Subject: [PATCH] 1.根据产品获取出入库历史记录 --- docs/swagger.yaml | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 118 insertions(+), 0 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index ef9f62c..42553ef 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -241,6 +241,9 @@ isScrapLocation: description: 鏄惁鎶ュ簾浣嶇疆 type: boolean + jointName: + description: 鎷兼帴鍚嶇О + type: string name: description: 浣嶇疆鍚嶇О type: string @@ -414,6 +417,84 @@ weight: description: 閲嶉噺 type: number + type: object + models.Operation: + properties: + comment: + type: string + companyID: + type: integer + companyName: + type: string + contacterID: + type: integer + contacterName: + type: string + createTime: + type: string + details: + items: + $ref: '#/definitions/models.OperationDetails' + type: array + fromLocation: + allOf: + - $ref: '#/definitions/models.Location' + description: 婧愪綅缃� + fromLocationId: + description: 婧愪綅缃甶d + type: integer + id: + type: integer + number: + description: 鍗曞彿 + type: string + operationDate: + type: string + operationTypeId: + description: 浣滀笟绫诲瀷id + type: integer + operationTypeName: + description: 浣滀笟绫诲瀷鍚嶇О + type: string + sourceNumber: + description: 婧愬崟鍙� + type: string + status: + allOf: + - $ref: '#/definitions/constvar.OperationStatus' + description: 鐘舵�� + toLocation: + allOf: + - $ref: '#/definitions/models.Location' + description: 鐩爣浣嶇疆 + toLocationId: + description: 鐩爣浣嶇疆id + type: integer + updateTime: + type: string + type: object + models.OperationDetails: + properties: + amount: + description: 鏁伴噺 + type: number + createTime: + type: string + id: + type: integer + operationId: + description: 鎿嶄綔id + type: integer + productId: + description: 浜у搧id + type: string + productName: + description: 浜у搧鍚嶇О + type: string + unit: + type: string + updateTime: + type: string type: object models.OperationType: properties: @@ -759,6 +840,17 @@ description: 浜у搧鍚嶇О type: string unit: + type: string + type: object + request.QueryOperationList: + properties: + page: + description: 椤电爜 + type: integer + pageSize: + description: 姣忛〉澶у皬 + type: integer + productId: type: string type: object request.UpdateCompany: @@ -1546,6 +1638,32 @@ summary: 鑾峰彇浜у搧鍒楄〃 tags: - 浜у搧 + /api-wms/v1/product/listOperaton: + post: + parameters: + - description: 鏌ヨ鍙傛暟 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.QueryOperationList' + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + allOf: + - $ref: '#/definitions/util.ResponseList' + - properties: + data: + items: + $ref: '#/definitions/models.Operation' + type: array + type: object + summary: 浜у搧鍘嗗彶鍑哄叆搴撲俊鎭� + tags: + - 浜у搧 /api-wms/v1/product/updateProduct: post: parameters: -- Gitblit v1.8.0