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 | 1262 ++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 1,061 insertions(+), 201 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 6282947..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": [
@@ -1586,7 +1634,7 @@
                 }
             }
         },
-        "/api/contract/delete/{id}": {
+        "/api/contract/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -1597,11 +1645,13 @@
                 "summary": "鍒犻櫎鍚堝悓",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteContract"
+                        }
                     }
                 ],
                 "responses": {
@@ -3310,7 +3360,7 @@
             }
         },
         "/api/invoice/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
@@ -3320,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": {
@@ -4008,7 +4028,7 @@
                 }
             }
         },
-        "/api/masterOrder/delete/{id}": {
+        "/api/masterOrder/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -4019,11 +4039,13 @@
                 "summary": "鍒犻櫎涓昏鍗�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteMasterOrder"
+                        }
                     }
                 ],
                 "responses": {
@@ -5226,7 +5248,7 @@
                 }
             }
         },
-        "/api/quotation/delete/{id}": {
+        "/api/quotation/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -5237,11 +5259,13 @@
                 "summary": "鍒犻櫎鎶ヤ环鍗�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteQuotation"
+                        }
                     }
                 ],
                 "responses": {
@@ -5514,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"
                     },
                     {
@@ -5542,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"
                     }
                 ],
@@ -6379,7 +6414,7 @@
                 }
             }
         },
-        "/api/saleChance/delete/{id}": {
+        "/api/saleChance/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -6390,11 +6425,13 @@
                 "summary": "鍒犻櫎閿�鍞満浼�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteSaleChance"
+                        }
                     }
                 ],
                 "responses": {
@@ -6771,6 +6808,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"
                         }
                     }
@@ -7045,7 +7124,7 @@
                     "application/json"
                 ],
                 "tags": [
-                    "SalesRefund"
+                    "閿�鍞��娆惧崟"
                 ],
                 "summary": "娣诲姞閿�鍞��娆�",
                 "parameters": [
@@ -7069,13 +7148,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": [
@@ -7103,7 +7212,7 @@
                     "application/json"
                 ],
                 "tags": [
-                    "SalesRefund"
+                    "閿�鍞��娆惧崟"
                 ],
                 "summary": "閿�鍞��娆惧崟鍒楄〃",
                 "parameters": [
@@ -7145,7 +7254,7 @@
                     "application/json"
                 ],
                 "tags": [
-                    "SalesRefund"
+                    "閿�鍞��娆惧崟"
                 ],
                 "summary": "鏇存柊閿�鍞��娆�",
                 "parameters": [
@@ -7175,7 +7284,7 @@
                     "application/json"
                 ],
                 "tags": [
-                    "SalesReturn"
+                    "閿�鍞��璐у崟"
                 ],
                 "summary": "娣诲姞閿�鍞��璐�",
                 "parameters": [
@@ -7199,13 +7308,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": [
@@ -7233,7 +7372,7 @@
                     "application/json"
                 ],
                 "tags": [
-                    "SalesReturn"
+                    "閿�鍞��璐у崟"
                 ],
                 "summary": "閿�鍞��璐у崟鍒楄〃",
                 "parameters": [
@@ -7275,7 +7414,7 @@
                     "application/json"
                 ],
                 "tags": [
-                    "SalesReturn"
+                    "閿�鍞��璐у崟"
                 ],
                 "summary": "鏇存柊閿�鍞��璐�",
                 "parameters": [
@@ -7715,7 +7854,7 @@
             }
         },
         "/api/serviceCollectionPlan/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
@@ -7725,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": {
@@ -7824,15 +7966,15 @@
                 "tags": [
                     "ServiceContract"
                 ],
-                "summary": "鍒犻櫎鏈嶅姟鍚堝悓",
+                "summary": "鎵归噺鍒犻櫎鏈嶅姟鍚堝悓",
                 "parameters": [
                     {
-                        "description": "鏌ヨ鍙傛暟",
+                        "description": "鍙傛暟",
                         "name": "object",
                         "in": "body",
                         "required": true,
                         "schema": {
-                            "$ref": "#/definitions/request.DeleteServiceContract"
+                            "$ref": "#/definitions/request.CommonIds"
                         }
                     }
                 ],
@@ -7924,9 +8066,9 @@
                     "application/json"
                 ],
                 "tags": [
-                    "ServiceContractStatus"
+                    "鍚堝悓鐘舵��"
                 ],
