zhangqian
2024-04-07 bd33bea0f3b44e608fcb4d9aa9d1f51a2f5bcf17
docs/docs.go
@@ -404,79 +404,6 @@
                }
            }
        },
        "/api/base/captcha": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Base"
                ],
                "summary": "获取验证码",
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.LoginResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/base/login": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Base"
                ],
                "summary": "用户登录",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.Login"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.LoginResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/city/add": {
            "post": {
                "produces": [
@@ -1267,6 +1194,84 @@
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/code/getAutoCode": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "编码"
                ],
                "summary": "获取自动编码",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/code.CodeStandard"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/code/getCodeList": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "编码"
                ],
                "summary": "获取编码列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "codeStandID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "name",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "type",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
@@ -3312,7 +3317,7 @@
            }
        },
        "/api/invoice/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -3322,43 +3327,13 @@
                "summary": "获取销售发票列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "InvoiceKeywordCustomerName"
                        ],
                        "name": "keywordType",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "InvoiceQueryClassExpireLessThen60Days"
                        ],
                        "name": "queryClass",
                        "in": "query"
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetInvoiceList"
                        }
                    }
                ],
                "responses": {
@@ -4942,6 +4917,46 @@
                }
            }
        },
        "/api/product/getProductOrderInfo/{number}": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "产品"
                ],
                "summary": "获取产品订单信息",
                "parameters": [
                    {
                        "type": "string",
                        "description": "明细编码",
                        "name": "number",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.Info"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/product/info": {
            "get": {
                "produces": [
@@ -5014,6 +5029,12 @@
                        "type": "string",
                        "description": "产品编码",
                        "name": "productNumber",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "报价单编码",
                        "name": "quotationNumber",
                        "in": "query"
                    }
                ],
@@ -5302,6 +5323,40 @@
                }
            }
        },
        "/api/quotation/statistics": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Quotation"
                ],
                "summary": "报价单统计",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "additionalProperties": {
                                                "type": "integer"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/quotation/update": {
            "put": {
                "produces": [
@@ -5521,6 +5576,12 @@
                "parameters": [
                    {
                        "type": "integer",
                        "description": "客户id",
                        "name": "clientId",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
@@ -5529,6 +5590,15 @@
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "collectionFormat": "csv",
                        "name": "principleIds",
                        "in": "query"
                    },
                    {
@@ -5559,6 +5629,7 @@
                            "ReceiptSourceTypeCollectionPlan",
                            "ReceiptSourceTypeChuKuDan"
                        ],
                        "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)",
                        "name": "sourceType",
                        "in": "query"
                    }
@@ -5724,6 +5795,142 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateRefundMethods"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/refundType/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "退款方式管理"
                ],
                "summary": "添加退款方式",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddRefundType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/refundType/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "退款方式管理"
                ],
                "summary": "删除退款方式",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/refundType/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "退款方式管理"
                ],
                "summary": "获取退款方式列表",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.RefundType"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/refundType/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "退款方式管理"
                ],
                "summary": "更新退款方式",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateRefundType"
                        }
                    }
                ],
