From bd33bea0f3b44e608fcb4d9aa9d1f51a2f5bcf17 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期日, 07 四月 2024 19:26:17 +0800
Subject: [PATCH] 新增按仓库分组的发货准备接口

---
 docs/docs.go | 2286 +++++++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 1,699 insertions(+), 587 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 2be434c..ef7fd5c 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -404,79 +404,6 @@
                 }
             }
         },
-        "/api/base/captcha": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "Base"
-                ],
-                "summary": "鑾峰彇楠岃瘉鐮�",
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "allOf": [
-                                {
-                                    "$ref": "#/definitions/contextx.Response"
-                                },
-                                {
-                                    "type": "object",
-                                    "properties": {
-                                        "data": {
-                                            "$ref": "#/definitions/response.LoginResponse"
-                                        }
-                                    }
-                                }
-                            ]
-                        }
-                    }
-                }
-            }
-        },
-        "/api/base/login": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "Base"
-                ],
-                "summary": "鐢ㄦ埛鐧诲綍",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.Login"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "allOf": [
-                                {
-                                    "$ref": "#/definitions/contextx.Response"
-                                },
-                                {
-                                    "type": "object",
-                                    "properties": {
-                                        "data": {
-                                            "$ref": "#/definitions/response.LoginResponse"
-                                        }
-                                    }
-                                }
-                            ]
-                        }
-                    }
-                }
-            }
-        },
         "/api/city/add": {
             "post": {
                 "produces": [
@@ -1267,6 +1194,84 @@
                         "description": "OK",
                         "schema": {
                             "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/code/getAutoCode": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "缂栫爜"
+                ],
+                "summary": "鑾峰彇鑷姩缂栫爜",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/code.CodeStandard"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/code/getCodeList": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "缂栫爜"
+                ],
+                "summary": "鑾峰彇缂栫爜鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "codeStandID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "name",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "type",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
                         }
                     }
                 }
@@ -3312,7 +3317,7 @@
             }
         },
         "/api/invoice/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
@@ -3322,43 +3327,13 @@
                 "summary": "鑾峰彇閿�鍞彂绁ㄥ垪琛�",
                 "parameters": [
                     {
-                        "type": "string",
-                        "name": "keyword",
-                        "in": "query"
-                    },
-                    {
-                        "enum": [
-                            ""
-                        ],
-                        "type": "string",
-                        "x-enum-varnames": [
-                            "InvoiceKeywordCustomerName"
-                        ],
-                        "name": "keywordType",
-                        "in": "query"
-                    },
-                    {
-                        "type": "integer",
-                        "description": "椤电爜",
-                        "name": "page",
-                        "in": "query"
-                    },
-                    {
-                        "type": "integer",
-                        "description": "姣忛〉澶у皬",
-                        "name": "pageSize",
-                        "in": "query"
-                    },
-                    {
-                        "enum": [
-                            ""
-                        ],
-                        "type": "string",
-                        "x-enum-varnames": [
-                            "InvoiceQueryClassExpireLessThen60Days"
-                        ],
-                        "name": "queryClass",
-                        "in": "query"
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetInvoiceList"
+                        }
                     }
                 ],
                 "responses": {
@@ -4942,6 +4917,46 @@
                 }
             }
         },
+        "/api/product/getProductOrderInfo/{number}": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浜у搧"
+                ],
+                "summary": "鑾峰彇浜у搧璁㈠崟淇℃伅",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鏄庣粏缂栫爜",
+                        "name": "number",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.Info"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
         "/api/product/info": {
             "get": {
                 "produces": [
@@ -5014,6 +5029,12 @@
                         "type": "string",
                         "description": "浜у搧缂栫爜",
                         "name": "productNumber",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "鎶ヤ环鍗曠紪鐮�",
+                        "name": "quotationNumber",
                         "in": "query"
                     }
                 ],
@@ -5302,6 +5323,40 @@
                 }
             }
         },
+        "/api/quotation/statistics": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Quotation"
+                ],
+                "summary": "鎶ヤ环鍗曠粺璁�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "object",
+                                            "additionalProperties": {
+                                                "type": "integer"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
         "/api/quotation/update": {
             "put": {
                 "produces": [
@@ -5520,19 +5575,9 @@
                 "summary": "鑾峰彇鏀舵鍗曞垪琛�",
                 "parameters": [
                     {
-                        "type": "string",
-                        "name": "keyword",
-                        "in": "query"
-                    },
-                    {
-                        "enum": [
-                            ""
-                        ],
-                        "type": "string",
-                        "x-enum-varnames": [
-                            "ReceiptKeywordCustomerName"
-                        ],
-                        "name": "keywordType",
+                        "type": "integer",
+                        "description": "瀹㈡埛id",
+                        "name": "clientId",
                         "in": "query"
                     },
                     {
@@ -5548,14 +5593,44 @@
                         "in": "query"
                     },
                     {
+                        "type": "array",
+                        "items": {
+                            "type": "integer"
+                        },
+                        "collectionFormat": "csv",
+                        "name": "principleIds",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "sourceId",
+                        "in": "query"
+                    },
+                    {
                         "enum": [
-                            ""
+                            1,
+                            2,
+                            3,
+                            4,
+                            5
                         ],
-                        "type": "string",
+                        "type": "integer",
+                        "x-enum-comments": {
+                            "ReceiptSourceTypeChuKuDan": "鍑哄簱鍗昳t",
+                            "ReceiptSourceTypeCollectionPlan": "鏀舵璁″垝",
+                            "ReceiptSourceTypeInvoice": "閿�鍞彂绁�",
+                            "ReceiptSourceTypeSalesDetails": "閿�鍞槑缁嗗崟",
+                            "ReceiptSourceTypeServiceContract": "鏈嶅姟鍚堝悓"
+                        },
                         "x-enum-varnames": [
-                            "ReceiptQueryClassExpireLessThen60Days"
+                            "ReceiptSourceTypeSalesDetails",
+                            "ReceiptSourceTypeServiceContract",
+                            "ReceiptSourceTypeInvoice",
+                            "ReceiptSourceTypeCollectionPlan",
+                            "ReceiptSourceTypeChuKuDan"
                         ],
-                        "name": "queryClass",
+                        "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+                        "name": "sourceType",
                         "in": "query"
                     }
                 ],
@@ -5720,6 +5795,142 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateRefundMethods"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/refundType/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閫�娆炬柟寮忕鐞�"
+                ],
+                "summary": "娣诲姞閫�娆炬柟寮�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddRefundType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/refundType/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閫�娆炬柟寮忕鐞�"
+                ],
+                "summary": "鍒犻櫎閫�娆炬柟寮�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/refundType/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閫�娆炬柟寮忕鐞�"
+                ],
+                "summary": "鑾峰彇閫�娆炬柟寮忓垪琛�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.RefundType"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/refundType/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閫�娆炬柟寮忕鐞�"
+                ],
+                "summary": "鏇存柊閫�娆炬柟寮�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateRefundType"
                         }
                     }
                 ],
