| | |
| | | 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: |
| | |
| | | $ref: '#/definitions/request.RankStandard' |
| | | type: array |
| | | type: object |
| | | request.UpdateAttendance: |
| | | properties: |
| | | date: |
| | | description: 日期 |
| | | type: string |
| | | overTimeDuration: |
| | | description: 加班时长 |
| | | type: number |
| | | status: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.AttendanceStatus' |
| | | description: 状态 |
| | | workerId: |
| | | description: 人员id |
| | | 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: |
| | |
| | | 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: |
| | | post: |
| | | parameters: |