@@ -6801,6 +7008,66 @@
                }
            }
        },
        "/api/salesDetails/confirmOutput": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "确认发货",
                "parameters": [
                    {
                        "description": "明细编码",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.ConfirmOutput"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/confirmOutputOver": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "确认发货",
                "parameters": [
                    {
                        "description": "明细编码",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.ConfirmOutputOver"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/delete": {
            "delete": {
                "produces": [
@@ -6859,6 +7126,143 @@
                }
            }
        },
        "/api/salesDetails/getApsProjectList": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "获取aps项目列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.Response"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/getDeliveryList": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "发货明细",
                "parameters": [
                    {
                        "description": "明细编码",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/v1.GetWarehouseProductInfoReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/getDeliveryPrepareInfo": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "获取产品入库信息",
                "parameters": [
                    {
                        "description": "明细编码",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/v1.GetWarehouseProductInfoReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/getDeliveryPrepareInfoByWarehouse": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "获取产品入库信息按仓库分组",
                "parameters": [
                    {
                        "description": "明细编码",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/v1.GetWarehouseProductInfoReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/getProductInventoryInfo/{number}": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "获取产品发货信息",
                "parameters": [
                    {
                        "type": "string",
                        "description": "明细编码",
                        "name": "number",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/list": {
            "post": {
                "produces": [
@@ -6901,6 +7305,36 @@
                }
            }
        },
        "/api/salesDetails/sendSalesDetailsToOtherSystem": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "推送销售明细信息到其他系统",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.SalesDetails"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/update": {
            "put": {
                "produces": [
@@ -6918,6 +7352,36 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSalesDetails"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/updateStatus": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "更新销售明细状态",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSalesDetailsStatus"
                        }
                    }
                ],
@@ -7829,7 +8293,7 @@
            }
        },
        "/api/serviceCollectionPlan/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -7839,28 +8303,13 @@
                "summary": "获取收款计划列表",
                "parameters": [
                    {
                        "type": "integer",
                        "name": "sourceId",
                        "in": "query",
                        "required": true
                    },
                    {
                        "enum": [
                            1,
                            2
                        ],
                        "type": "integer",
                        "x-enum-comments": {
                            "CollectionSourceTypeSaleDetails": "销售明细",
                            "CollectionSourceTypeServiceContract": "服务合同"
                        },
                        "x-enum-varnames": [
                            "CollectionSourceTypeSaleDetails",
                            "CollectionSourceTypeServiceContract"
                        ],
                        "name": "sourceType",
                        "in": "query",
                        "required": true
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetServiceCollectionPlanList"
                        }
                    }
                ],
                "responses": {
@@ -9524,6 +9973,96 @@
                }
            }
        },
        "/api/system/getSystemSet": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "系统设置"
                ],
                "summary": "获取系统设置",
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "additionalProperties": true
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/system/saveSystemSet": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "系统设置"
                ],
                "summary": "保存系统设置",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.SaveSystemSet"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/system/useSystemSet/{modeType}": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "系统设置"
                ],
                "summary": "使用系统设置",
                "parameters": [
                    {
                        "type": "string",
                        "description": "查询参数",
                        "name": "modeType",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/timeSpent/add": {
            "post": {
                "produces": [
@@ -9765,259 +10304,6 @@
                }
            }
        },
        "/api/user/changePassword": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "用户修改密码",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.ChangePasswordReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/user/deleteUser": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "删除用户",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DeleteUserReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/user/getUserInfo": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "获取自身信息",
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/user/getUserList": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "分页获取用户列表(不传分页参数,获取全部)",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetUserList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.PageResult"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/user/register": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "注册账号",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.Register"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.UserResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/user/resetPassword": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "重置用户密码",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/model.User"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/user/setSelfInfo": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "设置用户信息",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.ChangeUserInfo"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/user/setUserInfo": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "设置用户信息",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.ChangeUserInfo"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/vetting/add": {
            "post": {
                "produces": [
@@ -10243,6 +10529,69 @@
        }
    },
    "definitions": {
        "code.CodeAuto": {
            "type": "object",
            "properties": {
                "AutoLength": {
                    "type": "integer"
                },
                "Desc": {
                    "type": "string"
                },
                "PrefixMethod": {
                    "type": "integer"
                },
                "PrefixValue": {
                    "type": "string"
                },
                "SuffixMethod": {
                    "type": "integer"
                }
            }
        },
        "code.CodeRule": {
            "type": "object",
            "properties": {
                "Desc": {
                    "type": "string"
                },
                "Length": {
                    "type": "integer"
                },
                "Name": {
                    "type": "string"
                }
            }
        },
        "code.CodeStandard": {
            "type": "object",
            "properties": {
                "AutoRule": {
                    "$ref": "#/definitions/code.CodeAuto"
                },
                "ID": {
                    "type": "string"
                },
                "List": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/code.CodeRule"
                    }
                },
                "Method": {
                    "type": "integer"
                },
                "Name": {
                    "type": "string"
                },
                "Status": {
                    "type": "string"
                },
                "Type": {
                    "type": "string"
                }
            }
        },
        "constvar.BankAccountKeywordType": {
            "type": "string",
            "enum": [
@@ -10328,24 +10677,6 @@
            ],
            "x-enum-varnames": [
                "FaqQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.InvoiceKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "InvoiceKeywordCustomerName"
            ]
        },
        "constvar.InvoiceQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "InvoiceQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.InvoiceSourceType": {
@@ -10464,6 +10795,33 @@
                "SalesDetailsKeywordTypeSignTime",
                "SalesDetailsKeywordTypePrincipal",
                "SalesDetailsKeywordTypeProductName"
            ]
        },
        "constvar.SalesDetailsStatus": {
            "type": "integer",
            "enum": [
                1,
                2,
                3,
                4,
                5,
                6
            ],
            "x-enum-comments": {
                "InStock": "备货中",
                "OverCLose": "已关闭",
                "OverOutbound": "出库完成",
                "WaitConfirmed": "待确认",
                "WaitDecompose": "待分解",
                "WaitOutbound": "待出库"
            },
            "x-enum-varnames": [
                "WaitConfirmed",
                "WaitDecompose",
                "InStock",
                "WaitOutbound",
                "OverOutbound",
                "OverCLose"
            ]
        },
        "constvar.SalesRefundKeywordType": {
@@ -10869,6 +11227,9 @@
                "client_type_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contacts": {
                    "type": "array",
                    "items": {
@@ -10881,8 +11242,10 @@
                "country_id": {
                    "type": "integer"
                },
                "created_at": {
                    "description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
                "createTime": {
                    "type": "string"
                },
                "creatorName": {
                    "type": "string"
                },
                "creator_id": {
@@ -10910,7 +11273,6 @@
                    }
                },
                "id": {
                    "description": "The ID of the item\nexample: 1",
                    "type": "integer"
                },
                "industry": {
@@ -10967,8 +11329,7 @@
                "service_member_id": {
                    "type": "integer"
                },
                "updated_at": {
                    "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25",
                "updateTime": {
                    "type": "string"
                }
            }
@@ -11064,6 +11425,9 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "country": {
                    "$ref": "#/definitions/model.Country"
                },
@@ -11134,6 +11498,9 @@
                },
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "country": {
                    "$ref": "#/definitions/model.Country"
@@ -11214,6 +11581,12 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contractName": {
                    "type": "string"
                },
                "created_at": {
                    "description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
                    "type": "string"
@@ -11239,6 +11612,9 @@
                },
                "quotationId": {
                    "type": "integer"
                },
                "sendTime": {
                    "type": "string"
                },
                "serviceContractStatus": {
                    "$ref": "#/definitions/model.ServiceContractStatus"
@@ -11361,6 +11737,9 @@
                "client_status_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/model.Contact"
                },
@@ -11438,6 +11817,9 @@
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "courierCompany": {
                    "$ref": "#/definitions/model.CourierCompany"
                },
@@ -11473,6 +11855,9 @@
                "invoiceTypeId": {
                    "description": "发票类型id",
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "principalId": {
                    "description": "销售负责人id",
@@ -11558,6 +11943,9 @@
                },
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "end_time": {
                    "type": "string"
@@ -11738,11 +12126,17 @@
                "amount": {
                    "type": "number"
                },
                "cost": {
                    "type": "string"
                },
                "desc": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "margin": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
@@ -11753,8 +12147,20 @@
                "price": {
                    "type": "number"
                },
                "profit": {
                    "type": "string"
                },
                "specs": {
                    "type": "string"
                },
                "total": {
                    "type": "number"
                },
                "type": {
                    "type": "string"
                },
                "unit": {
                    "type": "string"
                }
            }
        },
@@ -11778,11 +12184,18 @@
        "model.Quotation": {
            "type": "object",
            "properties": {
                "amountTotal": {
                    "description": "价格合计",
                    "type": "number"
                },
                "client": {
                    "$ref": "#/definitions/model.Client"
                },
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "conditions": {
                    "type": "string"
@@ -11813,6 +12226,9 @@
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "quotationName": {
                    "type": "string"
                },
                "quotation_status": {
                    "$ref": "#/definitions/model.QuotationStatus"
@@ -11943,6 +12359,17 @@
                }
            }
        },
        "model.RefundType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Region": {
            "type": "object",
            "properties": {
@@ -12022,6 +12449,9 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "collection_projections": {
                    "type": "array",
                    "items": {
@@ -12091,6 +12521,12 @@
                "process": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projected_amount": {
                    "type": "number"
                },
@@ -12135,6 +12571,14 @@
                },
                "solutions": {
                    "type": "string"
                },
                "status": {
                    "description": "状态",
                    "allOf": [
                        {
                            "$ref": "#/definitions/model.Status"
                        }
                    ]
                },
                "status_id": {
                    "type": "integer"
@@ -12207,6 +12651,9 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "conditions": {
                    "type": "string"
                },
@@ -12218,6 +12665,9 @@
                },
                "creatorName": {
                    "type": "string"
                },
                "deliverType": {
                    "type": "integer"
                },
                "deliveryDate": {
                    "type": "string"
@@ -12249,6 +12699,15 @@
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projectId": {
                    "type": "string"
                },
                "quotation": {
                    "$ref": "#/definitions/model.Quotation"
                },
                "quotationId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
@@ -12263,6 +12722,12 @@
                },
                "signTime": {
                    "type": "string"
                },
                "source": {
                    "type": "string"
                },
                "status": {
                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                },
                "updateTime": {
                    "type": "string"
@@ -12283,6 +12748,9 @@
                },
                "city_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contact_name": {
                    "type": "string"
@@ -12355,8 +12823,13 @@
        "model.SalesRefund": {
            "type": "object",
            "properties": {
                "Source": {
                    "$ref": "#/definitions/model.SalesReturn"
                "RefundType": {
                    "description": "退款方式",
                    "allOf": [
                        {
                            "$ref": "#/definitions/model.RefundType"
                        }
                    ]
                },
                "amountTotal": {
                    "description": "价税合计",
@@ -12374,6 +12847,9 @@
                },
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "createTime": {
                    "type": "string"
@@ -12414,6 +12890,13 @@
                },
                "refundDate": {
                    "type": "string"
                },
                "refundTypeId": {
                    "description": "退款方式ID",
                    "type": "integer"
                },
                "salesReturn": {
                    "$ref": "#/definitions/model.SalesReturn"
                },
                "sourceId": {
                    "description": "源单id",
@@ -12459,6 +12942,9 @@
                },
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "createTime": {
                    "type": "string"
@@ -12666,6 +13152,9 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/model.Contact"
                },
@@ -12806,6 +13295,9 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/model.Contact"
                },
@@ -12902,6 +13394,9 @@
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/model.Contact"
@@ -13021,6 +13516,10 @@
                "severity": {
                    "$ref": "#/definitions/model.Severity"
                },
                "severityId": {
                    "description": "严重程度id",
                    "type": "integer"
                },
                "solution": {
                    "description": "解决方法",
                    "type": "string"
@@ -13109,6 +13608,9 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
@@ -13132,6 +13634,23 @@
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                }
            }
        },
        "model.SystemSet": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "modeType": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "value": {
                    "type": "string"
                }
            }
        },
@@ -13196,6 +13715,10 @@
                    "type": "string"
                },
                "realName": {
                    "type": "string"
                },
                "subUserIds": {
                    "description": "下属员工用户id,用逗号分开",
                    "type": "string"
                },
                "userType": {
@@ -13347,6 +13870,10 @@
                "client_type_id": {
                    "description": "客户类型ID",
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/request.Contact"
@@ -13548,6 +14075,14 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contractName": {
                    "description": "合同名称",
                    "type": "string"
                },
                "file": {
                    "type": "string"
                },
@@ -13559,6 +14094,10 @@
                },
                "quotation_id": {
                    "type": "integer"
                },
                "sendTime": {
                    "description": "发货时间",
                    "type": "string"
                },
                "status_id": {
                    "type": "integer"
@@ -13700,6 +14239,9 @@
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "courierCompanyId": {
                    "description": "物流公司",
                    "type": "integer"
@@ -13723,6 +14265,10 @@
                "invoiceTypeId": {
                    "description": "发票类型id",
                    "type": "integer"
                },
                "number": {
                    "description": "发票编号",
                    "type": "string"
                },
                "principalId": {
                    "description": "销售负责人id",
@@ -13806,6 +14352,10 @@
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "end_time": {
                    "type": "string"
@@ -13923,6 +14473,10 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "conditions": {
                    "type": "string"
                },
@@ -13943,6 +14497,10 @@
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "quotationName": {
                    "description": "报价单名称",
                    "type": "string"
                },
                "quotation_status_id": {
                    "type": "integer"
@@ -14067,6 +14625,17 @@
                }
            }
        },
        "request.AddRefundType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddRegion": {
            "type": "object",
            "properties": {
@@ -14138,6 +14707,10 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "competitors": {
                    "type": "string"
                },
@@ -14185,6 +14758,12 @@
                },
                "process": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projected_amount": {
                    "type": "number"
@@ -14249,17 +14828,31 @@
        "request.AddSalesDetails": {
            "type": "object",
            "properties": {
                "Member": {
                    "$ref": "#/definitions/model.User"
                },
                "address": {
                    "type": "string"
                },
                "addressee": {
                    "type": "string"
                },
                "client": {
                    "$ref": "#/definitions/model.Client"
                },
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "conditions": {
                    "type": "string"
                },
                "deliverType": {
                    "description": "交付类型:1.一次发货,2.多次发货",
                    "type": "integer"
                },
                "deliveryDate": {
                    "type": "string"
@@ -14288,6 +14881,12 @@
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projectId": {
                    "type": "string"
                },
                "quotationId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
@@ -14300,6 +14899,12 @@
                "signTime": {
                    "type": "string"
                },
                "source": {
                    "type": "string"
                },
                "status": {
                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                },
                "wechatOrderStatusId": {
                    "type": "integer"
                }
@@ -14310,6 +14915,10 @@
            "properties": {
                "city_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contact_name": {
                    "description": "联系人姓名",
@@ -14430,6 +15039,10 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contactId": {
                    "type": "integer"
                },
@@ -14534,6 +15147,10 @@
                    "description": "客户类型ID",
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/request.Contact"
                },
@@ -14624,6 +15241,10 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contactId": {
                    "type": "integer"
                },
@@ -14684,6 +15305,10 @@
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contactId": {
                    "description": "联系人id",
@@ -14753,7 +15378,7 @@
                    "description": "服务方式id",
                    "type": "integer"
                },
                "severity": {
                "severityId": {
                    "description": "严重程度id",
                    "type": "integer"
                },
@@ -14835,6 +15460,10 @@
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "masterOrderId": {
                    "type": "integer"
@@ -14944,48 +15573,6 @@
                }
            }
        },
        "request.ChangePasswordReq": {
            "type": "object",
            "properties": {
                "newPassword": {
                    "description": "新密码",
                    "type": "string"
                },
                "password": {
                    "description": "密码",
                    "type": "string"
                }
            }
        },
        "request.ChangeUserInfo": {
            "type": "object",
            "properties": {
                "email": {
                    "description": "用户邮箱",
                    "type": "string"
                },
                "headerImg": {
                    "description": "用户头像",
                    "type": "string"
                },
                "id": {
                    "description": "用户ID",
                    "type": "string"
                },
                "nickName": {
                    "description": "用户昵称",
                    "type": "string"
                },
                "phone": {
                    "description": "用户手机号",
                    "type": "string"
                },
                "pos": {
                    "description": "用户岗位",
                    "type": "string"
                }
            }
        },
        "request.CheckClientName": {
            "type": "object",
            "properties": {
@@ -15005,6 +15592,41 @@
                    "items": {
                        "type": "integer"
                    }
                }
            }
        },
        "request.ConfirmOutput": {
            "type": "object",
            "properties": {
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.ConfirmOutputProducts"
                    }
                },
                "saleDetailNumber": {
                    "type": "string"
                }
            }
        },
        "request.ConfirmOutputOver": {
            "type": "object",
            "properties": {
                "saleDetailNumber": {
                    "type": "string"
                }
            }
        },
        "request.ConfirmOutputProducts": {
            "type": "object",
            "properties": {
                "number": {
                    "description": "产品编号",
                    "type": "string"
                },
                "outputAmount": {
                    "description": "本次发货数量",
                    "type": "number"
                }
            }
        },
@@ -15215,15 +15837,6 @@
                }
            }
        },
        "request.DeleteUserReq": {
            "type": "object",
            "properties": {
                "userId": {
                    "description": "用户ID",
                    "type": "string"
                }
            }
        },
        "request.DownloadFile": {
            "type": "object",
            "required": [
@@ -15259,6 +15872,9 @@
                },
                "client_status_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contact_id": {
                    "type": "integer"
@@ -15319,6 +15935,10 @@
        "request.GetContactList": {
            "type": "object",
            "properties": {
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
@@ -15337,6 +15957,9 @@
        "request.GetContractList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
@@ -15389,6 +16012,36 @@
                    "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"跟进主题\", \"member_name\": \"跟进人\", \"client_name\": \"客户名称\", \"client_status\": \"客户状态\", \"follow_time\": \"跟进时间\", \"next_follow_time\": \"下次跟进时间\", \"record\": \"跟进记录\", \"phone\": \"联系人电话\", \"contact_name\": \"联系人姓名\", \"sales_leads_id\": \"销售线索id\", \"sale_chance_id\": \"销售机会id\"}",
                    "type": "object",
                    "additionalProperties": true
                }
            }
        },
        "request.GetInvoiceList": {
            "type": "object",
            "properties": {
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "principalIds": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "sourceId": {
                    "type": "integer"
                },
                "sourceType": {
                    "description": "源单类型(1销售明细单2服务合同)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.InvoiceSourceType"
                        }
                    ]
                }
            }
        },