@@ -6779,7 +6990,79 @@
                     "200": {
                         "description": "OK",
                         "schema": {
-                            "$ref": "#/definitions/contextx.Response"
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/request.AddSalesDetails"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/salesDetails/confirmOutput": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "纭鍙戣揣",
+                "parameters": [
+                    {
+                        "description": "鏄庣粏缂栫爜",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.ConfirmOutput"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/salesDetails/confirmOutputOver": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "纭鍙戣揣",
+                "parameters": [
+                    {
+                        "description": "鏄庣粏缂栫爜",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.ConfirmOutputOver"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
                         }
                     }
                 }
@@ -6843,6 +7126,143 @@
                 }
             }
         },
+        "/api/salesDetails/getApsProjectList": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "鑾峰彇aps椤圭洰鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/salesDetails/getDeliveryList": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "鍙戣揣鏄庣粏",
+                "parameters": [
+                    {
+                        "description": "鏄庣粏缂栫爜",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/v1.GetWarehouseProductInfoReq"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/salesDetails/getDeliveryPrepareInfo": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "鑾峰彇浜у搧鍏ュ簱淇℃伅",
+                "parameters": [
+                    {
+                        "description": "鏄庣粏缂栫爜",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/v1.GetWarehouseProductInfoReq"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/salesDetails/getDeliveryPrepareInfoByWarehouse": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "鑾峰彇浜у搧鍏ュ簱淇℃伅鎸変粨搴撳垎缁�",
+                "parameters": [
+                    {
+                        "description": "鏄庣粏缂栫爜",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/v1.GetWarehouseProductInfoReq"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/salesDetails/getProductInventoryInfo/{number}": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "鑾峰彇浜у搧鍙戣揣淇℃伅",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鏄庣粏缂栫爜",
+                        "name": "number",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
         "/api/salesDetails/list": {
             "post": {
                 "produces": [
@@ -6885,6 +7305,36 @@
                 }
             }
         },
+        "/api/salesDetails/sendSalesDetailsToOtherSystem": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "鎺ㄩ�侀攢鍞槑缁嗕俊鎭埌鍏朵粬绯荤粺",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.SalesDetails"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
         "/api/salesDetails/update": {
             "put": {
                 "produces": [
@@ -6902,6 +7352,36 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateSalesDetails"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/salesDetails/updateStatus": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "鏇存柊閿�鍞槑缁嗙姸鎬�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateSalesDetailsStatus"
                         }
                     }
                 ],
@@ -7813,7 +8293,7 @@
             }
         },
         "/api/serviceCollectionPlan/list": {
-            "get": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
@@ -7823,10 +8303,13 @@
                 "summary": "鑾峰彇鏀舵璁″垝鍒楄〃",
                 "parameters": [
                     {
-                        "type": "integer",
-                        "description": "鏈嶅姟鍚堝悓id",
-                        "name": "serviceContractId",
-                        "in": "query"
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetServiceCollectionPlanList"
+                        }
                     }
                 ],
                 "responses": {
@@ -9490,6 +9973,96 @@
                 }
             }
         },
+        "/api/system/getSystemSet": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "绯荤粺璁剧疆"
+                ],
+                "summary": "鑾峰彇绯荤粺璁剧疆",
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "object",
+                                            "additionalProperties": true
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/system/saveSystemSet": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "绯荤粺璁剧疆"
+                ],
+                "summary": "淇濆瓨绯荤粺璁剧疆",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.SaveSystemSet"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/system/useSystemSet/{modeType}": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "绯荤粺璁剧疆"
+                ],
+                "summary": "浣跨敤绯荤粺璁剧疆",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "modeType",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
         "/api/timeSpent/add": {
             "post": {
                 "produces": [
@@ -9731,259 +10304,6 @@
                 }
             }
         },
