| | |
| | | description: 数量 |
| | | type: integer |
| | | type: object |
| | | models.Mentor: |
| | | properties: |
| | | createdAt: |
| | | type: string |
| | | creator: |
| | | type: string |
| | | days: |
| | | description: 天数 |
| | | type: integer |
| | | deletedAt: |
| | | $ref: '#/definitions/gorm.DeletedAt' |
| | | id: |
| | | type: integer |
| | | month: |
| | | description: 月份 |
| | | type: string |
| | | updatedAt: |
| | | type: string |
| | | worker: |
| | | allOf: |
| | | - $ref: '#/definitions/models.Worker' |
| | | description: 工人ID |
| | | workerId: |
| | | description: 工人ID |
| | | type: string |
| | | type: object |
| | | models.MiniDict: |
| | | properties: |
| | | id: |
| | |
| | | description: 车组 |
| | | type: integer |
| | | type: object |
| | | request.AddMentorRequest: |
| | | properties: |
| | | days: |
| | | description: 天数 |
| | | type: integer |
| | | month: |
| | | description: 月份 |
| | | type: string |
| | | workerId: |
| | | description: 工人ID |
| | | type: string |
| | | type: object |
| | | request.ChangeYieldRegister: |
| | | properties: |
| | | createTime: |
| | |
| | | description: 合计 |
| | | type: number |
| | | type: object |
| | | request.GetMentorList: |
| | | properties: |
| | | keyword: |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | type: object |
| | | request.GetSalaryPlanList: |
| | | properties: |
| | | keyWord: |
| | | keyword: |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | |
| | | type: object |
| | | request.GetWorkTypeList: |
| | | properties: |
| | | keyWord: |
| | | keyword: |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | |
| | | type: object |
| | | request.GetWorkerList: |
| | | properties: |
| | | keyWord: |
| | | keyword: |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | |
| | | type: string |
| | | remark: |
| | | description: 备注 |
| | | type: string |
| | | type: object |
| | | request.UpdateMentorRequest: |
| | | properties: |
| | | days: |
| | | description: 天数 |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | month: |
| | | description: 月份 |
| | | type: string |
| | | workerId: |
| | | description: 工人ID |
| | | type: string |
| | | type: object |
| | | request.YieldRegisterCircleInfo: |
| | |
| | | summary: 保存产量登记表 |
| | | tags: |
| | | - 生产管理/产量登记表 |
| | | /api-jl/v1/mentor/createMentorInfo: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddMentorRequest' |
| | | - 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/mentor/deleteMentorInfo/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: id |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: string |
| | | - 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/mentor/getMentorList: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.GetMentorList' |
| | | - 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.Mentor' |
| | | type: array |
| | | type: object |
| | | summary: 获取带徒信息列表 |
| | | tags: |
| | | - 带徒管理 |
| | | /api-jl/v1/mentor/updateMentorInfo: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateMentorRequest' |
| | | - 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/salary/deleteSalaryPlanInfo/{id}: |
| | | delete: |
| | | parameters: |