@@ -15481,11 +16134,19 @@
        "request.GetSalesDetailsList": {
            "type": "object",
            "properties": {
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "keyword": {
                    "type": "string"
                },
                "keywordType": {
                    "$ref": "#/definitions/constvar.SalesDetailsKeywordType"
                },
                "number": {
                    "description": "销售明细单号",
                    "type": "string"
                },
                "page": {
                    "description": "页码",
@@ -15493,6 +16154,10 @@
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "saleChanceId": {
                    "description": "销售机会id",
                    "type": "integer"
                }
            }
@@ -15531,12 +16196,19 @@
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "sourceId": {
                    "type": "integer"
                }
            }
        },
        "request.GetSalesReturnList": {
            "type": "object",
            "properties": {
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "keyword": {
                    "type": "string"
                },
@@ -15550,12 +16222,43 @@
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "sourceId": {
                    "description": "源单id",
                    "type": "integer"
                },
                "sourceType": {
                    "description": "源单类型(1销售明细)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.SalesReturnSourceType"
                        }
                    ]
                }
            }
        },
        "request.GetServiceCollectionPlanList": {
            "type": "object",
            "required": [
                "sourceId",
                "sourceType"
            ],
            "properties": {
                "sourceId": {
                    "type": "integer"
                },
                "sourceType": {
                    "$ref": "#/definitions/constvar.CollectionSourceType"
                }
            }
        },
        "request.GetServiceContractList": {
            "type": "object",
            "properties": {
                "contactId": {
                    "description": "联系人id",
                    "type": "integer"
                },
                "keyword": {
                    "type": "string"
                },
@@ -15572,6 +16275,18 @@
                },
                "queryClass": {
                    "$ref": "#/definitions/constvar.ServiceContractQueryClass"
                },
                "quotationId": {
                    "description": "报价单id",
                    "type": "integer"
                },
                "saleChanceId": {
                    "description": "销售机会id",
                    "type": "integer"
                },
                "salesDetailsId": {
                    "description": "合同订单id",
                    "type": "integer"
                }
            }
        },
