From 6acff3ce321e59b03e95fe7143ba45b0c48cd926 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期一, 14 八月 2023 18:00:13 +0800 Subject: [PATCH] fix --- docs/docs.go | 587 +++++++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 476 insertions(+), 111 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index f31661e..32afd1e 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -6388,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": [ @@ -9962,18 +9992,36 @@ "BankAccountQueryClassExpireLessThen60Days" ] }, - "constvar.CollectionStatus": { + "constvar.CollectionSourceType": { "type": "integer", "enum": [ 1, 2 ], "x-enum-comments": { + "CollectionSourceTypeSaleDetails": "閿�鍞槑缁�", + "CollectionSourceTypeServiceContract": "鏈嶅姟鍚堝悓" + }, + "x-enum-varnames": [ + "CollectionSourceTypeSaleDetails", + "CollectionSourceTypeServiceContract" + ] + }, + "constvar.CollectionStatus": { + "type": "integer", + "enum": [ + 1, + 2, + 3 + ], + "x-enum-comments": { "CollectionStatusCollected": "宸叉敹娆�", + "CollectionStatusSubCollected": "閮ㄥ垎鏀舵", "CollectionStatusUnCollected": "寰呮敹娆�" }, "x-enum-varnames": [ "CollectionStatusUnCollected", + "CollectionStatusSubCollected", "CollectionStatusCollected" ] }, @@ -10114,6 +10162,35 @@ "ReceiptQueryClassExpireLessThen60Days" ] }, + "constvar.ReceiptSourceType": { + "type": "integer", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "ReceiptSourceTypeSalesDetails", + "ReceiptSourceTypeServiceContract", + "ReceiptSourceTypeInvoice", + "ReceiptSourceTypeCollectionPlan", + "ReceiptSourceTypeChuKuDan" + ] + }, + "constvar.RefundSourceType": { + "type": "integer", + "enum": [ + 1 + ], + "x-enum-comments": { + "RefundSourceTypeSalesReturn": "閿�鍞��璐�" + }, + "x-enum-varnames": [ + "RefundSourceTypeSalesReturn" + ] + }, "constvar.SalesDetailsKeywordType": { "type": "string", "enum": [ @@ -10129,6 +10206,43 @@ "SalesDetailsKeywordTypeSignTime", "SalesDetailsKeywordTypePrincipal", "SalesDetailsKeywordTypeProductName" + ] + }, + "constvar.SalesRefundKeywordType": { + "type": "string", + "enum": [ + "閿�鍞��璐у崟缂栧彿", + "瀹㈡埛鍚嶇О", + "閫�娆炬棩鏈�", + "璐︽埛", + "鏄惁寮�绁�", + "浠樻鏂瑰紡", + "閿�鍞礋璐d汉", + "淇敼鏃堕棿", + "浠风◣鍚堣" + ], + "x-enum-varnames": [ + "SalesRefundKeywordRefundNumber", + "SalesRefundKeywordClientName", + "SalesRefundKeywordRefundDate", + "SalesRefundKeywordAccount", + "SalesRefundKeywordIsInvoice", + "SalesRefundKeywordPaymentType", + "SalesRefundKeywordPrincipal", + "SalesRefundKeywordUpdateAt", + "SalesRefundKeywordPriceTotal" + ] + }, + "constvar.SalesReturnSourceType": { + "type": "integer", + "enum": [ + 1 + ], + "x-enum-comments": { + "SalesReturnSourceTypeSaleDetails": "閿�鍞槑缁�" + }, + "x-enum-varnames": [ + "SalesReturnSourceTypeSaleDetails" ] }, "constvar.SalesStatus": { @@ -10595,16 +10709,16 @@ "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" - }, - "deleted_at": { - "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", - "type": "string" }, "estimated_collection_amount": { "type": "number" @@ -10770,13 +10884,22 @@ "model.Contract": { "type": "object", "properties": { + "_": { + "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", + "type": "string" + }, "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" }, "memberId": { @@ -10793,6 +10916,10 @@ }, "statusId": { "type": "integer" + }, + "updated_at": { + "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", + "type": "string" } } }, @@ -10832,32 +10959,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" } } }, @@ -11394,6 +11495,13 @@ "model.Receipt": { "type": "object", "properties": { + "amount": { + "description": "鏀舵閲戦", + "type": "number" + }, + "bankAccount": { + "$ref": "#/definitions/model.BankAccount" + }, "bankAccountId": { "description": "璐︽埛id", "type": "integer" @@ -11413,9 +11521,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", @@ -11435,7 +11554,11 @@ }, "sourceType": { "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", - "type": "integer" + "allOf": [ + { + "$ref": "#/definitions/constvar.ReceiptSourceType" + } + ] } } }, @@ -11571,6 +11694,9 @@ "key_maker": { "type": "string" }, + "member": { + "$ref": "#/definitions/model.User" + }, "member_id": { "type": "integer" }, @@ -11588,6 +11714,9 @@ }, "possibilities_id": { "type": "integer" + }, + "possibility": { + "$ref": "#/definitions/model.Possibility" }, "process": { "type": "string" @@ -11612,6 +11741,9 @@ }, "remark": { "type": "string" + }, + "sale_stage": { + "$ref": "#/definitions/model.SaleStage" }, "sale_stage_id": { "type": "integer" @@ -11664,6 +11796,9 @@ "model.SalesDetails": { "type": "object", "properties": { + "Member": { + "$ref": "#/definitions/model.User" + }, "address": { "type": "string" }, @@ -11682,6 +11817,10 @@ "description": "宸叉敹閲戦", "type": "number" }, + "amountTotal": { + "description": "浠风◣鍚堣", + "type": "number" + }, "amountUnInvoiced": { "description": "鏈紑绁ㄩ噾棰�", "type": "number" @@ -11693,6 +11832,15 @@ "type": "integer" }, "conditions": { + "type": "string" + }, + "createTime": { + "type": "string" + }, + "creatorId": { + "type": "integer" + }, + "creatorName": { "type": "string" }, "deliveryDate": { @@ -11819,11 +11967,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" @@ -11831,11 +11996,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", @@ -11849,16 +12024,45 @@ "refundDate": { "type": "string" }, - "refundMethod": { - "type": "string" + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "allOf": [ + { + "$ref": "#/definitions/constvar.RefundSourceType" + } + ] } } }, "model.SalesReturn": { "type": "object", "properties": { + "Member": { + "$ref": "#/definitions/model.User" + }, + "SalesReturnStatus": { + "description": "閫�璐х姸鎬�", + "allOf": [ + { + "$ref": "#/definitions/model.SalesReturnStatus" + } + ] + }, + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" + }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" }, "id": { "type": "integer" @@ -11870,22 +12074,38 @@ "type": "string" }, "products": { + "description": "閫�璐т骇鍝�", "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "reason": { + "description": "閫�璐у師鍥�", "type": "string" }, "repository": { "type": "string" }, "returnDate": { + "description": "閫�璐ф棩鏈�", "type": "string" }, - "salesReturnStatus": { + "salesReturnStatusId": { + "description": "閫�璐х姸鎬乮d", "type": "integer" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁嗭級", + "allOf": [ + { + "$ref": "#/definitions/constvar.SalesReturnSourceType" + } + ] } } }, @@ -11929,6 +12149,18 @@ "description": "閲戦", "type": "number" }, + "amountReceivable": { + "description": "搴旀敹閲戦", + "type": "number" + }, + "amountReceived": { + "description": "宸叉敹閲戦", + "type": "number" + }, + "amountTotal": { + "description": "鎬婚", + "type": "number" + }, "collectionDate": { "description": "璁″垝鏀舵鏃ユ湡", "type": "string" @@ -11966,10 +12198,14 @@ }, "sourceType": { "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級", - "type": "integer" + "allOf": [ + { + "$ref": "#/definitions/constvar.CollectionSourceType" + } + ] }, "status": { - "description": "鐘舵�侊紙1鏈敹2宸叉敹锛�", + "description": "鐘舵�侊紙1鏈敹2閮ㄥ垎宸叉敹3宸叉敹锛�", "allOf": [ { "$ref": "#/definitions/constvar.CollectionStatus" @@ -11998,6 +12234,10 @@ }, "amountReceived": { "description": "宸叉敹閲戦", + "type": "number" + }, + "amountTotal": { + "description": "浠风◣鍚堣", "type": "number" }, "amountUnInvoiced": { @@ -12144,9 +12384,6 @@ "contactId": { "type": "integer" }, - "customerServiceSheet": { - "$ref": "#/definitions/model.CustomerServiceSheet" - }, "file": { "type": "string" }, @@ -12183,11 +12420,11 @@ "satisfactionId": { "type": "integer" }, - "serviceId": { - "type": "integer" - }, "serviceOrder": { "$ref": "#/definitions/model.ServiceOrder" + }, + "serviceOrderId": { + "type": "integer" }, "solveRate": { "$ref": "#/definitions/model.SolveRate" @@ -12236,13 +12473,6 @@ "description": "鑱旂郴浜篿d", "type": "integer" }, - "contract": { - "$ref": "#/definitions/model.Contract" - }, - "contractId": { - "description": "鍚堝悓id", - "type": "integer" - }, "expectTime": { "description": "甯屾湜澶勭悊鏃堕棿", "type": "string" @@ -12263,13 +12493,6 @@ }, "id": { "type": "integer" - }, - "orderId": { - "description": "閿�鍞鍗昳d", - "type": "integer" - }, - "orderManage": { - "$ref": "#/definitions/model.OrderManage" }, "priorityLevel": { "$ref": "#/definitions/model.PriorityLevel" @@ -12304,6 +12527,20 @@ "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": { "description": "鏈嶅姟浜哄憳", "type": "integer" @@ -12314,6 +12551,10 @@ }, "serviceOrderStatus": { "$ref": "#/definitions/model.ServiceOrderStatus" + }, + "serviceOrderStatusId": { + "description": "澶勭悊鐘舵��", + "type": "integer" }, "serviceType": { "$ref": "#/definitions/model.ServiceType" @@ -12332,10 +12573,6 @@ "solutionRemark": { "description": "鍐呴儴澶囨敞", "type": "string" - }, - "status": { - "description": "澶勭悊鐘舵��", - "type": "integer" }, "subject": { "description": "涓婚", @@ -13248,6 +13485,13 @@ "request.AddReceipt": { "type": "object", "properties": { + "amount": { + "description": "鏀舵閲戦", + "type": "number" + }, + "bankAccount": { + "$ref": "#/definitions/model.BankAccount" + }, "bankAccountId": { "description": "璐︽埛id", "type": "integer" @@ -13267,9 +13511,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", @@ -13289,7 +13544,11 @@ }, "sourceType": { "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", - "type": "integer" + "allOf": [ + { + "$ref": "#/definitions/constvar.ReceiptSourceType" + } + ] } } }, @@ -13874,7 +14133,7 @@ "satisfaction": { "type": "integer" }, - "serviceId": { + "serviceOrderId": { "type": "integer" }, "solveRate": { @@ -13912,10 +14171,6 @@ "description": "鑱旂郴浜篿d", "type": "integer" }, - "contractId": { - "description": "鍚堝悓id", - "type": "integer" - }, "expectTime": { "description": "甯屾湜澶勭悊鏃堕棿", "type": "string" @@ -13926,10 +14181,6 @@ }, "faultTypeId": { "description": "鏁呴殰绫诲埆id", - "type": "integer" - }, - "orderId": { - "description": "閿�鍞鍗昳d", "type": "integer" }, "priorityLevelId": { @@ -13956,6 +14207,14 @@ "description": "閿�鍞満浼歩d", "type": "integer" }, + "salesDetailsId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "serviceContractId": { + "description": "鍚堝悓id", + "type": "integer" + }, "serviceManId": { "description": "鏈嶅姟浜哄憳", "type": "integer" @@ -13963,6 +14222,10 @@ "serviceNumber": { "description": "鏈嶅姟鍗曠紪鍙�", "type": "string" + }, + "serviceOrderStatusId": { + "description": "澶勭悊鐘舵��", + "type": "integer" }, "serviceTypeId": { "description": "鏈嶅姟鏂瑰紡id", @@ -13979,10 +14242,6 @@ "solutionRemark": { "description": "鍐呴儴澶囨敞", "type": "string" - }, - "status": { - "description": "澶勭悊鐘舵��", - "type": "integer" }, "subject": { "description": "涓婚", @@ -14490,9 +14749,6 @@ "request.GetContractList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14500,6 +14756,11 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{} {\"member_name\": \"閿�鍞礋璐d汉\", \"number\": \"鍚堝悓缂栧彿\", \"created_at\": \"鍒涘缓鏃堕棿\"}", + "type": "object", + "additionalProperties": true } } }, @@ -14546,9 +14807,6 @@ "request.GetMasterOrderList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14556,6 +14814,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 } } }, @@ -14594,9 +14857,6 @@ "request.GetQuotationList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14604,15 +14864,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" @@ -14620,6 +14882,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 } } }, @@ -14665,6 +14932,9 @@ "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.SalesRefundKeywordType" }, "page": { "description": "椤电爜", @@ -14752,6 +15022,10 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "serviceOrderId": { + "description": "鏈嶅姟鍥炶鍗昳d", + "type": "integer" } } }, @@ -14774,15 +15048,18 @@ }, "queryClass": { "$ref": "#/definitions/constvar.ServiceOrderQueryClass" + }, + "salesDetailsId": { + "type": "integer" + }, + "serviceContractId": { + "type": "integer" } } }, "request.GetSubOrderList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -14790,6 +15067,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 } } }, @@ -14859,6 +15141,21 @@ "type": "string" }, "subOrderId": { + "type": "integer" + } + } + }, + "request.PushSaleChance": { + "type": "object", + "required": [ + "id", + "step" + ], + "properties": { + "id": { + "type": "integer" + }, + "step": { "type": "integer" } } @@ -14990,7 +15287,8 @@ "request.SalesRefund": { "type": "object", "properties": { - "accountId": { + "bankAccountId": { + "description": "璐︽埛id", "type": "integer" }, "clientId": { @@ -15005,6 +15303,10 @@ "number": { "type": "string" }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" + }, "products": { "type": "array", "items": { @@ -15017,8 +15319,17 @@ "refundDate": { "type": "string" }, - "refundMethod": { - "type": "string" + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "allOf": [ + { + "$ref": "#/definitions/constvar.RefundSourceType" + } + ] } } }, @@ -15035,22 +15346,38 @@ "type": "string" }, "products": { + "description": "閫�璐т骇鍝�", "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "reason": { + "description": "閫�璐у師鍥�", "type": "string" }, "repository": { "type": "string" }, "returnDate": { + "description": "閫�璐ф棩鏈�", "type": "string" }, - "status": { + "salesReturnStatusId": { + "description": "閫�璐х姸鎬乮d", "type": "integer" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁嗭級", + "allOf": [ + { + "$ref": "#/definitions/constvar.SalesReturnSourceType" + } + ] } } }, @@ -16126,6 +16453,13 @@ "request.UpdateReceipt": { "type": "object", "properties": { + "amount": { + "description": "鏀舵閲戦", + "type": "number" + }, + "bankAccount": { + "$ref": "#/definitions/model.BankAccount" + }, "bankAccountId": { "description": "璐︽埛id", "type": "integer" @@ -16145,9 +16479,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", @@ -16167,7 +16512,11 @@ }, "sourceType": { "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", - "type": "integer" + "allOf": [ + { + "$ref": "#/definitions/constvar.ReceiptSourceType" + } + ] } } }, @@ -16682,6 +17031,18 @@ "description": "閲戦", "type": "number" }, + "amountReceivable": { + "description": "搴旀敹閲戦", + "type": "number" + }, + "amountReceived": { + "description": "宸叉敹閲戦", + "type": "number" + }, + "amountTotal": { + "description": "鎬婚", + "type": "number" + }, "collectionDate": { "description": "璁″垝鏀舵鏃ユ湡", "type": "string" @@ -16719,10 +17080,14 @@ }, "sourceType": { "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級", - "type": "integer" + "allOf": [ + { + "$ref": "#/definitions/constvar.CollectionSourceType" + } + ] }, "status": { - "description": "鐘舵�侊紙1鏈敹2宸叉敹锛�", + "description": "鐘舵�侊紙1鏈敹2閮ㄥ垎宸叉敹3宸叉敹锛�", "allOf": [ { "$ref": "#/definitions/constvar.CollectionStatus" @@ -16998,7 +17363,7 @@ "satisfaction": { "type": "integer" }, - "serviceId": { + "serviceOrderId": { "type": "integer" }, "solveRate": { @@ -17036,10 +17401,6 @@ "description": "鑱旂郴浜篿d", "type": "integer" }, - "contractId": { - "description": "鍚堝悓id", - "type": "integer" - }, "expectTime": { "description": "甯屾湜澶勭悊鏃堕棿", "type": "string" @@ -17053,10 +17414,6 @@ "type": "integer" }, "id": { - "type": "integer" - }, - "orderId": { - "description": "閿�鍞鍗昳d", "type": "integer" }, "priorityLevelId": { @@ -17083,6 +17440,14 @@ "description": "閿�鍞満浼歩d", "type": "integer" }, + "salesDetailsId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "serviceContractId": { + "description": "鍚堝悓id", + "type": "integer" + }, "serviceManId": { "description": "鏈嶅姟浜哄憳", "type": "integer" @@ -17090,6 +17455,10 @@ "serviceNumber": { "description": "鏈嶅姟鍗曠紪鍙�", "type": "string" + }, + "serviceOrderStatusId": { + "description": "澶勭悊鐘舵��", + "type": "integer" }, "serviceTypeId": { "description": "鏈嶅姟鏂瑰紡id", @@ -17106,10 +17475,6 @@ "solutionRemark": { "description": "鍐呴儴澶囨敞", "type": "string" - }, - "status": { - "description": "澶勭悊鐘舵��", - "type": "integer" }, "subject": { "description": "涓婚", -- Gitblit v1.8.0