-        "/api/user/changePassword": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "鐢ㄦ埛淇敼瀵嗙爜",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.ChangePasswordReq"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/deleteUser": {
-            "delete": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "鍒犻櫎鐢ㄦ埛",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.DeleteUserReq"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/getUserInfo": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "鑾峰彇鑷韩淇℃伅",
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/getUserList": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "鍒嗛〉鑾峰彇鐢ㄦ埛鍒楄〃(涓嶄紶鍒嗛〉鍙傛暟锛岃幏鍙栧叏閮�)",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.GetUserList"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "allOf": [
-                                {
-                                    "$ref": "#/definitions/contextx.Response"
-                                },
-                                {
-                                    "type": "object",
-                                    "properties": {
-                                        "data": {
-                                            "$ref": "#/definitions/response.PageResult"
-                                        }
-                                    }
-                                }
-                            ]
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/register": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "娉ㄥ唽璐﹀彿",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.Register"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "allOf": [
-                                {
-                                    "$ref": "#/definitions/contextx.Response"
-                                },
-                                {
-                                    "type": "object",
-                                    "properties": {
-                                        "data": {
-                                            "$ref": "#/definitions/response.UserResponse"
-                                        }
-                                    }
-                                }
-                            ]
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/resetPassword": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "閲嶇疆鐢ㄦ埛瀵嗙爜",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/model.User"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/setSelfInfo": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "璁剧疆鐢ㄦ埛淇℃伅",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.ChangeUserInfo"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
-        "/api/user/setUserInfo": {
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "User"
-                ],
-                "summary": "璁剧疆鐢ㄦ埛淇℃伅",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.ChangeUserInfo"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
         "/api/vetting/add": {
             "post": {
                 "produces": [
@@ -10209,6 +10529,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 +10679,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 +10744,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 +10753,13 @@
                 4,
                 5
             ],
+            "x-enum-comments": {
+                "ReceiptSourceTypeChuKuDan": "鍑哄簱鍗昳t",
+                "ReceiptSourceTypeCollectionPlan": "鏀舵璁″垝",
+                "ReceiptSourceTypeInvoice": "閿�鍞彂绁�",
+                "ReceiptSourceTypeSalesDetails": "閿�鍞槑缁嗗崟",
+                "ReceiptSourceTypeServiceContract": "鏈嶅姟鍚堝悓"
+            },
             "x-enum-varnames": [
                 "ReceiptSourceTypeSalesDetails",
                 "ReceiptSourceTypeServiceContract",
@@ -10441,6 +10795,33 @@
                 "SalesDetailsKeywordTypeSignTime",
                 "SalesDetailsKeywordTypePrincipal",
                 "SalesDetailsKeywordTypeProductName"
+            ]
+        },
+        "constvar.SalesDetailsStatus": {
+            "type": "integer",
+            "enum": [
+                1,
+                2,
+                3,
+                4,
+                5,
+                6
+            ],
+            "x-enum-comments": {
+                "InStock": "澶囪揣涓�",
+                "OverCLose": "宸插叧闂�",
+                "OverOutbound": "鍑哄簱瀹屾垚",
+                "WaitConfirmed": "寰呯‘璁�",
+                "WaitDecompose": "寰呭垎瑙�",
+                "WaitOutbound": "寰呭嚭搴�"
+            },
+            "x-enum-varnames": [
+                "WaitConfirmed",
+                "WaitDecompose",
+                "InStock",
+                "WaitOutbound",
+                "OverOutbound",
+                "OverCLose"
             ]
         },
         "constvar.SalesRefundKeywordType": {
@@ -10813,10 +11194,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 +11227,9 @@
                 "client_type_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contacts": {
                     "type": "array",
                     "items": {
@@ -10862,8 +11242,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 +11273,6 @@
                     }
                 },
                 "id": {
-                    "description": "The ID of the item\nexample: 1",
                     "type": "integer"
                 },
                 "industry": {
@@ -10948,8 +11329,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 +11381,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 +11424,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "country": {
                     "$ref": "#/definitions/model.Country"
@@ -11119,6 +11498,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "country": {
                     "$ref": "#/definitions/model.Country"
@@ -11193,15 +11575,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",
@@ -11228,6 +11612,9 @@
                 },
                 "quotationId": {
                     "type": "integer"
+                },
+                "sendTime": {
+                    "type": "string"
                 },
                 "serviceContractStatus": {
                     "$ref": "#/definitions/model.ServiceContractStatus"
@@ -11350,6 +11737,9 @@
                 "client_status_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
                 },
@@ -11427,6 +11817,9 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "courierCompany": {
                     "$ref": "#/definitions/model.CourierCompany"
                 },
@@ -11462,6 +11855,9 @@
                 "invoiceTypeId": {
                     "description": "鍙戠エ绫诲瀷id",
                     "type": "integer"
+                },
+                "number": {
+                    "type": "string"
                 },
                 "principalId": {
                     "description": "閿�鍞礋璐d汉id",
@@ -11547,6 +11943,9 @@
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "end_time": {
                     "type": "string"
@@ -11727,11 +12126,17 @@
                 "amount": {
                     "type": "number"
                 },
+                "cost": {
+                    "type": "string"
+                },
                 "desc": {
                     "type": "string"
                 },
                 "id": {
                     "type": "integer"
+                },
+                "margin": {
+                    "type": "string"
                 },
                 "name": {
                     "type": "string"
@@ -11742,8 +12147,20 @@
                 "price": {
                     "type": "number"
                 },
+                "profit": {
+                    "type": "string"
+                },
+                "specs": {
+                    "type": "string"
+                },
                 "total": {
                     "type": "number"
+                },
+                "type": {
+                    "type": "string"
+                },
+                "unit": {
+                    "type": "string"
                 }
             }
         },
@@ -11767,11 +12184,18 @@
         "model.Quotation": {
             "type": "object",
             "properties": {
+                "amountTotal": {
+                    "description": "浠锋牸鍚堣",
+                    "type": "number"
+                },
                 "client": {
                     "$ref": "#/definitions/model.Client"
                 },
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "conditions": {
                     "type": "string"
@@ -11802,6 +12226,9 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                },
+                "quotationName": {
+                    "type": "string"
                 },
                 "quotation_status": {
                     "$ref": "#/definitions/model.QuotationStatus"
@@ -11857,6 +12284,12 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "createTime": {
+                    "type": "string"
+                },
+                "creatorName": {
+                    "type": "string"
+                },
                 "fileId": {
                     "description": "闄勪欢id",
                     "type": "integer"
@@ -11866,6 +12299,9 @@
                 },
                 "moneyType": {
                     "description": "甯佺",
+                    "type": "string"
+                },
+                "number": {
                     "type": "string"
                 },
                 "paymentType": {
@@ -11906,10 +12342,24 @@
                             "$ref": "#/definitions/constvar.ReceiptSourceType"
                         }
                     ]
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
         "model.RefundMethod": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.RefundType": {
             "type": "object",
             "properties": {
                 "id": {
@@ -11999,6 +12449,9 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "collection_projections": {
                     "type": "array",
                     "items": {
@@ -12068,6 +12521,12 @@
                 "process": {
                     "type": "string"
                 },
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
+                },
                 "projected_amount": {
                     "type": "number"
                 },
@@ -12112,6 +12571,14 @@
                 },
                 "solutions": {
                     "type": "string"
+                },
+                "status": {
+                    "description": "鐘舵��",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.Status"
+                        }
+                    ]
                 },
                 "status_id": {
                     "type": "integer"
@@ -12184,6 +12651,9 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -12195,6 +12665,9 @@
                 },
                 "creatorName": {
                     "type": "string"
+                },
+                "deliverType": {
+                    "type": "integer"
                 },
                 "deliveryDate": {
                     "type": "string"
@@ -12226,6 +12699,15 @@
                         "$ref": "#/definitions/model.Product"
                     }
                 },
+                "projectId": {
+                    "type": "string"
+                },
+                "quotation": {
+                    "$ref": "#/definitions/model.Quotation"
+                },
+                "quotationId": {
+                    "type": "integer"
+                },
                 "remark": {
                     "type": "string"
                 },
@@ -12240,6 +12722,12 @@
                 },
                 "signTime": {
                     "type": "string"
+                },
+                "source": {
+                    "type": "string"
+                },
+                "status": {
+                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                 },
                 "updateTime": {
                     "type": "string"
@@ -12261,6 +12749,9 @@
                 "city_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact_name": {
                     "type": "string"
                 },
@@ -12277,6 +12768,9 @@
                     "type": "integer"
                 },
                 "desc": {
+                    "type": "string"
+                },
+                "detail_address": {
                     "type": "string"
                 },
                 "followRecord": {
@@ -12329,6 +12823,14 @@
         "model.SalesRefund": {
             "type": "object",
             "properties": {
+                "RefundType": {
+                    "description": "閫�娆炬柟寮�",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.RefundType"
+                        }
+                    ]
+                },
                 "amountTotal": {
                     "description": "浠风◣鍚堣",
                     "type": "number"
@@ -12345,6 +12847,9 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "createTime": {
                     "type": "string"
@@ -12385,6 +12890,13 @@
                 },
                 "refundDate": {
                     "type": "string"
+                },
+                "refundTypeId": {
+                    "description": "閫�娆炬柟寮廔D",
+                    "type": "integer"
+                },
+                "salesReturn": {
+                    "$ref": "#/definitions/model.SalesReturn"
                 },
                 "sourceId": {
                     "description": "婧愬崟id",
@@ -12431,6 +12943,9 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "createTime": {
                     "type": "string"
                 },
@@ -12467,6 +12982,9 @@
                 "salesReturnStatusId": {
                     "description": "閫�璐х姸鎬乮d",
                     "type": "integer"
+                },
+                "source": {
+                    "$ref": "#/definitions/model.SalesDetails"
                 },
                 "sourceId": {
                     "description": "婧愬崟id",
@@ -12560,6 +13078,14 @@
                     "description": "姣斾緥",
                     "type": "number"
                 },
+                "principal": {
+                    "description": "鏀舵璐熻矗浜篒D",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.User"
+                        }
+                    ]
+                },
                 "principalId": {
                     "description": "鏀舵璐熻矗浜篒D",
                     "type": "integer"
@@ -12625,6 +13151,9 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
@@ -12766,6 +13295,9 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
                 },
@@ -12863,6 +13395,9 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "contact": {
                     "$ref": "#/definitions/model.Contact"
                 },
@@ -12896,6 +13431,9 @@
                 },
                 "id": {
                     "type": "integer"
+                },
+                "number": {
+                    "type": "string"
                 },
                 "priorityLevel": {
                     "$ref": "#/definitions/model.PriorityLevel"
@@ -12977,6 +13515,10 @@
                 },
                 "severity": {
                     "$ref": "#/definitions/model.Severity"
+                },
+                "severityId": {
+                    "description": "涓ラ噸绋嬪害id",
+                    "type": "integer"
                 },
                 "solution": {
                     "description": "瑙e喅鏂规硶",
@@ -13066,6 +13608,9 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "id": {
                     "type": "integer"
                 },
@@ -13089,6 +13634,23 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                }
+            }
+        },
+        "model.SystemSet": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "modeType": {
+                    "type": "string"
+                },
+                "name": {
+                    "type": "string"
+                },
+                "value": {
+                    "type": "string"
                 }
             }
         },
@@ -13155,6 +13717,10 @@
                 "realName": {
                     "type": "string"
                 },
+                "subUserIds": {
+                    "description": "涓嬪睘鍛樺伐鐢ㄦ埛id,鐢ㄩ�楀彿鍒嗗紑",
+                    "type": "string"
+                },
                 "userType": {
                     "$ref": "#/definitions/constvar.UserType"
                 },
@@ -13192,11 +13758,19 @@
                     "description": "鐗╂枡绫诲瀷",
                     "type": "string"
                 },
+                "MaxInventory": {
+                    "description": "鏈�澶у簱瀛�",
+                    "type": "integer"
+                },
                 "MinInventory": {
                     "description": "瀹夊叏搴撳瓨",
                     "type": "integer"
                 },
                 "Name": {
+                    "type": "string"
+                },
+                "Node": {
+                    "description": "澶囨敞",
                     "type": "string"
                 },
                 "Number": {
@@ -13209,6 +13783,14 @@
                 "SalePrice": {
                     "description": "閿�鍞环鏍�",
                     "type": "number"
+                },
+                "Specs": {
+                    "description": "瑙勬牸",
+                    "type": "string"
+                },
+                "Type": {
+                    "description": "鍨嬪彿",
+                    "type": "string"
                 },
                 "Unit": {
                     "type": "string"
@@ -13288,6 +13870,10 @@
                 "client_type_id": {
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
@@ -13489,6 +14075,14 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
+                "contractName": {
+                    "description": "鍚堝悓鍚嶇О",
+                    "type": "string"
+                },
                 "file": {
                     "type": "string"
                 },
@@ -13500,6 +14094,10 @@
                 },
                 "quotation_id": {
                     "type": "integer"
+                },
+                "sendTime": {
+                    "description": "鍙戣揣鏃堕棿",
+                    "type": "string"
                 },
                 "status_id": {
                     "type": "integer"
@@ -13641,6 +14239,9 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "courierCompanyId": {
                     "description": "鐗╂祦鍏徃",
                     "type": "integer"
@@ -13664,6 +14265,10 @@
                 "invoiceTypeId": {
                     "description": "鍙戠エ绫诲瀷id",
                     "type": "integer"
+                },
+                "number": {
+                    "description": "鍙戠エ缂栧彿",
+                    "type": "string"
                 },
                 "principalId": {
                     "description": "閿�鍞礋璐d汉id",
@@ -13747,6 +14352,10 @@
             "properties": {
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "end_time": {
                     "type": "string"
@@ -13864,6 +14473,10 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -13884,6 +14497,10 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                },
+                "quotationName": {
+                    "description": "鎶ヤ环鍗曞悕绉�",
+                    "type": "string"
                 },
                 "quotation_status_id": {
                     "type": "integer"
@@ -13933,6 +14550,12 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "createTime": {
+                    "type": "string"
+                },
+                "creatorName": {
+                    "type": "string"
+                },
                 "fileId": {
                     "description": "闄勪欢id",
                     "type": "integer"
@@ -13942,6 +14565,9 @@
                 },
                 "moneyType": {
                     "description": "甯佺",
+                    "type": "string"
+                },
+                "number": {
                     "type": "string"
                 },
                 "paymentType": {
@@ -13982,6 +14608,9 @@
                             "$ref": "#/definitions/constvar.ReceiptSourceType"
                         }
                     ]
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -13991,6 +14620,17 @@
                 "name"
             ],
             "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddRefundType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
                 "name": {
                     "type": "string"
                 }
@@ -14067,6 +14707,10 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "competitors": {
                     "type": "string"
                 },
@@ -14114,6 +14758,12 @@
                 },
                 "process": {
                     "type": "string"
+                },
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
                 },
                 "projected_amount": {
                     "type": "number"
@@ -14178,17 +14828,31 @@
         "request.AddSalesDetails": {
             "type": "object",
             "properties": {
+                "Member": {
+                    "$ref": "#/definitions/model.User"
+                },
                 "address": {
                     "type": "string"
                 },
                 "addressee": {
                     "type": "string"
                 },
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
+                },
+                "deliverType": {
+                    "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣",
+                    "type": "integer"
                 },
                 "deliveryDate": {
                     "type": "string"
@@ -14217,6 +14881,12 @@
                         "$ref": "#/definitions/model.Product"
                     }
                 },
+                "projectId": {
+                    "type": "string"
+                },
+                "quotationId": {
+                    "type": "integer"
+                },
                 "remark": {
                     "type": "string"
                 },
@@ -14229,6 +14899,12 @@
                 "signTime": {
                     "type": "string"
                 },
+                "source": {
+                    "type": "string"
+                },
+                "status": {
+                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
+                },
                 "wechatOrderStatusId": {
                     "type": "integer"
                 }
@@ -14239,6 +14915,10 @@
             "properties": {
                 "city_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contact_name": {
                     "description": "鑱旂郴浜哄鍚�",
@@ -14257,6 +14937,10 @@
                 },
                 "desc": {
                     "description": "澶囨敞",
+                    "type": "string"
+                },
+                "detail_address": {
+                    "description": "璇︾粏鍦板潃",
                     "type": "string"
                 },
                 "member_id": {
@@ -14355,6 +15039,10 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -14383,6 +15071,12 @@
                     "type": "integer"
                 },
                 "salesDetailsId": {
+                    "type": "integer"
+                },
+                "serviceContractStatusId": {
+                    "type": "integer"
+                },
+                "serviceContractTypeId": {
                     "type": "integer"
                 },
                 "serviceTimes": {
@@ -14452,6 +15146,10 @@
                 "client_type_id": {
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
@@ -14543,6 +15241,10 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -14603,6 +15305,10 @@
                 "clientId": {
                     "description": "瀹㈡埛id",
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contactId": {
                     "description": "鑱旂郴浜篿d",
@@ -14672,7 +15378,7 @@
                     "description": "鏈嶅姟鏂瑰紡id",
                     "type": "integer"
                 },
-                "severity": {
+                "severityId": {
                     "description": "涓ラ噸绋嬪害id",
                     "type": "integer"
                 },
@@ -14754,6 +15460,10 @@
             "properties": {
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "masterOrderId": {
                     "type": "integer"
@@ -14863,48 +15573,6 @@
                 }
             }
         },
-        "request.ChangePasswordReq": {
-            "type": "object",
-            "properties": {
-                "newPassword": {
-                    "description": "鏂板瘑鐮�",
-                    "type": "string"
-                },
-                "password": {
-                    "description": "瀵嗙爜",
-                    "type": "string"
-                }
-            }
-        },
-        "request.ChangeUserInfo": {
-            "type": "object",
-            "properties": {
-                "email": {
-                    "description": "鐢ㄦ埛閭",
-                    "type": "string"
-                },
-                "headerImg": {
-                    "description": "鐢ㄦ埛澶村儚",
-                    "type": "string"
-                },
-                "id": {
-                    "description": "鐢ㄦ埛ID",
-                    "type": "string"
-                },
-                "nickName": {
-                    "description": "鐢ㄦ埛鏄电О",
-                    "type": "string"
-                },
-                "phone": {
-                    "description": "鐢ㄦ埛鎵嬫満鍙�",
-                    "type": "string"
-                },
-                "pos": {
-                    "description": "鐢ㄦ埛宀椾綅",
-                    "type": "string"
-                }
-            }
-        },
         "request.CheckClientName": {
             "type": "object",
             "properties": {
@@ -14924,6 +15592,41 @@
                     "items": {
                         "type": "integer"
                     }
+                }
+            }
+        },
+        "request.ConfirmOutput": {
+            "type": "object",
+            "properties": {
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.ConfirmOutputProducts"
+                    }
+                },
+                "saleDetailNumber": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.ConfirmOutputOver": {
+            "type": "object",
+            "properties": {
+                "saleDetailNumber": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.ConfirmOutputProducts": {
+            "type": "object",
+            "properties": {
+                "number": {
+                    "description": "浜у搧缂栧彿",
+                    "type": "string"
+                },
+                "outputAmount": {
+                    "description": "鏈鍙戣揣鏁伴噺",
+                    "type": "number"
                 }
             }
         },
@@ -15134,15 +15837,6 @@
                 }
             }
         },
-        "request.DeleteUserReq": {
-            "type": "object",
-            "properties": {
-                "userId": {
-                    "description": "鐢ㄦ埛ID",
-                    "type": "string"
-                }
-            }
-        },
         "request.DownloadFile": {
             "type": "object",
             "required": [
@@ -15178,6 +15872,9 @@
                 },
                 "client_status_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "type": "string"
                 },
                 "contact_id": {
                     "type": "integer"
@@ -15229,7 +15926,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
                 }
@@ -15238,6 +15935,10 @@
         "request.GetContactList": {
             "type": "object",
             "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -15256,6 +15957,9 @@
         "request.GetContractList": {
             "type": "object",
             "properties": {
+                "keyword": {
+                    "type": "string"
+                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -15308,6 +16012,36 @@
                     "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"璺熻繘涓婚\", \"member_name\": \"璺熻繘浜篭", \"client_name\": \"瀹㈡埛鍚嶇О\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"follow_time\": \"璺熻繘鏃堕棿\", \"next_follow_time\": \"涓嬫璺熻繘鏃堕棿\", \"record\": \"璺熻繘璁板綍\", \"phone\": \"鑱旂郴浜虹數璇漒", \"contact_name\": \"鑱旂郴浜哄鍚峔", \"sales_leads_id\": \"閿�鍞嚎绱d\", \"sale_chance_id\": \"閿�鍞満浼歩d\"}",
                     "type": "object",
                     "additionalProperties": true
+                }
+            }
+        },
+        "request.GetInvoiceList": {
+            "type": "object",
+            "properties": {
+                "page": {
+                    "description": "椤电爜",
+                    "type": "integer"
+                },
+                "pageSize": {
+                    "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                },
+                "principalIds": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                },
+                "sourceId": {
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.InvoiceSourceType"
+                        }
+                    ]
                 }
             }
         },
@@ -15400,11 +16134,19 @@
         "request.GetSalesDetailsList": {
             "type": "object",
             "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
                 "keyword": {
                     "type": "string"
                 },
                 "keywordType": {
                     "$ref": "#/definitions/constvar.SalesDetailsKeywordType"
+                },
+                "number": {
+                    "description": "閿�鍞槑缁嗗崟鍙�",
+                    "type": "string"
                 },
                 "page": {
                     "description": "椤电爜",
@@ -15412,6 +16154,10 @@
                 },
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                },
+                "saleChanceId": {
+                    "description": "閿�鍞満浼歩d",
                     "type": "integer"
                 }
             }
@@ -15450,12 +16196,19 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "sourceId": {
+                    "type": "integer"
                 }
             }
         },
         "request.GetSalesReturnList": {
             "type": "object",
             "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
                 "keyword": {
                     "type": "string"
                 },
@@ -15469,12 +16222,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"
                 },