-                "summary": "娣诲姞鏈嶅姟鍚堝悓鐘舵��",
+                "summary": "娣诲姞鍚堝悓鐘舵��",
                 "parameters": [
                     {
                         "description": "鏌ヨ鍙傛暟",
@@ -7954,9 +8096,9 @@
                     "application/json"
                 ],
                 "tags": [
-                    "ServiceContractStatus"
+                    "鍚堝悓鐘舵��"
                 ],
-                "summary": "鍒犻櫎鏈嶅姟鍚堝悓鐘舵��",
+                "summary": "鍒犻櫎鍚堝悓鐘舵��",
                 "parameters": [
                     {
                         "type": "integer",
@@ -7982,22 +8124,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"
+                                            }
                                         }
                                     }
                                 }
@@ -8013,9 +8199,9 @@
                     "application/json"
                 ],
                 "tags": [
-                    "ServiceContractStatus"
+                    "鍚堝悓鐘舵��"
                 ],
-                "summary": "鏇存柊鏈嶅姟鍚堝悓鐘舵��",
+                "summary": "鏇存柊鍚堝悓鐘舵��",
                 "parameters": [
                     {
                         "description": "鏌ヨ鍙傛暟",
@@ -8023,7 +8209,7 @@
                         "in": "body",
                         "required": true,
                         "schema": {
-                            "$ref": "#/definitions/request.UpdateServiceContractStatuss"
+                            "$ref": "#/definitions/request.UpdateServiceContractStatus"
                         }
                     }
                 ],
@@ -8437,6 +8623,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"
                         }
                     }
                 ],
@@ -9216,7 +9432,7 @@
                 }
             }
         },
