From 1691d8ee8fe10799d98b296625fd30183407ef25 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 28 六月 2024 12:17:22 +0800 Subject: [PATCH] 新增操作类型增加基础操作类型和仓库id来支持库存盘点 --- docs/swagger.yaml | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 113 insertions(+), 3 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index d6f01be..83f23c2 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -308,6 +308,14 @@ x-enum-varnames: - RuleType_Product - RuleType_ProductCategory + constvar.SystemConfigType: + enum: + - 1 + type: integer + x-enum-comments: + SystemConfigTypeInventoryCutOffPoint: 搴撳瓨缁撶畻鏃堕棿鐐� + x-enum-varnames: + - SystemConfigTypeInventoryCutOffPoint constvar.WhetherType: enum: - 1 @@ -552,9 +560,6 @@ autoIncr: type: integer barCode: - description: 鍒涘缓浜� - type: string - barcode: description: 鏉$爜 type: string buyExplain: @@ -962,6 +967,8 @@ type: integer updateTime: type: string + warehouseId: + type: integer waybillNumber: description: 杩愬崟鍙� type: string @@ -1099,6 +1106,25 @@ description: 鍗曚綅 type: string updateTime: + type: string + type: object + models.SystemConfig: + properties: + configType: + allOf: + - $ref: '#/definitions/constvar.SystemConfigType' + description: 姣忔湀搴撳瓨缁撶畻鏃堕棿鐐� + createTime: + type: string + id: + type: integer + name: + description: 璁剧疆鍚嶇О + type: string + updateTime: + type: string + val: + description: 璁剧疆鍊� type: string type: object models.UnitDict: @@ -1268,6 +1294,10 @@ type: string accountantId: type: string + baseOperationType: + allOf: + - $ref: '#/definitions/constvar.BaseOperationType' + description: 鍩虹浣滀笟绫诲瀷 5搴撳瓨鐩樼偣 comment: description: 澶囨敞 type: string @@ -1334,6 +1364,9 @@ description: 鐘舵�� toLocationId: description: 鐩爣浣嶇疆id + type: integer + warehouseId: + description: 浠撳簱id type: integer waybillNumber: description: 杩愬崟鍙� @@ -1692,6 +1725,10 @@ type: object request.OperationList: properties: + baseOperationType: + allOf: + - $ref: '#/definitions/constvar.BaseOperationType' + description: 1 鍏ュ簱 2 鍑哄簱 3 鍐呴儴璋冩嫧 4 鎶ュ簾 5 搴撳瓨鐩樼偣 number: type: string operationTypeId: @@ -1755,6 +1792,21 @@ items: $ref: '#/definitions/request.UnitDict' type: array + type: object + request.SystemConfig: + properties: + ID: + type: integer + configType: + allOf: + - $ref: '#/definitions/constvar.SystemConfigType' + description: 1 姣忔湀搴撳瓨缁撶畻鏃堕棿鐐� + name: + description: 璁剧疆鍚嶇О + type: string + val: + description: 璁剧疆鍊� + type: string type: object request.UnitDict: properties: @@ -4146,6 +4198,64 @@ summary: 鏇存柊閲嶈璐ц鍒� tags: - 閲嶈璐ц鍒� + /api-wms/v1/systemConfig/get: + get: + parameters: + - description: 1 姣忔湀搴撳瓨缁撶畻鏃堕棿鐐� + enum: + - 1 + in: query + name: configType + required: true + type: integer + x-enum-comments: + SystemConfigTypeInventoryCutOffPoint: 搴撳瓨缁撶畻鏃堕棿鐐� + x-enum-varnames: + - SystemConfigTypeInventoryCutOffPoint + - description: token + in: header + name: Authorization + required: true + type: string + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + allOf: + - $ref: '#/definitions/util.Response' + - properties: + data: + $ref: '#/definitions/models.SystemConfig' + type: object + summary: 鏍规嵁璁剧疆绫诲瀷鏌ヨ绯荤粺璁剧疆 + tags: + - 绯荤粺璁剧疆 + /api-wms/v1/systemConfig/save: + post: + parameters: + - description: 绯荤粺璁剧疆淇℃伅 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.SystemConfig' + - description: token + in: header + name: Authorization + required: true + type: string + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + $ref: '#/definitions/util.Response' + summary: 淇濆瓨绯荤粺璁剧疆 + tags: + - 绯荤粺璁剧疆 /api-wms/v1/warehouse/getWarehouseDetails/{id}: get: parameters: -- Gitblit v1.8.0