@@ -15491,6 +16275,18 @@
                 },
                 "queryClass": {
                     "$ref": "#/definitions/constvar.ServiceContractQueryClass"
+                },
+                "quotationId": {
+                    "description": "鎶ヤ环鍗昳d",
+                    "type": "integer"
+                },
+                "saleChanceId": {
+                    "description": "閿�鍞満浼歩d",
+                    "type": "integer"
+                },
+                "salesDetailsId": {
+                    "description": "鍚堝悓璁㈠崟id",
+                    "type": "integer"
                 }
             }
         },
@@ -15585,44 +16381,6 @@
                 }
             }
         },
-        "request.GetUserList": {
-            "type": "object",
-            "properties": {
-                "keyword": {
-                    "description": "妯$硦鏌ヨ鍏抽敭瀛�",
-                    "type": "string"
-                },
-                "page": {
-                    "description": "椤电爜",
-                    "type": "integer"
-                },
-                "pageSize": {
-                    "description": "姣忛〉澶у皬",
-                    "type": "integer"
-                }
-            }
-        },
-        "request.Login": {
-            "type": "object",
-            "properties": {
-                "captcha": {
-                    "description": "楠岃瘉鐮�",
-                    "type": "string"
-                },
-                "captchaId": {
-                    "description": "楠岃瘉鐮両D",
-                    "type": "string"
-                },
-                "password": {
-                    "description": "瀵嗙爜",
-                    "type": "string"
-                },
-                "username": {
-                    "description": "鐢ㄦ埛鍚�",
-                    "type": "string"
-                }
-            }
-        },
         "request.Plan": {
             "type": "object",
             "properties": {
@@ -15689,66 +16447,34 @@
                 }
             }
         },
