From 1d5cb2f03c706c4b1cc36f50fd431f98fdbe7101 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期三, 13 十二月 2023 15:23:33 +0800
Subject: [PATCH] 对number的验证及不重复
---
docs/swagger.yaml | 98 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 97 insertions(+), 1 deletions(-)
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 3e83835..2f29308 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -180,7 +180,7 @@
- 5
type: integer
x-enum-comments:
- OperationStatus_Cancel: 瀹屾垚
+ OperationStatus_Cancel: 鍙栨秷
OperationStatus_Draft: 鑽夌
OperationStatus_Finish: 瀹屾垚
OperationStatus_Ready: 灏辩华
@@ -581,6 +581,8 @@
type: object
models.Operation:
properties:
+ auditDate:
+ type: string
baseOperationType:
allOf:
- $ref: '#/definitions/constvar.BaseOperationType'
@@ -627,6 +629,14 @@
type: integer
operationTypeName:
description: 浣滀笟绫诲瀷鍚嶇О
+ type: string
+ receiverAddr:
+ type: string
+ receiverName:
+ type: string
+ receiverPhone:
+ type: string
+ source:
type: string
sourceNumber:
description: 婧愬崟鍙�
@@ -904,6 +914,12 @@
operationTypeName:
description: 浣滀笟绫诲瀷鍚嶇О
type: string
+ receiverAddr:
+ type: string
+ receiverName:
+ type: string
+ receiverPhone:
+ type: string
sourceNumber:
description: 婧愬崟鍙�
type: string
@@ -1163,6 +1179,17 @@
sourceNumber:
type: string
type: object
+ request.OperationCondition:
+ properties:
+ condition:
+ type: string
+ page:
+ description: 椤电爜
+ type: integer
+ pageSize:
+ description: 姣忛〉澶у皬
+ type: integer
+ type: object
request.OperationDetails:
properties:
OperationId:
@@ -1376,6 +1403,12 @@
operationTypeName:
description: 浣滀笟绫诲瀷鍚嶇О
type: string
+ receiverAddr:
+ type: string
+ receiverName:
+ type: string
+ receiverPhone:
+ type: string
sourceNumber:
description: 婧愬崟鍙�
type: string
@@ -1499,6 +1532,8 @@
number:
description: 鍗曞彿
type: string
+ operationId:
+ type: integer
productId:
type: string
productName:
@@ -2241,6 +2276,18 @@
summary: 鏇存敼璁板綍鐘舵��
tags:
- 鍏ュ簱/鍑哄簱
+ /api-wms/v1/operation/getClientList:
+ get:
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: 鎴愬姛
+ schema:
+ $ref: '#/definitions/util.Response'
+ summary: 鑾峰彇鐗╂祦鍏徃鍒楄〃
+ tags:
+ - 鍏ュ簱/鍑哄簱
/api-wms/v1/operation/getLogisticCompanyList:
get:
produces:
@@ -2257,6 +2304,36 @@
$ref: '#/definitions/models.LogisticCompany'
type: array
type: object
+ summary: 鑾峰彇鐗╂祦鍏徃鍒楄〃
+ tags:
+ - 鍏ュ簱/鍑哄簱
+ /api-wms/v1/operation/getOperationInfo/{id}:
+ get:
+ parameters:
+ - description: id
+ in: path
+ name: id
+ required: true
+ type: string
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: 鎴愬姛
+ schema:
+ $ref: '#/definitions/util.Response'
+ summary: 鍏ュ簱/鍑哄簱鍒楄〃
+ tags:
+ - 鍏ュ簱/鍑哄簱
+ /api-wms/v1/operation/getSupplierList:
+ get:
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: 鎴愬姛
+ schema:
+ $ref: '#/definitions/util.Response'
summary: 鑾峰彇鐗╂祦鍏徃鍒楄〃
tags:
- 鍏ュ簱/鍑哄簱
@@ -2279,6 +2356,25 @@
summary: 鍏ュ簱/鍑哄簱鍒楄〃
tags:
- 鍏ュ簱/鍑哄簱
+ /api-wms/v1/operation/listByCondition:
+ post:
+ parameters:
+ - description: 鍙傛暟
+ in: body
+ name: object
+ required: true
+ schema:
+ $ref: '#/definitions/request.OperationCondition'
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: 鎴愬姛
+ schema:
+ $ref: '#/definitions/util.Response'
+ summary: 鍑哄叆搴撴槑缁�
+ tags:
+ - 鍏ュ簱/鍑哄簱
/api-wms/v1/operation/listTransfer:
post:
parameters:
--
Gitblit v1.8.0