From 422f93b6f1004c8d7abb9e41b44c5a723bc8b279 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 27 九月 2023 20:13:38 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS --- docs/swagger.yaml | 90 +++++++++++++++++++-------------------------- 1 files changed, 38 insertions(+), 52 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index c1a5e1f..eecd6f1 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -847,15 +847,6 @@ description: 姣忛〉澶у皬 type: integer type: object - request.GetRuleList: - properties: - locationId: - description: 浣嶇疆id - type: integer - productId: - description: 浜у搧id - type: string - type: object request.OperationAllList: properties: number: @@ -894,8 +885,6 @@ pageSize: description: 姣忛〉澶у皬 type: integer - sourceNumber: - type: string type: object request.PageInfo: properties: @@ -916,8 +905,6 @@ pageSize: description: 姣忛〉澶у皬 type: integer - sourceNumber: - type: string type: object request.QueryOperationHistory: properties: @@ -1003,6 +990,25 @@ type: integer productCategoryId: description: 浜у搧绉嶇被id + type: integer + productId: + description: 浜у搧id + type: string + type: object + request.UpdateLocationProductAmount: + properties: + Amount: + description: 搴撳瓨鏁伴噺 + type: number + adjustAmount: + description: LocationProductAmountId int `json:"locationProductAmountId"` + //搴撳瓨鐩樼偣id + type: number + differenceAmount: + description: 璁℃暟鏁伴噺 + type: number + operationId: + description: 鍑哄叆搴搃d type: integer productId: description: 浜у搧id @@ -1192,19 +1198,6 @@ value: description: 鎬讳环鍊� type: number - type: object - response.RuleList: - properties: - locationList: - description: 浣嶇疆鍒楄〃 - items: - $ref: '#/definitions/models.Location' - type: array - productList: - description: 浜у搧鍒楄〃 - items: - $ref: '#/definitions/models.Material' - type: array type: object util.Response: properties: @@ -1681,32 +1674,6 @@ summary: 娣诲姞搴撳瓨鐩樼偣淇℃伅 tags: - 搴撳瓨鐩樼偣 - /api-wms/v1/locationProductAmount/getRuleList: - post: - parameters: - - description: 鏌ヨ淇℃伅 - in: body - name: object - required: true - schema: - $ref: '#/definitions/request.GetRuleList' - produces: - - application/json - responses: - "200": - description: 鎴愬姛 - schema: - allOf: - - $ref: '#/definitions/util.ResponseList' - - properties: - data: - items: - $ref: '#/definitions/response.RuleList' - type: array - type: object - summary: 鑾峰彇涓婃灦瑙勫垯 - tags: - - 搴撳瓨鐩樼偣 /api-wms/v1/locationProductAmount/list: post: parameters: @@ -1726,6 +1693,25 @@ summary: 搴撳瓨鐩樼偣鍒楄〃 tags: - 搴撳瓨鐩樼偣 + /api-wms/v1/locationProductAmount/update: + post: + parameters: + - description: 鍏ュ簱/鍑哄簱淇℃伅 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.UpdateLocationProductAmount' + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + $ref: '#/definitions/util.Response' + summary: 淇敼搴撳瓨鐩樼偣淇℃伅 + tags: + - 搴撳瓨鐩樼偣 /api-wms/v1/operation/finish/{id}: put: parameters: -- Gitblit v1.8.0