add
wangpengfei
2023-07-13 642b32ac1e86f596a0348ba230d3ba6822832e96
docs/docs.go
@@ -952,6 +952,125 @@
                }
            }
        },
        "/api/contract/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "添加合同",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddContract"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/contract/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "删除合同",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/contract/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "获取合同列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.ContractResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/contract/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "更新合同",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateContract"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/country/add": {
            "post": {
                "produces": [
@@ -1580,6 +1699,470 @@
                }
            }
        },
        "/api/masterOrder/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "MasterOrder"
                ],
                "summary": "添加主订单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddMasterOrder"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/masterOrder/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "MasterOrder"
                ],
                "summary": "删除主订单",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/masterOrder/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "MasterOrder"
                ],
                "summary": "主订单列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.MasterOrderResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/masterOrder/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "MasterOrder"
                ],
                "summary": "更新主订单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateMasterOrder"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/orderManage/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "OrderManage"
                ],
                "summary": "添加订单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddOrderManage"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/orderManage/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "OrderManage"
                ],
                "summary": "删除订单",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/orderManage/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "OrderManage"
                ],
                "summary": "订单列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/orderManage/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "OrderManage"
                ],
                "summary": "更新订单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateOrderManage"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/plan/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Plan"
                ],
                "summary": "添加计划",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddPlan"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/plan/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Plan"
                ],
                "summary": "删除计划",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/plan/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Plan"
                ],
                "summary": "获取计划列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.PlanResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/plan/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Plan"
                ],
                "summary": "更新计划",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdatePlan"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/possibility/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Possibility"
                ],
                "summary": "添加商机可能性",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddPossibility"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/possibility/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Possibility"
                ],
                "summary": "删除商机可能性",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/possibility/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Possibility"
                ],
                "summary": "商机可能性列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.PossibilityResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/possibility/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Possibility"
                ],
                "summary": "更新商机可能性",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdatePossibilities"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/province/add": {
            "post": {
                "produces": [
@@ -1716,6 +2299,125 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateProvinces"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/quotation/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Quotation"
                ],
                "summary": "添加报价单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddQuotation"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/quotation/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Quotation"
                ],
                "summary": "删除报价单",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/quotation/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Quotation"
                ],
                "summary": "报价单列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.QuotationResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/quotation/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Quotation"
                ],
                "summary": "更新报价单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateQuotation"
                        }
                    }
                ],
@@ -1972,6 +2674,125 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateRegisteredCapitals"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/regularCustomers/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "RegularCustomers"
                ],
                "summary": "添加常客",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddRegularCustomers"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/regularCustomers/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "RegularCustomers"
                ],
                "summary": "删除常客",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/regularCustomers/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "RegularCustomers"
                ],
                "summary": "常客列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.RegularCustomersResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/regularCustomers/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "RegularCustomers"
                ],
                "summary": "更新常客",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateRegularCustomersList"
                        }
                    }
                ],
@@ -2342,6 +3163,125 @@
                }
            }
        },
        "/api/salesDetails/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "添加销售明细",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddSalesDetails"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "删除销售明细",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "获取销售明细列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.SalesDetailsResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/salesDetails/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "更新销售明细",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSalesDetails"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesLeads/add": {
            "post": {
                "produces": [
@@ -2461,6 +3401,232 @@
                }
            }
        },
        "/api/salesRefund/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesRefund"
                ],
                "summary": "添加销售退款",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddSalesRefundRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesRefund/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesRefund"
                ],
                "summary": "删除销售退款",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesRefund/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesRefund"
                ],
                "summary": "销售退款列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.SalesRefundResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/salesRefund/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesRefund"
                ],
                "summary": "更新销售退款",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSalesRefundRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesReturn/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesReturn"
                ],
                "summary": "添加销售退货",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddSalesReturnRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesReturn/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesReturn"
                ],
                "summary": "删除销售退货",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesReturn/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesReturn"
                ],
                "summary": "获取销售退货列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesReturn/update/{id}": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesReturn"
                ],
                "summary": "更新销售退货",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSalesReturnRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesSources/add": {
            "post": {
                "produces": [
@@ -2567,6 +3733,470 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSalesSourcesList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContract/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContract"
                ],
                "summary": "添加服务合同",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddServiceContract"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContract/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContract"
                ],
                "summary": "删除服务合同",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContract/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContract"
                ],
                "summary": "服务合同列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.ServiceContractsResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/serviceContract/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceContract"
                ],
                "summary": "更新服务合同",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateServiceContract"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceFollowup/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceFollowup"
                ],
                "summary": "添加服务跟进",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddServiceFollowup"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceFollowup/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceFollowup"
                ],
                "summary": "删除服务跟进",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceFollowup/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceFollowup"
                ],
                "summary": "服务跟进列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.ServiceFollowupResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/serviceFollowup/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ServiceFollowup"
                ],
                "summary": "更新服务跟进",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateServiceFollowup"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/status/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Status"
                ],
                "summary": "添加状态",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddStatus"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/status/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Status"
                ],
                "summary": "删除状态",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/status/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Status"
                ],
                "summary": "状态列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/status/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Status"
                ],
                "summary": "更新状态",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateStatusList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/subOrder/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SubOrder"
                ],
                "summary": "添加子订单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddSubOrder"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/subOrder/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SubOrder"
                ],
                "summary": "删除子订单",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/subOrder/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SubOrder"
                ],
                "summary": "获取子订单列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.SubOrderResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/subOrder/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SubOrder"
                ],
                "summary": "更新子订单",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSubOrder"
                        }
                    }
                ],