@@ -15666,44 +16381,6 @@
                }
            }
        },
        "request.GetUserList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "description": "模糊查询关键字",
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.Login": {
            "type": "object",
            "properties": {
                "captcha": {
                    "description": "验证码",
                    "type": "string"
                },
                "captchaId": {
                    "description": "验证码ID",
                    "type": "string"
                },
                "password": {
                    "description": "密码",
                    "type": "string"
                },
                "username": {
                    "description": "用户名",
                    "type": "string"
                }
            }
        },
        "request.Plan": {
            "type": "object",
            "properties": {
@@ -15770,66 +16447,34 @@
                }
            }
        },
        "request.Register": {
            "type": "object",
            "properties": {
                "authorityId": {
                    "description": "用户角色ID",
                    "type": "integer"
                },
                "departmentId": {
                    "type": "integer"
                },
                "email": {
                    "type": "string"
                },
                "headerImg": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "nickName": {
                    "type": "string"
                },
                "password": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                },
                "pos": {
                    "type": "string"
                },
                "rePassword": {
                    "description": "确认密码",
                    "type": "string"
                },
                "realName": {
                    "type": "string"
                },
                "userType": {
                    "$ref": "#/definitions/constvar.UserType"
                },
                "username": {
                    "type": "string"
                }
            }
        },
        "request.SalesDetails": {
            "type": "object",
            "properties": {
                "Member": {
                    "$ref": "#/definitions/model.User"
                },
                "address": {
                    "type": "string"
                },
                "addressee": {
                    "type": "string"
                },
                "client": {
                    "$ref": "#/definitions/model.Client"
                },
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "conditions": {
                    "type": "string"
                },
                "deliverType": {
                    "description": "交付类型:1.一次发货,2.多次发货",
                    "type": "integer"
                },
                "deliveryDate": {
                    "type": "string"
@@ -15858,6 +16503,12 @@
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projectId": {
                    "type": "string"
                },
                "quotationId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
@@ -15869,6 +16520,12 @@
                },
                "signTime": {
                    "type": "string"
                },
                "source": {
                    "type": "string"
                },
                "status": {
                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                },
                "wechatOrderStatusId": {
                    "type": "integer"
@@ -15888,6 +16545,10 @@
                },
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "isInvoice": {
                    "type": "string"
@@ -15934,6 +16595,10 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "memberId": {
                    "type": "integer"
                },
@@ -15973,6 +16638,17 @@
                            "$ref": "#/definitions/constvar.SalesReturnSourceType"
                        }
                    ]
                }
            }
        },
        "request.SaveSystemSet": {
            "type": "object",
            "properties": {
                "sets": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SystemSet"
                    }
                }
            }
        },