-        "request.Register": {
-            "type": "object",
-            "properties": {
-                "authorityId": {
-                    "description": "鐢ㄦ埛瑙掕壊ID",
-                    "type": "integer"
-                },
-                "departmentId": {
-                    "type": "integer"
-                },
-                "email": {
-                    "type": "string"
-                },
-                "headerImg": {
-                    "type": "string"
-                },
-                "id": {
-                    "type": "string"
-                },
-                "nickName": {
-                    "type": "string"
-                },
-                "password": {
-                    "type": "string"
-                },
-                "phone": {
-                    "type": "string"
-                },
-                "pos": {
-                    "type": "string"
-                },
-                "rePassword": {
-                    "description": "纭瀵嗙爜",
-                    "type": "string"
-                },
-                "realName": {
-                    "type": "string"
-                },
-                "userType": {
-                    "$ref": "#/definitions/constvar.UserType"
-                },
-                "username": {
-                    "type": "string"
-                }
-            }
-        },
         "request.SalesDetails": {
             "type": "object",
             "properties": {
+                "Member": {
+                    "$ref": "#/definitions/model.User"
+                },
                 "address": {
                     "type": "string"
                 },
                 "addressee": {
                     "type": "string"
                 },
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
+                },
+                "deliverType": {
+                    "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣",
+                    "type": "integer"
                 },
                 "deliveryDate": {
                     "type": "string"
@@ -15777,6 +16503,12 @@
                         "$ref": "#/definitions/model.Product"
                     }
                 },
