From 40e540f8ca398fee68f4520dbebd6db6fe2e164c Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期四, 11 一月 2024 15:28:19 +0800
Subject: [PATCH] 添加销售明细推送到wms
---
docs/docs.go | 2579 ++++++++++++++++++++++++++++++++++++++++++++---------------
1 files changed, 1,911 insertions(+), 668 deletions(-)
diff --git a/docs/docs.go b/docs/docs.go
index 9e8a1ad..1455302 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -404,79 +404,6 @@
}
}
},
- "/api/base/captcha": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "Base"
- ],
- "summary": "鑾峰彇楠岃瘉鐮�",
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "allOf": [
- {
- "$ref": "#/definitions/contextx.Response"
- },
- {
- "type": "object",
- "properties": {
- "data": {
- "$ref": "#/definitions/response.LoginResponse"
- }
- }
- }
- ]
- }
- }
- }
- }
- },
- "/api/base/login": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "Base"
- ],
- "summary": "鐢ㄦ埛鐧诲綍",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.Login"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "allOf": [
- {
- "$ref": "#/definitions/contextx.Response"
- },
- {
- "type": "object",
- "properties": {
- "data": {
- "$ref": "#/definitions/response.LoginResponse"
- }
- }
- }
- ]
- }
- }
- }
- }
- },
"/api/city/add": {
"post": {
"produces": [
@@ -651,6 +578,36 @@
"required": true,
"schema": {
"$ref": "#/definitions/request.AddClient"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/client/checkName": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Client"
+ ],
+ "summary": "妫�鏌ュ鎴峰悕绉版槸鍚﹂噸澶�",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.CheckClientName"
}
}
],
@@ -1242,6 +1199,84 @@
}
}
},
+ "/api/code/getAutoCode": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "缂栫爜"
+ ],
+ "summary": "鑾峰彇鑷姩缂栫爜",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/code.CodeStandard"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/response.ListResponse"
+ }
+ }
+ }
+ }
+ },
+ "/api/code/getCodeList": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "缂栫爜"
+ ],
+ "summary": "鑾峰彇缂栫爜鍒楄〃",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "codeStandID",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "name",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "椤电爜",
+ "name": "page",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "姣忛〉澶у皬",
+ "name": "pageSize",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "type",
+ "in": "query"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/response.ListResponse"
+ }
+ }
+ }
+ }
+ },
"/api/collectionProjection/add": {
"post": {
"produces": [
@@ -1495,6 +1530,37 @@
}
}
},
+ "/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"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
"/api/contract/add": {
"post": {
"produces": [
@@ -1525,7 +1591,7 @@
}
}
},
- "/api/contract/delete/{id}": {
+ "/api/contract/delete": {
"delete": {
"produces": [
"application/json"
@@ -1536,11 +1602,13 @@
"summary": "鍒犻櫎鍚堝悓",
"parameters": [
{
- "type": "integer",
"description": "鏌ヨ鍙傛暟",
- "name": "id",
- "in": "path",
- "required": true
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteContract"
+ }
}
],
"responses": {
@@ -3249,7 +3317,7 @@
}
},
"/api/invoice/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
@@ -3259,43 +3327,13 @@
"summary": "鑾峰彇閿�鍞彂绁ㄥ垪琛�",
"parameters": [
{
- "type": "string",
- "name": "keyword",
- "in": "query"
- },
- {
- "enum": [
- ""
- ],
- "type": "string",
- "x-enum-varnames": [
- "InvoiceKeywordCustomerName"
- ],
- "name": "keywordType",
- "in": "query"
- },
- {
- "type": "integer",
- "description": "椤电爜",
- "name": "page",
- "in": "query"
- },
- {
- "type": "integer",
- "description": "姣忛〉澶у皬",
- "name": "pageSize",
- "in": "query"
- },
- {
- "enum": [
- ""
- ],
- "type": "string",
- "x-enum-varnames": [
- "InvoiceQueryClassExpireLessThen60Days"
- ],
- "name": "queryClass",
- "in": "query"
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetInvoiceList"
+ }
}
],
"responses": {
@@ -3947,7 +3985,7 @@
}
}
},
- "/api/masterOrder/delete/{id}": {
+ "/api/masterOrder/delete": {
"delete": {
"produces": [
"application/json"
@@ -3958,11 +3996,13 @@
"summary": "鍒犻櫎涓昏鍗�",
"parameters": [
{
- "type": "integer",
"description": "鏌ヨ鍙傛暟",
- "name": "id",
- "in": "path",
- "required": true
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteMasterOrder"
+ }
}
],
"responses": {
@@ -4877,6 +4917,46 @@
}
}
},
+ "/api/product/getProductOrderInfo/{number}": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "浜у搧"
+ ],
+ "summary": "鑾峰彇浜у搧璁㈠崟淇℃伅",
+ "parameters": [
+ {
+ "type": "string",
+ "description": "鏄庣粏缂栫爜",
+ "name": "number",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "鎴愬姛",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.Info"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
"/api/product/info": {
"get": {
"produces": [
@@ -4949,6 +5029,12 @@
"type": "string",
"description": "浜у搧缂栫爜",
"name": "productNumber",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "description": "鎶ヤ环鍗曠紪鐮�",
+ "name": "quotationNumber",
"in": "query"
}
],
@@ -5165,7 +5251,7 @@
}
}
},
- "/api/quotation/delete/{id}": {
+ "/api/quotation/delete": {
"delete": {
"produces": [
"application/json"
@@ -5176,11 +5262,13 @@
"summary": "鍒犻櫎鎶ヤ环鍗�",
"parameters": [
{
- "type": "integer",
"description": "鏌ヨ鍙傛暟",
- "name": "id",
- "in": "path",
- "required": true
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteQuotation"
+ }
}
],
"responses": {
@@ -5226,6 +5314,40 @@
"properties": {
"data": {
"$ref": "#/definitions/response.QuotationResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/quotation/statistics": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Quotation"
+ ],
+ "summary": "鎶ヤ环鍗曠粺璁�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "integer"
+ }
}
}
}
@@ -5453,19 +5575,9 @@
"summary": "鑾峰彇鏀舵鍗曞垪琛�",
"parameters": [
{
- "type": "string",
- "name": "keyword",
- "in": "query"
- },
- {
- "enum": [
- ""
- ],
- "type": "string",
- "x-enum-varnames": [
- "ReceiptKeywordCustomerName"
- ],
- "name": "keywordType",
+ "type": "integer",
+ "description": "瀹㈡埛id",
+ "name": "clientId",
"in": "query"
},
{
@@ -5481,14 +5593,44 @@
"in": "query"
},
{
+ "type": "array",
+ "items": {
+ "type": "integer"
+ },
+ "collectionFormat": "csv",
+ "name": "principleIds",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "name": "sourceId",
+ "in": "query"
+ },
+ {
"enum": [
- ""
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
],
- "type": "string",
+ "type": "integer",
+ "x-enum-comments": {
+ "ReceiptSourceTypeChuKuDan": "鍑哄簱鍗昳t",
+ "ReceiptSourceTypeCollectionPlan": "鏀舵璁″垝",
+ "ReceiptSourceTypeInvoice": "閿�鍞彂绁�",
+ "ReceiptSourceTypeSalesDetails": "閿�鍞槑缁嗗崟",
+ "ReceiptSourceTypeServiceContract": "鏈嶅姟鍚堝悓"
+ },
"x-enum-varnames": [
- "ReceiptQueryClassExpireLessThen60Days"
+ "ReceiptSourceTypeSalesDetails",
+ "ReceiptSourceTypeServiceContract",
+ "ReceiptSourceTypeInvoice",
+ "ReceiptSourceTypeCollectionPlan",
+ "ReceiptSourceTypeChuKuDan"
],
- "name": "queryClass",
+ "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+ "name": "sourceType",
"in": "query"
}
],
@@ -5653,6 +5795,142 @@
"required": true,
"schema": {
"$ref": "#/definitions/request.UpdateRefundMethods"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/refundType/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "閫�娆炬柟寮忕鐞�"
+ ],
+ "summary": "娣诲姞閫�娆炬柟寮�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddRefundType"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/refundType/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "閫�娆炬柟寮忕鐞�"
+ ],
+ "summary": "鍒犻櫎閫�娆炬柟寮�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/refundType/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "閫�娆炬柟寮忕鐞�"
+ ],
+ "summary": "鑾峰彇閫�娆炬柟寮忓垪琛�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "椤电爜",
+ "name": "page",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "姣忛〉澶у皬",
+ "name": "pageSize",
+ "in": "query"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/response.ListResponse"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.RefundType"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/refundType/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "閫�娆炬柟寮忕鐞�"
+ ],
+ "summary": "鏇存柊閫�娆炬柟寮�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateRefundType"
}
}
],
@@ -6318,7 +6596,7 @@
}
}
},
- "/api/saleChance/delete/{id}": {
+ "/api/saleChance/delete": {
"delete": {
"produces": [
"application/json"
@@ -6329,11 +6607,13 @@
"summary": "鍒犻櫎閿�鍞満浼�",
"parameters": [
{
- "type": "integer",
"description": "鏌ヨ鍙傛暟",
- "name": "id",
- "in": "path",
- "required": true
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteSaleChance"
+ }
}
],
"responses": {
@@ -6710,6 +6990,48 @@
"200": {
"description": "OK",
"schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/request.AddSalesDetails"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/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"
}
}
@@ -6739,6 +7061,53 @@
"description": "OK",
"schema": {
"$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesDetails/getApsProjectList": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "鑾峰彇aps椤圭洰鍒楄〃",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/response.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesDetails/getProductInventoryInfo/{number}": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "鑾峰彇浜у搧搴撳瓨淇℃伅",
+ "parameters": [
+ {
+ "type": "string",
+ "description": "鏄庣粏缂栫爜",
+ "name": "number",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/response.ListResponse"
}
}
}
@@ -6786,6 +7155,36 @@
}
}
},
+ "/api/salesDetails/sendSalesDetailsToOtherSystem": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "鎺ㄩ�侀攢鍞槑缁嗕俊鎭埌鍏朵粬绯荤粺",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.SalesDetails"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/response.ListResponse"
+ }
+ }
+ }
+ }
+ },
"/api/salesDetails/update": {
"put": {
"produces": [
@@ -6803,6 +7202,36 @@
"required": true,
"schema": {
"$ref": "#/definitions/request.UpdateSalesDetails"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesDetails/updateStatus": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "鏇存柊閿�鍞槑缁嗙姸鎬�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateSalesDetailsStatus"
}
}
],
@@ -6984,7 +7413,7 @@
"application/json"
],
"tags": [
- "SalesRefund"
+ "閿�鍞��娆惧崟"
],
"summary": "娣诲姞閿�鍞��娆�",
"parameters": [
@@ -7008,13 +7437,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": [
@@ -7042,7 +7501,7 @@
"application/json"
],
"tags": [
- "SalesRefund"
+ "閿�鍞��娆惧崟"
],
"summary": "閿�鍞��娆惧崟鍒楄〃",
"parameters": [
@@ -7084,7 +7543,7 @@
"application/json"
],
"tags": [
- "SalesRefund"
+ "閿�鍞��娆惧崟"
],
"summary": "鏇存柊閿�鍞��娆�",
"parameters": [
@@ -7114,7 +7573,7 @@
"application/json"
],
"tags": [
- "SalesReturn"
+ "閿�鍞��璐у崟"
],
"summary": "娣诲姞閿�鍞��璐�",
"parameters": [
@@ -7138,13 +7597,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": [
@@ -7172,7 +7661,7 @@
"application/json"
],
"tags": [
- "SalesReturn"
+ "閿�鍞��璐у崟"
],
"summary": "閿�鍞��璐у崟鍒楄〃",
"parameters": [
@@ -7214,7 +7703,7 @@
"application/json"
],
"tags": [
- "SalesReturn"
+ "閿�鍞��璐у崟"
],
"summary": "鏇存柊閿�鍞��璐�",
"parameters": [
@@ -7654,7 +8143,7 @@
}
},
"/api/serviceCollectionPlan/list": {
- "get": {
+ "post": {
"produces": [
"application/json"
],
@@ -7664,10 +8153,13 @@
"summary": "鑾峰彇鏀舵璁″垝鍒楄〃",
"parameters": [
{
- "type": "integer",
- "description": "鏈嶅姟鍚堝悓id",
- "name": "serviceContractId",
- "in": "query"
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetServiceCollectionPlanList"
+ }
}
],
"responses": {
@@ -7763,15 +8255,15 @@
"tags": [
"ServiceContract"
],
- "summary": "鍒犻櫎鏈嶅姟鍚堝悓",
+ "summary": "鎵归噺鍒犻櫎鏈嶅姟鍚堝悓",
"parameters": [
{
- "description": "鏌ヨ鍙傛暟",
+ "description": "鍙傛暟",
"name": "object",
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/request.DeleteServiceContract"
+ "$ref": "#/definitions/request.CommonIds"
}
}
],
@@ -7863,9 +8355,9 @@
"application/json"
],
"tags": [
- "ServiceContractStatus"
+ "鍚堝悓鐘舵��"
],
- "summary": "娣诲姞鏈嶅姟鍚堝悓鐘舵��",
+ "summary": "娣诲姞鍚堝悓鐘舵��",
"parameters": [
{
"description": "鏌ヨ鍙傛暟",
@@ -7893,9 +8385,9 @@
"application/json"
],
"tags": [
- "ServiceContractStatus"
+ "鍚堝悓鐘舵��"
],
- "summary": "鍒犻櫎鏈嶅姟鍚堝悓鐘舵��",
+ "summary": "鍒犻櫎鍚堝悓鐘舵��",
"parameters": [
{
"type": "integer",
@@ -7921,22 +8413,66 @@
"application/json"
],
"tags": [
- "ServiceContractStatus"
+ "鍚堝悓鐘舵��"
],
- "summary": "鑾峰彇鏈嶅姟鍚堝悓鐘舵�佸垪琛�",
+ "summary": "鑾峰彇鍚堝悓鐘舵�佸垪琛�",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "keyword",
+ "in": "query"
+ },
+ {
+ "enum": [
+ ""
+ ],
+ "type": "string",
+ "x-enum-varnames": [
+ "ServiceContractStatusKeywordCustomerName"
+ ],
+ "name": "keywordType",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "椤电爜",
+ "name": "page",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "姣忛〉澶у皬",
+ "name": "pageSize",
+ "in": "query"
+ },
+ {
+ "enum": [
+ ""
+ ],
+ "type": "string",
+ "x-enum-varnames": [
+ "ServiceContractStatusQueryClassExpireLessThen60Days"
+ ],
+ "name": "queryClass",
+ "in": "query"
+ }
+ ],
"responses": {
"200": {
"description": "OK",
"schema": {
"allOf": [
{
- "$ref": "#/definitions/contextx.Response"
+ "$ref": "#/definitions/response.ListResponse"
},
{
"type": "object",
"properties": {
"data": {
- "$ref": "#/definitions/response.ServiceContractStatusResponse"
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ServiceContractStatus"
+ }
}
}
}
@@ -7952,9 +8488,9 @@
"application/json"
],
"tags": [
- "ServiceContractStatus"
+ "鍚堝悓鐘舵��"
],
- "summary": "鏇存柊鏈嶅姟鍚堝悓鐘舵��",
+ "summary": "鏇存柊鍚堝悓鐘舵��",
"parameters": [
{
"description": "鏌ヨ鍙傛暟",
@@ -7962,7 +8498,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/request.UpdateServiceContractStatuss"
+ "$ref": "#/definitions/request.UpdateServiceContractStatus"
}
}
],
@@ -8376,6 +8912,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"
}
}
],
@@ -9155,7 +9721,7 @@
}
}
},
- "/api/subOrder/delete/{id}": {
+ "/api/subOrder/delete": {
"delete": {
"produces": [
"application/json"
@@ -9166,11 +9732,13 @@
"summary": "鍒犻櫎瀛愯鍗�",
"parameters": [
{
- "type": "integer",
"description": "鏌ヨ鍙傛暟",
- "name": "id",
- "in": "path",
- "required": true
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteSubOrder"
+ }
}
],
"responses": {
@@ -9250,6 +9818,96 @@
"description": "OK",
"schema": {
"$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/system/getSystemSet": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "绯荤粺璁剧疆"
+ ],
+ "summary": "鑾峰彇绯荤粺璁剧疆",
+ "responses": {
+ "200": {
+ "description": "鎴愬姛",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "object",
+ "additionalProperties": true
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/system/saveSystemSet": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "绯荤粺璁剧疆"
+ ],
+ "summary": "淇濆瓨绯荤粺璁剧疆",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.SaveSystemSet"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "鎴愬姛",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/system/useSystemSet/{modeType}": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "绯荤粺璁剧疆"
+ ],
+ "summary": "浣跨敤绯荤粺璁剧疆",
+ "parameters": [
+ {
+ "type": "string",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "modeType",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/response.ListResponse"
}
}
}
@@ -9496,259 +10154,6 @@
}
}
},
- "/api/user/changePassword": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "鐢ㄦ埛淇敼瀵嗙爜",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.ChangePasswordReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "$ref": "#/definitions/contextx.Response"
- }
- }
- }
- }
- },
- "/api/user/deleteUser": {
- "delete": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "鍒犻櫎鐢ㄦ埛",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.DeleteUserReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "$ref": "#/definitions/contextx.Response"
- }
- }
- }
- }
- },
- "/api/user/getUserInfo": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "鑾峰彇鑷韩淇℃伅",
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "$ref": "#/definitions/contextx.Response"
- }
- }
- }
- }
- },
- "/api/user/getUserList": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "鍒嗛〉鑾峰彇鐢ㄦ埛鍒楄〃(涓嶄紶鍒嗛〉鍙傛暟锛岃幏鍙栧叏閮�)",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.GetUserList"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "allOf": [
- {
- "$ref": "#/definitions/contextx.Response"
- },
- {
- "type": "object",
- "properties": {
- "data": {
- "$ref": "#/definitions/response.PageResult"
- }
- }
- }
- ]
- }
- }
- }
- }
- },
- "/api/user/register": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "娉ㄥ唽璐﹀彿",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.Register"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "allOf": [
- {
- "$ref": "#/definitions/contextx.Response"
- },
- {
- "type": "object",
- "properties": {
- "data": {
- "$ref": "#/definitions/response.UserResponse"
- }
- }
- }
- ]
- }
- }
- }
- }
- },
- "/api/user/resetPassword": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "閲嶇疆鐢ㄦ埛瀵嗙爜",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/model.User"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "$ref": "#/definitions/contextx.Response"
- }
- }
- }
- }
- },
- "/api/user/setSelfInfo": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "璁剧疆鐢ㄦ埛淇℃伅",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.ChangeUserInfo"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "$ref": "#/definitions/contextx.Response"
- }
- }
- }
- }
- },
- "/api/user/setUserInfo": {
- "post": {
- "produces": [
- "application/json"
- ],
- "tags": [
- "User"
- ],
- "summary": "璁剧疆鐢ㄦ埛淇℃伅",
- "parameters": [
- {
- "description": "鏌ヨ鍙傛暟",
- "name": "object",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/request.ChangeUserInfo"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "鎴愬姛",
- "schema": {
- "$ref": "#/definitions/contextx.Response"
- }
- }
- }
- }
- },
"/api/vetting/add": {
"post": {
"produces": [
@@ -9974,6 +10379,69 @@
}
},
"definitions": {
+ "code.CodeAuto": {
+ "type": "object",
+ "properties": {
+ "AutoLength": {
+ "type": "integer"
+ },
+ "Desc": {
+ "type": "string"
+ },
+ "PrefixMethod": {
+ "type": "integer"
+ },
+ "PrefixValue": {
+ "type": "string"
+ },
+ "SuffixMethod": {
+ "type": "integer"
+ }
+ }
+ },
+ "code.CodeRule": {
+ "type": "object",
+ "properties": {
+ "Desc": {
+ "type": "string"
+ },
+ "Length": {
+ "type": "integer"
+ },
+ "Name": {
+ "type": "string"
+ }
+ }
+ },
+ "code.CodeStandard": {
+ "type": "object",
+ "properties": {
+ "AutoRule": {
+ "$ref": "#/definitions/code.CodeAuto"
+ },
+ "ID": {
+ "type": "string"
+ },
+ "List": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/code.CodeRule"
+ }
+ },
+ "Method": {
+ "type": "integer"
+ },
+ "Name": {
+ "type": "string"
+ },
+ "Status": {
+ "type": "string"
+ },
+ "Type": {
+ "type": "string"
+ }
+ }
+ },
"constvar.BankAccountKeywordType": {
"type": "string",
"enum": [
@@ -10061,24 +10529,6 @@
"FaqQueryClassExpireLessThen60Days"
]
},
- "constvar.InvoiceKeywordType": {
- "type": "string",
- "enum": [
- ""
- ],
- "x-enum-varnames": [
- "InvoiceKeywordCustomerName"
- ]
- },
- "constvar.InvoiceQueryClass": {
- "type": "string",
- "enum": [
- ""
- ],
- "x-enum-varnames": [
- "InvoiceQueryClassExpireLessThen60Days"
- ]
- },
"constvar.InvoiceSourceType": {
"type": "integer",
"enum": [
@@ -10144,24 +10594,6 @@
"PaymentTypeQueryClassExpireLessThen60Days"
]
},
- "constvar.ReceiptKeywordType": {
- "type": "string",
- "enum": [
- ""
- ],
- "x-enum-varnames": [
- "ReceiptKeywordCustomerName"
- ]
- },
- "constvar.ReceiptQueryClass": {
- "type": "string",
- "enum": [
- ""
- ],
- "x-enum-varnames": [
- "ReceiptQueryClassExpireLessThen60Days"
- ]
- },
"constvar.ReceiptSourceType": {
"type": "integer",
"enum": [
@@ -10171,6 +10603,13 @@
4,
5
],
+ "x-enum-comments": {
+ "ReceiptSourceTypeChuKuDan": "鍑哄簱鍗昳t",
+ "ReceiptSourceTypeCollectionPlan": "鏀舵璁″垝",
+ "ReceiptSourceTypeInvoice": "閿�鍞彂绁�",
+ "ReceiptSourceTypeSalesDetails": "閿�鍞槑缁嗗崟",
+ "ReceiptSourceTypeServiceContract": "鏈嶅姟鍚堝悓"
+ },
"x-enum-varnames": [
"ReceiptSourceTypeSalesDetails",
"ReceiptSourceTypeServiceContract",
@@ -10208,6 +10647,27 @@
"SalesDetailsKeywordTypeProductName"
]
},
+ "constvar.SalesDetailsStatus": {
+ "type": "integer",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "x-enum-comments": {
+ "OverCLose": "宸插叧闂�",
+ "OverOutbound": "鍑哄簱瀹屾垚",
+ "WaitConfirmed": "寰呯‘璁�",
+ "WaitOutbound": "寰呭嚭搴�"
+ },
+ "x-enum-varnames": [
+ "WaitConfirmed",
+ "WaitOutbound",
+ "OverOutbound",
+ "OverCLose"
+ ]
+ },
"constvar.SalesRefundKeywordType": {
"type": "string",
"enum": [
@@ -10231,6 +10691,29 @@
"SalesRefundKeywordPrincipal",
"SalesRefundKeywordUpdateAt",
"SalesRefundKeywordPriceTotal"
+ ]
+ },
+ "constvar.SalesReturnKeywordType": {
+ "type": "string",
+ "enum": [
+ "閿�鍞��璐у崟缂栧彿",
+ "瀹㈡埛鍚嶇О",
+ "閫�娆炬棩鏈�",
+ "鐘舵��",
+ "閫�鍏ヤ粨搴�",
+ "搴旈��娆�",
+ "宸查��娆�",
+ "閿�鍞礋璐d汉"
+ ],
+ "x-enum-varnames": [
+ "SalesReturnKeywordReturnNumber",
+ "SalesReturnKeywordClientName",
+ "SalesReturnKeywordReturnDate",
+ "SalesReturnKeywordStatus",
+ "SalesReturnKeywordRepository",
+ "SalesReturnKeywordAmountShouldRefund",
+ "SalesReturnKeywordAmountHasRefund",
+ "SalesReturnKeywordPrincipal"
]
},
"constvar.SalesReturnSourceType": {
@@ -10309,6 +10792,24 @@
"ServiceContractQueryClassExpireAfter60Day",
"ServiceContractQueryClassExpiredBefore15Day",
"ServiceContractQueryClassExpiredBefore60Day"
+ ]
+ },
+ "constvar.ServiceContractStatusKeywordType": {
+ "type": "string",
+ "enum": [
+ ""
+ ],
+ "x-enum-varnames": [
+ "ServiceContractStatusKeywordCustomerName"
+ ]
+ },
+ "constvar.ServiceContractStatusQueryClass": {
+ "type": "string",
+ "enum": [
+ ""
+ ],
+ "x-enum-varnames": [
+ "ServiceContractStatusQueryClassExpireLessThen60Days"
]
},
"constvar.ServiceFeeKeywordType": {
@@ -10570,6 +11071,9 @@
"client_type_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contacts": {
"type": "array",
"items": {
@@ -10580,6 +11084,15 @@
"$ref": "#/definitions/model.Country"
},
"country_id": {
+ "type": "integer"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
+ },
+ "creator_id": {
"type": "integer"
},
"detail_address": {
@@ -10659,6 +11172,9 @@
},
"service_member_id": {
"type": "integer"
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -10709,10 +11225,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"
@@ -10757,6 +11269,9 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"country": {
"$ref": "#/definitions/model.Country"
},
@@ -10774,6 +11289,9 @@
},
"is_first": {
"type": "boolean"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"member_id": {
"type": "integer"
@@ -10825,6 +11343,9 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"country": {
"$ref": "#/definitions/model.Country"
},
@@ -10848,6 +11369,9 @@
},
"is_first": {
"type": "boolean"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"member_id": {
"type": "integer"
@@ -10881,15 +11405,31 @@
}
}
},
+ "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"
+ },
+ "codeStandID": {
+ "type": "string"
+ },
+ "contractName": {
+ "type": "string"
},
"created_at": {
"description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
@@ -10902,6 +11442,9 @@
"description": "The ID of the item\nexample: 1",
"type": "integer"
},
+ "member": {
+ "$ref": "#/definitions/model.User"
+ },
"memberId": {
"type": "integer"
},
@@ -10913,6 +11456,12 @@
},
"quotationId": {
"type": "integer"
+ },
+ "sendTime": {
+ "type": "string"
+ },
+ "serviceContractStatus": {
+ "$ref": "#/definitions/model.ServiceContractStatus"
},
"statusId": {
"type": "integer"
@@ -11026,14 +11575,23 @@
"client_id": {
"type": "integer"
},
+ "client_status": {
+ "$ref": "#/definitions/model.ClientStatus"
+ },
"client_status_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"contact": {
"$ref": "#/definitions/model.Contact"
},
"contact_id": {
"type": "integer"
+ },
+ "contact_information": {
+ "$ref": "#/definitions/model.ContactInformation"
},
"contact_information_id": {
"type": "integer"
@@ -11065,8 +11623,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"
@@ -11096,6 +11660,9 @@
"clientId": {
"description": "瀹㈡埛id",
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"courierCompany": {
"$ref": "#/definitions/model.CourierCompany"
@@ -11132,6 +11699,9 @@
"invoiceTypeId": {
"description": "鍙戠エ绫诲瀷id",
"type": "integer"
+ },
+ "number": {
+ "type": "string"
},
"principalId": {
"description": "閿�鍞礋璐d汉id",
@@ -11218,11 +11788,17 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"end_time": {
"type": "string"
},
"id": {
"type": "integer"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"member_id": {
"type": "integer"
@@ -11394,11 +11970,17 @@
"amount": {
"type": "number"
},
+ "cost": {
+ "type": "string"
+ },
"desc": {
"type": "string"
},
"id": {
"type": "integer"
+ },
+ "margin": {
+ "type": "string"
},
"name": {
"type": "string"
@@ -11409,8 +11991,14 @@
"price": {
"type": "number"
},
+ "profit": {
+ "type": "string"
+ },
"total": {
"type": "number"
+ },
+ "unit": {
+ "type": "string"
}
}
},
@@ -11434,11 +12022,18 @@
"model.Quotation": {
"type": "object",
"properties": {
+ "amountTotal": {
+ "description": "浠锋牸鍚堣",
+ "type": "number"
+ },
"client": {
"$ref": "#/definitions/model.Client"
},
"client_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"conditions": {
"type": "string"
@@ -11455,6 +12050,9 @@
"id": {
"type": "integer"
},
+ "member": {
+ "$ref": "#/definitions/model.User"
+ },
"member_id": {
"type": "integer"
},
@@ -11466,6 +12064,12 @@
"items": {
"$ref": "#/definitions/model.Product"
}
+ },
+ "quotationName": {
+ "type": "string"
+ },
+ "quotation_status": {
+ "$ref": "#/definitions/model.QuotationStatus"
},
"quotation_status_id": {
"type": "integer"
@@ -11506,9 +12110,23 @@
"description": "璐︽埛id",
"type": "integer"
},
+ "client": {
+ "description": "瀹㈡埛id",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.Client"
+ }
+ ]
+ },
"clientId": {
"description": "瀹㈡埛id",
"type": "integer"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
},
"fileId": {
"description": "闄勪欢id",
@@ -11519,6 +12137,9 @@
},
"moneyType": {
"description": "甯佺",
+ "type": "string"
+ },
+ "number": {
"type": "string"
},
"paymentType": {
@@ -11559,10 +12180,24 @@
"$ref": "#/definitions/constvar.ReceiptSourceType"
}
]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
"model.RefundMethod": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "model.RefundType": {
"type": "object",
"properties": {
"id": {
@@ -11652,6 +12287,9 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"collection_projections": {
"type": "array",
"items": {
@@ -11721,6 +12359,12 @@
"process": {
"type": "string"
},
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
"projected_amount": {
"type": "number"
},
@@ -11765,6 +12409,14 @@
},
"solutions": {
"type": "string"
+ },
+ "status": {
+ "description": "鐘舵��",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.Status"
+ }
+ ]
},
"status_id": {
"type": "integer"
@@ -11837,6 +12489,9 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"conditions": {
"type": "string"
},
@@ -11848,6 +12503,9 @@
},
"creatorName": {
"type": "string"
+ },
+ "deliverType": {
+ "type": "integer"
},
"deliveryDate": {
"type": "string"
@@ -11879,6 +12537,15 @@
"$ref": "#/definitions/model.Product"
}
},
+ "projectId": {
+ "type": "string"
+ },
+ "quotation": {
+ "$ref": "#/definitions/model.Quotation"
+ },
+ "quotationId": {
+ "type": "integer"
+ },
"remark": {
"type": "string"
},
@@ -11892,6 +12559,15 @@
"type": "integer"
},
"signTime": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "$ref": "#/definitions/constvar.SalesDetailsStatus"
+ },
+ "updateTime": {
"type": "string"
},
"wechatOrderStatus": {
@@ -11911,6 +12587,9 @@
"city_id": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contact_name": {
"type": "string"
},
@@ -11929,6 +12608,9 @@
"desc": {
"type": "string"
},
+ "detail_address": {
+ "type": "string"
+ },
"followRecord": {
"type": "array",
"items": {
@@ -11937,6 +12619,9 @@
},
"id": {
"type": "integer"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"member_id": {
"type": "integer"
@@ -11962,6 +12647,9 @@
"region_id": {
"type": "integer"
},
+ "sales_sources": {
+ "$ref": "#/definitions/model.SalesSources"
+ },
"sales_sources_id": {
"type": "integer"
},
@@ -11973,6 +12661,14 @@
"model.SalesRefund": {
"type": "object",
"properties": {
+ "RefundType": {
+ "description": "閫�娆炬柟寮�",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.RefundType"
+ }
+ ]
+ },
"amountTotal": {
"description": "浠风◣鍚堣",
"type": "number"
@@ -11990,6 +12686,9 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"createTime": {
"type": "string"
},
@@ -12000,7 +12699,7 @@
"type": "integer"
},
"isInvoice": {
- "type": "integer"
+ "type": "string"
},
"member": {
"$ref": "#/definitions/model.User"
@@ -12030,17 +12729,27 @@
"refundDate": {
"type": "string"
},
+ "refundTypeId": {
+ "description": "閫�娆炬柟寮廔D",
+ "type": "integer"
+ },
+ "salesReturn": {
+ "$ref": "#/definitions/model.SalesReturn"
+ },
"sourceId": {
"description": "婧愬崟id",
"type": "integer"
},
"sourceType": {
- "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+ "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��璐э級",
"allOf": [
{
"$ref": "#/definitions/constvar.RefundSourceType"
}
]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -12058,11 +12767,22 @@
}
]
},
+ "amountHasRefund": {
+ "description": "宸查��娆鹃噾棰�",
+ "type": "number"
+ },
+ "amountShouldRefund": {
+ "description": "搴旈��娆鹃噾棰�",
+ "type": "number"
+ },
"client": {
"$ref": "#/definitions/model.Client"
},
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"createTime": {
"type": "string"
@@ -12101,6 +12821,9 @@
"description": "閫�璐х姸鎬乮d",
"type": "integer"
},
+ "source": {
+ "$ref": "#/definitions/model.SalesDetails"
+ },
"sourceId": {
"description": "婧愬崟id",
"type": "integer"
@@ -12112,6 +12835,9 @@
"$ref": "#/definitions/constvar.SalesReturnSourceType"
}
]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -12190,6 +12916,14 @@
"description": "姣斾緥",
"type": "number"
},
+ "principal": {
+ "description": "鏀舵璐熻矗浜篒D",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.User"
+ }
+ ]
+ },
"principalId": {
"description": "鏀舵璐熻矗浜篒D",
"type": "integer"
@@ -12256,17 +12990,29 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/model.Contact"
},
"contactId": {
"type": "integer"
},
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
+ },
"endTime": {
"type": "string"
},
"id": {
"type": "integer"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"memberId": {
"type": "integer"
@@ -12320,6 +13066,9 @@
"type": "string"
},
"terms": {
+ "type": "string"
+ },
+ "updateTime": {
"type": "string"
}
}
@@ -12384,11 +13133,20 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/model.Contact"
},
"contactId": {
"type": "integer"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
},
"file": {
"type": "string"
@@ -12443,6 +13201,9 @@
},
"timelyRateId": {
"type": "integer"
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -12472,12 +13233,21 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/model.Contact"
},
"contactId": {
"description": "鑱旂郴浜篿d",
"type": "integer"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
},
"expectTime": {
"description": "甯屾湜澶勭悊鏃堕棿",
@@ -12500,6 +13270,9 @@
"id": {
"type": "integer"
},
+ "number": {
+ "type": "string"
+ },
"priorityLevel": {
"$ref": "#/definitions/model.PriorityLevel"
},
@@ -12511,12 +13284,13 @@
"description": "闂鎻忚堪",
"type": "string"
},
- "product": {
- "$ref": "#/definitions/model.Product"
+ "productName": {
+ "description": "浜у搧鍚嶇О",
+ "type": "string"
},
- "productId": {
- "description": "浜у搧id",
- "type": "integer"
+ "productTypeName": {
+ "description": "浜у搧鍒嗙被鍚嶇О",
+ "type": "string"
},
"realTime": {
"description": "瀹為檯澶勭悊鏃堕棿",
@@ -12547,6 +13321,14 @@
"description": "鏈嶅姟鍚堝悓id",
"type": "integer"
},
+ "serviceMan": {
+ "description": "鏈嶅姟浜哄憳",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.User"
+ }
+ ]
+ },
"serviceManId": {
"description": "鏈嶅姟浜哄憳",
"type": "integer"
@@ -12572,6 +13354,10 @@
"severity": {
"$ref": "#/definitions/model.Severity"
},
+ "severityId": {
+ "description": "涓ラ噸绋嬪害id",
+ "type": "integer"
+ },
"solution": {
"description": "瑙e喅鏂规硶",
"type": "string"
@@ -12590,6 +13376,9 @@
"timeSpentId": {
"description": "鑺辫垂鏃堕棿",
"type": "integer"
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -12657,11 +13446,20 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"id": {
"type": "integer"
},
+ "masterOrder": {
+ "$ref": "#/definitions/model.MasterOrder"
+ },
"masterOrderId": {
"type": "integer"
+ },
+ "member": {
+ "$ref": "#/definitions/model.User"
},
"memberId": {
"type": "integer"
@@ -12674,6 +13472,23 @@
"items": {
"$ref": "#/definitions/model.Product"
}
+ }
+ }
+ },
+ "model.SystemSet": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "modeType": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
}
}
},
@@ -12740,6 +13555,10 @@
"realName": {
"type": "string"
},
+ "subUserIds": {
+ "description": "涓嬪睘鍛樺伐鐢ㄦ埛id,鐢ㄩ�楀彿鍒嗗紑",
+ "type": "string"
+ },
"userType": {
"$ref": "#/definitions/constvar.UserType"
},
@@ -12777,11 +13596,19 @@
"description": "鐗╂枡绫诲瀷",
"type": "string"
},
+ "MaxInventory": {
+ "description": "鏈�澶у簱瀛�",
+ "type": "integer"
+ },
"MinInventory": {
"description": "瀹夊叏搴撳瓨",
"type": "integer"
},
"Name": {
+ "type": "string"
+ },
+ "Node": {
+ "description": "澶囨敞",
"type": "string"
},
"Number": {
@@ -12794,6 +13621,14 @@
"SalePrice": {
"description": "閿�鍞环鏍�",
"type": "number"
+ },
+ "Specs": {
+ "description": "瑙勬牸",
+ "type": "string"
+ },
+ "Type": {
+ "description": "鍨嬪彿",
+ "type": "string"
},
"Unit": {
"type": "string"
@@ -12874,8 +13709,16 @@
"description": "瀹㈡埛绫诲瀷ID",
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/request.Contact"
+ },
+ "contact_id": {
+ "description": "鑱旂郴浜篒D",
+ "type": "integer"
},
"country_id": {
"type": "integer"
@@ -13070,6 +13913,14 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
+ "contractName": {
+ "description": "鍚堝悓鍚嶇О",
+ "type": "string"
+ },
"file": {
"type": "string"
},
@@ -13081,6 +13932,10 @@
},
"quotation_id": {
"type": "integer"
+ },
+ "sendTime": {
+ "description": "鍙戣揣鏃堕棿",
+ "type": "string"
},
"status_id": {
"type": "integer"
@@ -13222,6 +14077,9 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"courierCompanyId": {
"description": "鐗╂祦鍏徃",
"type": "integer"
@@ -13245,6 +14103,10 @@
"invoiceTypeId": {
"description": "鍙戠エ绫诲瀷id",
"type": "integer"
+ },
+ "number": {
+ "description": "鍙戠エ缂栧彿",
+ "type": "string"
},
"principalId": {
"description": "閿�鍞礋璐d汉id",
@@ -13328,6 +14190,10 @@
"properties": {
"client_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"end_time": {
"type": "string"
@@ -13445,6 +14311,10 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"conditions": {
"type": "string"
},
@@ -13465,6 +14335,10 @@
"items": {
"$ref": "#/definitions/model.Product"
}
+ },
+ "quotationName": {
+ "description": "鎶ヤ环鍗曞悕绉�",
+ "type": "string"
},
"quotation_status_id": {
"type": "integer"
@@ -13502,9 +14376,23 @@
"description": "璐︽埛id",
"type": "integer"
},
+ "client": {
+ "description": "瀹㈡埛id",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.Client"
+ }
+ ]
+ },
"clientId": {
"description": "瀹㈡埛id",
"type": "integer"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
},
"fileId": {
"description": "闄勪欢id",
@@ -13515,6 +14403,9 @@
},
"moneyType": {
"description": "甯佺",
+ "type": "string"
+ },
+ "number": {
"type": "string"
},
"paymentType": {
@@ -13555,6 +14446,9 @@
"$ref": "#/definitions/constvar.ReceiptSourceType"
}
]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -13564,6 +14458,17 @@
"name"
],
"properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.AddRefundType": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
"name": {
"type": "string"
}
@@ -13640,6 +14545,10 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"competitors": {
"type": "string"
},
@@ -13687,6 +14596,12 @@
},
"process": {
"type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
},
"projected_amount": {
"type": "number"
@@ -13751,17 +14666,31 @@
"request.AddSalesDetails": {
"type": "object",
"properties": {
+ "Member": {
+ "$ref": "#/definitions/model.User"
+ },
"address": {
"type": "string"
},
"addressee": {
"type": "string"
},
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"conditions": {
"type": "string"
+ },
+ "deliverType": {
+ "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣",
+ "type": "integer"
},
"deliveryDate": {
"type": "string"
@@ -13790,6 +14719,12 @@
"$ref": "#/definitions/model.Product"
}
},
+ "projectId": {
+ "type": "string"
+ },
+ "quotationId": {
+ "type": "integer"
+ },
"remark": {
"type": "string"
},
@@ -13802,6 +14737,12 @@
"signTime": {
"type": "string"
},
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "$ref": "#/definitions/constvar.SalesDetailsStatus"
+ },
"wechatOrderStatusId": {
"type": "integer"
}
@@ -13812,6 +14753,10 @@
"properties": {
"city_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"contact_name": {
"description": "鑱旂郴浜哄鍚�",
@@ -13830,6 +14775,10 @@
},
"desc": {
"description": "澶囨敞",
+ "type": "string"
+ },
+ "detail_address": {
+ "description": "璇︾粏鍦板潃",
"type": "string"
},
"member_id": {
@@ -13928,6 +14877,10 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"type": "integer"
},
@@ -13958,6 +14911,12 @@
"salesDetailsId": {
"type": "integer"
},
+ "serviceContractStatusId": {
+ "type": "integer"
+ },
+ "serviceContractTypeId": {
+ "type": "integer"
+ },
"serviceTimes": {
"type": "integer"
},
@@ -13980,10 +14939,10 @@
},
"request.AddServiceContractStatus": {
"type": "object",
- "required": [
- "name"
- ],
"properties": {
+ "id": {
+ "type": "integer"
+ },
"name": {
"type": "string"
}
@@ -14026,8 +14985,16 @@
"description": "瀹㈡埛绫诲瀷ID",
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/request.Contact"
+ },
+ "contact_id": {
+ "description": "鑱旂郴浜篒D",
+ "type": "integer"
},
"country_id": {
"type": "integer"
@@ -14112,6 +15079,10 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"type": "integer"
},
@@ -14173,6 +15144,10 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"description": "鑱旂郴浜篿d",
"type": "integer"
@@ -14197,9 +15172,13 @@
"description": "闂鎻忚堪",
"type": "string"
},
- "productId": {
- "description": "浜у搧id",
- "type": "integer"
+ "productName": {
+ "description": "浜у搧鍚嶇О",
+ "type": "string"
+ },
+ "productTypeName": {
+ "description": "浜у搧鍒嗙被鍚嶇О",
+ "type": "string"
},
"realTime": {
"description": "瀹為檯澶勭悊鏃堕棿",
@@ -14237,7 +15216,7 @@
"description": "鏈嶅姟鏂瑰紡id",
"type": "integer"
},
- "severity": {
+ "severityId": {
"description": "涓ラ噸绋嬪害id",
"type": "integer"
},
@@ -14319,6 +15298,10 @@
"properties": {
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"masterOrderId": {
"type": "integer"
@@ -14428,45 +15411,25 @@
}
}
},
- "request.ChangePasswordReq": {
+ "request.CheckClientName": {
"type": "object",
"properties": {
- "newPassword": {
- "description": "鏂板瘑鐮�",
- "type": "string"
- },
- "password": {
- "description": "瀵嗙爜",
+ "name": {
"type": "string"
}
}
},
- "request.ChangeUserInfo": {
+ "request.CommonIds": {
"type": "object",
+ "required": [
+ "ids"
+ ],
"properties": {
- "email": {
- "description": "鐢ㄦ埛閭",
- "type": "string"
- },
- "headerImg": {
- "description": "鐢ㄦ埛澶村儚",
- "type": "string"
- },
- "id": {
- "description": "鐢ㄦ埛ID",
- "type": "string"
- },
- "nickName": {
- "description": "鐢ㄦ埛鏄电О",
- "type": "string"
- },
- "phone": {
- "description": "鐢ㄦ埛鎵嬫満鍙�",
- "type": "string"
- },
- "pos": {
- "description": "鐢ㄦ埛宀椾綅",
- "type": "string"
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
}
}
},
@@ -14558,6 +15521,17 @@
}
}
},
+ "request.DeleteContract": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
"request.DeleteCountry": {
"type": "object",
"properties": {
@@ -14568,6 +15542,17 @@
}
},
"request.DeleteFollowRecord": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "request.DeleteMasterOrder": {
"type": "object",
"properties": {
"ids": {
@@ -14589,7 +15574,7 @@
}
}
},
- "request.DeleteSalesLeads": {
+ "request.DeleteQuotation": {
"type": "object",
"properties": {
"ids": {
@@ -14600,7 +15585,18 @@
}
}
},
- "request.DeleteServiceContract": {
+ "request.DeleteSaleChance": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "request.DeleteSalesLeads": {
"type": "object",
"properties": {
"ids": {
@@ -14633,12 +15629,14 @@
}
}
},
- "request.DeleteUserReq": {
+ "request.DeleteSubOrder": {
"type": "object",
"properties": {
- "userId": {
- "description": "鐢ㄦ埛ID",
- "type": "string"
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
}
}
},
@@ -14677,6 +15675,9 @@
},
"client_status_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "type": "string"
},
"contact_id": {
"type": "integer"
@@ -14728,7 +15729,7 @@
"type": "integer"
},
"search_map": {
- "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\"}",
+ "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\",\"representative\": \"娉曞畾浠h〃浜篭", \"registration_time\": \"娉ㄥ唽鏃堕棿\", \"business_scope\": \"缁忚惀鑼冨洿\", \"remark\": \"澶囨敞\", \"not_admin\":\"1:鎴戠殑瀹㈡埛; 2:admin瀹㈡埛\"}",
"type": "object",
"additionalProperties": true
}
@@ -14737,6 +15738,10 @@
"request.GetContactList": {
"type": "object",
"properties": {
+ "clientId": {
+ "description": "瀹㈡埛id",
+ "type": "integer"
+ },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -14746,7 +15751,7 @@
"type": "integer"
},
"search_map": {
- "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\", \"is_first\": \"鏄惁鏄瑕佽仈绯讳汉\"}",
+ "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\", \"is_first\": \"鏄惁鏄瑕佽仈绯讳汉\", \"client_id\": \"clientId 鐢ㄤ簬杩斿洖棣栬鑱旂郴浜篭"}",
"type": "object",
"additionalProperties": true
}
@@ -14755,6 +15760,9 @@
"request.GetContractList": {
"type": "object",
"properties": {
+ "keyword": {
+ "type": "string"
+ },
"page": {
"description": "椤电爜",
"type": "integer"
@@ -14804,9 +15812,39 @@
"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
+ }
+ }
+ },
+ "request.GetInvoiceList": {
+ "type": "object",
+ "properties": {
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ },
+ "principalIds": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "sourceId": {
+ "type": "integer"
+ },
+ "sourceType": {
+ "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.InvoiceSourceType"
+ }
+ ]
}
}
},
@@ -14871,7 +15909,7 @@
"description": "姣忛〉澶у皬",
"type": "integer"
},
- "searchMap": {
+ "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
@@ -14899,11 +15937,19 @@
"request.GetSalesDetailsList": {
"type": "object",
"properties": {
+ "clientId": {
+ "description": "瀹㈡埛id",
+ "type": "integer"
+ },
"keyword": {
"type": "string"
},
"keywordType": {
"$ref": "#/definitions/constvar.SalesDetailsKeywordType"
+ },
+ "number": {
+ "description": "閿�鍞槑缁嗗崟鍙�",
+ "type": "string"
},
"page": {
"description": "椤电爜",
@@ -14911,6 +15957,10 @@
},
"pageSize": {
"description": "姣忛〉澶у皬",
+ "type": "integer"
+ },
+ "saleChanceId": {
+ "description": "閿�鍞満浼歩d",
"type": "integer"
}
}
@@ -14949,14 +15999,24 @@
"pageSize": {
"description": "姣忛〉澶у皬",
"type": "integer"
+ },
+ "sourceId": {
+ "type": "integer"
}
}
},
"request.GetSalesReturnList": {
"type": "object",
"properties": {
+ "clientId": {
+ "description": "瀹㈡埛id",
+ "type": "integer"
+ },
"keyword": {
"type": "string"
+ },
+ "keywordType": {
+ "$ref": "#/definitions/constvar.SalesReturnKeywordType"
},
"page": {
"description": "椤电爜",
@@ -14965,12 +16025,43 @@
"pageSize": {
"description": "姣忛〉澶у皬",
"type": "integer"
+ },
+ "sourceId": {
+ "description": "婧愬崟id",
+ "type": "integer"
+ },
+ "sourceType": {
+ "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁嗭級",
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.SalesReturnSourceType"
+ }
+ ]
+ }
+ }
+ },
+ "request.GetServiceCollectionPlanList": {
+ "type": "object",
+ "required": [
+ "sourceId",
+ "sourceType"
+ ],
+ "properties": {
+ "sourceId": {
+ "type": "integer"
+ },
+ "sourceType": {
+ "$ref": "#/definitions/constvar.CollectionSourceType"
}
}
},
"request.GetServiceContractList": {
"type": "object",
"properties": {
+ "contactId": {
+ "description": "鑱旂郴浜篿d",
+ "type": "integer"
+ },
"keyword": {
"type": "string"
},
@@ -14987,6 +16078,18 @@
},
"queryClass": {
"$ref": "#/definitions/constvar.ServiceContractQueryClass"
+ },
+ "quotationId": {
+ "description": "鎶ヤ环鍗昳d",
+ "type": "integer"
+ },
+ "saleChanceId": {
+ "description": "閿�鍞満浼歩d",
+ "type": "integer"
+ },
+ "salesDetailsId": {
+ "description": "鍚堝悓璁㈠崟id",
+ "type": "integer"
}
}
},
@@ -15081,44 +16184,6 @@
}
}
},
- "request.GetUserList": {
- "type": "object",
- "properties": {
- "keyword": {
- "description": "妯$硦鏌ヨ鍏抽敭瀛�",
- "type": "string"
- },
- "page": {
- "description": "椤电爜",
- "type": "integer"
- },
- "pageSize": {
- "description": "姣忛〉澶у皬",
- "type": "integer"
- }
- }
- },
- "request.Login": {
- "type": "object",
- "properties": {
- "captcha": {
- "description": "楠岃瘉鐮�",
- "type": "string"
- },
- "captchaId": {
- "description": "楠岃瘉鐮両D",
- "type": "string"
- },
- "password": {
- "description": "瀵嗙爜",
- "type": "string"
- },
- "username": {
- "description": "鐢ㄦ埛鍚�",
- "type": "string"
- }
- }
- },
"request.Plan": {
"type": "object",
"properties": {
@@ -15185,66 +16250,34 @@
}
}
},
- "request.Register": {
- "type": "object",
- "properties": {
- "authorityId": {
- "description": "鐢ㄦ埛瑙掕壊ID",
- "type": "integer"
- },
- "departmentId": {
- "type": "integer"
- },
- "email": {
- "type": "string"
- },
- "headerImg": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nickName": {
- "type": "string"
- },
- "password": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "pos": {
- "type": "string"
- },
- "rePassword": {
- "description": "纭瀵嗙爜",
- "type": "string"
- },
- "realName": {
- "type": "string"
- },
- "userType": {
- "$ref": "#/definitions/constvar.UserType"
- },
- "username": {
- "type": "string"
- }
- }
- },
"request.SalesDetails": {
"type": "object",
"properties": {
+ "Member": {
+ "$ref": "#/definitions/model.User"
+ },
"address": {
"type": "string"
},
"addressee": {
"type": "string"
},
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"conditions": {
"type": "string"
+ },
+ "deliverType": {
+ "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣",
+ "type": "integer"
},
"deliveryDate": {
"type": "string"
@@ -15273,6 +16306,12 @@
"$ref": "#/definitions/model.Product"
}
},
+ "projectId": {
+ "type": "string"
+ },
+ "quotationId": {
+ "type": "integer"
+ },
"remark": {
"type": "string"
},
@@ -15285,6 +16324,12 @@
"signTime": {
"type": "string"
},
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "$ref": "#/definitions/constvar.SalesDetailsStatus"
+ },
"wechatOrderStatusId": {
"type": "integer"
}
@@ -15292,6 +16337,10 @@
},
"request.SalesRefund": {
"type": "object",
+ "required": [
+ "sourceId",
+ "sourceType"
+ ],
"properties": {
"bankAccountId": {
"description": "璐︽埛id",
@@ -15300,8 +16349,12 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"isInvoice": {
- "type": "integer"
+ "type": "string"
},
"memberId": {
"type": "integer"
@@ -15330,7 +16383,7 @@
"type": "integer"
},
"sourceType": {
- "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+ "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��娆惧崟锛�",
"allOf": [
{
"$ref": "#/definitions/constvar.RefundSourceType"
@@ -15344,6 +16397,10 @@
"properties": {
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"memberId": {
"type": "integer"
@@ -15384,6 +16441,17 @@
"$ref": "#/definitions/constvar.SalesReturnSourceType"
}
]
+ }
+ }
+ },
+ "request.SaveSystemSet": {
+ "type": "object",
+ "properties": {
+ "sets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SystemSet"
+ }
}
}
},
@@ -15540,8 +16608,16 @@
"description": "瀹㈡埛绫诲瀷ID",
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/request.Contact"
+ },
+ "contact_id": {
+ "description": "鑱旂郴浜篒D",
+ "type": "integer"
},
"country_id": {
"type": "integer"
@@ -15821,6 +16897,14 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
+ "contractName": {
+ "description": "鍚堝悓鍚嶇О",
+ "type": "string"
+ },
"file": {
"type": "string"
},
@@ -15835,6 +16919,10 @@
},
"quotation_id": {
"type": "integer"
+ },
+ "sendTime": {
+ "description": "鍙戣揣鏃堕棿",
+ "type": "string"
},
"status_id": {
"type": "integer"
@@ -16073,6 +17161,9 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "type": "string"
+ },
"courierCompanyId": {
"description": "鐗╂祦鍏徃",
"type": "integer"
@@ -16099,6 +17190,10 @@
"invoiceTypeId": {
"description": "鍙戠エ绫诲瀷id",
"type": "integer"
+ },
+ "number": {
+ "description": "鍙戠エ缂栧彿",
+ "type": "string"
},
"principalId": {
"description": "閿�鍞礋璐d汉id",
@@ -16214,6 +17309,10 @@
"properties": {
"client_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"end_time": {
"type": "string"
@@ -16392,6 +17491,10 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"conditions": {
"type": "string"
},
@@ -16415,6 +17518,10 @@
"items": {
"$ref": "#/definitions/model.Product"
}
+ },
+ "quotationName": {
+ "description": "鎶ヤ环鍗曞悕绉�",
+ "type": "string"
},
"quotation_status_id": {
"type": "integer"
@@ -16470,9 +17577,23 @@
"description": "璐︽埛id",
"type": "integer"
},
+ "client": {
+ "description": "瀹㈡埛id",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.Client"
+ }
+ ]
+ },
"clientId": {
"description": "瀹㈡埛id",
"type": "integer"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
+ "type": "string"
},
"fileId": {
"description": "闄勪欢id",
@@ -16483,6 +17604,9 @@
},
"moneyType": {
"description": "甯佺",
+ "type": "string"
+ },
+ "number": {
"type": "string"
},
"paymentType": {
@@ -16523,6 +17647,9 @@
"$ref": "#/definitions/constvar.ReceiptSourceType"
}
]
+ },
+ "updateTime": {
+ "type": "string"
}
}
},
@@ -16552,6 +17679,17 @@
"items": {
"$ref": "#/definitions/request.UpdateRefundMethod"
}
+ }
+ }
+ },
+ "request.UpdateRefundType": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
}
}
},
@@ -16714,6 +17852,10 @@
"client_id": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"competitors": {
"type": "string"
},
@@ -16764,6 +17906,12 @@
},
"process": {
"type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
},
"projected_amount": {
"type": "number"
@@ -16872,11 +18020,26 @@
}
}
},
+ "request.UpdateSalesDetailsStatus": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "status": {
+ "$ref": "#/definitions/constvar.SalesDetailsStatus"
+ }
+ }
+ },
"request.UpdateSalesLeads": {
"type": "object",
"properties": {
"city_id": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"contact_name": {
"description": "鑱旂郴浜哄鍚�",
@@ -16895,6 +18058,10 @@
},
"desc": {
"description": "澶囨敞",
+ "type": "string"
+ },
+ "detail_address": {
+ "description": "璇︾粏鍦板潃",
"type": "string"
},
"id": {
@@ -17072,6 +18239,14 @@
"description": "姣斾緥",
"type": "number"
},
+ "principal": {
+ "description": "鏀舵璐熻矗浜篒D",
+ "allOf": [
+ {
+ "$ref": "#/definitions/model.User"
+ }
+ ]
+ },
"principalId": {
"description": "鏀舵璐熻矗浜篒D",
"type": "integer"
@@ -17115,6 +18290,10 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"type": "integer"
},
@@ -17148,6 +18327,12 @@
"salesDetailsId": {
"type": "integer"
},
+ "serviceContractStatusId": {
+ "type": "integer"
+ },
+ "serviceContractTypeId": {
+ "type": "integer"
+ },
"serviceTimes": {
"type": "integer"
},
@@ -17170,30 +18355,12 @@
},
"request.UpdateServiceContractStatus": {
"type": "object",
- "required": [
- "id",
- "name"
- ],
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
- }
- }
- },
- "request.UpdateServiceContractStatuss": {
- "type": "object",
- "required": [
- "service_contract_status"
- ],
- "properties": {
- "service_contract_status": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/request.UpdateServiceContractStatus"
- }
}
}
},
@@ -17252,8 +18419,16 @@
"description": "瀹㈡埛绫诲瀷ID",
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contact": {
"$ref": "#/definitions/request.Contact"
+ },
+ "contact_id": {
+ "description": "鑱旂郴浜篒D",
+ "type": "integer"
},
"country_id": {
"type": "integer"
@@ -17339,6 +18514,10 @@
"clientId": {
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"type": "integer"
},
@@ -17403,6 +18582,10 @@
"description": "瀹㈡埛id",
"type": "integer"
},
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
+ },
"contactId": {
"description": "鑱旂郴浜篿d",
"type": "integer"
@@ -17430,9 +18613,13 @@
"description": "闂鎻忚堪",
"type": "string"
},
- "productId": {
- "description": "浜у搧id",
- "type": "integer"
+ "productName": {
+ "description": "浜у搧鍚嶇О",
+ "type": "string"
+ },
+ "productTypeName": {
+ "description": "浜у搧鍒嗙被鍚嶇О",
+ "type": "string"
},
"realTime": {
"description": "瀹為檯澶勭悊鏃堕棿",
@@ -17470,7 +18657,7 @@
"description": "鏈嶅姟鏂瑰紡id",
"type": "integer"
},
- "severity": {
+ "severityId": {
"description": "涓ラ噸绋嬪害id",
"type": "integer"
},
@@ -17588,6 +18775,10 @@
"properties": {
"clientId": {
"type": "integer"
+ },
+ "codeStandID": {
+ "description": "缂栫爜id",
+ "type": "string"
},
"id": {
"type": "integer"
@@ -17751,6 +18942,17 @@
"type": "array",
"items": {
"$ref": "#/definitions/model.ClientType"
+ }
+ }
+ }
+ },
+ "response.ContactInformationResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ContactInformation"
}
}
}
@@ -18113,6 +19315,23 @@
}
}
},
+ "response.Info": {
+ "type": "object",
+ "properties": {
+ "makeInfo": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/response.WorkOrderInfo"
+ }
+ },
+ "purchaseInfo": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/response.Purchase"
+ }
+ }
+ }
+ },
"response.IsInvoiceResponse": {
"type": "object",
"properties": {
@@ -18214,21 +19433,6 @@
}
}
},
- "response.PageResult": {
- "type": "object",
- "properties": {
- "list": {},
- "page": {
- "type": "integer"
- },
- "pageSize": {
- "type": "integer"
- },
- "total": {
- "type": "integer"
- }
- }
- },
"response.PlanResponse": {
"type": "object",
"properties": {
@@ -18262,6 +19466,26 @@
"items": {
"$ref": "#/definitions/model.Province"
}
+ }
+ }
+ },
+ "response.Purchase": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "integer"
+ },
+ "purchaseName": {
+ "type": "string"
+ },
+ "purchaseNumber": {
+ "type": "string"
+ },
+ "status": {
+ "type": "integer"
+ },
+ "supplierName": {
+ "type": "string"
}
}
},
@@ -18342,6 +19566,18 @@
"items": {
"$ref": "#/definitions/model.Repository"
}
+ }
+ }
+ },
+ "response.Response": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "data": {},
+ "msg": {
+ "type": "string"
}
}
},
@@ -18470,17 +19706,6 @@
}
}
},
- "response.ServiceContractStatusResponse": {
- "type": "object",
- "properties": {
- "list": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/model.ServiceContractStatus"
- }
- }
- }
- },
"response.ServiceContractTypeResponse": {
"type": "object",
"properties": {
@@ -18570,11 +19795,29 @@
}
}
},
- "response.UserResponse": {
+ "response.WorkOrderInfo": {
"type": "object",
"properties": {
- "user": {
- "$ref": "#/definitions/model.User"
+ "endTime": {
+ "type": "string"
+ },
+ "orderId": {
+ "type": "string"
+ },
+ "orderStatus": {
+ "type": "string"
+ },
+ "productName": {
+ "type": "string"
+ },
+ "startTime": {
+ "type": "string"
+ },
+ "workOrderId": {
+ "type": "string"
+ },
+ "workOrderStatus": {
+ "type": "string"
}
}
}
--
Gitblit v1.8.0