@@ -3225,6 +4855,35 @@
                }
            }
        },
        "model.Contract": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "quotation": {
                    "$ref": "#/definitions/model.Quotation"
                },
                "quotationId": {
                    "type": "integer"
                },
                "statusId": {
                    "type": "integer"
                }
            }
        },
        "model.Country": {
            "type": "object",
            "properties": {
@@ -3325,6 +4984,110 @@
                }
            }
        },
        "model.MasterOrder": {
            "type": "object",
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "end_time": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "member_id": {
                    "type": "integer"
                },
                "money": {
                    "type": "number"
                },
                "number": {
                    "type": "string"
                },
                "start_time": {
                    "type": "string"
                }
            }
        },
        "model.Plan": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "content": {
                    "type": "string"
                },
                "endTime": {
                    "type": "string"
                },
                "file": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "salesDetails": {
                    "$ref": "#/definitions/model.SalesDetails"
                },
                "salesDetailsId": {
                    "type": "integer"
                },
                "startTime": {
                    "type": "string"
                },
                "subOrder": {
                    "$ref": "#/definitions/model.SubOrder"
                },
                "subOrderId": {
                    "type": "integer"
                }
            }
        },
        "model.Possibility": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Product": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "integer"
                },
                "desc": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                },
                "number": {
                    "type": "string"
                },
                "price": {
                    "type": "number"
                },
                "total": {
                    "type": "number"
                }
            }
        },
        "model.Province": {
            "type": "object",
            "properties": {
@@ -3342,6 +5105,50 @@
                }
            }
        },
        "model.Quotation": {
            "type": "object",
            "properties": {
                "client": {
                    "$ref": "#/definitions/model.Client"
                },
                "client_id": {
                    "type": "integer"
                },
                "conditions": {
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/model.Contact"
                },
                "contact_id": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "member_id": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "quotation_status_id": {
                    "type": "integer"
                },
                "sale_chance": {
                    "$ref": "#/definitions/model.SaleChance"
                },
                "sale_chance_id": {
                    "type": "integer"
                },
                "validity_date": {
                    "type": "string"
                }
            }
        },
        "model.Region": {
            "type": "object",
            "properties": {
@@ -3354,6 +5161,17 @@
            }
        },
        "model.RegisteredCapital": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.RegularCustomers": {
            "type": "object",
            "properties": {
                "id": {
@@ -3436,7 +5254,7 @@
                "pain_points": {
                    "type": "string"
                },
                "possibilities": {
                "possibilities_id": {
                    "type": "integer"
                },
                "process": {
@@ -3508,6 +5326,59 @@
                }
            }
        },
        "model.SalesDetails": {
            "type": "object",
            "properties": {
                "address": {
                    "type": "string"
                },
                "addressee": {
                    "type": "string"
                },
                "clientId": {
                    "type": "integer"
                },
                "conditions": {
                    "type": "string"
                },
                "deliveryDate": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "remark": {
                    "type": "string"
                },
                "saleChanceId": {
                    "type": "integer"
                },
                "saleType": {
                    "type": "integer"
                },
                "signTime": {
                    "type": "string"
                },
                "wechatOrderStatus": {
                    "type": "integer"
                }
            }
        },
        "model.SalesLeads": {
            "type": "object",
            "properties": {
@@ -3573,6 +5444,44 @@
                }
            }
        },
        "model.SalesRefund": {
            "type": "object",
            "properties": {
                "accountId": {
                    "type": "integer"
                },
                "clientId": {
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "isInvoice": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "reason": {
                    "type": "string"
                },
                "refundDate": {
                    "type": "string"
                },
                "refundMethod": {
                    "type": "string"
                }
            }
        },
        "model.SalesSources": {
            "type": "object",
            "properties": {
@@ -3581,6 +5490,138 @@
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.ServiceContract": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "contactId": {
                    "type": "integer"
                },
                "contractId": {
                    "type": "integer"
                },
                "endTime": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "quotationId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
                "saleChanceId": {
                    "type": "integer"
                },
                "serviceTimes": {
                    "type": "integer"
                },
                "signTime": {
                    "type": "string"
                },
                "startTime": {
                    "type": "string"
                },
                "statusId": {
                    "type": "integer"
                },
                "terms": {
                    "type": "string"
                },
                "typeId": {
                    "type": "integer"
                }
            }
        },
        "model.ServiceFollowup": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "contactId": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "isVisit": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "oldMemberId": {
                    "type": "integer"
                },
                "planId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
                "satisfaction": {
                    "type": "integer"
                },
                "serviceId": {
                    "type": "integer"
                },
                "solveRate": {
                    "type": "integer"
                },
                "timelyRate": {
                    "type": "integer"
                }
            }
        },
        "model.SubOrder": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "masterOrderId": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                }
            }
        },