+                "projectId": {
+                    "type": "string"
+                },
+                "quotationId": {
+                    "type": "integer"
+                },
                 "remark": {
                     "type": "string"
                 },
@@ -15788,6 +16520,12 @@
                 },
                 "signTime": {
                     "type": "string"
+                },
+                "source": {
+                    "type": "string"
+                },
+                "status": {
+                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                 },
                 "wechatOrderStatusId": {
                     "type": "integer"
@@ -15807,6 +16545,10 @@
                 },
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "isInvoice": {
                     "type": "string"
@@ -15853,6 +16595,10 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "memberId": {
                     "type": "integer"
                 },
@@ -15892,6 +16638,17 @@
                             "$ref": "#/definitions/constvar.SalesReturnSourceType"
                         }
                     ]
+                }
+            }
+        },
+        "request.SaveSystemSet": {
+            "type": "object",
+            "properties": {
+                "sets": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.SystemSet"
+                    }
                 }
             }
         },
@@ -16047,6 +16804,10 @@
                 "client_type_id": {
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
@@ -16333,6 +17094,14 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
+                "contractName": {
+                    "description": "鍚堝悓鍚嶇О",
+                    "type": "string"
+                },
                 "file": {
                     "type": "string"
                 },
@@ -16347,6 +17116,10 @@
                 },
                 "quotation_id": {
                     "type": "integer"
+                },
+                "sendTime": {
+                    "description": "鍙戣揣鏃堕棿",
+                    "type": "string"
                 },
                 "status_id": {
                     "type": "integer"
@@ -16585,6 +17358,9 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "type": "string"
+                },
                 "courierCompanyId": {
                     "description": "鐗╂祦鍏徃",
                     "type": "integer"
@@ -16611,6 +17387,10 @@
                 "invoiceTypeId": {
                     "description": "鍙戠エ绫诲瀷id",
                     "type": "integer"
+                },
+                "number": {
+                    "description": "鍙戠エ缂栧彿",
+                    "type": "string"
                 },
                 "principalId": {
                     "description": "閿�鍞礋璐d汉id",
@@ -16726,6 +17506,10 @@
             "properties": {
                 "client_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "end_time": {
                     "type": "string"
@@ -16904,6 +17688,10 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "conditions": {
                     "type": "string"
                 },
@@ -16927,6 +17715,10 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                },
+                "quotationName": {
+                    "description": "鎶ヤ环鍗曞悕绉�",
+                    "type": "string"
                 },
                 "quotation_status_id": {
                     "type": "integer"
@@ -16994,6 +17786,12 @@
                     "description": "瀹㈡埛id",
                     "type": "integer"
                 },
+                "createTime": {
+                    "type": "string"
+                },
+                "creatorName": {
+                    "type": "string"
+                },
                 "fileId": {
                     "description": "闄勪欢id",
                     "type": "integer"
@@ -17003,6 +17801,9 @@
                 },
                 "moneyType": {
                     "description": "甯佺",
+                    "type": "string"
+                },
+                "number": {
                     "type": "string"
                 },
                 "paymentType": {
@@ -17043,6 +17844,9 @@
                             "$ref": "#/definitions/constvar.ReceiptSourceType"
                         }
                     ]
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -17072,6 +17876,17 @@
                     "items": {
                         "$ref": "#/definitions/request.UpdateRefundMethod"
                     }
+                }
+            }
+        },
+        "request.UpdateRefundType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -17234,6 +18049,10 @@
                 "client_id": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "competitors": {
                     "type": "string"
                 },
