liujiandao
2024-03-01 6ab6e517d224d8318a9a4ee189671a35bc2fbd2a
docs/docs.go
@@ -93,6 +93,44 @@
            }
        },
        "/api-jl/v1/fineness/register/{id}": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "纤度登记"
                ],
                "summary": "纤度登记详情",
                "parameters": [
                    {
                        "type": "string",
                        "description": "字典信息",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/models.FinenessRegister"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            },
            "delete": {
                "produces": [
                    "application/json"
@@ -275,6 +313,66 @@
                    }
                }
            }
        },
        "/api-jl/v1/system/getPriceStandardList": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "系统设置/生丝定价标准"
                ],
                "summary": "获取生丝定价标准",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/models.RawSilkPriceStandard"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-jl/v1/system/savePriceStandard": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "系统设置/生丝定价标准"
                ],
                "summary": "保存生丝定价标准",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/models.RawSilkPriceStandard"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        }
    },
    "definitions": {
@@ -426,11 +524,49 @@
                    "description": "开始回数",
                    "type": "integer"
                },
                "sumFineness": {
                    "type": "number"
                },
                "sumQuantity": {
                    "type": "number"
                },
                "updatedAt": {
                    "type": "string"
                },
                "workshopGroup": {
                    "description": "车组",
                    "type": "string"
                }
            }
        },
        "models.RawSilkPriceStandard": {
            "type": "object",
            "properties": {
                "createdAt": {
                    "type": "string"
                },
                "deletedAt": {
                    "$ref": "#/definitions/gorm.DeletedAt"
                },
                "id": {
                    "type": "integer"
                },
                "marketNumber": {
                    "type": "string"
                },
                "notes": {
                    "type": "string"
                },
                "payStandard": {
                    "type": "number"
                },
                "rawSilkGradeNumber": {
                    "type": "string"
                },
                "unit": {
                    "type": "string"
                },
                "updatedAt": {
                    "type": "string"
                }
            }
@@ -477,6 +613,10 @@
                    "description": "落丝时间",
                    "type": "string"
                },
                "id": {
                    "description": "id 添加时传0",
                    "type": "integer"
                },
                "market": {
                    "description": "庄口",
                    "type": "string"
@@ -497,8 +637,11 @@
                    "description": "开始回数",
                    "type": "integer"
                },
                "sum": {
                    "$ref": "#/definitions/request.FinenessItem"
                "sumFineness": {
                    "type": "number"
                },
                "sumQuantity": {
                    "type": "number"
                },
                "workshopGroup": {
                    "description": "车组",
@@ -579,9 +722,7 @@
                "pageSize": {
                    "type": "integer"
                },
                "total": {
                    "type": "integer"
                }
                "total": {}
            }
        }
    }