From a91f274d753217814c29c0e54a80b3931da5f593 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 24 八月 2023 15:12:25 +0800 Subject: [PATCH] 退款单校验,增加累计金额校验 --- docs/docs.go | 187 +++++++++++++++++++++++++++++++++++----------- 1 files changed, 143 insertions(+), 44 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index aa37bdd..2be434c 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -8022,9 +8022,9 @@ "application/json" ], "tags": [ - "ServiceContractStatus" + "鍚堝悓鐘舵��" ], - "summary": "娣诲姞鏈嶅姟鍚堝悓鐘舵��", + "summary": "娣诲姞鍚堝悓鐘舵��", "parameters": [ { "description": "鏌ヨ鍙傛暟", @@ -8052,9 +8052,9 @@ "application/json" ], "tags": [ - "ServiceContractStatus" + "鍚堝悓鐘舵��" ], - "summary": "鍒犻櫎鏈嶅姟鍚堝悓鐘舵��", + "summary": "鍒犻櫎鍚堝悓鐘舵��", "parameters": [ { "type": "integer", @@ -8080,22 +8080,66 @@ "application/json" ], "tags": [ - "ServiceContractStatus" + "鍚堝悓鐘舵��" ], - "summary": "鑾峰彇鏈嶅姟鍚堝悓鐘舵�佸垪琛�", + "summary": "鑾峰彇鍚堝悓鐘舵�佸垪琛�", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "ServiceContractStatusKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "ServiceContractStatusQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { - "$ref": "#/definitions/contextx.Response" + "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { - "$ref": "#/definitions/response.ServiceContractStatusResponse" + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceContractStatus" + } } } } @@ -8111,9 +8155,9 @@ "application/json" ], "tags": [ - "ServiceContractStatus" + "鍚堝悓鐘舵��" ], - "summary": "鏇存柊鏈嶅姟鍚堝悓鐘舵��", + "summary": "鏇存柊鍚堝悓鐘舵��", "parameters": [ { "description": "鏌ヨ鍙傛暟", @@ -8121,7 +8165,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/request.UpdateServiceContractStatuss" + "$ref": "#/definitions/request.UpdateServiceContractStatus" } } ], @@ -10525,6 +10569,24 @@ "ServiceContractQueryClassExpiredBefore60Day" ] }, + "constvar.ServiceContractStatusKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ServiceContractStatusKeywordCustomerName" + ] + }, + "constvar.ServiceContractStatusQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ServiceContractStatusQueryClassExpireLessThen60Days" + ] + }, "constvar.ServiceFeeKeywordType": { "type": "string", "enum": [ @@ -11167,6 +11229,9 @@ "quotationId": { "type": "integer" }, + "serviceContractStatus": { + "$ref": "#/definitions/model.ServiceContractStatus" + }, "statusId": { "type": "integer" }, @@ -11290,6 +11355,9 @@ }, "contact_id": { "type": "integer" + }, + "contact_information": { + "$ref": "#/definitions/model.ContactInformation" }, "contact_information_id": { "type": "integer" @@ -11777,6 +11845,14 @@ "description": "璐︽埛id", "type": "integer" }, + "client": { + "description": "瀹㈡埛id", + "allOf": [ + { + "$ref": "#/definitions/model.Client" + } + ] + }, "clientId": { "description": "瀹㈡埛id", "type": "integer" @@ -12165,6 +12241,9 @@ "signTime": { "type": "string" }, + "updateTime": { + "type": "string" + }, "wechatOrderStatus": { "$ref": "#/definitions/model.WechatOrderStatus" }, @@ -12318,6 +12397,9 @@ "$ref": "#/definitions/constvar.RefundSourceType" } ] + }, + "updateTime": { + "type": "string" } } }, @@ -12397,6 +12479,9 @@ "$ref": "#/definitions/constvar.SalesReturnSourceType" } ] + }, + "updateTime": { + "type": "string" } } }, @@ -12547,6 +12632,12 @@ "contactId": { "type": "integer" }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" + }, "endTime": { "type": "string" }, @@ -12608,6 +12699,9 @@ "type": "string" }, "terms": { + "type": "string" + }, + "updateTime": { "type": "string" } } @@ -12678,6 +12772,12 @@ "contactId": { "type": "integer" }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" + }, "file": { "type": "string" }, @@ -12731,6 +12831,9 @@ }, "timelyRateId": { "type": "integer" + }, + "updateTime": { + "type": "string" } } }, @@ -12766,6 +12869,12 @@ "contactId": { "description": "鑱旂郴浜篿d", "type": "integer" + }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" }, "expectTime": { "description": "甯屾湜澶勭悊鏃堕棿", @@ -12887,6 +12996,9 @@ "timeSpentId": { "description": "鑺辫垂鏃堕棿", "type": "integer" + }, + "updateTime": { + "type": "string" } } }, @@ -13809,6 +13921,14 @@ "description": "璐︽埛id", "type": "integer" }, + "client": { + "description": "瀹㈡埛id", + "allOf": [ + { + "$ref": "#/definitions/model.Client" + } + ] + }, "clientId": { "description": "瀹㈡埛id", "type": "integer" @@ -14287,10 +14407,10 @@ }, "request.AddServiceContractStatus": { "type": "object", - "required": [ - "name" - ], "properties": { + "id": { + "type": "integer" + }, "name": { "type": "string" } @@ -15127,7 +15247,7 @@ "type": "integer" }, "search_map": { - "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\", \"is_first\": \"鏄惁鏄瑕佽仈绯讳汉\"}", + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\", \"is_first\": \"鏄惁鏄瑕佽仈绯讳汉\", \"client_id\": \"clientId 鐢ㄤ簬杩斿洖棣栬鑱旂郴浜篭"}", "type": "object", "additionalProperties": true } @@ -16862,6 +16982,14 @@ "description": "璐︽埛id", "type": "integer" }, + "client": { + "description": "瀹㈡埛id", + "allOf": [ + { + "$ref": "#/definitions/model.Client" + } + ] + }, "clientId": { "description": "瀹㈡埛id", "type": "integer" @@ -17562,30 +17690,12 @@ }, "request.UpdateServiceContractStatus": { "type": "object", - "required": [ - "id", - "name" - ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" - } - } - }, - "request.UpdateServiceContractStatuss": { - "type": "object", - "required": [ - "service_contract_status" - ], - "properties": { - "service_contract_status": { - "type": "array", - "items": { - "$ref": "#/definitions/request.UpdateServiceContractStatus" - } } } }, @@ -18877,17 +18987,6 @@ "type": "array", "items": { "$ref": "#/definitions/model.Satisfaction" - } - } - } - }, - "response.ServiceContractStatusResponse": { - "type": "object", - "properties": { - "list": { - "type": "array", - "items": { - "$ref": "#/definitions/model.ServiceContractStatus" } } } -- Gitblit v1.8.0