@@ -3856,6 +5897,29 @@
                }
            }
        },
        "request.AddContract": {
            "type": "object",
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "member_id": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "quotation_id": {
                    "type": "integer"
                },
                "status_id": {
                    "type": "integer"
                }
            }
        },
        "request.AddCountry": {
            "type": "object",
            "properties": {
@@ -3909,11 +5973,117 @@
                }
            }
        },
        "request.AddMasterOrder": {
            "type": "object",
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "end_time": {
                    "type": "string"
                },
                "member_id": {
                    "type": "integer"
                },
                "money": {
                    "type": "string"
                },
                "number": {
                    "type": "string"
                },
                "start_time": {
                    "type": "string"
                }
            }
        },
        "request.AddOrderManage": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "contactId": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "number": {
                    "type": "string"
                },
                "orderType": {
                    "type": "integer"
                },
                "problemDescription": {
                    "type": "string"
                },
                "reportSourceId": {
                    "type": "integer"
                },
                "sourceSheet": {
                    "type": "integer"
                }
            }
        },
        "request.AddPlan": {
            "type": "object",
            "properties": {
                "plan": {
                    "$ref": "#/definitions/request.Plan"
                }
            }
        },
        "request.AddPossibility": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddProvince": {
            "type": "object",
            "properties": {
                "name": {
                    "description": "省份名称",
                    "type": "string"
                }
            }
        },
        "request.AddQuotation": {
            "type": "object",
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "conditions": {
                    "type": "string"
                },
                "contact_id": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "member_id": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "quotation_status_id": {
                    "type": "integer"
                },
                "sale_chance_id": {
                    "type": "integer"
                },
                "validity_date": {
                    "type": "string"
                }
            }
@@ -3928,6 +6098,17 @@
            }
        },
        "request.AddRegisteredCapital": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddRegularCustomers": {
            "type": "object",
            "required": [
                "name"
@@ -4058,6 +6239,14 @@
                }
            }
        },
        "request.AddSalesDetails": {
            "type": "object",
            "properties": {
                "salesDetails": {
                    "$ref": "#/definitions/request.SalesDetails"
                }
            }
        },
        "request.AddSalesLeads": {
            "type": "object",
            "properties": {
@@ -4107,6 +6296,22 @@
                }
            }
        },
        "request.AddSalesRefundRequest": {
            "type": "object",
            "properties": {
                "salesRefund": {
                    "$ref": "#/definitions/request.SalesRefund"
                }
            }
        },
        "request.AddSalesReturnRequest": {
            "type": "object",
            "properties": {
                "salesReturn": {
                    "$ref": "#/definitions/request.SalesReturn"
                }
            }
        },
        "request.AddSalesSources": {
            "type": "object",
            "required": [
@@ -4115,6 +6320,125 @@
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddServiceContract": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "contactId": {
                    "type": "integer"
                },
                "contractId": {
                    "type": "integer"
                },
                "endTime": {
                    "type": "string"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "quotationId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
                "saleChanceId": {
                    "type": "integer"
                },
                "serviceTimes": {
                    "type": "integer"
                },
                "signTime": {
                    "type": "string"
                },
                "startTime": {
                    "type": "string"
                },
                "statusId": {
                    "type": "integer"
                },
                "terms": {
                    "type": "string"
                },
                "typeId": {
                    "type": "integer"
                }
            }
        },
        "request.AddServiceFollowup": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "contactId": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "isVisit": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "oldMemberId": {
                    "type": "integer"
                },
                "planId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
                "satisfaction": {
                    "type": "integer"
                },
                "serviceId": {
                    "type": "integer"
                },
                "solveRate": {
                    "type": "integer"
                },
                "timelyRate": {
                    "type": "integer"
                }
            }
        },
        "request.AddStatus": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddSubOrder": {
            "type": "object",
            "properties": {
                "subOrder": {
                    "$ref": "#/definitions/request.SubOrder"
                }
            }
        },
