From 5fa1de02759b9646e8987312736699755990e960 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 13 十月 2023 15:30:22 +0800
Subject: [PATCH] bug修改

---
 docs/docs.go |  738 +++++++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 623 insertions(+), 115 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index e7b3a29..795c9c9 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1272,6 +1272,54 @@
                 }
             }
         },
+        "/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": [
@@ -3312,7 +3360,7 @@
             }
         },
         "/api/invoice/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
@@ -3322,43 +3370,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": {
@@ -5520,19 +5538,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"
                     },
                     {
@@ -5548,14 +5556,35 @@
                         "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"
                     }
                 ],
@@ -6779,7 +6808,19 @@
                     "200": {
                         "description": "OK",
                         "schema": {
-                            "$ref": "#/definitions/contextx.Response"
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/request.AddSalesDetails"
+                                        }
+                                    }
+                                }
+                            ]
                         }
                     }
                 }
@@ -7813,7 +7854,7 @@
             }
         },
         "/api/serviceCollectionPlan/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
@@ -7823,10 +7864,13 @@
                 "summary": "鑾峰彇鏀舵璁″垝鍒楄〃",
                 "parameters": [
                     {
-                        "type": "integer",
-                        "description": "鏈嶅姟鍚堝悓id",
-                        "name": "serviceContractId",
-                        "in": "query"
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetServiceCollectionPlanList"
+                        }
                     }
                 ],
                 "responses": {
@@ -10209,6 +10253,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": [
@@ -10296,24 +10403,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": [
@@ -10379,24 +10468,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": [
@@ -10406,6 +10477,13 @@
                 4,
                 5
             ],
+            "x-enum-comments": {
+                "ReceiptSourceTypeChuKuDan": "鍑哄簱鍗昳t",
+                "ReceiptSourceTypeCollectionPlan": "鏀舵璁″垝",
+                "ReceiptSourceTypeInvoice": "閿�鍞彂绁�",
+                "ReceiptSourceTypeSalesDetails": "閿�鍞槑缁嗗崟",
+                "ReceiptSourceTypeServiceContract": "鏈嶅姟鍚堝悓"
+            },
             "x-enum-varnames": [
                 "ReceiptSourceTypeSalesDetails",
                 "ReceiptSourceTypeServiceContract",
@@ -10813,10 +10891,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"
                 },
@@ -10850,6 +10924,9 @@
                 "client_type_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contacts": {
                     "type": "array",
                     "items": {
@@ -10862,8 +10939,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": {
@@ -10891,7 +10970,6 @@
                     }
                 },
                 "id": {
-                    "description": "The ID of the item\nexample: 1",
                     "type": "integer"
                 },
                 "industry": {
@@ -10948,8 +11026,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"
                 }
             }