@@ -17284,6 +18103,12 @@
                 },
                 "process": {
                     "type": "string"
+                },
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Product"
+                    }
                 },
                 "projected_amount": {
                     "type": "number"
@@ -17392,11 +18217,26 @@
                 }
             }
         },
+        "request.UpdateSalesDetailsStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "status": {
+                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
+                }
+            }
+        },
         "request.UpdateSalesLeads": {
             "type": "object",
             "properties": {
                 "city_id": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contact_name": {
                     "description": "鑱旂郴浜哄鍚�",
@@ -17415,6 +18255,10 @@
                 },
                 "desc": {
                     "description": "澶囨敞",
+                    "type": "string"
+                },
+                "detail_address": {
+                    "description": "璇︾粏鍦板潃",
                     "type": "string"
                 },
                 "id": {
@@ -17592,6 +18436,14 @@
                     "description": "姣斾緥",
                     "type": "number"
                 },
+                "principal": {
+                    "description": "鏀舵璐熻矗浜篒D",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.User"
+                        }
+                    ]
+                },
                 "principalId": {
                     "description": "鏀舵璐熻矗浜篒D",
                     "type": "integer"
@@ -17635,6 +18487,10 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -17666,6 +18522,12 @@
                     "type": "integer"
                 },
                 "salesDetailsId": {
+                    "type": "integer"
+                },
+                "serviceContractStatusId": {
+                    "type": "integer"
+                },
+                "serviceContractTypeId": {
                     "type": "integer"
                 },
                 "serviceTimes": {
@@ -17753,6 +18615,10 @@
                 "client_type_id": {
                     "description": "瀹㈡埛绫诲瀷ID",
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contact": {
                     "$ref": "#/definitions/request.Contact"
@@ -17845,6 +18711,10 @@
                 "clientId": {
                     "type": "integer"
                 },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
+                },
                 "contactId": {
                     "type": "integer"
                 },
@@ -17908,6 +18778,10 @@
                 "clientId": {
                     "description": "瀹㈡埛id",
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "contactId": {
                     "description": "鑱旂郴浜篿d",
@@ -17980,7 +18854,7 @@
                     "description": "鏈嶅姟鏂瑰紡id",
                     "type": "integer"
                 },
-                "severity": {
+                "severityId": {
                     "description": "涓ラ噸绋嬪害id",
                     "type": "integer"
                 },
@@ -18098,6 +18972,10 @@
             "properties": {
                 "clientId": {
                     "type": "integer"
+                },
+                "codeStandID": {
+                    "description": "缂栫爜id",
+                    "type": "string"
                 },
                 "id": {
                     "type": "integer"
@@ -18634,6 +19512,35 @@
                 }
             }
         },
+        "response.Info": {
+            "type": "object",
+            "properties": {
+                "makeInfo": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/response.WorkOrderInfo"
+                    }
+                },
+                "outsourcingInfo": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/response.OutsourcingInfo"
+                    }
+                },
+                "productInfo": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/response.SalesDetailsProductInfo"
+                    }
+                },
+                "purchaseInfo": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/response.Purchase"
+                    }
+                }
+            }
+        },
         "response.IsInvoiceResponse": {
             "type": "object",
             "properties": {
@@ -18735,18 +19642,46 @@
                 }
             }
         },
