liujiandao
2024-04-30 a5435e6664093cd4b2ead49409cb41e301e46514
docs/docs.go
@@ -800,6 +800,58 @@
                }
            }
        },
        "/api-jl/v1/forms/salaryReportForms": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "报表管理"
                ],
                "summary": "薪资报表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.SalaryReportForms"
                        }
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/response.SalaryReportForms"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api-jl/v1/mentor/createMentorInfo": {
            "post": {
                "produces": [
@@ -2474,6 +2526,9 @@
                "overTimeDuration": {
                    "type": "number"
                },
                "phoneNum": {
                    "type": "string"
                },
                "startWorkTime": {
                    "type": "string"
                },
@@ -2936,10 +2991,14 @@
                    "type": "string"
                },
                "salaryFormula": {
                    "description": "SalaryType    string            ` + "`" + `json:\"salaryType\" gorm:\"type:varchar(255);comment:薪资类型\"` + "`" + `",
                    "type": "string"
                },
                "salaryType": {
                    "type": "string"
                    "$ref": "#/definitions/models.MiniDict"
                },
                "salaryTypeId": {
                    "type": "integer"
                },
                "updatedAt": {
                    "type": "string"
@@ -3748,6 +3807,25 @@
                }
            }
        },
        "request.SalaryReportForms": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "month": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.SalaryType": {
            "type": "object",
            "properties": {
@@ -3770,6 +3848,9 @@
        "request.SalaryTypeValue": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "isDefault": {
                    "description": "是否可编辑",
                    "type": "boolean"
@@ -4338,6 +4419,55 @@
                }
            }
        },
        "response.SalaryDetail": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "工资值",
                    "type": "number"
                },
                "salaryType": {
                    "description": "薪资类型",
                    "type": "string"
                },
                "salaryTypeId": {
                    "description": "薪资类型id",
                    "type": "integer"
                }
            }
        },
        "response.SalaryReportForms": {
            "type": "object",
            "properties": {
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.SalaryDetail"
                    }
                },
                "issueSalary": {
                    "description": "应发工资",
                    "type": "number"
                },
                "phone": {
                    "type": "string"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "workType": {
                    "description": "工种",
                    "type": "string"
                },
                "workerId": {
                    "type": "string"
                },
                "workerName": {
                    "type": "string"
                }
            }
        },
        "util.Response": {
            "type": "object",
            "properties": {