From 06c0b03df2955475fe39ff2a793a5f151f4da99f Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期四, 17 八月 2023 19:25:30 +0800 Subject: [PATCH] Merge branch 'master' into fly --- docs/docs.go | 860 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 734 insertions(+), 126 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index e22c0b6..b27e16a 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -664,6 +664,36 @@ } } }, + "/api/client/checkName": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Client" + ], + "summary": "妫�鏌ュ鎴峰悕绉版槸鍚﹂噸澶�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CheckClientName" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/client/delete": { "delete": { "produces": [ @@ -1242,6 +1272,127 @@ } } }, + "/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/collectionProjection/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "CollectionProjection" + ], + "summary": "鍒犻櫎鏀舵棰勬祴", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/collectionProjection/list": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "CollectionProjection" + ], + "summary": "鑾峰彇鏀舵棰勬祴鍒楄〃", + "parameters": [ + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/collectionProjection/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "CollectionProjection" + ], + "summary": "鏇存柊鏀舵棰勬祴", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateCollectionProjection" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/contact/add": { "post": { "produces": [ @@ -1369,6 +1520,37 @@ "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/contactInformation/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "ContactInformation" + ], + "summary": "鑱旂郴鏂瑰紡鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ContactInformationResponse" + } + } + } + ] } } } @@ -6267,6 +6449,36 @@ } } }, + "/api/saleChance/push": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "SaleChance" + ], + "summary": "鎺ㄨ繘閿�鍞満浼�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.PushSaleChance" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/saleChance/update": { "put": { "produces": [ @@ -6565,6 +6777,36 @@ } } }, + "/api/salesDetails/delete": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails 閿�鍞槑缁�" + ], + "summary": "鎵归噺鍒犻櫎閿�鍞槑缁�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CommonIds" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/salesDetails/delete/{id}": { "delete": { "produces": [ @@ -6833,7 +7075,7 @@ "application/json" ], "tags": [ - "SalesRefund" + "閿�鍞��娆惧崟" ], "summary": "娣诲姞閿�鍞��娆�", "parameters": [ @@ -6857,13 +7099,43 @@ } } }, + "/api/salesRefund/delete": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "閿�鍞��娆惧崟" + ], + "summary": "鎵归噺鍒犻櫎閿�鍞��娆惧崟", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CommonIds" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/salesRefund/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ - "SalesRefund" + "閿�鍞��娆惧崟" ], "summary": "鍒犻櫎閿�鍞��娆�", "parameters": [ @@ -6891,7 +7163,7 @@ "application/json" ], "tags": [ - "SalesRefund" + "閿�鍞��娆惧崟" ], "summary": "閿�鍞��娆惧崟鍒楄〃", "parameters": [ @@ -6933,7 +7205,7 @@ "application/json" ], "tags": [ - "SalesRefund" + "閿�鍞��娆惧崟" ], "summary": "鏇存柊閿�鍞��娆�", "parameters": [ @@ -6963,7 +7235,7 @@ "application/json" ], "tags": [ - "SalesReturn" + "閿�鍞��璐у崟" ], "summary": "娣诲姞閿�鍞��璐�", "parameters": [ @@ -6987,13 +7259,43 @@ } } }, + "/api/salesReturn/delete": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "閿�鍞��璐у崟" + ], + "summary": "鎵归噺鍒犻櫎閿�鍞��璐у崟", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CommonIds" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/salesReturn/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ - "SalesReturn" + "閿�鍞��璐у崟" ], "summary": "鍒犻櫎閿�鍞��璐�", "parameters": [ @@ -7021,7 +7323,7 @@ "application/json" ], "tags": [ - "SalesReturn" + "閿�鍞��璐у崟" ], "summary": "閿�鍞��璐у崟鍒楄〃", "parameters": [ @@ -7063,7 +7365,7 @@ "application/json" ], "tags": [ - "SalesReturn" + "閿�鍞��璐у崟" ], "summary": "鏇存柊閿�鍞��璐�", "parameters": [ @@ -7612,15 +7914,15 @@ "tags": [ "ServiceContract" ], - "summary": "鍒犻櫎鏈嶅姟鍚堝悓", + "summary": "鎵归噺鍒犻櫎鏈嶅姟鍚堝悓", "parameters": [ { - "description": "鏌ヨ鍙傛暟", + "description": "鍙傛暟", "name": "object", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/request.DeleteServiceContract" + "$ref": "#/definitions/request.CommonIds" } } ], @@ -8225,6 +8527,36 @@ "required": true, "schema": { "$ref": "#/definitions/request.AddServiceOrder" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceOrder/delete": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗�" + ], + "summary": "鎵归噺鍒犻櫎鏈嶅姟鍗�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CommonIds" } } ], @@ -10082,6 +10414,29 @@ "SalesRefundKeywordPriceTotal" ] }, + "constvar.SalesReturnKeywordType": { + "type": "string", + "enum": [ + "閿�鍞��璐у崟缂栧彿", + "瀹㈡埛鍚嶇О", + "閫�娆炬棩鏈�", + "鐘舵��", + "閫�鍏ヤ粨搴�", + "搴旈��娆�", + "宸查��娆�", + "閿�鍞礋璐d汉" + ], + "x-enum-varnames": [ + "SalesReturnKeywordReturnNumber", + "SalesReturnKeywordClientName", + "SalesReturnKeywordReturnDate", + "SalesReturnKeywordStatus", + "SalesReturnKeywordRepository", + "SalesReturnKeywordAmountShouldRefund", + "SalesReturnKeywordAmountHasRefund", + "SalesReturnKeywordPrincipal" + ] + }, "constvar.SalesReturnSourceType": { "type": "integer", "enum": [ @@ -10555,6 +10910,42 @@ } } }, + "model.CollectionProjection": { + "type": "object", + "properties": { + "_": { + "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", + "type": "string" + }, + "created_at": { + "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", + "type": "string" + }, + "creator": { + "type": "integer" + }, + "estimated_collection_amount": { + "type": "number" + }, + "estimated_collection_date": { + "type": "string" + }, + "id": { + "description": "The ID of the item\nexample: 1", + "type": "integer" + }, + "modifier": { + "type": "integer" + }, + "sale_chance_id": { + "type": "integer" + }, + "updated_at": { + "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", + "type": "string" + } + } + }, "model.Contact": { "type": "object", "properties": { @@ -10587,6 +10978,9 @@ }, "is_first": { "type": "boolean" + }, + "member": { + "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" @@ -10662,6 +11056,9 @@ "is_first": { "type": "boolean" }, + "member": { + "$ref": "#/definitions/model.User" + }, "member_id": { "type": "integer" }, @@ -10694,17 +11091,43 @@ } } }, + "model.ContactInformation": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Contract": { "type": "object", "properties": { + "_": { + "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", + "type": "string" + }, + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" + }, + "created_at": { + "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", + "type": "string" }, "file": { "type": "string" }, "id": { + "description": "The ID of the item\nexample: 1", "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" @@ -10720,6 +11143,10 @@ }, "statusId": { "type": "integer" + }, + "updated_at": { + "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", + "type": "string" } } }, @@ -10759,32 +11186,6 @@ }, "name": { "type": "string" - } - } - }, - "model.CustomerServiceSheet": { - "type": "object", - "properties": { - "handleStatus": { - "type": "integer" - }, - "id": { - "type": "integer" - }, - "memberId": { - "type": "integer" - }, - "number": { - "type": "string" - }, - "priority": { - "type": "integer" - }, - "serviceFollowupId": { - "type": "integer" - }, - "serviceMode": { - "type": "integer" } } }, @@ -10852,6 +11253,9 @@ "client_id": { "type": "integer" }, + "client_status": { + "$ref": "#/definitions/model.ClientStatus" + }, "client_status_id": { "type": "integer" }, @@ -10891,8 +11295,14 @@ "record": { "type": "string" }, + "sale_chance": { + "$ref": "#/definitions/model.SaleChance" + }, "sale_chance_id": { "type": "integer" + }, + "sales_leads": { + "$ref": "#/definitions/model.SalesLeads" }, "sales_leads_id": { "type": "integer" @@ -11049,6 +11459,9 @@ }, "id": { "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" @@ -11281,11 +11694,23 @@ "id": { "type": "integer" }, + "member": { + "$ref": "#/definitions/model.User" + }, "member_id": { "type": "integer" }, "number": { "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, + "quotation_status": { + "$ref": "#/definitions/model.QuotationStatus" }, "quotation_status_id": { "type": "integer" @@ -11472,6 +11897,12 @@ "client_id": { "type": "integer" }, + "collection_projections": { + "type": "array", + "items": { + "$ref": "#/definitions/model.CollectionProjection" + } + }, "competitors": { "type": "string" }, @@ -11508,6 +11939,9 @@ "key_maker": { "type": "string" }, + "member": { + "$ref": "#/definitions/model.User" + }, "member_id": { "type": "integer" }, @@ -11525,6 +11959,9 @@ }, "possibilities_id": { "type": "integer" + }, + "possibility": { + "$ref": "#/definitions/model.Possibility" }, "process": { "type": "string" @@ -11544,19 +11981,28 @@ "region_id": { "type": "integer" }, + "regular_customers": { + "$ref": "#/definitions/model.RegularCustomers" + }, "regular_customers_id": { "type": "integer" }, "remark": { "type": "string" }, + "sale_stage": { + "$ref": "#/definitions/model.SaleStage" + }, "sale_stage_id": { "type": "integer" + }, + "sale_type": { + "$ref": "#/definitions/model.SaleType" }, "sale_type_id": { "type": "integer" }, - "salesSources": { + "sales_sources": { "$ref": "#/definitions/model.SalesSources" }, "sales_sources_id": { @@ -11737,6 +12183,9 @@ "id": { "type": "integer" }, + "member": { + "$ref": "#/definitions/model.User" + }, "member_id": { "type": "integer" }, @@ -11760,6 +12209,9 @@ }, "region_id": { "type": "integer" + }, + "sales_sources": { + "$ref": "#/definitions/model.SalesSources" }, "sales_sources_id": { "type": "integer" @@ -11799,7 +12251,7 @@ "type": "integer" }, "isInvoice": { - "type": "integer" + "type": "string" }, "member": { "$ref": "#/definitions/model.User" @@ -11834,7 +12286,7 @@ "type": "integer" }, "sourceType": { - "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��璐э級", "allOf": [ { "$ref": "#/definitions/constvar.RefundSourceType" @@ -11856,6 +12308,14 @@ "$ref": "#/definitions/model.SalesReturnStatus" } ] + }, + "amountHasRefund": { + "description": "宸查��娆鹃噾棰�", + "type": "number" + }, + "amountShouldRefund": { + "description": "搴旈��娆鹃噾棰�", + "type": "number" }, "client": { "$ref": "#/definitions/model.Client" @@ -12067,6 +12527,9 @@ "id": { "type": "integer" }, + "member": { + "$ref": "#/definitions/model.User" + }, "memberId": { "type": "integer" }, @@ -12189,9 +12652,6 @@ "contactId": { "type": "integer" }, - "customerServiceSheet": { - "$ref": "#/definitions/model.CustomerServiceSheet" - }, "file": { "type": "string" }, @@ -12228,11 +12688,11 @@ "satisfactionId": { "type": "integer" }, - "serviceId": { - "type": "integer" - }, "serviceOrder": { "$ref": "#/definitions/model.ServiceOrder" + }, + "serviceOrderId": { + "type": "integer" }, "solveRate": { "$ref": "#/definitions/model.SolveRate" @@ -12281,13 +12741,6 @@ "description": "鑱旂郴浜篿d", "type": "integer" }, - "contract": { - "$ref": "#/definitions/model.Contract" - }, - "contractId": { - "description": "鍚堝悓id", - "type": "integer" - }, "expectTime": { "description": "甯屾湜澶勭悊鏃堕棿", "type": "string" @@ -12309,13 +12762,6 @@ "id": { "type": "integer" }, - "orderId": { - "description": "閿�鍞鍗昳d", - "type": "integer" - }, - "orderManage": { - "$ref": "#/definitions/model.OrderManage" - }, "priorityLevel": { "$ref": "#/definitions/model.PriorityLevel" }, @@ -12327,12 +12773,13 @@ "description": "闂鎻忚堪", "type": "string" }, - "product": { - "$ref": "#/definitions/model.Product" + "productName": { + "description": "浜у搧鍚嶇О", + "type": "string" }, - "productId": { - "description": "浜у搧id", - "type": "integer" + "productTypeName": { + "description": "浜у搧鍒嗙被鍚嶇О", + "type": "string" }, "realTime": { "description": "瀹為檯澶勭悊鏃堕棿", @@ -12348,6 +12795,28 @@ "saleChanceId": { "description": "閿�鍞満浼歩d", "type": "integer" + }, + "salesDetails": { + "$ref": "#/definitions/model.SalesDetails" + }, + "salesDetailsId": { + "description": "閿�鍞槑缁唅d", + "type": "integer" + }, + "serviceContract": { + "$ref": "#/definitions/model.ServiceContract" + }, + "serviceContractId": { + "description": "鏈嶅姟鍚堝悓id", + "type": "integer" + }, + "serviceMan": { + "description": "鏈嶅姟浜哄憳", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] }, "serviceManId": { "description": "鏈嶅姟浜哄憳", @@ -12462,8 +12931,14 @@ "id": { "type": "integer" }, + "masterOrder": { + "$ref": "#/definitions/model.MasterOrder" + }, "masterOrderId": { "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" @@ -12679,6 +13154,10 @@ "contact": { "$ref": "#/definitions/request.Contact" }, + "contact_id": { + "description": "鑱旂郴浜篒D", + "type": "integer" + }, "country_id": { "type": "integer" }, @@ -12780,6 +13259,23 @@ "properties": { "name": { "type": "string" + } + } + }, + "request.AddCollectionProjection": { + "type": "object", + "properties": { + "estimated_collection_amount": { + "description": "棰勮鏀舵閲戦", + "type": "number" + }, + "estimated_collection_time": { + "description": "棰勮鏀舵鏃堕棿", + "type": "string" + }, + "sale_chance_id": { + "description": "閿�鍞満浼歩d", + "type": "integer" } } }, @@ -13244,6 +13740,12 @@ }, "number": { "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } }, "quotation_status_id": { "type": "integer" @@ -13808,6 +14310,10 @@ "contact": { "$ref": "#/definitions/request.Contact" }, + "contact_id": { + "description": "鑱旂郴浜篒D", + "type": "integer" + }, "country_id": { "type": "integer" }, @@ -13918,7 +14424,7 @@ "satisfaction": { "type": "integer" }, - "serviceId": { + "serviceOrderId": { "type": "integer" }, "solveRate": { @@ -13956,10 +14462,6 @@ "description": "鑱旂郴浜篿d", "type": "integer" }, - "contractId": { - "description": "鍚堝悓id", - "type": "integer" - }, "expectTime": { "description": "甯屾湜澶勭悊鏃堕棿", "type": "string" @@ -13972,10 +14474,6 @@ "description": "鏁呴殰绫诲埆id", "type": "integer" }, - "orderId": { - "description": "閿�鍞鍗昳d", - "type": "integer" - }, "priorityLevelId": { "description": "浼樺厛绾у埆id", "type": "integer" @@ -13984,9 +14482,13 @@ "description": "闂鎻忚堪", "type": "string" }, - "productId": { - "description": "浜у搧id", - "type": "integer" + "productName": { + "description": "浜у搧鍚嶇О", + "type": "string" + }, + "productTypeName": { + "description": "浜у搧鍒嗙被鍚嶇О", + "type": "string" }, "realTime": { "description": "瀹為檯澶勭悊鏃堕棿", @@ -14000,6 +14502,14 @@ "description": "閿�鍞満浼歩d", "type": "integer" }, + "salesDetailsId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "serviceContractId": { + "description": "鍚堝悓id", + "type": "integer" + }, "serviceManId": { "description": "鏈嶅姟浜哄憳", "type": "integer" @@ -14007,6 +14517,10 @@ "serviceNumber": { "description": "鏈嶅姟鍗曠紪鍙�", "type": "string" + }, + "serviceOrderStatusId": { + "description": "澶勭悊鐘舵��", + "type": "integer" }, "serviceTypeId": { "description": "鏈嶅姟鏂瑰紡id", @@ -14023,10 +14537,6 @@ "solutionRemark": { "description": "鍐呴儴澶囨敞", "type": "string" - }, - "status": { - "description": "澶勭悊鐘舵��", - "type": "integer" }, "subject": { "description": "涓婚", @@ -14249,6 +14759,28 @@ } } }, + "request.CheckClientName": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + }, + "request.CommonIds": { + "type": "object", + "required": [ + "ids" + ], + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, "request.Contact": { "type": "object", "properties": { @@ -14369,17 +14901,6 @@ } }, "request.DeleteSalesLeads": { - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "integer" - } - } - } - }, - "request.DeleteServiceContract": { "type": "object", "properties": { "ids": { @@ -14534,9 +15055,6 @@ "request.GetContractList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14544,6 +15062,11 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{} {\"member_name\": \"閿�鍞礋璐d汉\", \"number\": \"鍚堝悓缂栧彿\", \"created_at\": \"鍒涘缓鏃堕棿\"}", + "type": "object", + "additionalProperties": true } } }, @@ -14581,7 +15104,7 @@ "type": "integer" }, "search_map": { - "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"璺熻繘涓婚\", \"member_name\": \"璺熻繘浜篭", \"client_name\": \"瀹㈡埛鍚嶇О\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"follow_time\": \"璺熻繘鏃堕棿\", \"next_follow_time\": \"涓嬫璺熻繘鏃堕棿\", \"record\": \"璺熻繘璁板綍\", \"phone\": \"鑱旂郴浜虹數璇漒", \"contact_name\": \"鑱旂郴浜哄鍚峔"}", + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"璺熻繘涓婚\", \"member_name\": \"璺熻繘浜篭", \"client_name\": \"瀹㈡埛鍚嶇О\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"follow_time\": \"璺熻繘鏃堕棿\", \"next_follow_time\": \"涓嬫璺熻繘鏃堕棿\", \"record\": \"璺熻繘璁板綍\", \"phone\": \"鑱旂郴浜虹數璇漒", \"contact_name\": \"鑱旂郴浜哄鍚峔", \"sales_leads_id\": \"閿�鍞嚎绱d\", \"sale_chance_id\": \"閿�鍞満浼歩d\"}", "type": "object", "additionalProperties": true } @@ -14590,9 +15113,6 @@ "request.GetMasterOrderList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14600,6 +15120,11 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"number\": \"閿�鍞�诲崟鍙穃", \"client_name\": \"瀹㈡埛鍚嶇О\", \"member_name\": \"閿�鍞礋璐d汉\", \"start_time\": \"寮�濮嬫椂闂碶", \"end_time\": \"缁撴潫鏃堕棿\", \"money\": \"鎬婚噾棰漒", \"member_name\": \"璐熻矗浜篭"}", + "type": "object", + "additionalProperties": true } } }, @@ -14638,9 +15163,6 @@ "request.GetQuotationList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14648,15 +15170,17 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"sale_chance_id\": 閿�鍞嚎绱d, \"client_name\": \"瀹㈡埛鍚嶇О\", \"member_name\": \"閿�鍞礋璐d汉\", \"contact_name\": \"鑱旂郴浜篭", \"validity_date\": \"鏈夋晥鏈焅"}", + "type": "object", + "additionalProperties": true } } }, "request.GetSaleChanceList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14664,6 +15188,11 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"鏈轰細鍚嶇О\", \"client_name\": \"瀹㈡埛鍚嶇О\",\"number\":\"缂栧彿\", \"contact_name\":\"鑱旂郴浜哄鍚峔", \"member_name\": \"閿�鍞礋璐d汉\", \"status\": \"鐘舵�乗", \"sale_stage\": \"闃舵\", \"possibilities\": \"鍙兘鎬", \"expected_time\": \"棰勮鎴愪氦鏃堕棿\", \"budget\": \"璧勯噾缁濆鍊糪", \"projected_amount\": \"棰勮鍚堝悓閲戦\"}", + "type": "object", + "additionalProperties": true } } }, @@ -14728,6 +15257,9 @@ "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.SalesReturnKeywordType" }, "page": { "description": "椤电爜", @@ -14799,6 +15331,10 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "serviceOrderId": { + "description": "鏈嶅姟鍥炶鍗昳d", + "type": "integer" } } }, @@ -14821,15 +15357,18 @@ }, "queryClass": { "$ref": "#/definitions/constvar.ServiceOrderQueryClass" + }, + "salesDetailsId": { + "type": "integer" + }, + "serviceContractId": { + "type": "integer" } } }, "request.GetSubOrderList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14837,6 +15376,11 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"number\": \"閿�鍞瓙鍗曞彿\", \"client_name\": \"瀹㈡埛鍚嶇О\", \"master_order_number\": \"閿�鍞�诲崟鍙穃", \"member_name\": \"閿�鍞礋璐d汉\", \"master_order_id\": \"閿�鍞�诲崟id\"}", + "type": "object", + "additionalProperties": true } } }, @@ -14906,6 +15450,21 @@ "type": "string" }, "subOrderId": { + "type": "integer" + } + } + }, + "request.PushSaleChance": { + "type": "object", + "required": [ + "id", + "step" + ], + "properties": { + "id": { + "type": "integer" + }, + "step": { "type": "integer" } } @@ -15036,6 +15595,10 @@ }, "request.SalesRefund": { "type": "object", + "required": [ + "sourceId", + "sourceType" + ], "properties": { "bankAccountId": { "description": "璐︽埛id", @@ -15045,7 +15608,7 @@ "type": "integer" }, "isInvoice": { - "type": "integer" + "type": "string" }, "memberId": { "type": "integer" @@ -15074,7 +15637,7 @@ "type": "integer" }, "sourceType": { - "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��娆惧崟锛�", "allOf": [ { "$ref": "#/definitions/constvar.RefundSourceType" @@ -15287,6 +15850,10 @@ "contact": { "$ref": "#/definitions/request.Contact" }, + "contact_id": { + "description": "鑱旂郴浜篒D", + "type": "integer" + }, "country_id": { "type": "integer" }, @@ -15471,6 +16038,22 @@ "items": { "$ref": "#/definitions/request.UpdateClientType" } + } + } + }, + "request.UpdateCollectionProjection": { + "type": "object", + "properties": { + "estimated_collection_amount": { + "description": "棰勮鏀舵閲戦", + "type": "number" + }, + "estimated_collection_time": { + "description": "棰勮鏀舵鏃堕棿", + "type": "string" + }, + "id": { + "type": "integer" } } }, @@ -16137,6 +16720,12 @@ }, "number": { "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } }, "quotation_status_id": { "type": "integer" @@ -16977,6 +17566,10 @@ "contact": { "$ref": "#/definitions/request.Contact" }, + "contact_id": { + "description": "鑱旂郴浜篒D", + "type": "integer" + }, "country_id": { "type": "integer" }, @@ -17091,7 +17684,7 @@ "satisfaction": { "type": "integer" }, - "serviceId": { + "serviceOrderId": { "type": "integer" }, "solveRate": { @@ -17129,10 +17722,6 @@ "description": "鑱旂郴浜篿d", "type": "integer" }, - "contractId": { - "description": "鍚堝悓id", - "type": "integer" - }, "expectTime": { "description": "甯屾湜澶勭悊鏃堕棿", "type": "string" @@ -17148,10 +17737,6 @@ "id": { "type": "integer" }, - "orderId": { - "description": "閿�鍞鍗昳d", - "type": "integer" - }, "priorityLevelId": { "description": "浼樺厛绾у埆id", "type": "integer" @@ -17160,9 +17745,13 @@ "description": "闂鎻忚堪", "type": "string" }, - "productId": { - "description": "浜у搧id", - "type": "integer" + "productName": { + "description": "浜у搧鍚嶇О", + "type": "string" + }, + "productTypeName": { + "description": "浜у搧鍒嗙被鍚嶇О", + "type": "string" }, "realTime": { "description": "瀹為檯澶勭悊鏃堕棿", @@ -17176,6 +17765,14 @@ "description": "閿�鍞満浼歩d", "type": "integer" }, + "salesDetailsId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "serviceContractId": { + "description": "鍚堝悓id", + "type": "integer" + }, "serviceManId": { "description": "鏈嶅姟浜哄憳", "type": "integer" @@ -17183,6 +17780,10 @@ "serviceNumber": { "description": "鏈嶅姟鍗曠紪鍙�", "type": "string" + }, + "serviceOrderStatusId": { + "description": "澶勭悊鐘舵��", + "type": "integer" }, "serviceTypeId": { "description": "鏈嶅姟鏂瑰紡id", @@ -17199,10 +17800,6 @@ "solutionRemark": { "description": "鍐呴儴澶囨敞", "type": "string" - }, - "status": { - "description": "澶勭悊鐘舵��", - "type": "integer" }, "subject": { "description": "涓婚", @@ -17477,6 +18074,17 @@ } } }, + "response.ContactInformationResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ContactInformation" + } + } + } + }, "response.ContactResponse": { "type": "object", "properties": { -- Gitblit v1.8.0