-        "response.PageResult": {
+        "response.OutsourcingInfo": {
             "type": "object",
             "properties": {
-                "list": {},
-                "page": {
+                "amount": {
+                    "description": "璁㈠崟鏁伴噺",
                     "type": "integer"
                 },
-                "pageSize": {
+                "endTime": {
+                    "type": "string"
+                },
+                "finishAmount": {
+                    "description": "瀹屾垚鏁伴噺",
                     "type": "integer"
                 },
-                "total": {
-                    "type": "integer"
+                "outsourcingId": {
+                    "description": "濮斿璁㈠崟id",
+                    "type": "string"
+                },
+                "outsourcingStatus": {
+                    "type": "string"
+                },
+                "productId": {
+                    "type": "string"
+                },
+                "productName": {
+                    "type": "string"
+                },
+                "specs": {
+                    "description": "鐗╂枡瑙勬牸",
+                    "type": "string"
+                },
+                "startTime": {
+                    "type": "string"
+                },
+                "supplierName": {
+                    "type": "string"
+                },
+                "unit": {
+                    "description": "鍗曚綅",
+                    "type": "string"
                 }
             }
         },
@@ -18783,6 +19718,45 @@
                     "items": {
                         "$ref": "#/definitions/model.Province"
                     }
+                }
+            }
+        },
+        "response.Purchase": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "璁㈠崟鏁伴噺",
+                    "type": "integer"
+                },
+                "finishAmount": {
+                    "description": "瀹屾垚鏁伴噺",
+                    "type": "integer"
+                },
+                "productId": {
+                    "type": "string"
+                },
+                "productName": {
+                    "type": "string"
+                },
+                "purchaseName": {
+                    "type": "string"
+                },
+                "purchaseNumber": {
+                    "type": "string"
+                },
+                "specs": {
+                    "description": "鐗╂枡瑙勬牸",
+                    "type": "string"
+                },
+                "status": {
+                    "type": "integer"
+                },
+                "supplierName": {
+                    "type": "string"
+                },
+                "unit": {
+                    "description": "鍗曚綅",
+                    "type": "string"
                 }
             }
         },
@@ -18866,6 +19840,18 @@
                 }
             }
         },
+        "response.Response": {
+            "type": "object",
+            "properties": {
+                "code": {
+                    "type": "integer"
+                },
+                "data": {},
+                "msg": {
+                    "type": "string"
+                }
+            }
+        },
         "response.SaleChanceResponse": {
             "type": "object",
             "properties": {
@@ -18899,6 +19885,81 @@
                     "items": {
                         "$ref": "#/definitions/model.SaleType"
                     }
+                }
+            }
+        },
+        "response.SalesDetailsProductInfo": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "璁㈠崟鏁伴噺",
+                    "type": "number"
+                },
+                "cost": {
+                    "description": "浜у搧鎴愭湰",
+                    "type": "string"
+                },
+                "deliveryAmount": {
+                    "description": "鍙戣揣鏁伴噺",
+                    "type": "integer"
+                },
+                "finishAmount": {
+                    "description": "瀹屾垚鏁伴噺",
+                    "type": "integer"
+                },
+                "makeAmount": {
+                    "description": "鍒堕�犳暟閲�",
+                    "type": "integer"
+                },
+                "makeFinishAmount": {
+                    "description": "鍒堕�犲畬鎴愭暟閲�",
+                    "type": "integer"
+                },
+                "margin": {
+                    "description": "姣涘埄鐜�",
+                    "type": "string"
+                },
+                "outsourcingAmount": {
+                    "description": "濮斿鏁伴噺",
+                    "type": "integer"
+                },
+                "outsourcingFinishAmount": {
+                    "description": "濮斿瀹屾垚鏁伴噺",
+                    "type": "integer"
+                },
+                "price": {
+                    "description": "浜у搧浠锋牸",
+                    "type": "number"
+                },
+                "productId": {
+                    "type": "string"
+                },
+                "productName": {
+                    "type": "string"
+                },
+                "profit": {
+                    "description": "姣涘埄",
+                    "type": "string"
+                },
+                "purchaseAmount": {
+                    "description": "閲囪喘鏁伴噺",
+                    "type": "integer"
+                },
+                "purchaseFinishAmount": {
+                    "description": "閲囪喘瀹屾垚鏁伴噺",
+                    "type": "integer"
+                },
+                "specs": {
+                    "description": "鐗╂枡瑙勬牸",
+                    "type": "string"
+                },
+                "total": {
+                    "description": "浜у搧鎬讳环",
+                    "type": "number"
+                },
+                "unit": {
+                    "description": "鍗曚綅",
+                    "type": "string"
                 }
             }
         },
@@ -19080,11 +20141,62 @@
                 }
             }
         },
-        "response.UserResponse": {
+        "response.WorkOrderInfo": {
             "type": "object",
             "properties": {
-                "user": {
-                    "$ref": "#/definitions/model.User"
+                "amount": {
+                    "description": "璁㈠崟鏁伴噺",
+                    "type": "integer"
+                },
+                "endTime": {
+                    "type": "string"
+                },
+                "finishAmount": {
+                    "description": "瀹屾垚鏁伴噺",
+                    "type": "integer"
+                },
+                "orderId": {
+                    "type": "string"
+                },
+                "orderStatus": {
+                    "type": "string"
+                },
+                "productId": {
+                    "type": "string"
+                },
+                "productName": {
+                    "type": "string"
+                },
+                "specs": {
+                    "description": "鐗╂枡瑙勬牸",
+                    "type": "string"
+                },
+                "startTime": {
+                    "type": "string"
+                },
+                "unit": {
+                    "description": "鍗曚綅",
+                    "type": "string"
+                },
+                "workOrderId": {
+                    "type": "string"
+                },
+                "workOrderStatus": {
+                    "type": "string"
+                }
+            }
+        },
+        "v1.GetWarehouseProductInfoReq": {
+            "type": "object",
+            "properties": {
+                "groupByWarehouse": {
+                    "type": "boolean"
+                },
+                "saleDetailID": {
+                    "type": "integer"
+                },
+                "saleDetailNumber": {
+                    "type": "string"
                 }
             }
         }

--
Gitblit v1.8.0