From cd057a6eb60902fc380e4de16ece38a2ae83d5a0 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 26 四月 2024 16:51:48 +0800 Subject: [PATCH] 更改类型 --- docs/docs.go | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 112 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index f4e0312..17b211f 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -201,6 +201,36 @@ } } }, + "/api-jl/v1/attendance/getTemplate": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鑰冨嫟绠$悊" + ], + "summary": "鑾峰彇妯$増鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.TemplateCategoryRequest" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, "/api-jl/v1/attendance/saveAttendanceRule": { "post": { "produces": [ @@ -2314,6 +2344,21 @@ "DictTypeSpec" ] }, + "constvar.FileTemplateCategory": { + "type": "integer", + "enum": [ + 1, + 2 + ], + "x-enum-comments": { + "FileTemplateCategory_Output": "鍑哄簱", + "FileTemplateCategory_Selfmade": "鍏ュ簱-鑷埗" + }, + "x-enum-varnames": [ + "FileTemplateCategory_Selfmade", + "FileTemplateCategory_Output" + ] + }, "constvar.MiniDictType": { "type": "integer", "enum": [ @@ -3506,6 +3551,9 @@ "request.GetAttendanceStatistic": { "type": "object", "properties": { + "keyword": { + "type": "string" + }, "month": { "description": "鏈堜唤", "type": "string" @@ -3726,16 +3774,44 @@ } } }, + "request.TemplateCategoryRequest": { + "type": "object", + "properties": { + "category": { + "$ref": "#/definitions/constvar.FileTemplateCategory" + } + } + }, "request.UpdateAttendance": { "type": "object", "properties": { + "classes": { + "description": "鐝", + "type": "string" + }, + "classesEndTime": { + "description": "鐝涓嬬彮鏃堕棿", + "type": "string" + }, + "classesStartTime": { + "description": "鐝寮�濮嬫椂闂�", + "type": "string" + }, "date": { "description": "鏃ユ湡", + "type": "string" + }, + "endWorkTime": { + "description": "涓嬬彮鎵撳崱鏃堕棿", "type": "string" }, "overTimeDuration": { "description": "鍔犵彮鏃堕暱", "type": "number" + }, + "startWorkTime": { + "description": "涓婄彮鎵撳崱鏃堕棿", + "type": "string" }, "status": { "description": "鐘舵��", @@ -3745,8 +3821,16 @@ } ] }, + "workTypeId": { + "description": "宸ョid", + "type": "integer" + }, "workerId": { "description": "浜哄憳id", + "type": "string" + }, + "workerName": { + "description": "浜哄憳濮撳悕", "type": "string" } } @@ -4049,9 +4133,29 @@ "response.AttendanceDetail": { "type": "object", "properties": { + "classes": { + "description": "鐝", + "type": "string" + }, + "classesEndTime": { + "description": "鐝涓嬬彮鏃堕棿", + "type": "string" + }, + "classesStartTime": { + "description": "鐝寮�濮嬫椂闂�", + "type": "string" + }, "date": { "description": "鏃ユ湡", "type": "integer" + }, + "endWorkTime": { + "description": "涓嬬彮鎵撳崱鏃堕棿", + "type": "string" + }, + "startWorkTime": { + "description": "涓婄彮鎵撳崱鏃堕棿", + "type": "string" }, "status": { "description": "鐘舵��", @@ -4060,6 +4164,10 @@ "$ref": "#/definitions/constvar.AttendanceStatus" } ] + }, + "weekDay": { + "description": "鏄熸湡", + "type": "string" } } }, @@ -4108,6 +4216,10 @@ "description": "宸ョ", "type": "string" }, + "workTypeId": { + "description": "宸ョid", + "type": "integer" + }, "workerId": { "description": "浜哄憳id", "type": "string" -- Gitblit v1.8.0