From adb8a4d6c2806beae1ac97af7f71c8a3ce3ed0c9 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期二, 23 四月 2024 15:25:13 +0800
Subject: [PATCH] 修改考勤信息

---
 docs/docs.go |   92 ++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 84 insertions(+), 8 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 5a49f1f..f4e0312 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -238,6 +238,43 @@
                 }
             }
         },
+        "/api-jl/v1/attendance/updateAttendance": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鑰冨嫟绠$悊"
+                ],
+                "summary": "鏇存柊鑰冨嫟",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateAttendance"
+                        }
+                    },
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api-jl/v1/fineness/changeYieldRegister": {
             "post": {
                 "produces": [
@@ -2954,10 +2991,6 @@
                 "id": {
                     "type": "integer"
                 },
-                "name": {
-                    "description": "杞﹂棿",
-                    "type": "string"
-                },
                 "startDate": {
                     "description": "寮�濮嬫棩鏈�",
                     "type": "string"
@@ -2981,9 +3014,17 @@
                     "description": "宸ヤ汉ID",
                     "type": "string"
                 },
+                "workshop": {
+                    "description": "杞﹂棿缂栧彿",
+                    "type": "string"
+                },
                 "workshopGroup": {
                     "description": "杞︾粍",
                     "type": "integer"
+                },
+                "workshopName": {
+                    "description": "杞﹂棿鍚嶇О",
+                    "type": "string"
                 }
             }
         },
@@ -3333,7 +3374,8 @@
                 "startWorkerPosition",
                 "workerId",
                 "workshop",
-                "workshopGroup"
+                "workshopGroup",
+                "workshopName"
             ],
             "properties": {
                 "endDate": {
@@ -3357,12 +3399,16 @@
                     "type": "string"
                 },
                 "workshop": {
-                    "description": "杞﹂棿",
+                    "description": "杞﹂棿缂栧彿",
                     "type": "string"
                 },
                 "workshopGroup": {
                     "description": "杞︾粍",
                     "type": "integer"
+                },
+                "workshopName": {
+                    "description": "杞﹂棿鍚嶇О",
+                    "type": "string"
                 }
             }
         },
@@ -3680,6 +3726,31 @@
                 }
             }
         },
+        "request.UpdateAttendance": {
+            "type": "object",
+            "properties": {
+                "date": {
+                    "description": "鏃ユ湡",
+                    "type": "string"
+                },
+                "overTimeDuration": {
+                    "description": "鍔犵彮鏃堕暱",
+                    "type": "number"
+                },
+                "status": {
+                    "description": "鐘舵��",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.AttendanceStatus"
+                        }
+                    ]
+                },
+                "workerId": {
+                    "description": "浜哄憳id",
+                    "type": "string"
+                }
+            }
+        },
         "request.UpdateDict": {
             "type": "object",
             "properties": {
@@ -3737,7 +3808,8 @@
                 "startWorkerPosition",
                 "workerId",
                 "workshop",
-                "workshopGroup"
+                "workshopGroup",
+                "workshopName"
             ],
             "properties": {
                 "endDate": {
@@ -3764,12 +3836,16 @@
                     "type": "string"
                 },
                 "workshop": {
-                    "description": "杞﹂棿",
+                    "description": "杞﹂棿缂栧彿",
                     "type": "string"
                 },
                 "workshopGroup": {
                     "description": "杞︾粍",
                     "type": "integer"
+                },
+                "workshopName": {
+                    "description": "杞﹂棿鍚嶇О",
+                    "type": "string"
                 }
             }
         },

--
Gitblit v1.8.0