From 41dc74023dcb4f1143095f326f8e142313f49500 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期日, 28 四月 2024 11:11:08 +0800
Subject: [PATCH] 修改
---
docs/swagger.yaml | 79 +++++++++++++++++++++++++++++++++++++++
1 files changed, 79 insertions(+), 0 deletions(-)
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 1b4dca5..2f13f68 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -67,6 +67,17 @@
- DictTypeWorkshop
- DictTypeColor
- DictTypeSpec
+ constvar.FileTemplateCategory:
+ enum:
+ - 1
+ - 2
+ type: integer
+ x-enum-comments:
+ FileTemplateCategory_Output: 鍑哄簱
+ FileTemplateCategory_Selfmade: 鍏ュ簱-鑷埗
+ x-enum-varnames:
+ - FileTemplateCategory_Selfmade
+ - FileTemplateCategory_Output
constvar.MiniDictType:
enum:
- 1
@@ -890,6 +901,8 @@
type: object
request.GetAttendanceStatistic:
properties:
+ keyword:
+ type: string
month:
description: 鏈堜唤
type: string
@@ -1038,20 +1051,46 @@
$ref: '#/definitions/request.RankStandard'
type: array
type: object
+ request.TemplateCategoryRequest:
+ properties:
+ category:
+ $ref: '#/definitions/constvar.FileTemplateCategory'
+ type: object
request.UpdateAttendance:
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:
allOf:
- $ref: '#/definitions/constvar.AttendanceStatus'
description: 鐘舵��
+ workTypeId:
+ description: 宸ョid
+ type: integer
workerId:
description: 浜哄憳id
+ type: string
+ workerName:
+ description: 浜哄憳濮撳悕
type: string
type: object
request.UpdateDict:
@@ -1270,13 +1309,31 @@
type: object
response.AttendanceDetail:
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:
allOf:
- $ref: '#/definitions/constvar.AttendanceStatus'
description: 鐘舵��
+ weekDay:
+ description: 鏄熸湡
+ type: string
type: object
response.AttendanceList:
properties:
@@ -1310,6 +1367,9 @@
workType:
description: 宸ョ
type: string
+ workTypeId:
+ description: 宸ョid
+ type: integer
workerId:
description: 浜哄憳id
type: string
@@ -1516,6 +1576,25 @@
summary: 鑾峰彇鑰冨嫟缁熻
tags:
- 鑰冨嫟绠$悊
+ /api-jl/v1/attendance/getTemplate:
+ post:
+ parameters:
+ - description: 鍙傛暟
+ in: body
+ name: object
+ required: true
+ schema:
+ $ref: '#/definitions/request.TemplateCategoryRequest'
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: 鎴愬姛
+ schema:
+ $ref: '#/definitions/util.Response'
+ summary: 鑾峰彇妯$増鍒楄〃
+ tags:
+ - 鑰冨嫟绠$悊
/api-jl/v1/attendance/saveAttendanceRule:
post:
parameters:
--
Gitblit v1.8.0