@@ -16128,6 +16804,10 @@
                "client_type_id": {
                    "description": "客户类型ID",
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/request.Contact"
@@ -16414,6 +17094,14 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contractName": {
                    "description": "合同名称",
                    "type": "string"
                },
                "file": {
                    "type": "string"
                },
@@ -16428,6 +17116,10 @@
                },
                "quotation_id": {
                    "type": "integer"
                },
                "sendTime": {
                    "description": "发货时间",
                    "type": "string"
                },
                "status_id": {
                    "type": "integer"
@@ -16666,6 +17358,9 @@
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "courierCompanyId": {
                    "description": "物流公司",
                    "type": "integer"
@@ -16692,6 +17387,10 @@
                "invoiceTypeId": {
                    "description": "发票类型id",
                    "type": "integer"
                },
                "number": {
                    "description": "发票编号",
                    "type": "string"
                },
                "principalId": {
                    "description": "销售负责人id",
@@ -16807,6 +17506,10 @@
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "end_time": {
                    "type": "string"
@@ -16985,6 +17688,10 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "conditions": {
                    "type": "string"
                },
@@ -17008,6 +17715,10 @@
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "quotationName": {
                    "description": "报价单名称",
                    "type": "string"
                },
                "quotation_status_id": {
                    "type": "integer"
@@ -17165,6 +17876,17 @@
                    "items": {
                        "$ref": "#/definitions/request.UpdateRefundMethod"
                    }
                }
            }
        },
        "request.UpdateRefundType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -17327,6 +18049,10 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "competitors": {
                    "type": "string"
                },
@@ -17377,6 +18103,12 @@
                },
                "process": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projected_amount": {
                    "type": "number"
