From a5435e6664093cd4b2ead49409cb41e301e46514 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期二, 30 四月 2024 14:07:04 +0800 Subject: [PATCH] 薪资计算2 --- docs/docs.go | 132 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 131 insertions(+), 1 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 2a40518..e1824a3 100644 --- a/docs/docs.go +++ b/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": { -- Gitblit v1.8.0