@@ -4329,6 +6653,38 @@
                }
            }
        },
        "request.Plan": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "content": {
                    "type": "string"
                },
                "endTime": {
                    "type": "string"
                },
                "file": {
                    "type": "string"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "salesDetailsId": {
                    "type": "integer"
                },
                "startTime": {
                    "type": "string"
                },
                "subOrderId": {
                    "type": "integer"
                }
            }
        },
        "request.Register": {
            "type": "object",
            "properties": {
@@ -4355,6 +6711,123 @@
                "userName": {
                    "type": "string",
                    "example": "用户名"
                }
            }
        },
        "request.SalesDetails": {
            "type": "object",
            "properties": {
                "address": {
                    "type": "string"
                },
                "addressee": {
                    "type": "string"
                },
                "clientId": {
                    "type": "integer"
                },
                "conditions": {
                    "type": "string"
                },
                "deliveryDate": {
                    "type": "string"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "remark": {
                    "type": "string"
                },
                "saleChanceId": {
                    "type": "integer"
                },
                "saleType": {
                    "type": "integer"
                },
                "signTime": {
                    "type": "string"
                },
                "wechatOrderStatus": {
                    "type": "integer"
                }
            }
        },
        "request.SalesRefund": {
            "type": "object",
            "properties": {
                "accountId": {
                    "type": "integer"
                },
                "clientId": {
                    "type": "integer"
                },
                "isInvoice": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "reason": {
                    "type": "string"
                },
                "refundDate": {
                    "type": "string"
                },
                "refundMethod": {
                    "type": "string"
                }
            }
        },
        "request.SalesReturn": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "reason": {
                    "type": "string"
                },
                "repository": {
                    "type": "string"
                },
                "returnDate": {
                    "type": "string"
                },
                "status": {
                    "type": "integer"
                }
            }
        },
@@ -4402,6 +6875,29 @@
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "request.SubOrder": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "masterOrderId": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "product": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                }
            }
@@ -4712,6 +7208,32 @@
                }
            }
        },
        "request.UpdateContract": {
            "type": "object",
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "member_id": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "quotation_id": {
                    "type": "integer"
                },
                "status_id": {
                    "type": "integer"
                }
            }
        },
        "request.UpdateCountry": {
            "type": "object",
            "properties": {
@@ -4820,6 +7342,107 @@
                }
            }
        },
        "request.UpdateMasterOrder": {
            "type": "object",
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "end_time": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "member_id": {
                    "type": "integer"
                },
                "money": {
                    "type": "string"
                },
                "number": {
                    "type": "string"
                },
                "start_time": {
                    "type": "string"
                }
            }
        },
        "request.UpdateOrderManage": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "contactId": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                },
                "number": {
                    "type": "string"
                },
                "orderType": {
                    "type": "integer"
                },
                "problemDescription": {
                    "type": "string"
                },
                "reportSourceId": {
                    "type": "integer"
                },
                "sourceSheet": {
                    "type": "integer"
                }
            }
        },
        "request.UpdatePlan": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "plan": {
                    "$ref": "#/definitions/request.Plan"
                }
            }
        },
        "request.UpdatePossibilities": {
            "type": "object",
            "required": [
                "possibilities"
            ],
            "properties": {
                "possibilities": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdatePossibility"
                    }
                }
            }
        },
        "request.UpdatePossibility": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateProvince": {
            "type": "object",
            "properties": {
@@ -4842,6 +7465,41 @@
                    "items": {
                        "$ref": "#/definitions/request.UpdateProvince"
                    }
                }
            }
        },
        "request.UpdateQuotation": {
            "type": "object",
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "conditions": {
                    "type": "string"
                },
                "contact_id": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "member_id": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "quotation_status_id": {
                    "type": "integer"
                },
                "sale_chance_id": {
                    "type": "integer"
                },
                "validity_date": {
                    "type": "string"
                }
            }
        },