@@ -17485,11 +18217,26 @@
                }
            }
        },
        "request.UpdateSalesDetailsStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "status": {
                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                }
            }
        },
        "request.UpdateSalesLeads": {
            "type": "object",
            "properties": {
                "city_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contact_name": {
                    "description": "联系人姓名",
@@ -17740,6 +18487,10 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contactId": {
                    "type": "integer"
                },
@@ -17865,6 +18616,10 @@
                    "description": "客户类型ID",
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/request.Contact"
                },
@@ -17956,6 +18711,10 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contactId": {
                    "type": "integer"
                },
@@ -18019,6 +18778,10 @@
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contactId": {
                    "description": "联系人id",
@@ -18091,7 +18854,7 @@
                    "description": "服务方式id",
                    "type": "integer"
                },
                "severity": {
                "severityId": {
                    "description": "严重程度id",
                    "type": "integer"
                },
@@ -18209,6 +18972,10 @@
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "id": {
                    "type": "integer"
@@ -18745,6 +19512,35 @@
                }
            }
        },
        "response.Info": {
            "type": "object",
            "properties": {
                "makeInfo": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.WorkOrderInfo"
                    }
                },
                "outsourcingInfo": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.OutsourcingInfo"
                    }
                },
                "productInfo": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.SalesDetailsProductInfo"
                    }
                },
                "purchaseInfo": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.Purchase"
                    }
                }
            }
        },
        "response.IsInvoiceResponse": {
            "type": "object",
            "properties": {
@@ -18846,18 +19642,46 @@
                }
            }
        },
        "response.PageResult": {
        "response.OutsourcingInfo": {
            "type": "object",
            "properties": {
                "list": {},
                "page": {
                "amount": {
                    "description": "订单数量",
                    "type": "integer"
                },
                "pageSize": {
                "endTime": {
                    "type": "string"
                },
                "finishAmount": {
                    "description": "完成数量",
                    "type": "integer"
                },
                "total": {
                    "type": "integer"
                "outsourcingId": {
                    "description": "委外订单id",
                    "type": "string"
                },
                "outsourcingStatus": {
                    "type": "string"
                },
                "productId": {
                    "type": "string"
                },
                "productName": {
                    "type": "string"
                },
                "specs": {
                    "description": "物料规格",
                    "type": "string"
                },
                "startTime": {
                    "type": "string"
                },
                "supplierName": {
                    "type": "string"
                },
                "unit": {
                    "description": "单位",
                    "type": "string"
                }
            }
        },
@@ -18894,6 +19718,45 @@
                    "items": {
                        "$ref": "#/definitions/model.Province"
                    }
                }
            }
        },
        "response.Purchase": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "订单数量",
                    "type": "integer"
                },
                "finishAmount": {
                    "description": "完成数量",
                    "type": "integer"
                },
                "productId": {
                    "type": "string"
                },
                "productName": {
                    "type": "string"
                },
                "purchaseName": {
                    "type": "string"
                },
                "purchaseNumber": {
                    "type": "string"
                },
                "specs": {
                    "description": "物料规格",
                    "type": "string"
                },
                "status": {
                    "type": "integer"
                },
                "supplierName": {
                    "type": "string"
                },
                "unit": {
                    "description": "单位",
                    "type": "string"
                }
            }
        },
