| | |
| | | - 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: integer |
| | | id: |
| | | type: integer |
| | | name: |
| | | description: 车间 |
| | | type: string |
| | | startDate: |
| | | description: 开始日期 |
| | | type: string |
| | |
| | | workerId: |
| | | description: 工人ID |
| | | type: string |
| | | workshop: |
| | | description: 车间编号 |
| | | type: string |
| | | workshopGroup: |
| | | description: 车组 |
| | | type: integer |
| | | workshopName: |
| | | description: 车间名称 |
| | | type: string |
| | | type: object |
| | | models.WorkshopManage: |
| | | properties: |
| | |
| | | description: 工人ID |
| | | type: string |
| | | workshop: |
| | | description: 车间 |
| | | description: 车间编号 |
| | | type: string |
| | | workshopGroup: |
| | | description: 车组 |
| | | type: integer |
| | | workshopName: |
| | | description: 车间名称 |
| | | type: string |
| | | required: |
| | | - endDate |
| | | - endWorkerPosition |
| | |
| | | - workerId |
| | | - workshop |
| | | - workshopGroup |
| | | - workshopName |
| | | type: object |
| | | request.ChangeYieldRegister: |
| | | properties: |
| | |
| | | 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: |
| | | properties: |
| | | dictType: |
| | |
| | | description: 工人ID |
| | | type: string |
| | | workshop: |
| | | description: 车间 |
| | | description: 车间编号 |
| | | type: string |
| | | workshopGroup: |
| | | description: 车组 |
| | | type: integer |
| | | workshopName: |
| | | description: 车间名称 |
| | | type: string |
| | | required: |
| | | - endDate |
| | | - endWorkerPosition |
| | |
| | | - workerId |
| | | - workshop |
| | | - workshopGroup |
| | | - workshopName |
| | | type: object |
| | | request.YieldRegisterCircleInfo: |
| | | properties: |
| | |
| | | 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: |
| | |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 保存加班规则 |
| | | tags: |
| | | - 考勤管理 |
| | | /api-jl/v1/attendance/updateAttendance: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateAttendance' |
| | | - 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/fineness/changeYieldRegister: |
| | |
| | | tags: |
| | | - 系统设置/车间管理 |
| | | /api-jl/v1/system/getWorkshopManageList: |
| | | get: |
| | | post: |
| | | parameters: |
| | | - description: token |
| | | in: header |