From f2c7c7aa3218cd5ef688975ea9b5a0f3a6e5e74f Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期四, 10 八月 2023 16:38:41 +0800 Subject: [PATCH] temp --- docs/docs.go | 138 ++++++++++++++++++++++++++++++++++++++------- 1 files changed, 115 insertions(+), 23 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 9a17b79..aa46c54 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1242,6 +1242,36 @@ } } }, + "/api/collectionProjection/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "CollectionProjection" + ], + "summary": "娣诲姞鏀舵棰勬祴", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddCollectionProjection" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/contact/add": { "post": { "produces": [ @@ -7620,7 +7650,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/request.DeleteserviceContract" + "$ref": "#/definitions/request.DeleteServiceContract" } } ], @@ -7642,7 +7672,7 @@ "tags": [ "ServiceContract" ], - "summary": "鐢熸垚璁″垝鍒楄〃", + "summary": "鏈嶅姟鍚堝悓鍒楄〃", "parameters": [ { "description": "鍙傛暟", @@ -10457,6 +10487,12 @@ "description": "閿�鍞礋璐d汉id", "type": "integer" }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, "sourceId": { "description": "婧愬崟id", "type": "integer" @@ -10706,7 +10742,7 @@ "type": "object", "properties": { "amount": { - "type": "integer" + "type": "number" }, "desc": { "type": "string" @@ -11366,6 +11402,9 @@ "model.ServiceContract": { "type": "object", "properties": { + "SaleChance": { + "$ref": "#/definitions/model.SaleChance" + }, "amountInvoiced": { "description": "宸插紑绁ㄩ噾棰�", "type": "number" @@ -11378,13 +11417,17 @@ "description": "宸叉敹閲戦", "type": "number" }, + "amountUnInvoiced": { + "description": "鏈紑绁ㄩ噾棰�", + "type": "number" + }, + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" }, "contactId": { - "type": "integer" - }, - "contractId": { "type": "integer" }, "endTime": { @@ -11405,6 +11448,9 @@ "$ref": "#/definitions/model.Product" } }, + "quotation": { + "$ref": "#/definitions/model.Quotation" + }, "quotationId": { "type": "integer" }, @@ -11414,8 +11460,20 @@ "saleChanceId": { "type": "integer" }, + "salesDetails": { + "$ref": "#/definitions/model.SalesDetails" + }, + "salesDetailsId": { + "type": "integer" + }, + "serviceContractStatus": { + "$ref": "#/definitions/model.ServiceContractStatus" + }, "serviceContractStatusId": { "type": "integer" + }, + "serviceContractType": { + "$ref": "#/definitions/model.ServiceContractType" }, "serviceContractTypeId": { "type": "integer" @@ -12045,6 +12103,23 @@ } } }, + "request.AddCollectionProjection": { + "type": "object", + "properties": { + "estimated_collection_amount": { + "description": "棰勮鏀舵閲戦", + "type": "number" + }, + "estimated_collection_time": { + "description": "棰勮鏀舵鏃堕棿", + "type": "string" + }, + "sale_chance_id": { + "description": "閿�鍞満浼歩d", + "type": "integer" + } + } + }, "request.AddContact": { "type": "object", "properties": { @@ -12296,6 +12371,13 @@ "principalId": { "description": "閿�鍞礋璐d汉id", "type": "integer" + }, + "products": { + "description": "鍙戠エ瀵瑰簲浜у搧锛屼粠鐩稿簲婧愬崟閲岃幏鍙�", + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } }, "sourceId": { "description": "婧愬崟id", @@ -12889,9 +12971,6 @@ "contactId": { "type": "integer" }, - "contractId": { - "type": "integer" - }, "endTime": { "type": "string" }, @@ -12914,6 +12993,9 @@ "type": "string" }, "saleChanceId": { + "type": "integer" + }, + "salesDetailsId": { "type": "integer" }, "serviceTimes": { @@ -13536,6 +13618,17 @@ } } }, + "request.DeleteServiceContract": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, "request.DeleteServiceFeeManage": { "type": "object", "properties": { @@ -13564,17 +13657,6 @@ "userId": { "description": "鐢ㄦ埛ID", "type": "string" - } - } - }, - "request.DeleteserviceContract": { - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "integer" - } } } }, @@ -14892,6 +14974,9 @@ }, "request.UpdateInvoice": { "type": "object", + "required": [ + "id" + ], "properties": { "clientId": { "description": "瀹㈡埛id", @@ -14927,6 +15012,13 @@ "principalId": { "description": "閿�鍞礋璐d汉id", "type": "integer" + }, + "products": { + "description": "鍙戠エ瀵瑰簲浜у搧锛屼粠鐩稿簲婧愬崟閲岃幏鍙�", + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } }, "sourceId": { "description": "婧愬崟id", @@ -15888,9 +15980,6 @@ "contactId": { "type": "integer" }, - "contractId": { - "type": "integer" - }, "endTime": { "type": "string" }, @@ -15918,6 +16007,9 @@ "saleChanceId": { "type": "integer" }, + "salesDetailsId": { + "type": "integer" + }, "serviceTimes": { "type": "integer" }, -- Gitblit v1.8.0