@@ -11001,10 +11078,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"
@@ -11048,6 +11121,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "country": {
                     "$ref": "#/definitions/model.Country"
@@ -11119,6 +11195,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "country": {
                     "$ref": "#/definitions/model.Country"
@@ -11193,15 +11272,17 @@
         "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",
@@ -11349,6 +11430,9 @@
                 },
                 "client_status_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
@@ -11547,6 +11631,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "end_time": {
                     "type": "string"
@@ -11773,6 +11860,9 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -11857,6 +11947,12 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "createTime": {
+                    "type": "string"
+                },
+                "creatorName": {
+                    "type": "string"
+                },
                 "fileId": {
                     "description": "闄勪欢id",
                     "type": "integer"
@@ -11866,6 +11962,9 @@
                 },
                 "moneyType": {
                     "description": "甯佺",
+                    "type": "string"
+                },
+                "number": {
                     "type": "string"
                 },
                 "paymentType": {
@@ -11906,6 +12005,9 @@
                             "$ref": "#/definitions/constvar.ReceiptSourceType"
                         }
                     ]
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -11998,6 +12100,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "collection_projections": {
                     "type": "array",
@@ -12184,6 +12289,9 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -12261,6 +12369,9 @@
                 "city_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact_name": {
                     "type": "string"
                 },
@@ -12277,6 +12388,9 @@
                     "type": "integer"
                 },
                 "desc": {
+                    "type": "string"
+                },
+                "detail_address": {
                     "type": "string"
                 },
                 "followRecord": {
@@ -12329,6 +12443,9 @@
         "model.SalesRefund": {
             "type": "object",
             "properties": {
+                "Source": {
+                    "$ref": "#/definitions/model.SalesReturn"
+                },
                 "amountTotal": {
                     "description": "浠风◣鍚堣",
                     "type": "number"
@@ -12345,6 +12462,9 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "createTime": {
                     "type": "string"
@@ -12431,6 +12551,9 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "createTime": {
                     "type": "string"
                 },
@@ -12467,6 +12590,9 @@
                 "salesReturnStatusId": {
                     "description": "閫�璐х姸鎬乮d",
                     "type": "integer"
+                },
+                "source": {
+                    "$ref": "#/definitions/model.SalesDetails"
                 },
                 "sourceId": {
                     "description": "婧愬崟id",
@@ -12560,6 +12686,14 @@
                     "description": "姣斾緥",
                     "type": "number"
                 },
+                "principal": {
+                    "description": "鏀舵璐熻矗浜篒D",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.User"
+                        }
+                    ]
+                },
                 "principalId": {
                     "description": "鏀舵璐熻矗浜篒D",
                     "type": "integer"
@@ -12625,6 +12759,9 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
@@ -12766,6 +12903,9 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
                 },
@@ -12863,6 +13003,9 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
                 },
@@ -12896,6 +13039,9 @@
                 },
                 "id": {
                     "type": "integer"
+                },
+                "number": {
+                    "type": "string"
                 },
                 "priorityLevel": {
                     "$ref": "#/definitions/model.PriorityLevel"
@@ -13066,6 +13212,9 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "id": {
                     "type": "integer"
                 },
@@ -13192,11 +13341,19 @@
                     "description": "鐗╂枡绫诲瀷",
                     "type": "string"
                 },
+                "MaxInventory": {
+                    "description": "鏈�澶у簱瀛�",
+                    "type": "integer"
+                },
                 "MinInventory": {
                     "description": "瀹夊叏搴撳瓨",
                     "type": "integer"
                 },
                 "Name": {
+                    "type": "string"
+                },
+                "Node": {
+                    "description": "澶囨敞",
                     "type": "string"
                 },
                 "Number": {
@@ -13209,6 +13366,14 @@
                 "SalePrice": {
                     "description": "閿�鍞环鏍�",
                     "type": "number"
+                },
+                "Specs": {
+                    "description": "瑙勬牸",
+                    "type": "string"
+                },
+                "Type": {
+                    "description": "鍨嬪彿",
+                    "type": "string"
                 },
                 "Unit": {
                     "type": "string"
@@ -13288,6 +13453,13 @@
                 "client_type_id": {
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
@@ -13433,6 +13605,13 @@
                     "description": "鎵�灞炲叕鍙窱D",
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "country_id": {
                     "description": "鍥藉ID",
                     "type": "integer"
@@ -13488,6 +13667,17 @@
             "properties": {
                 "client_id": {
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
+                "contractName": {
+                    "description": "鍚堝悓鍚嶇О",
+                    "type": "string"
                 },
                 "file": {
                     "type": "string"
@@ -13748,6 +13938,13 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "end_time": {
                     "type": "string"
                 },
@@ -13864,6 +14061,13 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -13933,6 +14137,12 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "createTime": {
+                    "type": "string"
+                },
+                "creatorName": {
+                    "type": "string"
+                },
                 "fileId": {
                     "description": "闄勪欢id",
                     "type": "integer"
@@ -13942,6 +14152,9 @@
                 },
                 "moneyType": {
                     "description": "甯佺",
+                    "type": "string"
+                },
+                "number": {
                     "type": "string"
                 },
                 "paymentType": {
@@ -13982,6 +14195,9 @@
                             "$ref": "#/definitions/constvar.ReceiptSourceType"
                         }
                     ]
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -14066,6 +14282,13 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "competitors": {
                     "type": "string"
@@ -14187,6 +14410,13 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -14240,6 +14470,13 @@
                 "city_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact_name": {
                     "description": "鑱旂郴浜哄鍚�",
                     "type": "string"
@@ -14257,6 +14494,10 @@
                 },
                 "desc": {
                     "description": "澶囨敞",
+                    "type": "string"
+                },
+                "detail_address": {
+                    "description": "璇︾粏鍦板潃",
                     "type": "string"
                 },
                 "member_id": {
@@ -14354,6 +14595,13 @@
             "properties": {
                 "clientId": {
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contactId": {
                     "type": "integer"
@@ -14459,6 +14707,13 @@
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
                 },
@@ -14549,6 +14804,13 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -14609,6 +14871,13 @@
                 "clientId": {
                     "description": "瀹㈡埛id",
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contactId": {
                     "description": "鑱旂郴浜篿d",
@@ -14760,6 +15029,13 @@
             "properties": {
                 "clientId": {
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "masterOrderId": {
                     "type": "integer"
@@ -14948,6 +15224,13 @@
                 "client_id": {
                     "description": "鎵�灞炲叕鍙窱D",
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "country_id": {
                     "description": "鍥藉ID",
@@ -15185,6 +15468,12 @@
                 "client_status_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact_id": {
                     "type": "integer"
                 },
@@ -15235,7 +15524,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
                 }
@@ -15244,6 +15533,10 @@
         "request.GetContactList": {
             "type": "object",
             "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -15314,6 +15607,30 @@
                     "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"
+                },
+                "sourceId": {
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.InvoiceSourceType"
+                        }
+                    ]
                 }
             }
         },
@@ -15406,6 +15723,10 @@
         "request.GetSalesDetailsList": {
             "type": "object",
             "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
                 "keyword": {
                     "type": "string"
                 },
@@ -15418,6 +15739,10 @@
                 },
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                },
+                "saleChanceId": {
+                    "description": "閿�鍞満浼歩d",
                     "type": "integer"
                 }
             }
@@ -15456,12 +15781,19 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "sourceId": {
+                    "type": "integer"
                 }
             }
         },
         "request.GetSalesReturnList": {
             "type": "object",
             "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
                 "keyword": {
                     "type": "string"
                 },
@@ -15475,12 +15807,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"
                 },
@@ -15497,6 +15860,18 @@
                 },
                 "queryClass": {
                     "$ref": "#/definitions/constvar.ServiceContractQueryClass"
+                },
+                "quotationId": {
+                    "description": "鎶ヤ环鍗昳d",
+                    "type": "integer"
+                },
+                "saleChanceId": {
+                    "description": "閿�鍞満浼歩d",
+                    "type": "integer"
+                },
+                "salesDetailsId": {
+                    "description": "鍚堝悓璁㈠崟id",
+                    "type": "integer"
                 }
             }
         },
@@ -15753,6 +16128,13 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -15814,6 +16196,13 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "isInvoice": {
                     "type": "string"
                 },
@@ -15858,6 +16247,13 @@
             "properties": {
                 "clientId": {
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "memberId": {
                     "type": "integer"
@@ -16053,6 +16449,13 @@
                 "client_type_id": {
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
@@ -16280,6 +16683,13 @@
                     "description": "鎵�灞炲叕鍙窱D",
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "country_id": {
                     "description": "鍥藉ID",
                     "type": "integer"
@@ -16338,6 +16748,17 @@
             "properties": {
                 "client_id": {
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
+                "contractName": {
+                    "description": "鍚堝悓鍚嶇О",
+                    "type": "string"
                 },
                 "file": {
                     "type": "string"
@@ -16733,6 +17154,13 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "end_time": {
                     "type": "string"
                 },
@@ -16910,6 +17338,13 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -17000,6 +17435,12 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "createTime": {
+                    "type": "string"
+                },
+                "creatorName": {
+                    "type": "string"
+                },
                 "fileId": {
                     "description": "闄勪欢id",
                     "type": "integer"
@@ -17009,6 +17450,9 @@
                 },
                 "moneyType": {
                     "description": "甯佺",
+                    "type": "string"
+                },
+                "number": {
                     "type": "string"
                 },
                 "paymentType": {
@@ -17049,6 +17493,9 @@
                             "$ref": "#/definitions/constvar.ReceiptSourceType"
                         }
                     ]
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -17240,6 +17687,13 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "competitors": {
                     "type": "string"
                 },
@@ -17404,6 +17858,13 @@
                 "city_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact_name": {
                     "description": "鑱旂郴浜哄鍚�",
                     "type": "string"
@@ -17421,6 +17882,10 @@
                 },
                 "desc": {
                     "description": "澶囨敞",
+                    "type": "string"
+                },
+                "detail_address": {
+                    "description": "璇︾粏鍦板潃",
                     "type": "string"
                 },
                 "id": {
@@ -17598,6 +18063,14 @@
                     "description": "姣斾緥",
                     "type": "number"
                 },
+                "principal": {
+                    "description": "鏀舵璐熻矗浜篒D",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.User"
+                        }
+                    ]
+                },
                 "principalId": {
                     "description": "鏀舵璐熻矗浜篒D",
                     "type": "integer"
@@ -17640,6 +18113,13 @@
             "properties": {
                 "clientId": {
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contactId": {
                     "type": "integer"
@@ -17766,6 +18246,13 @@
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
                 },
@@ -17857,6 +18344,13 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -17920,6 +18414,13 @@
                 "clientId": {
                     "description": "瀹㈡埛id",
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contactId": {
                     "description": "鑱旂郴浜篿d",
@@ -18111,6 +18612,13 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "id": {
                     "type": "integer"
                 },

--
Gitblit v1.8.0