@@ -4892,6 +7550,35 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateRegisteredCapital"
                    }
                }
            }
        },
        "request.UpdateRegularCustomers": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateRegularCustomersList": {
            "type": "object",
            "required": [
                "regularCustomers"
            ],
            "properties": {
                "regularCustomers": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateRegularCustomers"
                    }
                }
            }
@@ -5058,6 +7745,17 @@
                }
            }
        },
        "request.UpdateSalesDetails": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "salesDetails": {
                    "$ref": "#/definitions/request.SalesDetails"
                }
            }
        },
        "request.UpdateSalesLeads": {
            "type": "object",
            "properties": {
@@ -5110,6 +7808,52 @@
                }
            }
        },
        "request.UpdateSalesRefundRequest": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "salesRefund": {
                    "$ref": "#/definitions/request.SalesRefund"
                }
            }
        },
        "request.UpdateSalesReturnRequest": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "reason": {
                    "type": "string"
                },
                "repository": {
                    "type": "string"
                },
                "returnDate": {
                    "type": "string"
                },
                "status": {
                    "type": "integer"
                }
            }
        },
        "request.UpdateSalesSources": {
            "type": "object",
            "required": [
@@ -5132,6 +7876,167 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateSalesSources"
                    }
                }
            }
        },
        "request.UpdateServiceContract": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "contactId": {
                    "type": "integer"
                },
                "contractId": {
                    "type": "integer"
                },
                "endTime": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "quotationId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
                "saleChanceId": {
                    "type": "integer"
                },
                "serviceTimes": {
                    "type": "integer"
                },
                "signTime": {
                    "type": "string"
                },
                "startTime": {
                    "type": "string"
                },
                "statusId": {
                    "type": "integer"
                },
                "terms": {
                    "type": "string"
                },
                "typeId": {
                    "type": "integer"
                }
            }
        },
        "request.UpdateServiceFollowup": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "contactId": {
                    "type": "integer"
                },
                "file": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "isVisit": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "oldMemberId": {
                    "type": "integer"
                },
                "planId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
                "satisfaction": {
                    "type": "integer"
                },
                "serviceId": {
                    "type": "integer"
                },
                "solveRate": {
                    "type": "integer"
                },
                "timelyRate": {
                    "type": "integer"
                }
            }
        },
        "request.UpdateStatus": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateStatusList": {
            "type": "object",
            "required": [
                "list"
            ],
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateStatus"
                    }
                }
            }
        },
        "request.UpdateSubOrder": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "masterOrderId": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "product": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                }
            }
@@ -5213,6 +8118,17 @@
                }
            }
        },
        "response.ContractResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Contract"
                    }
                }
            }
        },
        "response.CountryResponse": {
            "type": "object",
            "properties": {
@@ -5282,6 +8198,17 @@
                }
            }
        },
        "response.MasterOrderResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.MasterOrder"
                    }
                }
            }
        },
        "response.PageResult": {
            "type": "object",
            "properties": {
@@ -5297,6 +8224,28 @@
                }
            }
        },
        "response.PlanResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Plan"
                    }
                }
            }
        },
        "response.PossibilityResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Possibility"
                    }
                }
            }
        },
        "response.ProvinceResponse": {
            "type": "object",
            "properties": {
@@ -5308,6 +8257,17 @@
                }
            }
        },
        "response.QuotationResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Quotation"
                    }
                }
            }
        },
        "response.RegisteredCapitalResponse": {
            "type": "object",
            "properties": {
@@ -5315,6 +8275,17 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.RegisteredCapital"
                    }
                }
            }
        },
        "response.RegularCustomersResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.RegularCustomers"
                    }
                }
            }
@@ -5352,6 +8323,17 @@
                }
            }
        },
        "response.SalesDetailsResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SalesDetails"
                    }
                }
            }
        },
        "response.SalesLeadsResponse": {
            "type": "object",
            "properties": {
@@ -5363,6 +8345,17 @@
                }
            }
        },
        "response.SalesRefundResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SalesRefund"
                    }
                }
            }
        },
        "response.SalesSourceResponse": {
            "type": "object",
            "properties": {
@@ -5374,6 +8367,39 @@
                }
            }
        },
        "response.ServiceContractsResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceContract"
                    }
                }
            }
        },
        "response.ServiceFollowupResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceFollowup"
                    }
                }
            }
        },
        "response.SubOrderResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SubOrder"
                    }
                }
            }
        },
        "response.UserResponse": {
            "type": "object",
            "properties": {