From 0f8093693d0cd3b8da71abac95c617aa850f4819 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期一, 22 四月 2024 15:44:55 +0800
Subject: [PATCH] 考勤管理
---
docs/docs.go | 188 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 185 insertions(+), 3 deletions(-)
diff --git a/docs/docs.go b/docs/docs.go
index 46adac4..fa943c2 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -16,6 +16,114 @@
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {
+ "/api-jl/v1/attendance/attendanceInput": {
+ "post": {
+ "produces": [
+ "application/xlsx"
+ ],
+ "tags": [
+ "鑰冨嫟绠$悊"
+ ],
+ "summary": "鑰冨嫟瀵煎叆",
+ "responses": {
+ "200": {
+ "description": "鎴愬姛",
+ "schema": {
+ "$ref": "#/definitions/util.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api-jl/v1/attendance/deleteAttendanceInfo": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "鑰冨嫟绠$悊"
+ ],
+ "summary": "鍒犻櫎鑰冨嫟淇℃伅",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.DeleteAttendanceInfo"
+ }
+ },
+ {
+ "type": "string",
+ "description": "token",
+ "name": "Authorization",
+ "in": "header",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "鎴愬姛",
+ "schema": {
+ "$ref": "#/definitions/util.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api-jl/v1/attendance/getAttendanceList": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "鑰冨嫟绠$悊"
+ ],
+ "summary": "鑾峰彇鑰冨嫟鍒楄〃",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.GetAttendanceList"
+ }
+ },
+ {
+ "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/models.AttendanceManage"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
"/api-jl/v1/fineness/changeYieldRegister": {
"post": {
"produces": [
@@ -678,7 +786,7 @@
{
"type": "string",
"description": "id",
- "name": "number",
+ "name": "id",
"in": "path",
"required": true
},
@@ -1573,7 +1681,7 @@
{
"type": "string",
"description": "id",
- "name": "number",
+ "name": "id",
"in": "path",
"required": true
},
@@ -1608,7 +1716,7 @@
{
"type": "string",
"description": "id",
- "name": "number",
+ "name": "id",
"in": "path",
"required": true
},
@@ -1936,6 +2044,53 @@
"valid": {
"description": "Valid is true if Time is not NULL",
"type": "boolean"
+ }
+ }
+ },
+ "models.AttendanceManage": {
+ "type": "object",
+ "properties": {
+ "addPeople": {
+ "type": "string"
+ },
+ "classes": {
+ "type": "string"
+ },
+ "classesEndTime": {
+ "type": "string"
+ },
+ "classesStartTime": {
+ "type": "string"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "date": {
+ "type": "string"
+ },
+ "deletedAt": {
+ "$ref": "#/definitions/gorm.DeletedAt"
+ },
+ "endWorkTime": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "startWorkTime": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ },
+ "workerId": {
+ "type": "string"
+ },
+ "workerName": {
+ "type": "string"
}
}
},
@@ -2801,6 +2956,17 @@
}
}
},
+ "request.DeleteAttendanceInfo": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
"request.DynamicsRank": {
"type": "object",
"properties": {
@@ -2839,6 +3005,22 @@
}
}
},
+ "request.GetAttendanceList": {
+ "type": "object",
+ "properties": {
+ "keyword": {
+ "type": "string"
+ },
+ "page": {
+ "description": "椤电爜",
+ "type": "integer"
+ },
+ "pageSize": {
+ "description": "姣忛〉澶у皬",
+ "type": "integer"
+ }
+ }
+ },
"request.GetMentorList": {
"type": "object",
"properties": {
--
Gitblit v1.8.0