From cc3f07175d93b5f4fbcc6fd8a87a563a7f8e1a7c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 15 八月 2023 14:26:27 +0800 Subject: [PATCH] 服务单批量删除接口 --- docs/docs.go | 684 +++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 590 insertions(+), 94 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 23edc3c..5c448f1 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1242,6 +1242,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": [ @@ -6267,6 +6388,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": [ @@ -8238,6 +8389,36 @@ } } }, + "/api/serviceOrder/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/serviceOrder/delete/{id}": { "delete": { "produces": [ @@ -10028,6 +10209,18 @@ "ReceiptSourceTypeChuKuDan" ] }, + "constvar.RefundSourceType": { + "type": "integer", + "enum": [ + 1 + ], + "x-enum-comments": { + "RefundSourceTypeSalesReturn": "閿�鍞��璐�" + }, + "x-enum-varnames": [ + "RefundSourceTypeSalesReturn" + ] + }, "constvar.SalesDetailsKeywordType": { "type": "string", "enum": [ @@ -10043,6 +10236,31 @@ "SalesDetailsKeywordTypeSignTime", "SalesDetailsKeywordTypePrincipal", "SalesDetailsKeywordTypeProductName" + ] + }, + "constvar.SalesRefundKeywordType": { + "type": "string", + "enum": [ + "閿�鍞��璐у崟缂栧彿", + "瀹㈡埛鍚嶇О", + "閫�娆炬棩鏈�", + "璐︽埛", + "鏄惁寮�绁�", + "浠樻鏂瑰紡", + "閿�鍞礋璐d汉", + "淇敼鏃堕棿", + "浠风◣鍚堣" + ], + "x-enum-varnames": [ + "SalesRefundKeywordRefundNumber", + "SalesRefundKeywordClientName", + "SalesRefundKeywordRefundDate", + "SalesRefundKeywordAccount", + "SalesRefundKeywordIsInvoice", + "SalesRefundKeywordPaymentType", + "SalesRefundKeywordPrincipal", + "SalesRefundKeywordUpdateAt", + "SalesRefundKeywordPriceTotal" ] }, "constvar.SalesReturnSourceType": { @@ -10518,6 +10736,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": { @@ -10550,6 +10804,9 @@ }, "is_first": { "type": "boolean" + }, + "member": { + "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" @@ -10625,6 +10882,9 @@ "is_first": { "type": "boolean" }, + "member": { + "$ref": "#/definitions/model.User" + }, "member_id": { "type": "integer" }, @@ -10660,14 +10920,29 @@ "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" @@ -10683,6 +10958,10 @@ }, "statusId": { "type": "integer" + }, + "updated_at": { + "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", + "type": "string" } } }, @@ -10722,32 +11001,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" } } }, @@ -10815,6 +11068,9 @@ "client_id": { "type": "integer" }, + "client_status": { + "$ref": "#/definitions/model.ClientStatus" + }, "client_status_id": { "type": "integer" }, @@ -10854,8 +11110,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" @@ -11012,6 +11274,9 @@ }, "id": { "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" @@ -11244,11 +11509,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" @@ -11282,6 +11559,9 @@ "description": "鏀舵閲戦", "type": "number" }, + "bankAccount": { + "$ref": "#/definitions/model.BankAccount" + }, "bankAccountId": { "description": "璐︽埛id", "type": "integer" @@ -11301,9 +11581,20 @@ "description": "甯佺", "type": "string" }, + "paymentType": { + "$ref": "#/definitions/model.PaymentType" + }, "paymentTypeId": { "description": "鏀舵鏂瑰紡ID", "type": "integer" + }, + "principal": { + "description": "璐熻矗浜篿d", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] }, "principalId": { "description": "璐熻矗浜篿d", @@ -11421,6 +11712,12 @@ "client_id": { "type": "integer" }, + "collection_projections": { + "type": "array", + "items": { + "$ref": "#/definitions/model.CollectionProjection" + } + }, "competitors": { "type": "string" }, @@ -11457,6 +11754,9 @@ "key_maker": { "type": "string" }, + "member": { + "$ref": "#/definitions/model.User" + }, "member_id": { "type": "integer" }, @@ -11474,6 +11774,9 @@ }, "possibilities_id": { "type": "integer" + }, + "possibility": { + "$ref": "#/definitions/model.Possibility" }, "process": { "type": "string" @@ -11493,19 +11796,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": { @@ -11686,6 +11998,9 @@ "id": { "type": "integer" }, + "member": { + "$ref": "#/definitions/model.User" + }, "member_id": { "type": "integer" }, @@ -11710,6 +12025,9 @@ "region_id": { "type": "integer" }, + "sales_sources": { + "$ref": "#/definitions/model.SalesSources" + }, "sales_sources_id": { "type": "integer" }, @@ -11721,11 +12039,28 @@ "model.SalesRefund": { "type": "object", "properties": { - "accountId": { + "amountTotal": { + "description": "浠风◣鍚堣", + "type": "number" + }, + "bankAccount": { + "$ref": "#/definitions/model.BankAccount" + }, + "bankAccountId": { + "description": "璐︽埛id", "type": "integer" + }, + "client": { + "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" + }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" }, "id": { "type": "integer" @@ -11733,11 +12068,21 @@ "isInvoice": { "type": "integer" }, + "member": { + "$ref": "#/definitions/model.User" + }, "memberId": { "type": "integer" }, "number": { "type": "string" + }, + "paymentType": { + "$ref": "#/definitions/model.PaymentType" + }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" }, "products": { "type": "array", @@ -11751,8 +12096,17 @@ "refundDate": { "type": "string" }, - "refundMethod": { - "type": "string" + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "allOf": [ + { + "$ref": "#/definitions/constvar.RefundSourceType" + } + ] } } }, @@ -12102,9 +12456,6 @@ "contactId": { "type": "integer" }, - "customerServiceSheet": { - "$ref": "#/definitions/model.CustomerServiceSheet" - }, "file": { "type": "string" }, @@ -12141,11 +12492,11 @@ "satisfactionId": { "type": "integer" }, - "serviceId": { - "type": "integer" - }, "serviceOrder": { "$ref": "#/definitions/model.ServiceOrder" + }, + "serviceOrderId": { + "type": "integer" }, "solveRate": { "$ref": "#/definitions/model.SolveRate" @@ -12194,13 +12545,6 @@ "description": "鑱旂郴浜篿d", "type": "integer" }, - "contract": { - "$ref": "#/definitions/model.Contract" - }, - "contractId": { - "description": "鍚堝悓id", - "type": "integer" - }, "expectTime": { "description": "甯屾湜澶勭悊鏃堕棿", "type": "string" @@ -12221,13 +12565,6 @@ }, "id": { "type": "integer" - }, - "orderId": { - "description": "閿�鍞鍗昳d", - "type": "integer" - }, - "orderManage": { - "$ref": "#/definitions/model.OrderManage" }, "priorityLevel": { "$ref": "#/definitions/model.PriorityLevel" @@ -12260,6 +12597,20 @@ }, "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" }, "serviceManId": { @@ -12375,8 +12726,14 @@ "id": { "type": "integer" }, + "masterOrder": { + "$ref": "#/definitions/model.MasterOrder" + }, "masterOrderId": { "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" @@ -12693,6 +13050,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" } } }, @@ -13158,6 +13532,12 @@ "number": { "type": "string" }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, "quotation_status_id": { "type": "integer" }, @@ -13187,6 +13567,9 @@ "description": "鏀舵閲戦", "type": "number" }, + "bankAccount": { + "$ref": "#/definitions/model.BankAccount" + }, "bankAccountId": { "description": "璐︽埛id", "type": "integer" @@ -13206,9 +13589,20 @@ "description": "甯佺", "type": "string" }, + "paymentType": { + "$ref": "#/definitions/model.PaymentType" + }, "paymentTypeId": { "description": "鏀舵鏂瑰紡ID", "type": "integer" + }, + "principal": { + "description": "璐熻矗浜篿d", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] }, "principalId": { "description": "璐熻矗浜篿d", @@ -13817,7 +14211,7 @@ "satisfaction": { "type": "integer" }, - "serviceId": { + "serviceOrderId": { "type": "integer" }, "solveRate": { @@ -13855,10 +14249,6 @@ "description": "鑱旂郴浜篿d", "type": "integer" }, - "contractId": { - "description": "鍚堝悓id", - "type": "integer" - }, "expectTime": { "description": "甯屾湜澶勭悊鏃堕棿", "type": "string" @@ -13869,10 +14259,6 @@ }, "faultTypeId": { "description": "鏁呴殰绫诲埆id", - "type": "integer" - }, - "orderId": { - "description": "閿�鍞鍗昳d", "type": "integer" }, "priorityLevelId": { @@ -13899,6 +14285,14 @@ "description": "閿�鍞満浼歩d", "type": "integer" }, + "salesDetailsId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "serviceContractId": { + "description": "鍚堝悓id", + "type": "integer" + }, "serviceManId": { "description": "鏈嶅姟浜哄憳", "type": "integer" @@ -13906,6 +14300,10 @@ "serviceNumber": { "description": "鏈嶅姟鍗曠紪鍙�", "type": "string" + }, + "serviceOrderStatusId": { + "description": "澶勭悊鐘舵��", + "type": "integer" }, "serviceTypeId": { "description": "鏈嶅姟鏂瑰紡id", @@ -13922,10 +14320,6 @@ "solutionRemark": { "description": "鍐呴儴澶囨敞", "type": "string" - }, - "status": { - "description": "澶勭悊鐘舵��", - "type": "integer" }, "subject": { "description": "涓婚", @@ -14145,6 +14539,20 @@ "pos": { "description": "鐢ㄦ埛宀椾綅", "type": "string" + } + } + }, + "request.CommonIds": { + "type": "object", + "required": [ + "ids" + ], + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -14433,9 +14841,6 @@ "request.GetContractList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14443,6 +14848,11 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{} {\"member_name\": \"閿�鍞礋璐d汉\", \"number\": \"鍚堝悓缂栧彿\", \"created_at\": \"鍒涘缓鏃堕棿\"}", + "type": "object", + "additionalProperties": true } } }, @@ -14489,9 +14899,6 @@ "request.GetMasterOrderList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14499,6 +14906,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 } } }, @@ -14537,9 +14949,6 @@ "request.GetQuotationList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14547,15 +14956,17 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "searchMap": { + "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" @@ -14563,6 +14974,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 } } }, @@ -14608,6 +15024,9 @@ "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.SalesRefundKeywordType" }, "page": { "description": "椤电爜", @@ -14695,6 +15114,10 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "serviceOrderId": { + "description": "鏈嶅姟鍥炶鍗昳d", + "type": "integer" } } }, @@ -14717,15 +15140,18 @@ }, "queryClass": { "$ref": "#/definitions/constvar.ServiceOrderQueryClass" + }, + "salesDetailsId": { + "type": "integer" + }, + "serviceContractId": { + "type": "integer" } } }, "request.GetSubOrderList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14733,6 +15159,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 } } }, @@ -14802,6 +15233,21 @@ "type": "string" }, "subOrderId": { + "type": "integer" + } + } + }, + "request.PushSaleChance": { + "type": "object", + "required": [ + "id", + "step" + ], + "properties": { + "id": { + "type": "integer" + }, + "step": { "type": "integer" } } @@ -14933,7 +15379,8 @@ "request.SalesRefund": { "type": "object", "properties": { - "accountId": { + "bankAccountId": { + "description": "璐︽埛id", "type": "integer" }, "clientId": { @@ -14948,6 +15395,10 @@ "number": { "type": "string" }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" + }, "products": { "type": "array", "items": { @@ -14960,8 +15411,17 @@ "refundDate": { "type": "string" }, - "refundMethod": { - "type": "string" + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "allOf": [ + { + "$ref": "#/definitions/constvar.RefundSourceType" + } + ] } } }, @@ -15353,6 +15813,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" } } }, @@ -16020,6 +16496,12 @@ "number": { "type": "string" }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, "quotation_status_id": { "type": "integer" }, @@ -16067,6 +16549,9 @@ "description": "鏀舵閲戦", "type": "number" }, + "bankAccount": { + "$ref": "#/definitions/model.BankAccount" + }, "bankAccountId": { "description": "璐︽埛id", "type": "integer" @@ -16086,9 +16571,20 @@ "description": "甯佺", "type": "string" }, + "paymentType": { + "$ref": "#/definitions/model.PaymentType" + }, "paymentTypeId": { "description": "鏀舵鏂瑰紡ID", "type": "integer" + }, + "principal": { + "description": "璐熻矗浜篿d", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] }, "principalId": { "description": "璐熻矗浜篿d", @@ -16959,7 +17455,7 @@ "satisfaction": { "type": "integer" }, - "serviceId": { + "serviceOrderId": { "type": "integer" }, "solveRate": { @@ -16997,10 +17493,6 @@ "description": "鑱旂郴浜篿d", "type": "integer" }, - "contractId": { - "description": "鍚堝悓id", - "type": "integer" - }, "expectTime": { "description": "甯屾湜澶勭悊鏃堕棿", "type": "string" @@ -17014,10 +17506,6 @@ "type": "integer" }, "id": { - "type": "integer" - }, - "orderId": { - "description": "閿�鍞鍗昳d", "type": "integer" }, "priorityLevelId": { @@ -17044,6 +17532,14 @@ "description": "閿�鍞満浼歩d", "type": "integer" }, + "salesDetailsId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "serviceContractId": { + "description": "鍚堝悓id", + "type": "integer" + }, "serviceManId": { "description": "鏈嶅姟浜哄憳", "type": "integer" @@ -17051,6 +17547,10 @@ "serviceNumber": { "description": "鏈嶅姟鍗曠紪鍙�", "type": "string" + }, + "serviceOrderStatusId": { + "description": "澶勭悊鐘舵��", + "type": "integer" }, "serviceTypeId": { "description": "鏈嶅姟鏂瑰紡id", @@ -17067,10 +17567,6 @@ "solutionRemark": { "description": "鍐呴儴澶囨敞", "type": "string" - }, - "status": { - "description": "澶勭悊鐘舵��", - "type": "integer" }, "subject": { "description": "涓婚", -- Gitblit v1.8.0