From 217160b6f303caf0f0c0841f142333f4e92e5871 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期三, 18 十月 2023 16:25:55 +0800 Subject: [PATCH] 1.业务类型添加接口增加Prefix入参 --- docs/swagger.yaml | 6 ++++++ request/operation_type.go | 1 + docs/docs.go | 10 ++++++++-- docs/swagger.json | 8 ++++++++ 4 files changed, 23 insertions(+), 2 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index d00b1a0..4e48dec 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -2948,6 +2948,10 @@ "description": "浠撳簱鍚嶇О", "type": "string" }, + "prefix": { + "description": "鍓嶇紑", + "type": "string" + }, "printLabel": { "description": "鏄惁鎵撳嵃鏍囩", "type": "boolean" @@ -3488,6 +3492,10 @@ "description": "浠撳簱鍚嶇О", "type": "string" }, + "prefix": { + "description": "鍓嶇紑", + "type": "string" + }, "printLabel": { "description": "鏄惁鎵撳嵃鏍囩", "type": "boolean" @@ -3702,8 +3710,6 @@ Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, - LeftDelim: "{{", - RightDelim: "}}", } func init() { diff --git a/docs/swagger.json b/docs/swagger.json index 21bebce..b94892c 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -2936,6 +2936,10 @@ "description": "浠撳簱鍚嶇О", "type": "string" }, + "prefix": { + "description": "鍓嶇紑", + "type": "string" + }, "printLabel": { "description": "鏄惁鎵撳嵃鏍囩", "type": "boolean" @@ -3476,6 +3480,10 @@ "description": "浠撳簱鍚嶇О", "type": "string" }, + "prefix": { + "description": "鍓嶇紑", + "type": "string" + }, "printLabel": { "description": "鏄惁鎵撳嵃鏍囩", "type": "boolean" diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 9d205d5..ba837a0 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -740,6 +740,9 @@ name: description: 浠撳簱鍚嶇О type: string + prefix: + description: 鍓嶇紑 + type: string printLabel: description: 鏄惁鎵撳嵃鏍囩 type: boolean @@ -1115,6 +1118,9 @@ name: description: 浠撳簱鍚嶇О type: string + prefix: + description: 鍓嶇紑 + type: string printLabel: description: 鏄惁鎵撳嵃鏍囩 type: boolean diff --git a/request/operation_type.go b/request/operation_type.go index 46eb893..a76c5d3 100644 --- a/request/operation_type.go +++ b/request/operation_type.go @@ -24,6 +24,7 @@ ShowOperations bool `json:"showOperations" gorm:"column:show_operations;type:int"` //鏄剧ず浣滀笟璇︽儏 CreateBackorder constvar.WhetherType `json:"createBackorder" gorm:"column:create_backorder"` //鍒涘缓娆犲崟 ReturnOperationTypeID int `json:"returnOperationTypeID" gorm:"column:return_job_type_id"` //閫�璐х被鍨婭D + Prefix string `json:"prefix" gorm:"type:varchar(255);comment:鍓嶇紑"` //鍓嶇紑 } type UpdateOperationType struct { -- Gitblit v1.8.0