@@ -18977,6 +19840,18 @@
                }
            }
        },
        "response.Response": {
            "type": "object",
            "properties": {
                "code": {
                    "type": "integer"
                },
                "data": {},
                "msg": {
                    "type": "string"
                }
            }
        },
        "response.SaleChanceResponse": {
            "type": "object",
            "properties": {
@@ -19010,6 +19885,81 @@
                    "items": {
                        "$ref": "#/definitions/model.SaleType"
                    }
                }
            }
        },
        "response.SalesDetailsProductInfo": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "订单数量",
                    "type": "number"
                },
                "cost": {
                    "description": "产品成本",
                    "type": "string"
                },
                "deliveryAmount": {
                    "description": "发货数量",
                    "type": "integer"
                },
                "finishAmount": {
                    "description": "完成数量",
                    "type": "integer"
                },
                "makeAmount": {
                    "description": "制造数量",
                    "type": "integer"
                },
                "makeFinishAmount": {
                    "description": "制造完成数量",
                    "type": "integer"
                },
                "margin": {
                    "description": "毛利率",
                    "type": "string"
                },
                "outsourcingAmount": {
                    "description": "委外数量",
                    "type": "integer"
                },
                "outsourcingFinishAmount": {
                    "description": "委外完成数量",
                    "type": "integer"
                },
                "price": {
                    "description": "产品价格",
                    "type": "number"
                },
                "productId": {
                    "type": "string"
                },
                "productName": {
                    "type": "string"
                },
                "profit": {
                    "description": "毛利",
                    "type": "string"
                },
                "purchaseAmount": {
                    "description": "采购数量",
                    "type": "integer"
                },
                "purchaseFinishAmount": {
                    "description": "采购完成数量",
                    "type": "integer"
                },
                "specs": {
                    "description": "物料规格",
                    "type": "string"
                },
                "total": {
                    "description": "产品总价",
                    "type": "number"
                },
                "unit": {
                    "description": "单位",
                    "type": "string"
                }
            }
        },
