jiangshuai
2024-02-06 116948bcec330a6dde841708515c222fcebf51a7
docs/docs.go
@@ -4947,10 +4947,7 @@
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/product.WorkOrderInfo"
                                            }
                                            "$ref": "#/definitions/response.Info"
                                        }
                                    }
                                }
@@ -5032,6 +5029,12 @@
                        "type": "string",
                        "description": "产品编码",
                        "name": "productNumber",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "报价单编码",
                        "name": "quotationNumber",
                        "in": "query"
                    }
                ],
@@ -5311,6 +5314,40 @@
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.QuotationResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/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"
                                            }
                                        }
                                    }
                                }
@@ -9786,6 +9823,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": [
@@ -11843,11 +11970,17 @@
                "amount": {
                    "type": "number"
                },
                "cost": {
                    "type": "string"
                },
                "desc": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "margin": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
@@ -11857,6 +11990,9 @@
                },
                "price": {
                    "type": "number"
                },
                "profit": {
                    "type": "string"
                },
                "total": {
                    "type": "number"
@@ -11886,6 +12022,10 @@
        "model.Quotation": {
            "type": "object",
            "properties": {
                "amountTotal": {
                    "description": "价格合计",
                    "type": "number"
                },
                "client": {
                    "$ref": "#/definitions/model.Client"
                },
@@ -13335,6 +13475,23 @@
                }
            }
        },
        "model.SystemSet": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "modeType": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "value": {
                    "type": "string"
                }
            }
        },
        "model.TimeSpent": {
            "type": "object",
            "properties": {
@@ -13474,32 +13631,6 @@
                    "type": "string"
                },
                "Unit": {
                    "type": "string"
                }
            }
        },
        "product.WorkOrderInfo": {
            "type": "object",
            "properties": {
                "EndTime": {
                    "type": "string"
                },
                "OrderId": {
                    "type": "string"
                },
                "OrderStatus": {
                    "type": "string"
                },
                "ProductName": {
                    "type": "string"
                },
                "StartTime": {
                    "type": "string"
                },
                "WorkOrderId": {
                    "type": "string"
                },
                "WorkOrderStatus": {
                    "type": "string"
                }
            }
@@ -16310,6 +16441,17 @@
                            "$ref": "#/definitions/constvar.SalesReturnSourceType"
                        }
                    ]
                }
            }
        },
        "request.SaveSystemSet": {
            "type": "object",
            "properties": {
                "sets": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SystemSet"
                    }
                }
            }
        },
@@ -19173,6 +19315,23 @@
                }
            }
        },
        "response.Info": {
            "type": "object",
            "properties": {
                "makeInfo": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.WorkOrderInfo"
                    }
                },
                "purchaseInfo": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.Purchase"
                    }
                }
            }
        },
        "response.IsInvoiceResponse": {
            "type": "object",
            "properties": {
@@ -19307,6 +19466,26 @@
                    "items": {
                        "$ref": "#/definitions/model.Province"
                    }
                }
            }
        },
        "response.Purchase": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "integer"
                },
                "purchaseName": {
                    "type": "string"
                },
                "purchaseNumber": {
                    "type": "string"
                },
                "status": {
                    "type": "integer"
                },
                "supplierName": {
                    "type": "string"
                }
            }
        },
@@ -19615,6 +19794,32 @@
                    }
                }
            }
        },
        "response.WorkOrderInfo": {
            "type": "object",
            "properties": {
                "endTime": {
                    "type": "string"
                },
                "orderId": {
                    "type": "string"
                },
                "orderStatus": {
                    "type": "string"
                },
                "productName": {
                    "type": "string"
                },
                "startTime": {
                    "type": "string"
                },
                "workOrderId": {
                    "type": "string"
                },
                "workOrderStatus": {
                    "type": "string"
                }
            }
        }
    }
}`