From 13194e787d51e4ce07dfc35341d536fb5db7aaa3 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 13 十月 2023 15:05:29 +0800 Subject: [PATCH] 服务回访单简单数据权限 --- docs/docs.go | 125 +++++++++++++++++++++++++++++++++++------ 1 files changed, 105 insertions(+), 20 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 9c95f74..049bf2e 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -7840,9 +7840,27 @@ "parameters": [ { "type": "integer", - "description": "鏈嶅姟鍚堝悓id", - "name": "serviceContractId", - "in": "query" + "name": "sourceId", + "in": "query", + "required": true + }, + { + "enum": [ + 1, + 2 + ], + "type": "integer", + "x-enum-comments": { + "CollectionSourceTypeSaleDetails": "閿�鍞槑缁�", + "CollectionSourceTypeServiceContract": "鏈嶅姟鍚堝悓" + }, + "x-enum-varnames": [ + "CollectionSourceTypeSaleDetails", + "CollectionSourceTypeServiceContract" + ], + "name": "sourceType", + "in": "query", + "required": true } ], "responses": { @@ -10818,10 +10836,6 @@ "model.Client": { "type": "object", "properties": { - "_": { - "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", - "type": "string" - }, "business_scope": { "type": "string" }, @@ -10867,8 +10881,10 @@ "country_id": { "type": "integer" }, - "created_at": { - "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", + "createTime": { + "type": "string" + }, + "creatorName": { "type": "string" }, "creator_id": { @@ -10896,7 +10912,6 @@ } }, "id": { - "description": "The ID of the item\nexample: 1", "type": "integer" }, "industry": { @@ -10953,8 +10968,7 @@ "service_member_id": { "type": "integer" }, - "updated_at": { - "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", + "updateTime": { "type": "string" } } @@ -11006,10 +11020,6 @@ "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" @@ -11198,10 +11208,6 @@ "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" }, @@ -11862,6 +11868,12 @@ "description": "瀹㈡埛id", "type": "integer" }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" + }, "fileId": { "description": "闄勪欢id", "type": "integer" @@ -11871,6 +11883,9 @@ }, "moneyType": { "description": "甯佺", + "type": "string" + }, + "number": { "type": "string" }, "paymentType": { @@ -11911,6 +11926,9 @@ "$ref": "#/definitions/constvar.ReceiptSourceType" } ] + }, + "updateTime": { + "type": "string" } } }, @@ -12337,6 +12355,9 @@ "model.SalesRefund": { "type": "object", "properties": { + "Source": { + "$ref": "#/definitions/model.SalesReturn" + }, "amountTotal": { "description": "浠风◣鍚堣", "type": "number" @@ -12476,6 +12497,9 @@ "description": "閫�璐х姸鎬乮d", "type": "integer" }, + "source": { + "$ref": "#/definitions/model.SalesDetails" + }, "sourceId": { "description": "婧愬崟id", "type": "integer" @@ -12567,6 +12591,14 @@ "percent": { "description": "姣斾緥", "type": "number" + }, + "principal": { + "description": "鏀舵璐熻矗浜篒D", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] }, "principalId": { "description": "鏀舵璐熻矗浜篒D", @@ -12905,6 +12937,9 @@ "id": { "type": "integer" }, + "number": { + "type": "string" + }, "priorityLevel": { "$ref": "#/definitions/model.PriorityLevel" }, @@ -13200,11 +13235,19 @@ "description": "鐗╂枡绫诲瀷", "type": "string" }, + "MaxInventory": { + "description": "鏈�澶у簱瀛�", + "type": "integer" + }, "MinInventory": { "description": "瀹夊叏搴撳瓨", "type": "integer" }, "Name": { + "type": "string" + }, + "Node": { + "description": "澶囨敞", "type": "string" }, "Number": { @@ -13217,6 +13260,14 @@ "SalePrice": { "description": "閿�鍞环鏍�", "type": "number" + }, + "Specs": { + "description": "瑙勬牸", + "type": "string" + }, + "Type": { + "description": "鍨嬪彿", + "type": "string" }, "Unit": { "type": "string" @@ -13941,6 +13992,12 @@ "description": "瀹㈡埛id", "type": "integer" }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" + }, "fileId": { "description": "闄勪欢id", "type": "integer" @@ -13950,6 +14007,9 @@ }, "moneyType": { "description": "甯佺", + "type": "string" + }, + "number": { "type": "string" }, "paymentType": { @@ -13990,6 +14050,9 @@ "$ref": "#/definitions/constvar.ReceiptSourceType" } ] + }, + "updateTime": { + "type": "string" } } }, @@ -17012,6 +17075,12 @@ "description": "瀹㈡埛id", "type": "integer" }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" + }, "fileId": { "description": "闄勪欢id", "type": "integer" @@ -17021,6 +17090,9 @@ }, "moneyType": { "description": "甯佺", + "type": "string" + }, + "number": { "type": "string" }, "paymentType": { @@ -17061,6 +17133,9 @@ "$ref": "#/definitions/constvar.ReceiptSourceType" } ] + }, + "updateTime": { + "type": "string" } } }, @@ -17613,6 +17688,14 @@ "percent": { "description": "姣斾緥", "type": "number" + }, + "principal": { + "description": "鏀舵璐熻矗浜篒D", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] }, "principalId": { "description": "鏀舵璐熻矗浜篒D", @@ -19129,6 +19212,8 @@ Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, + LeftDelim: "{{", + RightDelim: "}}", } func init() { -- Gitblit v1.8.0