@@ -19191,11 +20141,62 @@
                }
            }
        },
        "response.UserResponse": {
        "response.WorkOrderInfo": {
            "type": "object",
            "properties": {
                "user": {
                    "$ref": "#/definitions/model.User"
                "amount": {
                    "description": "订单数量",
                    "type": "integer"
                },
                "endTime": {
                    "type": "string"
                },
                "finishAmount": {
                    "description": "完成数量",
                    "type": "integer"
                },
                "orderId": {
                    "type": "string"
                },
                "orderStatus": {
                    "type": "string"
                },
                "productId": {
                    "type": "string"
                },
                "productName": {
                    "type": "string"
                },
                "specs": {
                    "description": "物料规格",
                    "type": "string"
                },
                "startTime": {
                    "type": "string"
                },
                "unit": {
                    "description": "单位",
                    "type": "string"
                },
                "workOrderId": {
                    "type": "string"
                },
                "workOrderStatus": {
                    "type": "string"
                }
            }
        },
        "v1.GetWarehouseProductInfoReq": {
            "type": "object",
            "properties": {
                "groupByWarehouse": {
                    "type": "boolean"
                },
                "saleDetailID": {
                    "type": "integer"
                },
                "saleDetailNumber": {
                    "type": "string"
                }
            }
        }