From 0f8093693d0cd3b8da71abac95c617aa850f4819 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期一, 22 四月 2024 15:44:55 +0800
Subject: [PATCH] 考勤管理

---
 docs/swagger.yaml |  122 +++++++++++++++++++++++++++++++++++++++-
 1 files changed, 119 insertions(+), 3 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index baf4f85..fe55a41 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -104,6 +104,37 @@
         description: Valid is true if Time is not NULL
         type: boolean
     type: object
+  models.AttendanceManage:
+    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
+    type: object
   models.Dict:
     properties:
       createdAt:
@@ -690,6 +721,13 @@
         description: 杞﹂棿缂栫爜
         type: string
     type: object
+  request.DeleteAttendanceInfo:
+    properties:
+      ids:
+        items:
+          type: integer
+        type: array
+    type: object
   request.DynamicsRank:
     properties:
       rankName:
@@ -716,6 +754,17 @@
       sum:
         description: 鍚堣
         type: number
+    type: object
+  request.GetAttendanceList:
+    properties:
+      keyword:
+        type: string
+      page:
+        description: 椤电爜
+        type: integer
+      pageSize:
+        description: 姣忛〉澶у皬
+        type: integer
     type: object
   request.GetMentorList:
     properties:
@@ -1111,6 +1160,73 @@
 info:
   contact: {}
 paths:
+  /api-jl/v1/attendance/attendanceInput:
+    post:
+      produces:
+      - application/xlsx
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            $ref: '#/definitions/util.Response'
+      summary: 鑰冨嫟瀵煎叆
+      tags:
+      - 鑰冨嫟绠$悊
+  /api-jl/v1/attendance/deleteAttendanceInfo:
+    delete:
+      parameters:
+      - description: 鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.DeleteAttendanceInfo'
+      - description: token
+        in: header
+        name: Authorization
+        required: true
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            $ref: '#/definitions/util.Response'
+      summary: 鍒犻櫎鑰冨嫟淇℃伅
+      tags:
+      - 鑰冨嫟绠$悊
+  /api-jl/v1/attendance/getAttendanceList:
+    post:
+      parameters:
+      - description: 鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.GetAttendanceList'
+      - description: token
+        in: header
+        name: Authorization
+        required: true
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            allOf:
+            - $ref: '#/definitions/util.ResponseList'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/models.AttendanceManage'
+                  type: array
+              type: object
+      summary: 鑾峰彇鑰冨嫟鍒楄〃
+      tags:
+      - 鑰冨嫟绠$悊
   /api-jl/v1/fineness/changeYieldRegister:
     post:
       parameters:
@@ -1512,7 +1628,7 @@
       parameters:
       - description: id
         in: path
-        name: number
+        name: id
         required: true
         type: string
       - description: token
@@ -2066,7 +2182,7 @@
       parameters:
       - description: id
         in: path
-        name: number
+        name: id
         required: true
         type: string
       - description: token
@@ -2089,7 +2205,7 @@
       parameters:
       - description: id
         in: path
-        name: number
+        name: id
         required: true
         type: string
       - description: token

--
Gitblit v1.8.0