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 | 44 +++++++++++++++++++++++++++++++++++++++-----
1 files changed, 39 insertions(+), 5 deletions(-)
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 8660f8a..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: 灏辩华
@@ -635,6 +635,8 @@
receiverName:
type: string
receiverPhone:
+ type: string
+ source:
type: string
sourceNumber:
description: 婧愬崟鍙�
@@ -1177,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:
@@ -1519,6 +1532,8 @@
number:
description: 鍗曞彿
type: string
+ operationId:
+ type: integer
productId:
type: string
productName:
@@ -2292,12 +2307,12 @@
summary: 鑾峰彇鐗╂祦鍏徃鍒楄〃
tags:
- 鍏ュ簱/鍑哄簱
- /api-wms/v1/operation/getOperationInfo/{number}:
- post:
+ /api-wms/v1/operation/getOperationInfo/{id}:
+ get:
parameters:
- - description: 鍗曞彿
+ - description: id
in: path
- name: number
+ name: id
required: true
type: string
produces:
@@ -2341,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