| | |
| | | - 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 |
| | |
| | | type: object |
| | | request.GetAttendanceStatistic: |
| | | properties: |
| | | keyword: |
| | | type: string |
| | | month: |
| | | description: 月份 |
| | | type: string |
| | |
| | | $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: |
| | |
| | | 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: |
| | |
| | | workType: |
| | | description: 工种 |
| | | type: string |
| | | workTypeId: |
| | | description: 工种id |
| | | type: integer |
| | | workerId: |
| | | description: 人员id |
| | | type: string |
| | |
| | | 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: |