-        "/api/subOrder/delete/{id}": {
+        "/api/subOrder/delete": {
             "delete": {
                 "produces": [
                     "application/json"
@@ -9227,11 +9443,13 @@
                 "summary": "鍒犻櫎瀛愯鍗�",
                 "parameters": [
                     {
-                        "type": "integer",
                         "description": "鏌ヨ鍙傛暟",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeleteSubOrder"
+                        }
                     }
                 ],
                 "responses": {
@@ -10035,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": [
@@ -10122,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": [
@@ -10205,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": [
@@ -10232,6 +10477,13 @@
                 4,
                 5
             ],
+            "x-enum-comments": {
+                "ReceiptSourceTypeChuKuDan": "鍑哄簱鍗昳t",
+                "ReceiptSourceTypeCollectionPlan": "鏀舵璁″垝",
+                "ReceiptSourceTypeInvoice": "閿�鍞彂绁�",
+                "ReceiptSourceTypeSalesDetails": "閿�鍞槑缁嗗崟",
+                "ReceiptSourceTypeServiceContract": "鏈嶅姟鍚堝悓"
+            },
             "x-enum-varnames": [
                 "ReceiptSourceTypeSalesDetails",
                 "ReceiptSourceTypeServiceContract",
@@ -10393,6 +10645,24 @@
                 "ServiceContractQueryClassExpireAfter60Day",
                 "ServiceContractQueryClassExpiredBefore15Day",
                 "ServiceContractQueryClassExpiredBefore60Day"
+            ]
+        },
+        "constvar.ServiceContractStatusKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "ServiceContractStatusKeywordCustomerName"
+            ]
+        },
+        "constvar.ServiceContractStatusQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "ServiceContractStatusQueryClassExpireLessThen60Days"
             ]
         },
         "constvar.ServiceFeeKeywordType": {
@@ -10654,6 +10924,9 @@
                 "client_type_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contacts": {
                     "type": "array",
                     "items": {
@@ -10664,6 +10937,15 @@
                     "$ref": "#/definitions/model.Country"
                 },
                 "country_id": {
+                    "type": "integer"
+                },
+                "createTime": {
+                    "type": "string"
+                },
+                "creatorName": {
+                    "type": "string"
+                },
+                "creator_id": {
                     "type": "integer"
                 },
                 "detail_address": {
@@ -10743,6 +11025,9 @@
                 },
                 "service_member_id": {
                     "type": "integer"
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -10793,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"
@@ -10840,6 +11121,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "country": {
                     "$ref": "#/definitions/model.Country"
@@ -10911,6 +11195,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "country": {
                     "$ref": "#/definitions/model.Country"
@@ -10985,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",
@@ -11020,6 +11309,9 @@
                 },
                 "quotationId": {
                     "type": "integer"
+                },
+                "serviceContractStatus": {
+                    "$ref": "#/definitions/model.ServiceContractStatus"
                 },
                 "statusId": {
                     "type": "integer"
@@ -11139,11 +11431,17 @@
                 "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"
@@ -11333,6 +11631,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "end_time": {
                     "type": "string"
@@ -11559,6 +11860,9 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -11631,9 +11935,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",
@@ -11644,6 +11962,9 @@
                 },
                 "moneyType": {
                     "description": "甯佺",
+                    "type": "string"
+                },
+                "number": {
                     "type": "string"
                 },
                 "paymentType": {
@@ -11684,6 +12005,9 @@
                             "$ref": "#/definitions/constvar.ReceiptSourceType"
                         }
                     ]
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -11776,6 +12100,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "collection_projections": {
                     "type": "array",
@@ -11962,6 +12289,9 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -12019,6 +12349,9 @@
                 "signTime": {
                     "type": "string"
                 },
+                "updateTime": {
+                    "type": "string"
+                },
                 "wechatOrderStatus": {
                     "$ref": "#/definitions/model.WechatOrderStatus"
                 },
@@ -12036,6 +12369,9 @@
                 "city_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact_name": {
                     "type": "string"
                 },
@@ -12052,6 +12388,9 @@
                     "type": "integer"
                 },
                 "desc": {
+                    "type": "string"
+                },
+                "detail_address": {
                     "type": "string"
                 },
                 "followRecord": {
@@ -12104,6 +12443,9 @@
         "model.SalesRefund": {
             "type": "object",
             "properties": {
+                "Source": {
+                    "$ref": "#/definitions/model.SalesReturn"
+                },
                 "amountTotal": {
                     "description": "浠风◣鍚堣",
                     "type": "number"
@@ -12120,6 +12462,9 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "createTime": {
                     "type": "string"
@@ -12166,12 +12511,15 @@
                     "type": "integer"
                 },
                 "sourceType": {
-                    "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+                    "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��璐э級",
                     "allOf": [
                         {
                             "$ref": "#/definitions/constvar.RefundSourceType"
                         }
                     ]
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -12202,6 +12550,9 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "createTime": {
                     "type": "string"
@@ -12240,6 +12591,9 @@
                     "description": "閫�璐х姸鎬乮d",
                     "type": "integer"
                 },
+                "source": {
+                    "$ref": "#/definitions/model.SalesDetails"
+                },
                 "sourceId": {
                     "description": "婧愬崟id",
                     "type": "integer"
@@ -12251,6 +12605,9 @@
                             "$ref": "#/definitions/constvar.SalesReturnSourceType"
                         }
                     ]
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -12329,6 +12686,14 @@
                     "description": "姣斾緥",
                     "type": "number"
                 },
+                "principal": {
+                    "description": "鏀舵璐熻矗浜篒D",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.User"
+                        }
+                    ]
+                },
                 "principalId": {
                     "description": "鏀舵璐熻矗浜篒D",
                     "type": "integer"
@@ -12395,11 +12760,20 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
                 },
                 "contactId": {
                     "type": "integer"
+                },
+                "createTime": {
+                    "type": "string"
+                },
+                "creatorName": {
+                    "type": "string"
                 },
                 "endTime": {
                     "type": "string"
@@ -12462,6 +12836,9 @@
                     "type": "string"
                 },
                 "terms": {
+                    "type": "string"
+                },
+                "updateTime": {
                     "type": "string"
                 }
             }
@@ -12526,11 +12903,20 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
                 },
                 "contactId": {
                     "type": "integer"
+                },
+                "createTime": {
+                    "type": "string"
+                },
+                "creatorName": {
+                    "type": "string"
                 },
                 "file": {
                     "type": "string"
@@ -12585,6 +12971,9 @@
                 },
                 "timelyRateId": {
                     "type": "integer"
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -12614,12 +13003,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": "甯屾湜澶勭悊鏃堕棿",
@@ -12642,6 +13040,9 @@
                 "id": {
                     "type": "integer"
                 },
+                "number": {
+                    "type": "string"
+                },
                 "priorityLevel": {
                     "$ref": "#/definitions/model.PriorityLevel"
                 },
@@ -12653,12 +13054,13 @@
                     "description": "闂鎻忚堪",
                     "type": "string"
                 },
-                "product": {
-                    "$ref": "#/definitions/model.Product"
+                "productName": {
+                    "description": "浜у搧鍚嶇О",
+                    "type": "string"
                 },
-                "productId": {
-                    "description": "浜у搧id",
-                    "type": "integer"
+                "productTypeName": {
+                    "description": "浜у搧鍒嗙被鍚嶇О",
+                    "type": "string"
                 },
                 "realTime": {
                     "description": "瀹為檯澶勭悊鏃堕棿",
@@ -12688,6 +13090,14 @@
                 "serviceContractId": {
                     "description": "鏈嶅姟鍚堝悓id",
                     "type": "integer"
+                },
+                "serviceMan": {
+                    "description": "鏈嶅姟浜哄憳",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.User"
+                        }
+                    ]
                 },
                 "serviceManId": {
                     "description": "鏈嶅姟浜哄憳",
@@ -12732,6 +13142,9 @@
                 "timeSpentId": {
                     "description": "鑺辫垂鏃堕棿",
                     "type": "integer"
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -12798,6 +13211,9 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "id": {
                     "type": "integer"
@@ -12925,11 +13341,19 @@
                     "description": "鐗╂枡绫诲瀷",
                     "type": "string"
                 },
+                "MaxInventory": {
+                    "description": "鏈�澶у簱瀛�",
+                    "type": "integer"
+                },
                 "MinInventory": {
                     "description": "瀹夊叏搴撳瓨",
                     "type": "integer"
                 },
                 "Name": {
+                    "type": "string"
+                },
+                "Node": {
+                    "description": "澶囨敞",
                     "type": "string"
                 },
                 "Number": {
@@ -12942,6 +13366,14 @@
                 "SalePrice": {
                     "description": "閿�鍞环鏍�",
                     "type": "number"
+                },
+                "Specs": {
+                    "description": "瑙勬牸",
+                    "type": "string"
+                },
+                "Type": {
+                    "description": "鍨嬪彿",
+                    "type": "string"
                 },
                 "Unit": {
                     "type": "string"
@@ -13022,8 +13454,19 @@
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
+                },
+                "contact_id": {
+                    "description": "鑱旂郴浜篒D",
+                    "type": "integer"
                 },
                 "country_id": {
                     "type": "integer"
@@ -13162,6 +13605,13 @@
                     "description": "鎵�灞炲叕鍙窱D",
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "country_id": {
                     "description": "鍥藉ID",
                     "type": "integer"
@@ -13217,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"
@@ -13477,6 +13938,13 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "end_time": {
                     "type": "string"
                 },
@@ -13593,6 +14061,13 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -13650,9 +14125,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",
@@ -13663,6 +14152,9 @@
                 },
                 "moneyType": {
                     "description": "甯佺",
+                    "type": "string"
+                },
+                "number": {
                     "type": "string"
                 },
                 "paymentType": {
@@ -13703,6 +14195,9 @@
                             "$ref": "#/definitions/constvar.ReceiptSourceType"
                         }
                     ]
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -13787,6 +14282,13 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "competitors": {
                     "type": "string"
@@ -13908,6 +14410,13 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -13961,6 +14470,13 @@
                 "city_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact_name": {
                     "description": "鑱旂郴浜哄鍚�",
                     "type": "string"
@@ -13978,6 +14494,10 @@
                 },
                 "desc": {
                     "description": "澶囨敞",
+                    "type": "string"
+                },
+                "detail_address": {
+                    "description": "璇︾粏鍦板潃",
                     "type": "string"
                 },
                 "member_id": {
@@ -14076,6 +14596,13 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -14106,6 +14633,12 @@
                 "salesDetailsId": {
                     "type": "integer"
                 },
+                "serviceContractStatusId": {
+                    "type": "integer"
+                },
+                "serviceContractTypeId": {
+                    "type": "integer"
+                },
                 "serviceTimes": {
                     "type": "integer"
                 },
@@ -14128,10 +14661,10 @@
         },
         "request.AddServiceContractStatus": {
             "type": "object",
-            "required": [
-                "name"
-            ],
             "properties": {
+                "id": {
+                    "type": "integer"
+                },
                 "name": {
                     "type": "string"
                 }
@@ -14174,8 +14707,19 @@
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
+                },
+                "contact_id": {
+                    "description": "鑱旂郴浜篒D",
+                    "type": "integer"
                 },
                 "country_id": {
                     "type": "integer"
@@ -14260,6 +14804,13 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -14321,6 +14872,13 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "description": "鑱旂郴浜篿d",
                     "type": "integer"
@@ -14345,9 +14903,13 @@
                     "description": "闂鎻忚堪",
                     "type": "string"
                 },
-                "productId": {
-                    "description": "浜у搧id",
-                    "type": "integer"
+                "productName": {
+                    "description": "浜у搧鍚嶇О",
+                    "type": "string"
+                },
+                "productTypeName": {
+                    "description": "浜у搧鍒嗙被鍚嶇О",
+                    "type": "string"
                 },
                 "realTime": {
                     "description": "瀹為檯澶勭悊鏃堕棿",
@@ -14467,6 +15029,13 @@
             "properties": {
                 "clientId": {
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "masterOrderId": {
                     "type": "integer"
@@ -14626,6 +15195,20 @@
                 }
             }
         },
+        "request.CommonIds": {
+            "type": "object",
+            "required": [
+                "ids"
+            ],
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
         "request.Contact": {
             "type": "object",
             "properties": {
@@ -14641,6 +15224,13 @@
                 "client_id": {
                     "description": "鎵�灞炲叕鍙窱D",
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "country_id": {
                     "description": "鍥藉ID",
@@ -14714,6 +15304,17 @@
                 }
             }
         },
+        "request.DeleteContract": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
         "request.DeleteCountry": {
             "type": "object",
             "properties": {
@@ -14724,6 +15325,17 @@
             }
         },
         "request.DeleteFollowRecord": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteMasterOrder": {
             "type": "object",
             "properties": {
                 "ids": {
@@ -14745,7 +15357,7 @@
                 }
             }
         },
-        "request.DeleteSalesLeads": {
+        "request.DeleteQuotation": {
             "type": "object",
             "properties": {
                 "ids": {
@@ -14756,7 +15368,18 @@
                 }
             }
         },
-        "request.DeleteServiceContract": {
+        "request.DeleteSaleChance": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteSalesLeads": {
             "type": "object",
             "properties": {
                 "ids": {
@@ -14779,6 +15402,17 @@
             }
         },
         "request.DeleteServiceFollowup": {
+            "type": "object",
+            "properties": {
+                "ids": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                }
+            }
+        },
+        "request.DeleteSubOrder": {
             "type": "object",
             "properties": {
                 "ids": {
@@ -14834,6 +15468,12 @@
                 "client_status_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact_id": {
                     "type": "integer"
                 },
@@ -14884,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
                 }
@@ -14893,6 +15533,10 @@
         "request.GetContactList": {
             "type": "object",
             "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -14902,7 +15546,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
                 }
@@ -14960,9 +15604,33 @@
                     "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"
+                },
+                "sourceId": {
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.InvoiceSourceType"
+                        }
+                    ]
                 }
             }
         },
@@ -15055,6 +15723,10 @@
         "request.GetSalesDetailsList": {
             "type": "object",
             "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
                 "keyword": {
                     "type": "string"
                 },
@@ -15067,6 +15739,10 @@
                 },
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                },
+                "saleChanceId": {
+                    "description": "閿�鍞満浼歩d",
                     "type": "integer"
                 }
             }
@@ -15105,12 +15781,19 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "sourceId": {
+                    "type": "integer"
                 }
             }
         },
         "request.GetSalesReturnList": {
             "type": "object",
             "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
                 "keyword": {
                     "type": "string"
                 },
@@ -15124,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"
                 },
@@ -15146,6 +15860,18 @@
                 },
                 "queryClass": {
                     "$ref": "#/definitions/constvar.ServiceContractQueryClass"
+                },
+                "quotationId": {
+                    "description": "鎶ヤ环鍗昳d",
+                    "type": "integer"
+                },
+                "saleChanceId": {
+                    "description": "閿�鍞満浼歩d",
+                    "type": "integer"
+                },
+                "salesDetailsId": {
+                    "description": "鍚堝悓璁㈠崟id",
+                    "type": "integer"
                 }
             }
         },
@@ -15402,6 +16128,13 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -15451,6 +16184,10 @@
         },
         "request.SalesRefund": {
             "type": "object",
+            "required": [
+                "sourceId",
+                "sourceType"
+            ],
             "properties": {
                 "bankAccountId": {
                     "description": "璐︽埛id",
@@ -15458,6 +16195,13 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "isInvoice": {
                     "type": "string"
@@ -15489,7 +16233,7 @@
                     "type": "integer"
                 },
                 "sourceType": {
-                    "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+                    "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��娆惧崟锛�",
                     "allOf": [
                         {
                             "$ref": "#/definitions/constvar.RefundSourceType"
@@ -15503,6 +16247,13 @@
             "properties": {
                 "clientId": {
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "memberId": {
                     "type": "integer"
@@ -15699,8 +16450,19 @@
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
+                },
+                "contact_id": {
+                    "description": "鑱旂郴浜篒D",
+                    "type": "integer"
                 },
                 "country_id": {
                     "type": "integer"
@@ -15921,6 +16683,13 @@
                     "description": "鎵�灞炲叕鍙窱D",
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "country_id": {
                     "description": "鍥藉ID",
                     "type": "integer"
@@ -15979,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"
@@ -16374,6 +17154,13 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "end_time": {
                     "type": "string"
                 },
@@ -16551,6 +17338,13 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -16629,9 +17423,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",
@@ -16642,6 +17450,9 @@
                 },
                 "moneyType": {
                     "description": "甯佺",
+                    "type": "string"
+                },
+                "number": {
                     "type": "string"
                 },
                 "paymentType": {
@@ -16682,6 +17493,9 @@
                             "$ref": "#/definitions/constvar.ReceiptSourceType"
                         }
                     ]
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -16873,6 +17687,13 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "competitors": {
                     "type": "string"
                 },
@@ -17037,6 +17858,13 @@
                 "city_id": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact_name": {
                     "description": "鑱旂郴浜哄鍚�",
                     "type": "string"
@@ -17054,6 +17882,10 @@
                 },
                 "desc": {
                     "description": "澶囨敞",
+                    "type": "string"
+                },
+                "detail_address": {
+                    "description": "璇︾粏鍦板潃",
                     "type": "string"
                 },
                 "id": {
@@ -17231,6 +18063,14 @@
                     "description": "姣斾緥",
                     "type": "number"
                 },
+                "principal": {
+                    "description": "鏀舵璐熻矗浜篒D",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.User"
+                        }
+                    ]
+                },
                 "principalId": {
                     "description": "鏀舵璐熻矗浜篒D",
                     "type": "integer"
@@ -17274,6 +18114,13 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -17307,6 +18154,12 @@
                 "salesDetailsId": {
                     "type": "integer"
                 },
+                "serviceContractStatusId": {
+                    "type": "integer"
+                },
+                "serviceContractTypeId": {
+                    "type": "integer"
+                },
                 "serviceTimes": {
                     "type": "integer"
                 },
@@ -17329,30 +18182,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"
-                    }
                 }
             }
         },
@@ -17411,8 +18246,19 @@
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
+                },
+                "contact_id": {
+                    "description": "鑱旂郴浜篒D",
+                    "type": "integer"
                 },
                 "country_id": {
                     "type": "integer"
@@ -17498,6 +18344,13 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -17562,6 +18415,13 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "description": "鑱旂郴浜篿d",
                     "type": "integer"
@@ -17589,9 +18449,13 @@
                     "description": "闂鎻忚堪",
                     "type": "string"
                 },
-                "productId": {
-                    "description": "浜у搧id",
-                    "type": "integer"
+                "productName": {
+                    "description": "浜у搧鍚嶇О",
+                    "type": "string"
+                },
+                "productTypeName": {
+                    "description": "浜у搧鍒嗙被鍚嶇О",
+                    "type": "string"
                 },
                 "realTime": {
                     "description": "瀹為檯澶勭悊鏃堕棿",
@@ -17747,6 +18611,13 @@
             "properties": {
                 "clientId": {
                     "type": "integer"
+                },
+                "codeRule": {
+                    "$ref": "#/definitions/code.CodeStandard"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "id": {
                     "type": "integer"
@@ -18636,17 +19507,6 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.Satisfaction"
-                    }
-                }
-            }
-        },
-        "response.ServiceContractStatusResponse": {
-            "type": "object",
-            "properties": {
-                "list": {
-                    "type": "array",
-                    "items": {
-                        "$ref": "#/definitions/model.ServiceContractStatus"
                     }
                 }
             }

--
Gitblit v1.8.0